Nvidia 430.26 behaves a bit differently. It just fails to start as non-
root and gives reasons:

[   897.467] xf86EnableIOPorts: failed to set IOPL for I/O (Operation not 
permitted)
...
[   897.470] (EE) NVIDIA: Failed to initialize the NVIDIA kernel module. Please 
see the
[   897.470] (EE) NVIDIA:     system's kernel log for additional error messages 
and
[   897.470] (EE) NVIDIA:     consult the NVIDIA README for details.
[   897.470] (EE) NVIDIA: Failed to initialize the NVIDIA kernel module. Please 
see the
[   897.470] (EE) NVIDIA:     system's kernel log for additional error messages 
and
[   897.470] (EE) NVIDIA:     consult the NVIDIA README for details.
[   897.470] (EE) [drm] Failed to open DRM device for (null): -2
[   897.470] (EE) [drm] Failed to open DRM device for pci:0000:01:00.0: -2

So then the NVIDIA driver gives up and Xorg tries the modeset driver
instead. Modeset seems to detect my monitor fine (got the EDID) but then
fails with bug 1813897.

This is now a bit off-topic, but I suspect the above problem with
nvidia-430 will have the same fix as this bug.

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to nvidia-graphics-drivers-375 in Ubuntu.
https://bugs.launchpad.net/bugs/1716857

Title:
  nvidia-drm.modeset=1 results in no monitors detected by Xorg

Status in gdm3 package in Ubuntu:
  Invalid
Status in mutter package in Ubuntu:
  Invalid
Status in nvidia-graphics-drivers-375 package in Ubuntu:
  Confirmed
Status in nvidia-graphics-drivers-418 package in Ubuntu:
  Confirmed

Bug description:
  Context:
  17.10 development packages, nvidia binary driver 375, modeset=1 for the 
nvidia driver.
  ubuntu desktop (gnome shell), fresh install
  ThinkPad W520 in Nvidia Optimus bios mode.
  Nvidia profile.

  Result:
  no external monitors are detected.
  xrandr does not even list them as disconnected (normally it would list five 
external disconnected monitors)

  
  lsmod 
  shows that nvidia driver is loaded
  and the modesetting is working at some level because there is no tearing on 
the laptop panel

  
  Note: modeset=1 is the only way to get flicker-free graphics on the laptop 
panel. modeset=1 is not the default setting but it is highly desirable. 

  It works if lightdm is used which is why I have reported this against gdm3
  My sessions in this configuration have mostly crashed after a few minutes 
with a gdm3 fail whale message in syslog but nothing else looks interesting.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gdm3/+bug/1716857/+subscriptions

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to