web-dev-qa-db-fra.com

Ma carte NVidia GTX 960 crée des problèmes openGL avec Unity sur Ubuntu

J'ai déjà posté un bug à ce sujet sur le tableau de bord, mais j'espérais que quelqu'un ici aurait des suggestions sur d'autres choses que je pourrais essayer.

Background: J'avais un système Ubuntu 14.10 opérationnel avec un adaptateur NVidia GTX 550 Ti. Hier, j'ai remplacé cet adaptateur par un NVidia GTX 960 [ASUS Strix]. J'utilise le PPA de X-org-edgers pour les pilotes, version 346, car aucun pilote Ubuntu-Universe ne prend en charge explicitement ma carte.

Comportement: Lors du démarrage normalement dans Ubuntu, je devrais voir le panneau de lancement et la barre supérieure, mais ce n'est pas le cas. Je vois les icônes de mon bureau et je peux interagir avec le système. Le son fonctionne. Si je passe au terminal (ctrl + alt + f2), je peux me connecter, exporter display =: 0, lancer un gnome-terminal à partir de là, puis ouvrir Firefox et autres. Il n'y a pas de décoration de fenêtre, ni leur composition de fenêtre.

Il semble que tous les services Unity (y compris les captures d’écran, le contrôle du volume, etc.) ne se chargent pas non plus.

Quelques données Le dump que je reçois de compiz dans un terminal après une réinitialisation de dconf et "setsid unity" est:

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

Le seul paquet nouveau connu (puisque je sais que cela peut causer des conflits) est:

aaron@naegleria:~$ dpkg -l | grep nouveau
ii libdrm-nouveau2:AMD64 2.4.56-1 AMD64 Userspace interface to nouveau-specific kernel DRM services -- runtime

Et pour les packages NVidia:

aaron@naegleria:~$ dpkg -l | grep nvidia
ii nvidia-346 346.35-0ubuntu1~xedgers14.10.1 AMD64 NVIDIA binary driver - version 346.35
ii nvidia-346-uvm 346.35-0ubuntu1~xedgers14.10.1 AMD64 NVIDIA Unified Memory kernel module
ii nvidia-opencl-icd-346 346.35-0ubuntu1~xedgers14.10.1 AMD64 NVIDIA OpenCL ICD
ii nvidia-prime 0.6.7 AMD64 Tools to enable NVIDIA's Prime
ii nvidia-settings 346.35-0ubuntu1~xedgers14.10.1 AMD64 Tool for configuring the NVIDIA graphics driver
aaron@naegleria:~$

lspci n'identifie pas correctement la carte, comme par le passé:

aaron@naegleria:~$ lspci | grep VGA
01:00.0 VGA compatible controller: NVIDIA Corporation Device 1401 (rev a1)
aaron@naegleria:~$

