So I have a Dell Precision 7530 laptop with a Quadro P3200 running Ubuntu 19.04 with secure boot and UEFI along with drivers 440.26. Currently I am having issues with waking up from sleep along with it doesn’t appear like my drivers are running the Nvidia card as the default card. When I look under Settings → About I see “Graphics: llvmpipe (LLVM 8.0, 256 bits)”. Below is the output from the standard tools along with a bug-report.sh
So I tried switching off of Wayland and I am unable to login when I do that. After entering my password the screen goes black then goes back to me entering my password.
cat /home/<username>/.local/share/xorg/Xorg.0.log
[ 120.950] (--) Log file renamed from "/home/<username>/.local/share/xorg/Xorg.pid-3890.log" to "/home/<username>/.local/share/xorg/Xorg.0.log"
[ 120.950]
X.Org X Server 1.20.7
X Protocol Version 11, Revision 0
[ 120.950] Build Operating System: Linux 4.4.0-171-generic x86_64 Ubuntu
[ 120.950] Current Operating System: Linux TequilaShots 5.0.0-40-generic #44-Ubuntu SMP Wed Jan 15 02:03:45 UTC 2020 x86_64
[ 120.950] Kernel command line: BOOT_IMAGE=/vmlinuz-5.0.0-40-generic root=/dev/mapper/root--vg-root ro dis_ucode_ldr acpi_rev_override=1 acpi_osi=Linux nouveau.modeset=0 pcie_aspm=force drm.vblankoffdelay=1 scsi_mod.use_blk_mq=1 nouveau.runpm=0 mem_sleep_default=deep nvidia-drm.modeset=1
[ 120.951] Build Date: 15 January 2020 09:26:10PM
[ 120.951] xorg-server 2:1.20.7-0ppa1 (For technical support please see http://www.ubuntu.com/support)
[ 120.951] Current version of pixman: 0.36.0
[ 120.951] Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[ 120.951] Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 120.951] (==) Log file: "/home/<username>/.local/share/xorg/Xorg.0.log", Time: Tue Jan 28 08:19:56 2020
[ 120.951] (==) Using config file: "/etc/X11/xorg.conf"
[ 120.951] (==) Using config directory: "/etc/X11/xorg.conf.d"
[ 120.951] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[ 120.951] (==) ServerLayout "Layout0"
[ 120.951] (**) |-->Screen "iGPU" (0)
[ 120.951] (**) | |-->Monitor "<default monitor>"
[ 120.951] (**) | |-->Device "iGPU"
[ 120.951] (**) | |-->GPUDevice "dGPU"
[ 120.952] (**) | |-->GPUDevice "Device0"
[ 120.952] (==) No monitor specified for screen "iGPU".
Using a default monitor configuration.
[ 120.952] (**) Option "IgnoreABI" "1"
[ 120.952] (**) Ignoring ABI Version
[ 120.952] (==) Automatically adding devices
[ 120.952] (==) Automatically enabling devices
[ 120.952] (==) Automatically adding GPU devices
[ 120.952] (==) Automatically binding GPU devices
[ 120.952] (==) Max clients allowed: 256, resource mask: 0x1fffff
[ 120.952] (WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
[ 120.952] Entry deleted from font path.
[ 120.952] (WW) The directory "/usr/share/fonts/X11/100dpi/" does not exist.
[ 120.952] Entry deleted from font path.
[ 120.952] (WW) The directory "/usr/share/fonts/X11/75dpi/" does not exist.
[ 120.952] Entry deleted from font path.
[ 120.952] (WW) The directory "/usr/share/fonts/X11/100dpi" does not exist.
[ 120.952] Entry deleted from font path.
[ 120.952] (WW) The directory "/usr/share/fonts/X11/75dpi" does not exist.
[ 120.952] Entry deleted from font path.
[ 120.952] (==) FontPath set to:
/usr/share/fonts/X11/misc,
/usr/share/fonts/X11/Type1,
built-ins
[ 120.952] (==) ModulePath set to "/usr/lib/xorg/modules"
[ 120.952] (II) The server relies on udev to provide the list of input devices.
If no devices become available, reconfigure udev or disable AutoAddDevices.
[ 120.952] (II) Loader magic: 0x559241f35020
[ 120.952] (II) Module ABI versions:
[ 120.952] X.Org ANSI C Emulation: 0.4
[ 120.952] X.Org Video Driver: 24.1
[ 120.952] X.Org XInput driver : 24.1
[ 120.952] X.Org Server Extension : 10.0
[ 120.952] (++) using VT number 2
[ 120.953] (II) systemd-logind: took control of session /org/freedesktop/login1/session/_34
[ 120.954] (II) xfree86: Adding drm device (/dev/dri/card0)
[ 121.277] (II) systemd-logind: got fd for /dev/dri/card0 226:0 fd 12 paused 0
[ 121.279] (**) OutputClass "nvidia" ModulePath extended to "/usr/lib/x86_64-linux-gnu/nvidia/xorg,/usr/lib/xorg/modules"
[ 121.279] (**) OutputClass "Nvidia Prime" ModulePath extended to "/x86_64-linux-gnu/nvidia/xorg,/usr/lib/x86_64-linux-gnu/nvidia/xorg,/usr/lib/xorg/modules"
[ 121.279] (**) OutputClass "dGPU" ModulePath extended to "/usr/lib/nvidia/xorg,/usr/lib/xorg/modules,/x86_64-linux-gnu/nvidia/xorg,/usr/lib/x86_64-linux-gnu/nvidia/xorg,/usr/lib/xorg/modules"
[ 121.279] (**) OutputClass "Nvidia Prime" setting /dev/dri/card0 as PrimaryGPU
[ 121.280] (--) PCI:*(1@0:0:0) 10de:1bbb:1028:1831 rev 161, Mem @ 0xa3000000/16777216, 0x60000000/268435456, 0x70000000/33554432, I/O @ 0x00003000/128, BIOS @ 0x????????/131072
[ 121.280] (II) LoadModule: "glx"
[ 121.280] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[ 121.281] (II) Module glx: vendor="X.Org Foundation"
[ 121.281] compiled for 1.20.7, module version = 1.0.0
[ 121.281] ABI class: X.Org Server Extension, version 10.0
[ 121.281] (II) LoadModule: "modesetting"
[ 121.281] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
[ 121.281] (II) Module modesetting: vendor="X.Org Foundation"
[ 121.281] compiled for 1.20.7, module version = 1.20.7
[ 121.281] Module class: X.Org Video Driver
[ 121.281] ABI class: X.Org Video Driver, version 24.1
[ 121.281] (II) LoadModule: "nvidia"
[ 121.281] (II) Loading /usr/lib/x86_64-linux-gnu/nvidia/xorg/nvidia_drv.so
[ 121.281] (II) Module nvidia: vendor="NVIDIA Corporation"
[ 121.281] compiled for 1.6.99.901, module version = 1.0.0
[ 121.281] Module class: X.Org Video Driver
[ 121.281] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[ 121.281] (II) NVIDIA dlloader X Driver 440.26 Sun Oct 13 17:46:52 UTC 2019
[ 121.281] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
[ 121.281] xf86EnableIOPorts: failed to set IOPL for I/O (Operation not permitted)
[ 121.281] (WW) Falling back to old probe method for modesetting
[ 121.281] (II) modeset(0): using default device
[ 121.282] (II) systemd-logind: releasing fd for 226:0
[ 122.629] (II) Loading sub module "fb"
[ 122.629] (II) LoadModule: "fb"
[ 122.629] (II) Loading /usr/lib/xorg/modules/libfb.so
[ 122.630] (II) Module fb: vendor="X.Org Foundation"
[ 122.630] compiled for 1.20.7, module version = 1.0.0
[ 122.630] ABI class: X.Org ANSI C Emulation, version 0.4
[ 122.630] (II) Loading sub module "wfb"
[ 122.630] (II) LoadModule: "wfb"
[ 122.630] (II) Loading /usr/lib/xorg/modules/libwfb.so
[ 122.630] (II) Module wfb: vendor="X.Org Foundation"
[ 122.630] compiled for 1.20.7, module version = 1.0.0
[ 122.630] ABI class: X.Org ANSI C Emulation, version 0.4
[ 122.630] (II) Loading sub module "ramdac"
[ 122.630] (II) LoadModule: "ramdac"
[ 122.630] (II) Module "ramdac" already built-in
[ 122.631] (WW) VGA arbiter: cannot open kernel arbiter, no multi-card support
[ 122.631] (EE)
Fatal server error:
[ 122.631] (EE) Cannot run in framebuffer mode. Please specify busIDs for all framebuffer devices
[ 122.631] (EE)
[ 122.631] (EE)
Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
[ 122.631] (EE) Please also check the log file at "/home/<username>/.local/share/xorg/Xorg.0.log" for additional information.
[ 122.631] (EE)
[ 122.642] (EE) Server terminated with error (1). Closing log file.
Please remove
/etc/X11/xorg.conf.backup
/etc/X11/xorg.conf.nvidia-xconfig-original
/etc/X11/xorg.conf.d/10-prime-offload.conf
Bug or feature, the xserver will use anything that begins with “xorg.conf”.
Afterwards, create a new nvidia-bug-report.log.
So after removing those files. I rebooted. When I try to boot without Wayland everything goes blank and I guess just loops over and over but stays on black. I can change TTY sessions and get back to the login prompt. I had to reboot again and log into Wayland to get everything back running. nvidia-bug-report.log.gz (1.12 MB)
So I set the parameter like you said nvidia-drm.modeset=0 but when I booted up the computer I could not get the login prompt to load. It just loaded to a black screen. Attached is another bug-report. nvidia-bug-report.log.gz (1.12 MB)