#1 26.11.2018 07:50:48

Peter1000
Gast

Nvidia Treiber tobt wieder?

Es ist wieder mal so weit. Wie schon oft erlebt funktioniert "startx" heute nach einem Update des Kernels und der nvidia Treiber von Nvidia nicht mehr.
Linux fährt normal hoch, ich kann mich anmelden, aber sobald ich startx ausführe friert das Bildschirm ein und ich muss den Power Schalter bemühen weil Linux es dann nicht mehr schafft normal herunterzufahren.

Es ist wirklich eine elendige Geschichte mit Nvidia und Linux. Eventuell liegt es auch an einem unvollständigen Update, weil noch nicht alle notwendigen Pakete aktualisiert wurden?

#2 26.11.2018 08:37:12

niemand
Mitglied

Re: Nvidia Treiber tobt wieder?

Wenn du die aktuelle Xorg.0.log nebst weiteren Infos zu deinem System zur Verfügung stellen würdest, müsste man nicht rumrätseln, was bei dir die Ursache sein könnte.

Offline

#3 26.11.2018 11:42:51

Peter1000
Gast

Re: Nvidia Treiber tobt wieder?

Tut mir leid. Vielleicht hilft das weiter.

Xorg.0.log:

[    57.057] (WW) Failed to open protocol names file lib/xorg/protocol.txt
[    57.057] 
X.Org X Server 1.20.3
X Protocol Version 11, Revision 0
[    57.057] Build Operating System: Linux Arch Linux
[    57.057] Current Operating System: Linux storm 4.19.4-arch1-1-ARCH #1 SMP PREEMPT Fri Nov 23 09:06:58 UTC 2018 x86_64
[    57.057] Kernel command line: initrd=\intel-ucode.img initrd=\initramfs-linux.img root=LABEL=p_arch rw resume=p_swap
[    57.058] Build Date: 25 October 2018  04:42:32PM
[    57.058]  
[    57.058] Current version of pixman: 0.34.0
[    57.058] 	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
[    57.058] Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[    57.058] (==) Log file: "/var/log/Xorg.0.log", Time: Mon Nov 26 06:33:57 2018
[    57.061] (==) Using config directory: "/etc/X11/xorg.conf.d"
[    57.061] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[    57.061] (==) No Layout section.  Using the first Screen section.
[    57.061] (==) No screen section available. Using defaults.
[    57.061] (**) |-->Screen "Default Screen Section" (0)
[    57.061] (**) |   |-->Monitor "<default monitor>"
[    57.062] (==) No monitor specified for screen "Default Screen Section".
	Using a default monitor configuration.
[    57.062] (==) Automatically adding devices
[    57.062] (==) Automatically enabling devices
[    57.062] (==) Automatically adding GPU devices
[    57.062] (==) Automatically binding GPU devices
[    57.062] (==) Max clients allowed: 256, resource mask: 0x1fffff
[    57.063] (WW) The directory "/usr/share/fonts/Type1" does not exist.
[    57.063] 	Entry deleted from font path.
[    57.063] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/100dpi".
[    57.063] 	Entry deleted from font path.
[    57.063] 	(Run 'mkfontdir' on "/usr/share/fonts/100dpi").
[    57.063] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/75dpi".
[    57.063] 	Entry deleted from font path.
[    57.063] 	(Run 'mkfontdir' on "/usr/share/fonts/75dpi").
[    57.063] (==) FontPath set to:
	/usr/share/fonts/misc,
	/usr/share/fonts/TTF,
	/usr/share/fonts/OTF
[    57.063] (==) ModulePath set to "/usr/lib/xorg/modules"
[    57.063] (II) The server relies on udev to provide the list of input devices.
	If no devices become available, reconfigure udev or disable AutoAddDevices.
[    57.063] (II) Module ABI versions:
[    57.063] 	X.Org ANSI C Emulation: 0.4
[    57.063] 	X.Org Video Driver: 24.0
[    57.063] 	X.Org XInput driver : 24.1
[    57.063] 	X.Org Server Extension : 10.0
[    57.064] (++) using VT number 1

[    57.065] (II) systemd-logind: took control of session /org/freedesktop/login1/session/_31
[    57.065] (II) xfree86: Adding drm device (/dev/dri/card0)
[    57.065] (II) systemd-logind: got fd for /dev/dri/card0 226:0 fd 10 paused 0
[    57.066] (**) OutputClass "nvidia" ModulePath extended to "/usr/lib/nvidia/xorg,/usr/lib/xorg/modules,/usr/lib/xorg/modules"
[    57.066] (**) OutputClass "nvidia" setting /dev/dri/card0 as PrimaryGPU
[    57.067] (--) PCI:*(1@0:0:0) 10de:1b81:1462:3302 rev 161, Mem @ 0xee000000/16777216, 0xd0000000/268435456, 0xe0000000/33554432, I/O @ 0x0000e000/128, BIOS @ 0x????????/131072
[    57.067] (II) Open ACPI successful (/var/run/acpid.socket)
[    57.067] (II) LoadModule: "glx"
[    57.067] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[    57.072] (II) Module glx: vendor="X.Org Foundation"
[    57.072] 	compiled for 1.20.3, module version = 1.0.0
[    57.072] 	ABI class: X.Org Server Extension, version 10.0
[    57.072] (II) Applying OutputClass "nvidia" to /dev/dri/card0
[    57.072] 	loading driver: nvidia
[    57.072] (==) Matched nvidia as autoconfigured driver 0
[    57.072] (==) Matched nouveau as autoconfigured driver 1
[    57.072] (==) Matched nv as autoconfigured driver 2
[    57.072] (==) Matched modesetting as autoconfigured driver 3
[    57.072] (==) Matched fbdev as autoconfigured driver 4
[    57.072] (==) Matched vesa as autoconfigured driver 5
[    57.072] (==) Assigned the driver to the xf86ConfigLayout
[    57.072] (II) LoadModule: "nvidia"
[    57.073] (II) Loading /usr/lib/xorg/modules/drivers/nvidia_drv.so
[    57.077] (II) Module nvidia: vendor="NVIDIA Corporation"
[    57.077] 	compiled for 4.0.2, module version = 1.0.0
[    57.077] 	Module class: X.Org Video Driver
[    57.077] (II) LoadModule: "nouveau"
[    57.078] (WW) Warning, couldn't open module nouveau
[    57.078] (EE) Failed to load module "nouveau" (module does not exist, 0)
[    57.078] (II) LoadModule: "nv"
[    57.078] (WW) Warning, couldn't open module nv
[    57.078] (EE) Failed to load module "nv" (module does not exist, 0)
[    57.078] (II) LoadModule: "modesetting"
[    57.078] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
[    57.079] (II) Module modesetting: vendor="X.Org Foundation"
[    57.079] 	compiled for 1.20.3, module version = 1.20.3
[    57.079] 	Module class: X.Org Video Driver
[    57.079] 	ABI class: X.Org Video Driver, version 24.0
[    57.079] (II) LoadModule: "fbdev"
[    57.079] (WW) Warning, couldn't open module fbdev
[    57.079] (EE) Failed to load module "fbdev" (module does not exist, 0)
[    57.079] (II) LoadModule: "vesa"
[    57.079] (WW) Warning, couldn't open module vesa
[    57.079] (EE) Failed to load module "vesa" (module does not exist, 0)
[    57.080] (II) NVIDIA dlloader X Driver  415.18  Thu Nov 15 21:40:36 CST 2018
[    57.080] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
[    57.080] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[    57.080] (II) systemd-logind: releasing fd for 226:0
[    57.081] (II) Loading sub module "fb"
[    57.081] (II) LoadModule: "fb"
[    57.081] (II) Loading /usr/lib/xorg/modules/libfb.so
[    57.082] (II) Module fb: vendor="X.Org Foundation"
[    57.082] 	compiled for 1.20.3, module version = 1.0.0
[    57.082] 	ABI class: X.Org ANSI C Emulation, version 0.4
[    57.082] (II) Loading sub module "wfb"
[    57.082] (II) LoadModule: "wfb"
[    57.082] (II) Loading /usr/lib/xorg/modules/libwfb.so
[    57.082] (II) Module wfb: vendor="X.Org Foundation"
[    57.082] 	compiled for 1.20.3, module version = 1.0.0
[    57.082] 	ABI class: X.Org ANSI C Emulation, version 0.4
[    57.082] (II) Loading sub module "ramdac"
[    57.082] (II) LoadModule: "ramdac"
[    57.082] (II) Module "ramdac" already built-in
[    57.083] (WW) Falling back to old probe method for modesetting
[    57.084] (II) NVIDIA(0): Creating default Display subsection in Screen section
	"Default Screen Section" for depth/fbbpp 24/32
[    57.084] (==) NVIDIA(0): Depth 24, (==) framebuffer bpp 32
[    57.084] (==) NVIDIA(0): RGB weight 888
[    57.084] (==) NVIDIA(0): Default visual is TrueColor
[    57.084] (==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0)
[    57.084] (II) Applying OutputClass "nvidia" options to /dev/dri/card0
[    57.084] (**) NVIDIA(0): Option "AllowEmptyInitialConfiguration"
[    57.084] (**) NVIDIA(0): Enabling 2D acceleration
[    57.084] (II) Loading sub module "glxserver_nvidia"
[    57.084] (II) LoadModule: "glxserver_nvidia"
[    57.084] (II) Loading /usr/lib/nvidia/xorg/libglxserver_nvidia.so
[    57.122] (II) Module glxserver_nvidia: vendor="NVIDIA Corporation"
[    57.122] 	compiled for 4.0.2, module version = 1.0.0
[    57.122] 	Module class: X.Org Server Extension
[    57.123] (II) NVIDIA GLX Module  415.18  Thu Nov 15 21:39:03 CST 2018
[    60.960] (--) NVIDIA(0): Valid display device(s) on GPU-0 at PCI:1:0:0
[    60.960] (--) NVIDIA(0):     DFP-0
[    60.960] (--) NVIDIA(0):     DFP-1
[    60.960] (--) NVIDIA(0):     DFP-2
[    60.960] (--) NVIDIA(0):     DFP-3
[    60.960] (--) NVIDIA(0):     DFP-4
[    60.960] (--) NVIDIA(0):     DFP-5
[    60.960] (--) NVIDIA(0):     DFP-6 (boot)
[    60.960] (--) NVIDIA(0):     DFP-7
[    60.961] (II) NVIDIA(0): NVIDIA GPU GeForce GTX 1070 (GP104-A) at PCI:1:0:0 (GPU-0)
[    60.961] (--) NVIDIA(0): Memory: 8388608 kBytes
[    60.961] (--) NVIDIA(0): VideoBIOS: 86.04.50.00.2a
[    60.961] (II) NVIDIA(0): Detected PCI Express Link width: 16X
[    60.961] (--) NVIDIA(GPU-0): DFP-0: disconnected
[    60.961] (--) NVIDIA(GPU-0): DFP-0: Internal TMDS
[    60.961] (--) NVIDIA(GPU-0): DFP-0: 165.0 MHz maximum pixel clock
[    60.961] (--) NVIDIA(GPU-0): 
[    60.961] (--) NVIDIA(GPU-0): DFP-1: disconnected
[    60.961] (--) NVIDIA(GPU-0): DFP-1: Internal TMDS
[    60.961] (--) NVIDIA(GPU-0): DFP-1: 165.0 MHz maximum pixel clock
[    60.961] (--) NVIDIA(GPU-0): 
[    60.961] (--) NVIDIA(GPU-0): DFP-2: disconnected
[    60.961] (--) NVIDIA(GPU-0): DFP-2: Internal DisplayPort
[    60.961] (--) NVIDIA(GPU-0): DFP-2: 1440.0 MHz maximum pixel clock
[    60.961] (--) NVIDIA(GPU-0): 
[    60.961] (--) NVIDIA(GPU-0): DFP-3: disconnected
[    60.961] (--) NVIDIA(GPU-0): DFP-3: Internal TMDS
[    60.961] (--) NVIDIA(GPU-0): DFP-3: 165.0 MHz maximum pixel clock
[    60.961] (--) NVIDIA(GPU-0): 
[    60.962] (--) NVIDIA(GPU-0): DFP-4: disconnected
[    60.962] (--) NVIDIA(GPU-0): DFP-4: Internal DisplayPort
[    60.962] (--) NVIDIA(GPU-0): DFP-4: 1440.0 MHz maximum pixel clock
[    60.962] (--) NVIDIA(GPU-0): 
[    60.962] (--) NVIDIA(GPU-0): DFP-5: disconnected
[    60.962] (--) NVIDIA(GPU-0): DFP-5: Internal TMDS
[    60.962] (--) NVIDIA(GPU-0): DFP-5: 165.0 MHz maximum pixel clock
[    60.962] (--) NVIDIA(GPU-0): 
[    60.962] (--) NVIDIA(GPU-0): LG Electronics LG Ultra HD (DFP-6): connected
[    60.962] (--) NVIDIA(GPU-0): LG Electronics LG Ultra HD (DFP-6): Internal DisplayPort
[    60.962] (--) NVIDIA(GPU-0): LG Electronics LG Ultra HD (DFP-6): 1440.0 MHz maximum pixel clock
[    60.962] (--) NVIDIA(GPU-0): 
[    60.963] (--) NVIDIA(GPU-0): DFP-7: disconnected
[    60.963] (--) NVIDIA(GPU-0): DFP-7: Internal TMDS
[    60.963] (--) NVIDIA(GPU-0): DFP-7: 165.0 MHz maximum pixel clock
[    60.963] (--) NVIDIA(GPU-0): 
[    60.965] (==) NVIDIA(0): 
[    60.965] (==) NVIDIA(0): No modes were requested; the default mode "nvidia-auto-select"
[    60.965] (==) NVIDIA(0):     will be used as the requested mode.
[    60.965] (==) NVIDIA(0): 
[    60.965] (II) NVIDIA(0): Validated MetaModes:
[    60.965] (II) NVIDIA(0):     "DFP-6:nvidia-auto-select"
[    60.965] (II) NVIDIA(0): Virtual screen size determined to be 3840 x 2160
[    60.968] (WW) NVIDIA(0): No valid modes for
[    60.968] (WW) NVIDIA(0):     "DP-4:nvidia-auto-select{ViewPortIn=2560x1600,ViewPortOut=3456x2160+192+0}";
[    60.968] (WW) NVIDIA(0):     removing.
[    60.968] (WW) NVIDIA(0): No valid modes for
[    60.968] (WW) NVIDIA(0):     "DP-4:nvidia-auto-select{ViewPortIn=1920x1200,ViewPortOut=3456x2160+192+0}";
[    60.968] (WW) NVIDIA(0):     removing.
[    60.968] (WW) NVIDIA(0): No valid modes for
[    60.968] (WW) NVIDIA(0):     "DP-4:nvidia-auto-select{ViewPortIn=1680x1050,ViewPortOut=3456x2160+192+0}";
[    60.968] (WW) NVIDIA(0):     removing.
[    60.968] (WW) NVIDIA(0): No valid modes for
[    60.968] (WW) NVIDIA(0):     "DP-4:nvidia-auto-select{ViewPortIn=1600x1200,ViewPortOut=2880x2160+480+0}";
[    60.968] (WW) NVIDIA(0):     removing.
[    60.968] (WW) NVIDIA(0): No valid modes for
[    60.968] (WW) NVIDIA(0):     "DP-4:nvidia-auto-select{ViewPortIn=1440x900,ViewPortOut=3456x2160+192+0}";
[    60.968] (WW) NVIDIA(0):     removing.
[    60.968] (WW) NVIDIA(0): No valid modes for
[    60.968] (WW) NVIDIA(0):     "DP-4:nvidia-auto-select{ViewPortIn=1366x768,ViewPortOut=3840x2158+0+1}";
[    60.968] (WW) NVIDIA(0):     removing.
[    60.968] (--) NVIDIA(0): DPI set to (162, 161); computed from "UseEdidDpi" X config
[    60.968] (--) NVIDIA(0):     option
[    60.968] (II) UnloadModule: "modesetting"
[    60.968] (II) Unloading modesetting
[    60.969] (II) NVIDIA: Using 24576.00 MB of virtual memory for indirect memory
[    60.969] (II) NVIDIA:     access.
[    60.982] (II) NVIDIA(0): Setting mode "DFP-6:nvidia-auto-select"

#4 26.11.2018 22:27:19

Werner
Mitglied

Re: Nvidia Treiber tobt wieder?

Aus deiner Log-Datei:

---
[    57.072] (II) LoadModule: "nvidia"
[    57.073] (II) Loading /usr/lib/xorg/modules/drivers/nvidia_drv.so
[    57.077] (II) Module nvidia: vendor="NVIDIA Corporation"
[    57.077] 	compiled for 4.0.2, module version = 1.0.0
[    57.077] 	Module class: X.Org Video Driver
[    57.077] (II) LoadModule: "nouveau"
[    57.078] (WW) Warning, couldn't open module nouveau
[    57.078] (EE) Failed to load module "nouveau" (module does not exist, 0)
[    57.078] (II) LoadModule: "nv"
[    57.078] (WW) Warning, couldn't open module nv
[    57.078] (EE) Failed to load module "nv" (module does not exist, 0)
---

Der Verlauf sollte an der Stelle jedoch so aussehen:

---
[     3.667] (II) LoadModule: "nvidia"
[     3.668] (II) Loading /usr/lib/xorg/modules/drivers/nvidia_drv.so
[     3.688] (II) Module nvidia: vendor="NVIDIA Corporation"
[     3.688] 	compiled for 4.0.2, module version = 1.0.0
[     3.688] 	Module class: X.Org Video Driver
[     3.689] (II) NVIDIA dlloader X Driver  415.18  Thu Nov 15 21:40:36 CST 2018
[     3.689] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
[     3.690] (II) Loading sub module "fb"
[     3.690] (II) LoadModule: "fb"
[     3.690] (II) Loading /usr/lib/xorg/modules/libfb.so
---