Tentatives de correction: Par recherches sur Stack Overflow et ailleurs, j'ai essayé:

  • Installez CCSM, activez "unit" (et ses dépendances) (éventuellement: "Liste noire des pilotes non redirigés" a: (nouveau | Intel). * Mesa 8.0

  • Ajout de nouveau à un fichier de liste noire (ceci n'est pas activé actuellement)

  • Le hack de dconf reset/setsid (voir ci-dessus)

  • Purger tous les pilotes nvidia- * avant d’installer de nouveaux pilotes.

  • Installation des pilotes directement à partir de NVidia (le fichier ".run" des pilotes nvidia-346). Je l'ai fait en démarrant, en basculant vers un terminal, en arrêtant le service lightdm, puis en exécutant le pilote NVidia. Il s’installe correctement (même s’il se plaint du fait que le script de pré-installation ne fonctionne pas; le reste du processus fonctionne). Je peux charger NVidia-Settings et voir les détails liés à la carte graphique.

  • Réinstallation de lightdm, unit, ubuntu-desktop

  • [Tentative actuelle] Installation des pilotes Xorg-edgers pour NVidia-346. Cela charge également les packages Xorg, les paramètres nvidia, etc. appropriés. NVidia-settings charge les pilotes de la même manière que pour les binaires NVidia, ci-dessus. Détails ci-dessous.

  • Réinstallation d'ubuntu 14.10 à partir d'une clé USB (départ/à la maison/intact)

Je suis au courant de toutes les mises à jour du système.

Voici le vidage NVidia-Settings:

Operating System: Linux-x86_64
NVidia Driver Versoin: 346.35

Informations sur le serveur X:

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]

Paramètres OpenGL:

[X] Sync to VBlank 
[X] Allow Flipping Quality [roughly 1/3 in]
Miscellaneaous: 
[X] Use Conformant Texture Clamping

Et puis mon fichier nvidia-Settings.rc:

#
# /home/aaron/.nvidia-settings-rc
#
# 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
IncludeDisplayNameInConfigFile = No
ShowQuitDialog = Yes
UpdateRulesOnProfileNameChange = Yes
Timer = Memory_Used_(GPU_0),Yes,3000
Timer = PowerMizer_Monitor_(GPU_0),Yes,1000
Timer = Thermal_Monitor_(GPU_0),Yes,1000
Timer = Graphics_Card_(GPU_0),Yes,1000

# Attributes:

0/SyncToVBlank=1
0/LogAniso=0
0/FSAA=0
0/TextureSharpen=0
0/TextureClamping=1
0/FXAA=0
0/AllowFlipping=1
0/FSAAAppControlled=1
0/LogAnisoAppControlled=1
0/OpenGLImageSettings=1
0/FSAAAppEnhanced=0
0/XVideoSyncToDisplayID=DVI-I-0
[DPY:DVI-I-0]/Dithering=0
[DPY:DVI-I-0]/DitheringMode=0
[DPY:DVI-I-0]/DitheringDepth=0
[DPY:DVI-I-0]/SynchronousPaletteUpdates=0
[DPY:DVI-I-1]/RedBrightness=0.000000
[DPY:DVI-I-1]/GreenBrightness=0.000000
[DPY:DVI-I-1]/BlueBrightness=0.000000
[DPY:DVI-I-1]/RedContrast=0.000000
[DPY:DVI-I-1]/GreenContrast=0.000000
[DPY:DVI-I-1]/BlueContrast=0.000000
[DPY:DVI-I-1]/RedGamma=1.000000
[DPY:DVI-I-1]/GreenGamma=1.000000
[DPY:DVI-I-1]/BlueGamma=1.000000
[DPY:DVI-I-1]/Dithering=0
[DPY:DVI-I-1]/DitheringMode=0
[DPY:DVI-I-1]/DitheringDepth=0
[DPY:DVI-I-1]/DigitalVibrance=0
[DPY:DVI-I-1]/ColorSpace=0
[DPY:DVI-I-1]/ColorRange=0
[DPY:DVI-I-1]/SynchronousPaletteUpdates=0
[DPY:DP-0]/Dithering=0
[DPY:DP-0]/DitheringMode=0
[DPY:DP-0]/DitheringDepth=0
[DPY:DP-0]/SynchronousPaletteUpdates=0
[DPY:DP-1]/Dithering=0
[DPY:DP-1]/DitheringMode=0
[DPY:DP-1]/DitheringDepth=0
[DPY:DP-1]/SynchronousPaletteUpdates=0
[DPY:DP-2]/Dithering=0
[DPY:DP-2]/DitheringMode=0
[DPY:DP-2]/DitheringDepth=0
[DPY:DP-2]/SynchronousPaletteUpdates=0
[DPY:DP-3]/Dithering=0
[DPY:DP-3]/DitheringMode=0
[DPY:DP-3]/DitheringDepth=0
[DPY:DP-3]/SynchronousPaletteUpdates=0
[DPY:HDMI-0]/Dithering=0
[DPY:HDMI-0]/DitheringMode=0
[DPY:HDMI-0]/DitheringDepth=0
[DPY:HDMI-0]/SynchronousPaletteUpdates=0
[DPY:DP-4]/Dithering=0
[DPY:DP-4]/DitheringMode=0
[DPY:DP-4]/DitheringDepth=0
[DPY:DP-4]/SynchronousPaletteUpdates=0
[DPY:DP-5]/RedBrightness=0.000000
[DPY:DP-5]/GreenBrightness=0.000000
[DPY:DP-5]/BlueBrightness=0.000000
[DPY:DP-5]/RedContrast=0.000000
[DPY:DP-5]/GreenContrast=0.000000
[DPY:DP-5]/BlueContrast=0.000000
[DPY:DP-5]/RedGamma=1.000000
[DPY:DP-5]/GreenGamma=1.000000
[DPY:DP-5]/BlueGamma=1.000000
[DPY:DP-5]/Dithering=0
[DPY:DP-5]/DitheringMode=0
[DPY:DP-5]/DitheringDepth=0
[DPY:DP-5]/DigitalVibrance=0
[DPY:DP-5]/ColorSpace=0
[DPY:DP-5]/ColorRange=0
[DPY:DP-5]/SynchronousPaletteUpdates=0
[DPY:Unknown-0]/Dithering=0
[DPY:Unknown-0]/DitheringMode=0
[DPY:Unknown-0]/DitheringDepth=0
[DPY:Unknown-0]/SynchronousPaletteUpdates=0
5
armahillo

Ne vous inquiétez pas pour la partie lspci. C'est simplement parce que vos fichiers /usr/share/misc/pci.ids* ne sont pas à jour. Il suffit de lancer "update-pciids" en tant que root.

Avant d'exécuter update-pciids:

$ lspci | grep GeForce
$

Lancer update-pciids:

$ Sudo update-pciids
Downloaded daily snapshot dated 2015-04-14 03:15:01
$ Sudo lspci | grep GeForce
01:00.0 VGA compatible controller: NVIDIA Corporation GM206 [GeForce GTX 960] (rev a1)

J'utilise les pilotes originaux de NVIDIA 346.59 (dernière version stable à ce jour) sans problèmes en 14.04.

1
Ruben Cardenal