staging.inyokaproject.org

NVIDIA Deinstallation

Status: Gelöst | Ubuntu-Version: Ubuntu 16.04 (Xenial Xerus)
Antworten |

Heinrich-X

Avatar von Heinrich-X

Anmeldungsdatum:
23. November 2017

Beiträge: 120

Hallo,

ich möchte meine NVIDIA Treiber entfernen. Die Textkonsole unter meinem alten kernel 4.13.0-45-generic sagt:

sudo apt-get purge nvidia*
[sudo] Passwort  
Paketlisten werden gelesen... Fertig
Abhängigkeitsbaum wird aufgebaut.       
Statusinformationen werden eingelesen.... Fertig
Paket »nvidia« ist nicht installiert, wird also auch nicht entfernt.

Installiert habe ich die Nvidia Pakete nach der Anleitung https://forum.ubuntuusers.de/post/8929340/ also mit dem Befehl

sudo dpkg -i *

Meine Ubuntu Version ist:

lsb_release -a
No LSB modules are available.
Distributor ID:	Ubuntu
Description:	Ubuntu 16.04.6 LTS
Release:	16.04
Codename:	xenial

Was passiert nach der Deinstallation der Nvidia Pakete? Muss ich den Standard Grafiktreiber von Ubuntu neu installieren und welchen soll ich nehmen?

Danke im Voraus für Eure Hilfe

Heinrich-X

hakel

Anmeldungsdatum:
13. August 2009

Beiträge: 23336

https://wiki.ubuntuusers.de/Grafikkarten/Nvidia/nvidia/

Da steht alles drin.

Es sollte bei dir jetzt der offene Treiber nouveau laufen. Der ist im Grundsystem "Kernel" enthalten, muß also nicht separat installiert werden. nouveau hat leider einige Einschränkungen, 3D, Energie, Videoschnittstelle.

Heinrich-X

(Themenstarter)
Avatar von Heinrich-X

Anmeldungsdatum:
23. November 2017

Beiträge: 120

Hallo hakel,

danke für den Link, leider komme ich nicht weiter. Es steht dort, Zitat

Keine grafische Oberfläche

Sollte es zu Problemen mit dem nvidia-Treiber kommen, kann dieser in der xorg.conf durch Auskommentieren der Driver "nvidia"-Zeile (ein "#" davor setzen) deaktiviert werden.

Gegebenenfalls muss in der /etc/default/linux-restricted-modules-common das durch eine vorherige manuelle Installation des Treibers gesperrte Nvidia-Kernelmodul von Ubuntu entsperrt werden. Dazu entfernt man das nv in den DISABLED_MODULES:

Bei mir finde ich keine xorg.conf und auch nicht linux-restricted-modules-common

Konnte jetzt mit

sudo apt-get purge nvidia-*

Nvidia-Treiber löschen. Bei meinem ersten Versuch hat ein Minuszeichen nach nvidia gefehlt, siehe ersten Beitrag.

In der Xorg.0.log Datei steht folgendes:

[    44.752] 
X.Org X Server 1.19.6
Release Date: 2017-12-20
[    44.752] X Protocol Version 11, Revision 0
[    44.752] Build Operating System: Linux 4.4.0-138-generic i686 Ubuntu
[    44.752] Current Operating System: Linux mars-MS-7091 4.15.0-72-generic #81~16.04.1-Ubuntu SMP Tue Nov 26 16:30:00 UTC 2019 i686
[    44.752] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-4.15.0-72-generic root=UUID=54b8a62e-d62e-424b-8309-4e470da8aad6 ro vga=0x317
[    44.752] Build Date: 25 October 2018  04:12:07PM
[    44.752] xorg-server 2:1.19.6-1ubuntu4.1~16.04.2 (For technical support please see http://www.ubuntu.com/support) 
[    44.752] Current version of pixman: 0.33.6
[    44.752] 	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
[    44.752] Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[    44.753] (==) Log file: "/var/log/Xorg.0.log", Time: Sun Dec  8 21:02:44 2019
[    44.753] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[    44.755] (==) No Layout section.  Using the first Screen section.
[    44.755] (**) |-->Screen "Screen0" (0)
[    44.755] (**) |   |-->Monitor "Monitor0"
[    44.756] (==) Automatically adding devices
[    44.756] (==) Automatically enabling devices
[    44.756] (==) Automatically adding GPU devices
[    44.756] (==) Automatically binding GPU devices
[    44.756] (==) Max clients allowed: 256, resource mask: 0x1fffff
[    44.756] (WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
[    44.756] 	Entry deleted from font path.
[    44.756] (WW) The directory "/usr/share/fonts/X11/100dpi/" does not exist.
[    44.756] 	Entry deleted from font path.
[    44.756] (WW) The directory "/usr/share/fonts/X11/75dpi/" does not exist.
[    44.756] 	Entry deleted from font path.
[    44.756] (WW) The directory "/usr/share/fonts/X11/Type1" does not exist.
[    44.756] 	Entry deleted from font path.
[    44.756] (WW) The directory "/usr/share/fonts/X11/100dpi" does not exist.
[    44.756] 	Entry deleted from font path.
[    44.756] (WW) The directory "/usr/share/fonts/X11/75dpi" does not exist.
[    44.756] 	Entry deleted from font path.
[    44.756] (==) FontPath set to:
	/usr/share/fonts/X11/misc,
	built-ins
[    44.756] (==) ModulePath set to "/usr/lib/i386-linux-gnu/xorg/extra-modules,/usr/lib/xorg/extra-modules,/usr/lib/xorg/modules"
[    44.756] (II) The server relies on udev to provide the list of input devices.
	If no devices become available, reconfigure udev or disable AutoAddDevices.
[    44.756] (II) Loader magic: 0x718720
[    44.756] (II) Module ABI versions:
[    44.756] 	X.Org ANSI C Emulation: 0.4
[    44.756] 	X.Org Video Driver: 23.0
[    44.757] 	X.Org XInput driver : 24.1
[    44.757] 	X.Org Server Extension : 10.0
[    44.758] (++) using VT number 7

[    44.758] (II) systemd-logind: logind integration requires -keeptty and -keeptty was not provided, disabling logind integration
[    44.761] (--) PCI:*(0:1:0:0) 10de:0145:1462:9790 rev 162, Mem @ 0xd0000000/67108864, 0xc8000000/134217728, 0xd4000000/16777216, BIOS @ 0x????????/131072
[    44.761] (II) LoadModule: "glx"
[    44.762] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[    44.765] (II) Module glx: vendor="X.Org Foundation"
[    44.765] 	compiled for 1.19.6, module version = 1.0.0
[    44.765] 	ABI class: X.Org Server Extension, version 10.0
[    44.765] (==) Matched nvidia as autoconfigured driver 0
[    44.765] (==) Matched nouveau as autoconfigured driver 1
[    44.765] (==) Matched modesetting as autoconfigured driver 2
[    44.765] (==) Matched fbdev as autoconfigured driver 3
[    44.765] (==) Matched vesa as autoconfigured driver 4
[    44.765] (==) Assigned the driver to the xf86ConfigLayout
[    44.765] (II) LoadModule: "nvidia"
[    44.766] (WW) Warning, couldn't open module nvidia
[    44.766] (II) UnloadModule: "nvidia"
[    44.766] (II) Unloading nvidia
[    44.766] (EE) Failed to load module "nvidia" (module does not exist, 0)
[    44.766] (II) LoadModule: "nouveau"
[    44.767] (II) Loading /usr/lib/xorg/modules/drivers/nouveau_drv.so
[    44.767] (II) Module nouveau: vendor="X.Org Foundation"
[    44.767] 	compiled for 1.19.5, module version = 1.0.15
[    44.767] 	Module class: X.Org Video Driver
[    44.767] 	ABI class: X.Org Video Driver, version 23.0
[    44.767] (II) LoadModule: "modesetting"
[    44.767] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
[    44.768] (II) Module modesetting: vendor="X.Org Foundation"
[    44.768] 	compiled for 1.19.6, module version = 1.19.6
[    44.768] 	Module class: X.Org Video Driver
[    44.768] 	ABI class: X.Org Video Driver, version 23.0
[    44.768] (II) LoadModule: "fbdev"
[    44.768] (II) Loading /usr/lib/xorg/modules/drivers/fbdev_drv.so
[    44.768] (II) Module fbdev: vendor="X.Org Foundation"
[    44.768] 	compiled for 1.19.3, module version = 0.4.4
[    44.768] 	Module class: X.Org Video Driver
[    44.768] 	ABI class: X.Org Video Driver, version 23.0
[    44.768] (II) LoadModule: "vesa"
[    44.769] (II) Loading /usr/lib/xorg/modules/drivers/vesa_drv.so
[    44.769] (II) Module vesa: vendor="X.Org Foundation"
[    44.769] 	compiled for 1.19.3, module version = 2.3.4
[    44.769] 	Module class: X.Org Video Driver
[    44.769] 	ABI class: X.Org Video Driver, version 23.0
[    44.769] (==) Matched nvidia as autoconfigured driver 0
[    44.769] (==) Matched nouveau as autoconfigured driver 1
[    44.769] (==) Matched modesetting as autoconfigured driver 2
[    44.769] (==) Matched fbdev as autoconfigured driver 3
[    44.769] (==) Matched vesa as autoconfigured driver 4
[    44.769] (==) Assigned the driver to the xf86ConfigLayout
[    44.769] (II) LoadModule: "nvidia"
[    44.770] (WW) Warning, couldn't open module nvidia
[    44.770] (II) UnloadModule: "nvidia"
[    44.770] (II) Unloading nvidia
[    44.770] (EE) Failed to load module "nvidia" (module does not exist, 0)
[    44.770] (II) LoadModule: "nouveau"
[    44.770] (II) Loading /usr/lib/xorg/modules/drivers/nouveau_drv.so
[    44.770] (II) Module nouveau: vendor="X.Org Foundation"
[    44.771] 	compiled for 1.19.5, module version = 1.0.15
[    44.771] 	Module class: X.Org Video Driver
[    44.771] 	ABI class: X.Org Video Driver, version 23.0
[    44.771] (II) UnloadModule: "nouveau"
[    44.771] (II) Unloading nouveau
[    44.771] (II) Failed to load module "nouveau" (already loaded, 0)
[    44.771] (II) LoadModule: "modesetting"
[    44.771] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
[    44.771] (II) Module modesetting: vendor="X.Org Foundation"
[    44.771] 	compiled for 1.19.6, module version = 1.19.6
[    44.771] 	Module class: X.Org Video Driver
[    44.771] 	ABI class: X.Org Video Driver, version 23.0
[    44.771] (II) UnloadModule: "modesetting"
[    44.771] (II) Unloading modesetting
[    44.771] (II) Failed to load module "modesetting" (already loaded, 0)
[    44.771] (II) LoadModule: "fbdev"
[    44.772] (II) Loading /usr/lib/xorg/modules/drivers/fbdev_drv.so
[    44.772] (II) Module fbdev: vendor="X.Org Foundation"
[    44.772] 	compiled for 1.19.3, module version = 0.4.4
[    44.772] 	Module class: X.Org Video Driver
[    44.772] 	ABI class: X.Org Video Driver, version 23.0
[    44.772] (II) UnloadModule: "fbdev"
[    44.772] (II) Unloading fbdev
[    44.772] (II) Failed to load module "fbdev" (already loaded, 0)
[    44.772] (II) LoadModule: "vesa"
[    44.772] (II) Loading /usr/lib/xorg/modules/drivers/vesa_drv.so
[    44.772] (II) Module vesa: vendor="X.Org Foundation"
[    44.772] 	compiled for 1.19.3, module version = 2.3.4
[    44.772] 	Module class: X.Org Video Driver
[    44.773] 	ABI class: X.Org Video Driver, version 23.0
[    44.773] (II) UnloadModule: "vesa"
[    44.773] (II) Unloading vesa
[    44.773] (II) Failed to load module "vesa" (already loaded, 0)
[    44.773] (II) NOUVEAU driver Date:   Fri Apr 21 14:41:17 2017 -0400
[    44.773] (II) NOUVEAU driver for NVIDIA chipset families :
[    44.773] 	RIVA TNT        (NV04)
[    44.773] 	RIVA TNT2       (NV05)
[    44.773] 	GeForce 256     (NV10)
[    44.773] 	GeForce 2       (NV11, NV15)
[    44.773] 	GeForce 4MX     (NV17, NV18)
[    44.773] 	GeForce 3       (NV20)
[    44.773] 	GeForce 4Ti     (NV25, NV28)
[    44.773] 	GeForce FX      (NV3x)
[    44.773] 	GeForce 6       (NV4x)
[    44.774] 	GeForce 7       (G7x)
[    44.774] 	GeForce 8       (G8x)
[    44.774] 	GeForce GTX 200 (NVA0)
[    44.774] 	GeForce GTX 400 (NVC0)
[    44.774] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[    44.774] (II) FBDEV: driver for framebuffer: fbdev
[    44.774] (II) VESA: driver for VESA chipsets: vesa
[    44.914] (EE) [drm] Failed to open DRM device for pci:0000:01:00.0: -19
[    44.914] (EE) open /dev/dri/card0: No such file or directory
[    44.914] (WW) Falling back to old probe method for modesetting
[    44.914] (EE) open /dev/dri/card0: No such file or directory
[    44.914] (II) Loading sub module "fbdevhw"
[    44.914] (II) LoadModule: "fbdevhw"
[    44.915] (II) Loading /usr/lib/xorg/modules/libfbdevhw.so
[    44.915] (II) Module fbdevhw: vendor="X.Org Foundation"
[    44.915] 	compiled for 1.19.6, module version = 0.0.2
[    44.915] 	ABI class: X.Org Video Driver, version 23.0
[    44.915] (**) FBDEV(1): claimed PCI slot 1@0:0:0
[    44.915] (II) FBDEV(1): using default device
[    44.915] (WW) Falling back to old probe method for vesa
[    44.915] (EE) Screen 0 deleted because of no matching config section.
[    44.915] (II) UnloadModule: "modesetting"
[    44.915] (**) FBDEV(0): Depth 24, (--) framebuffer bpp 32
[    44.915] (==) FBDEV(0): RGB weight 888
[    44.915] (==) FBDEV(0): Default visual is TrueColor
[    44.915] (==) FBDEV(0): Using gamma correction (1.0, 1.0, 1.0)
[    44.915] (II) FBDEV(0): hardware: VESA VGA (video memory: 1536kB)
[    44.915] (II) FBDEV(0): checking modes against framebuffer device...
[    44.915] (II) FBDEV(0): checking modes against monitor...
[    44.915] (--) FBDEV(0): Virtual size is 1024x768 (pitch 1024)
[    44.915] (**) FBDEV(0):  Built-in mode "current": 78.7 MHz, 59.9 kHz, 75.7 Hz
[    44.915] (II) FBDEV(0): Modeline "current"x0.0   78.65  1024 1056 1184 1312  768 772 776 792 -hsync -vsync -csync (59.9 kHz b)
[    44.916] (==) FBDEV(0): DPI set to (96, 96)
[    44.916] (II) Loading sub module "fb"
[    44.916] (II) LoadModule: "fb"
[    44.916] (II) Loading /usr/lib/xorg/modules/libfb.so
[    44.916] (II) Module fb: vendor="X.Org Foundation"
[    44.916] 	compiled for 1.19.6, module version = 1.0.0
[    44.916] 	ABI class: X.Org ANSI C Emulation, version 0.4
[    44.916] (**) FBDEV(0): using shadow framebuffer
[    44.916] (II) Loading sub module "shadow"
[    44.916] (II) LoadModule: "shadow"
[    44.917] (II) Loading /usr/lib/xorg/modules/libshadow.so
[    44.917] (II) Module shadow: vendor="X.Org Foundation"
[    44.917] 	compiled for 1.19.6, module version = 1.1.0
[    44.917] 	ABI class: X.Org ANSI C Emulation, version 0.4
[    44.917] (II) UnloadModule: "vesa"
[    44.917] (II) Unloading vesa
[    44.917] (==) Depth 24 pixmap format is 32 bpp
[    44.917] (EE) FBDEV(0): FBIOPUT_VSCREENINFO succeeded but modified mode
[    44.917] (EE) FBDEV(0): mode initialization failed
[    44.917] (EE) 
Fatal server error:
[    44.917] (EE) AddScreen/ScreenInit failed for driver 0
[    44.917] (EE) 
[    44.917] (EE) 
Please consult the The X.Org Foundation support 
	 at http://wiki.x.org
 for help. 
[    44.918] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[    44.918] (EE) 
[    44.944] (EE) Server terminated with error (1). Closing log file.

Vielleicht kann jemand mit dem was anfangen??

EDIT: Versuche noch nach der Anleitung https://wiki.ubuntuusers.de/Grafikkarten/Nvidia/nouveau/ den nouveau neu installieren. Leider hat nichts gebracht, ausser der Meldung:

Paketlisten werden gelesen...
Abhängigkeitsbaum wird aufgebaut....
Statusinformationen werden eingelesen....
Einige Pakete konnten nicht installiert werden. Das kann bedeuten, dass
Sie eine unmögliche Situation angefordert haben oder, wenn Sie die
Unstable-Distribution verwenden, dass einige erforderliche Pakete noch
nicht erstellt wurden oder Incoming noch nicht verlassen haben.
Die folgenden Informationen helfen Ihnen vielleicht, die Situation zu lösen:

Die folgenden Pakete haben unerfüllte Abhängigkeiten:
 xserver-xorg-video-nouveau : Hängt ab von: xorg-video-abi-20
                              Hängt ab von: xserver-xorg-core (>= 2:1.17.99.902)

Tuemmler

Anmeldungsdatum:
26. März 2007

Beiträge: 8075

Moin Moin,

Du machst Dir zuviele Gedanken um Nichts.

mit dem Befehl

sudo apt-get purge nvidia*

löscht Du den Treiber für Nvidia mit allem Drum und Dran.

Sicherheitshalber nachfolgend:

sudo apt-get auroremove && sudo apt-get clean

wirft alles runter was nicht mehr gebraucht wird.

Automatisch wir beim Neustart der "nouveau" Treiber aus den Kernel-Modulen installiert. Du brauchst also nichts mehr nachinstallieren, updaten oder was weis ich noch.

sudo reboot

sollte den Rest erledigen, Dein System sollte nun mit dem nouveau laufen.

Gibt es dazu Probleme?

Gruß

Heinrich-X

(Themenstarter)
Avatar von Heinrich-X

Anmeldungsdatum:
23. November 2017

Beiträge: 120

Hallo hakel, hallo Tuemmler,

Danke an Euch für die alle Tipps. Der Spuk ist vorbei. Hatte hier einen vga=0317 Eintrag in der vmlinuz Datei, siehe unten:

/boot/vmlinuz-4.15.0-72-generic root=UUID=54b8a62e-d62e-424b-8309-4e470da8aad6 ro vga=0x317

vga=0317 entfernt und alles OK.

DANKE für Hilfe

Heinrich-X

Axel-Erfurt

Anmeldungsdatum:
18. Mai 2016

Beiträge: 1347

Tuemmler schrieb:

Sicherheitshalber nachfolgend:

sudo apt-get auroremove && sudo apt-get clean

Da hat der Rechtschreibfehlerteufel zugeschlagen

sudo apt-get autoremove && sudo apt-get clean

hakel

Anmeldungsdatum:
13. August 2009

Beiträge: 23336

Dieser Befehl aus dem Link zeigt dir eigentlich immer welcher Treiber läuft. nouveau ist nicht zu empfehlen im Normalfall.

lspci -nnk | grep -i "VGA\|'Kern'\|3D\|Display" -A2 
Antworten |