Hast du in der Datei /usr/lib/modprobe.d/nvidia.conf den Eintrag "blacklist nouveau"?

Offline

#5 27.11.2018 07:42:05

Peter1000
Gast

Re: Nvidia Treiber tobt wieder?

Hallo Werner, danke für deine Antwort.

Ja in der nvidia.conf ist "blacklist nouveau" vorhanden. Ist das normal dass er nach dem laden von "nvidia" hintereinander versucht alternative Grafiktreiber zu laden? Nicht nur nouveau, es versucht dann unter anderem auch noch "vesa" zu laden.

Übrigens ich kann "startx" wieder erfolgreich ausführen. Nachdem ich es gestern mehrmals mit Neustart des PC probierte ging es nicht. Aber dann am Abend (nichts verändert am System) probierte ich es wieder und seitdem geht es nun wieder. Ich habe keine Ahnung wieso es mehrmals streikte und jetzt wieder funktioniert.

#6 27.11.2018 15:12:17

sc44
Mitglied

Re: Nvidia Treiber tobt wieder?

Hallo,
sieht bei mir aber auch nicht ander aus.

[     6.023] (II) LoadModule: "nvidia"
[     6.024] (II) Loading /usr/lib/xorg/modules/drivers/nvidia_drv.so
[     6.035] (II) Module nvidia: vendor="NVIDIA Corporation"
[     6.035] 	compiled for 4.0.2, module version = 1.0.0
[     6.035] 	Module class: X.Org Video Driver
[     6.036] (II) LoadModule: "nouveau"
[     6.037] (WW) Warning, couldn't open module nouveau
[     6.037] (EE) Failed to load module "nouveau" (module does not exist, 0)
[     6.037] (II) LoadModule: "nv"
[     6.037] (WW) Warning, couldn't open module nv
[     6.037] (EE) Failed to load module "nv" (module does not exist, 0)
[     6.037] (II) LoadModule: "modesetting"
[     6.037] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
[     6.041] (II) Module modesetting: vendor="X.Org Foundation"
[     6.041] 	compiled for 1.20.3, module version = 1.20.3
[     6.041] 	Module class: X.Org Video Driver
[     6.041] 	ABI class: X.Org Video Driver, version 24.0
[     6.041] (II) LoadModule: "fbdev"
[     6.041] (WW) Warning, couldn't open module fbdev
[     6.041] (EE) Failed to load module "fbdev" (module does not exist, 0)
[     6.041] (II) LoadModule: "vesa"
[     6.041] (WW) Warning, couldn't open module vesa
[     6.041] (EE) Failed to load module "vesa" (module does not exist, 0)
[     6.042] (II) NVIDIA dlloader X Driver  415.18  Thu Nov 15 21:40:36 CST 2018
[     6.042] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
[     6.043] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[     6.064] (II) Loading sub module "fb"
[     6.064] (II) LoadModule: "fb"
[     6.064] (II) Loading /usr/lib/xorg/modules/libfb.so
[     6.066] (II) Module fb: vendor="X.Org Foundation"
[     6.067] 	compiled for 1.20.3, module version = 1.0.0
[     6.067] 	ABI class: X.Org ANSI C Emulation, version 0.4

Läuft bei mir seit der Installation vor über 2 Jahren problemlos,
Ich verwende das nvidia-dkms Paket.

Offline

#7 28.11.2018 08:07:55

Peter1000
Gast

Re: Nvidia Treiber tobt wieder?

Mein Problem scheint jedenfalls gelöst zu sein. Ich konnte startx jetzt ein duzend mal ohne Probleme ausführen. Hoffe es bleibt so.

#8 29.11.2018 08:06:35

Peter1000
Gast

Re: Nvidia Treiber tobt wieder?

Leider ist es gestern wieder passiert. Es blieb hängen und ein paar Sekunden später war sogar das Signal am Monitor weg. Da hals nur ein Neustart über den Power Knopf am PC.
Ich weiß noch nicht genau aber ich habe das Gefühl dass ich nach dem booten nicht zu schnell startx ausführen darf sondern einige Sekunden warten sollte. Wenn ich ein wenig warte scheint das laden der nvidia Treiber keine Probleme zu machen. Oder es war nur Zufall und hat nichts damit zu tun.

Schnellantwort auf dieses Thema

Schreibe deinen Beitrag und versende ihn
Deine Antwort

Fußzeile des Forums