Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
nvidia drivers 470 drops internal display
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
mkplante
n00b
n00b


Joined: 20 Dec 2014
Posts: 6
Location: United States

PostPosted: Sun Sep 26, 2021 1:33 am    Post subject: nvidia drivers 470 drops internal display Reply with quote

Not sure if this belongs more in the drivers section or desktop environments.

I upgraded recently from nvidia-drivers-460.91.03 to nvidia-drivers-470.63.01. Downgrading back to the original version solves this problem. HW is "GK104GLM [Quadro K4100M] (rev a1)" WM is KDE, but I've also seen this same problem with a very basic WM as well (not sure which one, but just a default fvwm-looking WM that came up when I tried as root...to be clear I'm not usually trying as root though).

My system is set to boot to console, not a display environment. When I first start from a console, the displays are mirrored, internal and external. When I type startx with the new drivers, the laptop internal display gets disabled, which is the problem. Otherwise, X appears functional with the new drivers, just with only one display instead of the two I used to have. When exiting back out to the console, the internal display is now still disabled. rmmod-ing nvidia, etc does not fix it. I will note that nvidia and nvidia_modeset get loaded, but nvidia_drm which used to get loaded no longer appears to load by default when starting X. The log (below) shows that the internal display DFP-4 just plain isn't detected with the newer drivers, even though the external display DFP-0 is detected with both sets. The kernel is gentoo-sources-5.4.80-r1 with genkernel. I have a few other (slower) nvidia-based systems that are currently emerging world and I should have an idea pretty soon if they have the same problem.

In the meantime, any idea what I should try next?


Code:

[root@mplante-m6800 ~]diff -U5 <(sed '-es/^\[[^]]*\]//' xorg-olddrivers.log  ) <(sed '-es/^\[[^]]*\]//' xorg-newdrivers.log )
--- /dev/fd/63  2021-09-25 21:22:24.619399034 -0400
+++ /dev/fd/62  2021-09-25 21:22:24.622732367 -0400
@@ -10,11 +10,11 @@
        Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
  Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
- (==) Log file: "/var/log/Xorg.0.log", Time: Sat Sep 25 21:08:16 2021
+ (==) Log file: "/var/log/Xorg.0.log", Time: Sat Sep 25 21:05:06 2021
  (==) Using config file: "/etc/X11/xorg.conf"
  (==) Using config directory: "/etc/X11/xorg.conf.d"
  (==) Using system config directory "/usr/share/X11/xorg.conf.d"
  (==) ServerLayout "Layout0"
  (**) |-->Screen "Screen0" (0)
@@ -36,11 +36,11 @@
        /usr/share/fonts/75dpi/
  (==) ModulePath set to "/usr/lib64/xorg/modules"
  (WW) Hotplugging is on, devices using drivers 'kbd', 'mouse' or 'vmmouse' will be disabled.
  (WW) Disabling Keyboard0
  (WW) Disabling Mouse0
- (II) Loader magic: 0x560d8799ace0
+ (II) Loader magic: 0x563669d82ce0
  (II) Module ABI versions:
        X.Org ANSI C Emulation: 0.4
        X.Org Video Driver: 24.1
        X.Org XInput driver : 24.1
        X.Org Server Extension : 10.0
@@ -60,11 +60,11 @@
  (II) LoadModule: "nvidia"
  (II) Loading /usr/lib64/xorg/modules/drivers/nvidia_drv.so
  (II) Module nvidia: vendor="NVIDIA Corporation"
        compiled for 1.6.99.901, module version = 1.0.0
        Module class: X.Org Video Driver
