Ubuntu 16.04 LTS - webbrowser-app does not launch in Unity7 when using the Nvidia driver

Bug #1573762 reported by cl-netbox on 2016-04-22
70
This bug affects 15 people
Affects Status Importance Assigned to Milestone
Oxide
High
Unassigned
webbrowser-app (Ubuntu)
High
Unassigned

Bug Description

When trying to launch the webbrowser-app, it flashes for a second and then disappears, launching it from terminal shows this error :

(webbrowser-app:9153): dconf-CRITICAL **: unable to create file '/run/user/1000/dconf/user': Permission denied. dconf will not work properly.
file:///usr/share/webbrowser-app/webbrowser/ContentPickerDialog.qml:22:1: module "Ubuntu.Content" is not installed
file:///usr/share/webbrowser-app/webbrowser/ContentDownloadDialog.qml:22:1: module "Ubuntu.Content" is not installed
file:///usr/share/webbrowser-app/ContentHandler.qml:20:1: module "Ubuntu.Content" is not installed
file:///usr/share/webbrowser-app/webbrowser/DownloadHandler.qml:20:1: module "Ubuntu.DownloadManager" is not installed
[0422/170822:ERROR:oxide_qt_gl_context_dependent.cc(82)] Unable to create adopted GL context for platform: xcb - unexpected result from QPlatformNativeInterface::nativeResourceForContext
shm_open() failed: Permission denied
[0422/170822:ERROR:gl_context_glx.cc(59)] Failed to create GL context with glXCreateContextAttribsARB.
[0422/170822:ERROR:gpu_info_collector.cc(47)] gfx::GLContext::CreateGLContext failed
[0422/170822:ERROR:gpu_info_collector.cc(115)] Could not create context for info collection.
[0422/170822:ERROR:oxide_browser_main_parts.cc(299)] gpu::CollectContextGraphicsInfo failed
qml: Loaded 5 UA override(s) from file:///usr/lib/x86_64-linux-gnu/qt5/qml/Ubuntu/Web/ua-overrides-mobile.js
Failed to create OpenGL context for format QSurfaceFormat(version 2.0, options QFlags(), depthBufferSize 24, redBufferSize -1, greenBufferSize -1, blueBufferSize -1, alphaBufferSize -1, stencilBufferSize 8, samples -1, swapBehavior 2, swapInterval 1, profile 0)
Aborted

This issue occurs when using the NVIDIA graphics adapter, when switching to Intel graphics, webbrowser-app launches as expected.

Ubuntu 16.04 LTS (installation date : 2016-04-21) | Intel i7-4710MQ + HD Graphics 4600 | NVIDIA GTX 860M (drivers version 361.42)

webbrowser-app : 0.23+16.04.20160413-0ubuntu1 500 | 500 http://archive.ubuntu.com/ubuntu xenial/main amd64 Packages

cl-netbox (cl-netbox) on 2016-04-23
tags: added: xenial
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in webbrowser-app (Ubuntu):
status: New → Confirmed
Changed in oxide:
status: New → Confirmed
Changed in webbrowser-app (Ubuntu):
importance: Undecided → High
Randy Olive (randy-jr-olive) wrote :

I get the following, similar error:

(webbrowser-app:21111): dconf-CRITICAL **: unable to create file '/run/user/1000/dconf/user': Permission denied. dconf will not work properly.

(webbrowser-app:21111): dconf-CRITICAL **: unable to create file '/run/user/1000/dconf/user': Permission denied. dconf will not work properly.

(webbrowser-app:21111): dconf-CRITICAL **: unable to create file '/run/user/1000/dconf/user': Permission denied. dconf will not work properly.
could not open containers config file "/home/randy/.local/share/libertine/ContainersConfig.json"
Failed to create OpenGL context for format QSurfaceFormat(version 2.0, options QFlags(), depthBufferSize 24, redBufferSize -1, greenBufferSize -1, blueBufferSize -1, alphaBufferSize -1, stencilBufferSize 8, samples -1, swapBehavior 2, swapInterval 1, profile 0)
Aborted (core dumped)

I've got this problem and I have GeForce 9600 GT drivers 340 series.

Also on open source drivers the situation is even worse because while the browser works using it always ends with a complete system freeze.

Christian (christianbueno-1) wrote :

I have the similar problem with this "Ubuntu Web Browser" or "webbrowser-app". When i try to launch that app only appears a square transparent, after close and show me the report a problem box

Frederic LEIRE (bluefox64) wrote :

Idem for me whith NVIDIA card GT 400

Anthony (danthonyd) wrote :

I get the above errors, and when I try to launch with sudo I get the following:

$ sudo webbrowser-app
[sudo] password for *********:
No protocol specified
QXcbConnection: Could not connect to display :0
Aborted (core dumped)

Good old Nvidia doing what it does best. I am using the Nvidia proprietary driver instead of xorg because the latter kept giving me black screens with cursor on system wakeup (I say this in case the video driver is a cause of the webbrowser fail).

cl-netbox (cl-netbox) wrote :

Update : In Ubuntu 16.10 the webbrowser-app launches and works as expected.
There is no problem anymore when the proprietary NVIDIA drivers are in use.

summary: - Ubuntu 16.04 LTS - webbrowser-app does not launch
+ Ubuntu 16.04 LTS - webbrowser-app does not launch in Unity7 when using
+ the Nvidia driver
Olivier Tilloy (osomon) on 2017-01-27
no longer affects: webbrowser-app
Changed in webbrowser-app (Ubuntu):
status: Confirmed → Invalid
Changed in oxide:
importance: Undecided → High

Same problem with Intel MESA17 after upgrading to 16.04.3 webbrowser-app crashes right after startup

https://pastebin.ubuntu.com/25249455/

I tried launching Amazon's unity-webapp, and it normally opens, even though it's based on a webbrowser-app.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers