[14.10] Compiz/Unity lacks opengl compatibility for NVidia GTX960
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Compiz |
New
|
Undecided
|
Unassigned |
Bug Description
Background:
I had a working Ubuntu 14.10 system with an NVidia GTX 550 Ti adapter. Yesterday I replaced that adapter with an [ASUS Strix] NVidia GTX 960. I am using the X-org-edgers PPA for drivers, version 346, since there are no Ubuntu-Universe drivers with explicit support for my card.
Behavior:
When booting into Ubuntu normally, I should see the Launch panel and top-bar, but I do not. I do see my desktop icons and can interact with the system. Sound works. If I switch to terminal (ctrl+alt+f2) I can login, export display=:0, and launch a gnome-terminal from there, and then open firefox and others. There is no window-decoration, nor is their window compositing.
It appears that all Unity services (including screenshots, volume control, etc) are also not loading.
The dump I get from compiz in terminal after doing a dconf reset and "setsid unity" is:
aaron@naegleria:~$ dconf reset -f /org/compiz
aaron@naegleria:~$ setsid unity
[1] 3166
stop: Unknown job: unity-panel-service
compiz (core) - Info: Loading plugin: core
compiz (core) - Info: Starting plugin: core
start: Unknown job: unity-panel-service
compiz (core) - Info: Loading plugin: ccp
compiz (core) - Info: Starting plugin: ccp
compizconfig - Info: Backend : gsettings
compizconfig - Info: Integration : true
compizconfig - Info: Profile : unity
compiz (core) - Info: Loading plugin: composite
compiz (core) - Info: Starting plugin: composite
compiz (core) - Info: Loading plugin: move
compiz (core) - Info: Starting plugin: move
compiz (core) - Info: Loading plugin: place
compiz (core) - Info: Starting plugin: place
compiz (core) - Info: Loading plugin: compiztoolbox
compiz (core) - Info: Starting plugin: compiztoolbox
compiz (core) - Error: Plugin 'opengl' not loaded.
compiz (core) - Info: Loading plugin: resize
compiz (core) - Info: Starting plugin: resize
compiz (core) - Info: Loading plugin: snap
compiz (core) - Info: Starting plugin: snap
compiz (core) - Info: Loading plugin: mousepoll
compiz (core) - Info: Starting plugin: mousepoll
compiz (core) - Info: Loading plugin: imgpng
compiz (core) - Info: Starting plugin: imgpng
compiz (core) - Info: Loading plugin: session
compiz (core) - Info: Starting plugin: session
compiz (core) - Info: Loading plugin: vpswitch
compiz (core) - Info: Starting plugin: vpswitch
compiz (core) - Info: Loading plugin: regex
compiz (core) - Info: Starting plugin: regex
compiz (core) - Info: Loading plugin: workarounds
compiz (core) - Info: Starting plugin: workarounds
compiz (core) - Error: Plugin 'opengl' not loaded.
compiz (core) - Info: Stopping plugin: workarounds
compiz (core) - Info: Unloading plugin: workarounds
compiz (core) - Info: Stopping plugin: regex
compiz (core) - Info: Unloading plugin: regex
compiz (core) - Info: Stopping plugin: vpswitch
compiz (core) - Info: Unloading plugin: vpswitch
compiz (core) - Info: Stopping plugin: session
compiz (core) - Info: Unloading plugin: session
compiz (core) - Info: Stopping plugin: imgpng
compiz (core) - Info: Unloading plugin: imgpng
compiz (core) - Info: Stopping plugin: mousepoll
compiz (core) - Info: Unloading plugin: mousepoll
compiz (core) - Info: Stopping plugin: snap
compiz (core) - Info: Unloading plugin: snap
compiz (core) - Info: Stopping plugin: resize
compiz (core) - Info: Unloading plugin: resize
compiz (core) - Info: Stopping plugin: compiztoolbox
compiz (core) - Info: Unloading plugin: compiztoolbox
compiz (core) - Info: Stopping plugin: place
compiz (core) - Info: Unloading plugin: place
compiz (core) - Info: Stopping plugin: move
compiz (core) - Info: Unloading plugin: move
compiz (core) - Info: Stopping plugin: composite
compiz (core) - Info: Unloading plugin: composite
compiz (core) - Info: Stopping plugin: ccp
compiz (core) - Info: Unloading plugin: ccp
compiz (core) - Info: Stopping plugin: core
compiz (core) - Info: Unloading plugin: core
The only known nouveau package (since I know this can cause conflicts) is:
aaron@naegleria:~$ dpkg -l | grep nouveau
ii libdrm-
aaron@naegleria:~$
And for NVidia packages:
aaron@naegleria:~$ dpkg -l | grep nvidia
ii nvidia-346 346.35-
ii nvidia-346-uvm 346.35-
ii nvidia-
ii nvidia-prime 0.6.7 amd64 Tools to enable NVIDIA's Prime
ii nvidia-settings 346.35-
aaron@naegleria:~$
lspci doesn't correctly identify the card, as it has in the past, though:
aaron@naegleria:~$ lspci | grep VGA
01:00.0 VGA compatible controller: NVIDIA Corporation Device 1401 (rev a1)
aaron@naegleria:~$
]]]]]]]]]]]] Attempted Fixes:
Per searches on Stack Overflow and elsewhere, I have tried:
* Install CCSM, enable "unity" (and its dependencies)
(Possibly relevant: "Unredirect Driver Blacklist" has: (nouveau|
* Adding nouveau to a blacklist file (this is not presently enabled)
* The dconf reset / setsid hack (see above)
* Purging all nvidia-* drivers prior to installing any new ones.
* Installing drivers directly from NVidia (the ".run" file for drivers nvidia-346). I have done this by booting, switching to terminal, shutting down lightdm service, then running the NVidia driver. It installs correctly (though it does complain about the pre-install script not working; the rest of the process works). I am able to load NVidia-Settings and see graphics-
* Reinstalling lightdm, unity, ubuntu-desktop
* [Present attempt] Installing the Xorg-edgers drivers for NVidia-346. This also loads the relevant Xorg packages, nvidia-settings, etc. NVidia-settings loads the drivers as it did with NVidia-binaries, above. Details below.
* Reinstalling ubuntu 14.10 from USB stick (leaving /home/ intact)
I am current with all system updates.
Here is NVidia-Settings dump:
Operating System: Linux-x86_64
NVidia Driver Versoin: 346.35
X Server Information: >>>>>>>
Display Name: naegleria:0
Server Version Number: 11.0
Server Vendor String: The X.Org Foundation
Server Vendor Version: 1.16.0 (11600000)
NV-CONTROL Version: 1.29
Screens: 1 [NOTE: I have two displays, but they are both functional and spanned correctly]
OpenGL Settings : >>>>>>>
[X] Sync to VBlank
[X] Allow Flipping
Quality [roughly 1/3 in]
Miscellaneaous:
[X] Use Conformant Texture Clamping
OpenGL/GLX Information: >>>>>>>
GL_AMD_
GL_AMD_
GL_AMD_
GL_AMD_
GL_ARB_
GL_ARB_
GL_ARB_
GL_ARB_
GL_ARB_
GL_ARB_
GL_ARB_
GL_ARB_clip_control
GL_ARB_
GL_ARB_
GL_ARB_
GL_ARB_
GL_ARB_
GL_ARB_
GL_ARB_
GL_ARB_copy_buffer
GL_ARB_copy_image
GL_ARB_
GL_ARB_debug_output
GL_ARB_
GL_ARB_depth_clamp
GL_ARB_
GL_ARB_
G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L_ARB_
GL_ARB_
GL_ARB_
GL_ARB_
GL_ARB_window_pos
GL_ATI_draw_buffers
GL_ATI_
GL_ATI_
GL_S3_s3tc
GL_EXT_
GL_EXT_abgr
GL_EXT_bgra
GL_EXT_
GL_EXT_blend_color
GL_EXT_
GL_EXT_
GL_EXT_blend_minmax
GL_EXT_
GL_EXT_
GL_EXT_Cg_shader
GL_EXT_
GL_EXT_
GL_EXT_
GL_EXT_
GL_EXT_
GL_EXT_fog_coord
GL_EXT_
GL_EXT_
GL_EXTX_
GL_EXT_
GL_EXT_
GL_EXT_
GL_EXT_
GL_EXT_
GL_EXT_gpu_shader4
GL_EXT_
GL_EXT_
GL_EXT_packed_float
GL_EXT_
GL_EXT_
GL_EXT_
GL_EXT_
GL_EXT_
GL_EXT_
GL_EXT_
GL_EXT_
GL_EXT_
GL_EXT_
GL_EXT_
GL_EXT_
GL_EXT_
GL_EXT_
GL_EXT_shadow_funcs
GL_EXT_
GL_EXT_
GL_EXT_stencil_wrap
GL_EXT_texture3D
GL_EXT_
GL_EXT_
GL_EXT_
GL_EXT_
GL_EXT_
GL_EXT_
GL_EXT_
GL_EXT_
GL_EXT_
GL_EXT_
GL_EXT_
GL_EXT_
GL_EXT_
GL_EXT_texture_lod
GL_EXT_
GL_EXT_
GL_EXT_
GL_EXT_
GL_EXT_texture_sRGB
GL_EXT_
GL_EXT_
GL_EXT_
GL_EXT_timer_query
GL_EXT_
GL_EXT_vertex_array
GL_EXT_
GL_EXT_
GL_EXT_
GL_EXT_
GL_IBM_
GL_IBM_
GL_KHR_
GL_KHR_debug
GL_KHR_
GL_KHR_robustness
GL_KTX_
GL_NV_bindless_
GL_NV_bindless_
GL_NV_bindless_
GL_NV_blend_
GL_NV_blend_
GL_NV_blend_square
GL_NV_compute_
GL_NV_condition
GL_NV_conservat
GL_NV_copy_
GL_NV_copy_image
GL_NV_depth_
GL_NV_depth_clamp
GL_NV_draw_texture
GL_NV_ES1_
GL_NV_ES3_
GL_NV_explicit_
GL_NV_fence
GL_NV_fill_
GL_NV_float_buffer
GL_NV_fog_distance
GL_NV_fragment_
GL_NV_fragment_
GL_NV_fragment_
GL_NV_fragment_
GL_NV_fragment_
GL_NV_framebuff
GL_NV_framebuff
GL_NV_geometry_
GL_NV_geometry_
GL_NV_gpu_program4
GL_NV_gpu_
GL_NV_gpu_program5
GL_NV_gpu_
GL_NV_gpu_
GL_NV_gpu_shader5
GL_NV_half_float
GL_NV_light_
GL_NV_multisamp
GL_NV_multisamp
GL_NV_occlusion
GL_NV_packed_
GL_NV_parameter
GL_NV_parameter
GL_NV_path_
GL_NV_path_
GL_NV_pixel_
GL_NV_point_sprite
GL_NV_primitive
GL_NV_register_
GL_NV_register_
GL_NV_sample_
GL_NV_sample_
GL_NV_shader_
GL_NV_shader_
GL_NV_shader_
GL_NV_shader_
GL_NV_shader_
GL_NV_shader_
GL_NV_texgen_
GL_NV_texture_
GL_NV_texture_
GL_NV_texture_
GL_NV_texture_
GL_NV_texture_
GL_NV_texture_
GL_NV_texture_
GL_NV_texture_
GL_NV_transform
GL_NV_transform
GL_NV_uniform_
GL_NV_vdpau_interop
GL_NV_vertex_
GL_NV_vertex_
GL_NV_vertex_
GL_NV_vertex_
GL_NV_vertex_
GL_NV_vertex_
GL_NV_vertex_
GL_NV_vertex_
GL_NV_vertex_
GL_NV_viewport_
GL_NVX_
GL_NVX_
GL_NVX_
GL_NV_shader_
GL_NV_shader_
GL_KHR_
GL_KHR_
GL_SGIS_
GL_SGIS_texture_lod
GL_SGIX_
GL_SGIX_shadow
GL_SUN_slice_accum
>>>>>>>
aaron@naegleria:~$ cat ~/.nvidia-
#
# /home/aaron/
#
# Configuration file for nvidia-settings - the NVIDIA X Server Settings utility
# Generated on Thu Feb 5 20:12:08 2015
#
# ConfigProperties:
RcFileLocale = C
ToolTips = Yes
DisplayStatusBar = Yes
SliderTextEntries = Yes
IncludeDisplayN
ShowQuitDialog = Yes
UpdateRulesOnPr
Timer = Memory_
Timer = PowerMizer_
Timer = Thermal_
Timer = Graphics_
# Attributes:
0/SyncToVBlank=1
0/LogAniso=0
0/FSAA=0
0/TextureSharpen=0
0/TextureClamping=1
0/FXAA=0
0/AllowFlipping=1
0/FSAAAppContro
0/LogAnisoAppCo
0/OpenGLImageSe
0/FSAAAppEnhanced=0
0/XVideoSyncToD
[DPY:DVI-
[DPY:DVI-
[DPY:DVI-
[DPY:DVI-
[DPY:DVI-
[DPY:DVI-
[DPY:DVI-
[DPY:DVI-
[DPY:DVI-
[DPY:DVI-
[DPY:DVI-
[DPY:DVI-
[DPY:DVI-
[DPY:DVI-
[DPY:DVI-
[DPY:DVI-
[DPY:DVI-
[DPY:DVI-
[DPY:DVI-
[DPY:DVI-
[DPY:DP-
[DPY:DP-
[DPY:DP-
[DPY:DP-
[DPY:DP-
[DPY:DP-
[DPY:DP-
[DPY:DP-
[DPY:DP-
[DPY:DP-
[DPY:DP-
[DPY:DP-
[DPY:DP-
[DPY:DP-
[DPY:DP-
[DPY:DP-
[DPY:HDMI-
[DPY:HDMI-
[DPY:HDMI-
[DPY:HDMI-
[DPY:DP-
[DPY:DP-
[DPY:DP-
[DPY:DP-
[DPY:DP-
[DPY:DP-
[DPY:DP-
[DPY:DP-
[DPY:DP-
[DPY:DP-
[DPY:DP-
[DPY:DP-
[DPY:DP-
[DPY:DP-
[DPY:DP-
[DPY:DP-
[DPY:DP-
[DPY:DP-
[DPY:DP-
[DPY:DP-
[DPY:Unknown-
[DPY:Unknown-
[DPY:Unknown-
[DPY:Unknown-
aaron@naegleria:~$
I have resolved the problem on my machine, and to do so, it was some combination of the following:
- Removing all NVIDIA drivers (+ purging nvidia*)
- Blacklisting Nouveau from XOrg Modules
- Installing proprietary NVIDIA drivers from website and rebooting
- Doing the dconf reset /org/compiz & setsid unity hacks
- Attaching to the xorg-edgers PPA and installing nvidia-346 package ( to cover some missing i386 drivers)
It now appears to be working correctly.
It seems that the bug, then, is that when installing graphics drivers, the OpenGL and compositing modules are not being ported / re-enabled correctly.
I'm not sure if this is a Unity, Compiz, or Driver- installation- script problem, though.
The problem began when I switched out the video card and installed the new drivers.