- (II) NVIDIA dlloader X Driver  460.91.03  Fri Jul  2 05:48:55 UTC 2021
+ (II) NVIDIA dlloader X Driver  470.63.01  Tue Aug  3 20:37:27 UTC 2021
  (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
  (II) Loading sub module "fb"
  (II) LoadModule: "fb"
  (II) Loading /usr/lib64/xorg/modules/libfb.so
  (II) Module fb: vendor="X.Org Foundation"
@@ -100,11 +100,11 @@
  (II) LoadModule: "glxserver_nvidia"
  (II) Loading /usr/lib64/xorg/modules/extensions/libglxserver_nvidia.so
  (II) Module glxserver_nvidia: vendor="NVIDIA Corporation"
        compiled for 1.6.99.901, module version = 1.0.0
        Module class: X.Org Server Extension
- (II) NVIDIA GLX Module  460.91.03  Fri Jul  2 05:46:33 UTC 2021
+ (II) NVIDIA GLX Module  470.63.01  Tue Aug  3 20:35:52 UTC 2021
  (II) NVIDIA: The X server supports PRIME Render Offload.
  (--) NVIDIA(0): Valid display device(s) on GPU-0 at PCI:1:0:0
  (--) NVIDIA(0):     CRT-0
  (--) NVIDIA(0):     DFP-0 (boot)
  (--) NVIDIA(0):     DFP-1
@@ -135,13 +135,13 @@
  (--) NVIDIA(GPU-0):
  (--) NVIDIA(GPU-0): DFP-3: disconnected
  (--) NVIDIA(GPU-0): DFP-3: Internal DisplayPort
  (--) NVIDIA(GPU-0): DFP-3: 960.0 MHz maximum pixel clock
  (--) NVIDIA(GPU-0):
- (--) NVIDIA(GPU-0): AU Optronics Corporation (DFP-4): connected
- (--) NVIDIA(GPU-0): AU Optronics Corporation (DFP-4): Internal DisplayPort
- (--) NVIDIA(GPU-0): AU Optronics Corporation (DFP-4): 960.0 MHz maximum pixel clock
+ (--) NVIDIA(GPU-0): DFP-4: disconnected
+ (--) NVIDIA(GPU-0): DFP-4: Internal DisplayPort
+ (--) NVIDIA(GPU-0): DFP-4: 960.0 MHz maximum pixel clock
  (--) NVIDIA(GPU-0):
  (--) NVIDIA(GPU-0): DFP-5: disconnected
  (--) NVIDIA(GPU-0): DFP-5: Internal DisplayPort
  (--) NVIDIA(GPU-0): DFP-5: 960.0 MHz maximum pixel clock
  (--) NVIDIA(GPU-0):
@@ -150,16 +150,16 @@
  (--) NVIDIA(GPU-0): DFP-6: 960.0 MHz maximum pixel clock
  (--) NVIDIA(GPU-0):
  (II) NVIDIA(0): Validated MetaModes:
  (II) NVIDIA(0):   
  (II) NVIDIA(0):     "DFP-0:nvidia-auto-select+0+0,DFP-4:nvidia-auto-select+1920+0"
- (II) NVIDIA(0): Virtual screen size determined to be 3840 x 1080
+ (II) NVIDIA(0): Virtual screen size determined to be 1920 x 1080
  (WW) NVIDIA(0): Unable to find all display devices requested in MetaMode
  (WW) NVIDIA(0):     Orientation string "DFP-0 LeftOf DFP-4".
  (--) NVIDIA(0): DPI set to (92, 94); computed from "UseEdidDpi" X config
  (--) NVIDIA(0):     option
- (II) NVIDIA: Using 6144.00 MB of virtual memory for indirect memory
+ (II) NVIDIA: Reserving 6144.00 MB of virtual memory for indirect memory
  (II) NVIDIA:     access.
  (II) NVIDIA(0): ACPI: failed to connect to the ACPI event daemon; the daemon
  (II) NVIDIA(0):     may not be running or the "AcpidSocketPath" X
  (II) NVIDIA(0):     configuration option may not be set correctly.  When the
  (II) NVIDIA(0):     ACPI event daemon is available, the NVIDIA X driver will
@@ -471,14 +471,10 @@
  (**) Option "Device" "/dev/input/event9"
  (**) Option "_source" "_driver/libinput"
  (II) libinput: Logitech G700s Rechargeable Gaming Mouse Consumer Control: is a virtual subdevice
  (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:14.0/usb3/3-4/3-4.1/3-4.1.1/3-4.1.1:1.1/0003:046D:C07C.0008/input/input29/event9"
  (II) XINPUT: Adding extended input device "Logitech G700s Rechargeable Gaming Mouse Consumer Control" (type: KEYBOARD, id 18)
- (--) NVIDIA(GPU-0): AU Optronics Corporation (DFP-4): connected
- (--) NVIDIA(GPU-0): AU Optronics Corporation (DFP-4): Internal DisplayPort
- (--) NVIDIA(GPU-0): AU Optronics Corporation (DFP-4): 960.0 MHz maximum pixel clock
- (--) NVIDIA(GPU-0):
  (--) NVIDIA(GPU-0): CRT-0: disconnected
  (--) NVIDIA(GPU-0): CRT-0: 400.0 MHz maximum pixel clock
  (--) NVIDIA(GPU-0):
  (--) NVIDIA(GPU-0): Acer H243H (DFP-0): connected
  (--) NVIDIA(GPU-0): Acer H243H (DFP-0): Internal TMDS
@@ -494,13 +490,13 @@
  (--) NVIDIA(GPU-0):
  (--) NVIDIA(GPU-0): DFP-3: disconnected
  (--) NVIDIA(GPU-0): DFP-3: Internal DisplayPort
  (--) NVIDIA(GPU-0): DFP-3: 960.0 MHz maximum pixel clock
  (--) NVIDIA(GPU-0):
- (--) NVIDIA(GPU-0): AU Optronics Corporation (DFP-4): connected
- (--) NVIDIA(GPU-0): AU Optronics Corporation (DFP-4): Internal DisplayPort
- (--) NVIDIA(GPU-0): AU Optronics Corporation (DFP-4): 960.0 MHz maximum pixel clock
+ (--) NVIDIA(GPU-0): DFP-4: disconnected
+ (--) NVIDIA(GPU-0): DFP-4: Internal DisplayPort
+ (--) NVIDIA(GPU-0): DFP-4: 960.0 MHz maximum pixel clock
  (--) NVIDIA(GPU-0):
  (--) NVIDIA(GPU-0): DFP-5: disconnected
  (--) NVIDIA(GPU-0): DFP-5: Internal DisplayPort
  (--) NVIDIA(GPU-0): DFP-5: 960.0 MHz maximum pixel clock
  (--) NVIDIA(GPU-0):
@@ -525,25 +521,22 @@
  (--) NVIDIA(GPU-0):
  (--) NVIDIA(GPU-0): DFP-3: disconnected
  (--) NVIDIA(GPU-0): DFP-3: Internal DisplayPort
  (--) NVIDIA(GPU-0): DFP-3: 960.0 MHz maximum pixel clock
  (--) NVIDIA(GPU-0):
- (--) NVIDIA(GPU-0): AU Optronics Corporation (DFP-4): connected
- (--) NVIDIA(GPU-0): AU Optronics Corporation (DFP-4): Internal DisplayPort
- (--) NVIDIA(GPU-0): AU Optronics Corporation (DFP-4): 960.0 MHz maximum pixel clock
+ (--) NVIDIA(GPU-0): DFP-4: disconnected
+ (--) NVIDIA(GPU-0): DFP-4: Internal DisplayPort
+ (--) NVIDIA(GPU-0): DFP-4: 960.0 MHz maximum pixel clock
  (--) NVIDIA(GPU-0):
  (--) NVIDIA(GPU-0): DFP-5: disconnected
  (--) NVIDIA(GPU-0): DFP-5: Internal DisplayPort
  (--) NVIDIA(GPU-0): DFP-5: 960.0 MHz maximum pixel clock
  (--) NVIDIA(GPU-0):
  (--) NVIDIA(GPU-0): DFP-6: disconnected
  (--) NVIDIA(GPU-0): DFP-6: Internal DisplayPort
  (--) NVIDIA(GPU-0): DFP-6: 960.0 MHz maximum pixel clock
  (--) NVIDIA(GPU-0):
- (II) NVIDIA(0): Setting mode "DP-0: nvidia-auto-select @1920x1080 +1920+0 {ViewPortIn=1920x1080, ViewPortOut=1920x1080+0+0}, DP-4: nvidia-auto-select @1920x1080 +1920+0 {ViewPortIn=1920x1080, ViewPortOut=1920x1080+0+0}"
- (II) NVIDIA(0): Setting mode "DP-0: nvidia-auto-select @1920x1080 +1920+0 {ViewPortIn=1920x1080, ViewPortOut=1920x1080+0+0}, DP-4: nvidia-auto-select @1920x1080 +0+0 {ViewPortIn=1920x1080, ViewPortOut=1920x1080+0+0}"
- (II) event7  - Logitech G700s Rechargeable Gaming Mouse: SYN_DROPPED event - some input events have been lost.
  (**) Option "fd" "36"
  (II) event3  - Power Button: device removed
  (**) Option "fd" "39"
  (II) event11 - Video Bus: device removed
  (**) Option "fd" "40"
Back to top
View user's profile Send private message
mkplante
n00b
n00b


Joined: 20 Dec 2014
Posts: 6
Location: United States

PostPosted: Sat Feb 12, 2022 10:06 pm    Post subject: Reply with quote

Can anyone offer any help on this?

I've tried several more nvidia-drivers versions since the original post, as they've become stable, with no luck. 470.103.01 is still broken. DFP-4, my internal display, is still undetected. I would actually have to downgrade my Xorg-server from 21.1.3 to 1.20.14 to even put the old nvidia-drivers that work back into place, so I can't even get back to the original state. When I boot, my laptop display (DFP-4) works fine with simplefb. When I startx, the internal display DFP-4 is not detected, the external display DFP-0 activates (if it's connected, else I get a blank screen and the other virtual consoles are bright white). When I exit X, now the console is on the external display instead of the internal display. I have tried adding the ConnectedMonitor option to my Device section, and that just leads to a white internal display. So I am convinced that the drivers know that DFP-0 is the internal display, but they no longer know how to use it.

I've also tried re-running nvidia-xconfig from a blank slate, and nothing changes -- still only recognizes the external display. This was suggested as a solution in several (non-Gentoo) forum threads, but it made no difference.

Code:

# xrandr
Screen 0: minimum 8 x 8, current 1920 x 1080, maximum 16384 x 16384
VGA-0 disconnected (normal left inverted right x axis y axis)
DP-0 connected primary 1920x1080+0+0 (normal left inverted right x axis y axis) 531mm x 298mm
   1920x1080     59.93*+
   1680x1050     59.95 
   1600x1200     60.00 
   1440x900      74.98    59.89 
   1280x1024     75.02    60.02 
   1152x864      75.00 
   1024x768      75.03    70.07    60.00 
   800x600       75.00    72.19    60.32    56.25 
   640x480       75.00    72.81    59.94 
DP-1 disconnected (normal left inverted right x axis y axis)
DP-2 disconnected (normal left inverted right x axis y axis)
DP-3 disconnected (normal left inverted right x axis y axis)
DP-4 disconnected (normal left inverted right x axis y axis)
DP-5 disconnected (normal left inverted right x axis y axis)
DP-6 disconnected (normal left inverted right x axis y axis)


Code:

# dmesg |grep nvidia
[    8.445550] nvidia: loading out-of-tree module taints kernel.
[    8.445558] nvidia: module license 'NVIDIA' taints kernel.
[    8.457664] nvidia: module verification failed: signature and/or required key missing - tainting kernel
[    8.473441] nvidia-nvlink: Nvlink Core is being initialized, major device number 240
[    8.474594] nvidia 0000:01:00.0: vgaarb: changed VGA decodes: olddecodes=io+mem,decodes=none:owns=io+mem
[   10.006843] nvidia-modeset: Loading NVIDIA Kernel Mode Setting Driver for UNIX platforms  470.103.01  Thu Jan  6 12:12:52 UTC 2022
[   10.008723] [drm] [nvidia-drm] [GPU ID 0x00000100] Loading driver
[   10.008725] [drm] Initialized nvidia-drm 0.0.0 20160202 for 0000:01:00.0 on minor 0
[   42.045883] caller _nv033183rm+0x2a/0x60 [nvidia] mapping multiple BARs
[   42.223169] caller _nv000722rm+0x1ad/0x200 [nvidia] mapping multiple BARs
[  194.695203] caller _nv000722rm+0x1ad/0x200 [nvidia] mapping multiple BARs
[  268.111848] caller _nv000722rm+0x1ad/0x200 [nvidia] mapping multiple BARs


I don't recall seeing the mapping multiple BARs message with prior drivers, so I'm not sure if that is relevant. I'll also mention another difference with drivers in between the last known working version and the current version is that I would only see two modules loaded instead of the usual three (nvidia{,_drm,_modeset}). Now it's back to three. Still doesn't help.

Code:

# equery uses nvidia-drivers
[ Legend : U - final flag setting for installation]
[        : I - package is installed with flag     ]
[ Colors : set, unset                             ]
 * Found these USE flags for x11-drivers/nvidia-drivers-470.103.01:
 U I
 + + X            : Add support for X11
 + + abi_x86_32   : 32-bit (x86) libraries
 - - dist-kernel  : Enable subslot rebuilds on Distribution Kernel upgrades
 + + driver       : Install kernel driver modules
 - - persistenced : Install the persistence daemon for keeping devices state when unused
 - - static-libs  : Build static versions of dynamic libraries as well
 + + tools        : Install additional tools such as nvidia-settings
 - - wayland      : Enable dev-libs/wayland backend


What else can I try?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum