You are not logged in.

#1 2021-01-19 17:15:13

Adam1205
Member
Registered: 2018-04-05
Posts: 1

Nvidia-xrun: Cannot run in framebuffer mode.

I'm using a laptop with hybrid graphics. It has an Intel UHD 630 and an Nvidia RTX 2060 Mobile.

I haven't been able to get optimus-manager to work, so Nvidia-xrun is currently my only hope of getting Nvidia Optimus to work on this machine at optimal performance. However, here is the log from when I last tried to use nvidia-xrun:

[  3739.971] (WW) Failed to open protocol names file lib/xorg/protocol.txt
[  3739.971] 
X.Org X Server 1.20.10
X Protocol Version 11, Revision 0
[  3739.971] Build Operating System: Linux Arch Linux
[  3739.971] Current Operating System: Linux AEFLegionPC 5.10.8-arch1-1 #1 SMP PREEMPT Sun, 17 Jan 2021 22:07:13 +0000 x86_64
[  3739.971] Kernel command line: ro root=/dev/nvme0n1p6 initrd=\initramfs-linux.img
[  3739.971] Build Date: 14 December 2020  12:10:29PM
[  3739.971]  
[  3739.971] Current version of pixman: 0.40.0
[  3739.971] 	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
[  3739.971] Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[  3739.971] (==) Log file: "/var/log/Xorg.1.log", Time: Tue Jan 19 16:53:51 2021
[  3739.971] (==) Using config directory: "/etc/X11/xorg.conf.d"
[  3739.971] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[  3739.971] (==) No Layout section.  Using the first Screen section.
[  3739.971] (**) |-->Screen "intel" (0)
[  3739.971] (**) |   |-->Monitor "<default monitor>"
[  3739.971] (**) |   |-->Device "intel"
[  3739.971] (**) |   |-->GPUDevice "nvidia"
[  3739.971] (==) No monitor specified for screen "intel".
	Using a default monitor configuration.
[  3739.971] (==) Automatically adding devices
[  3739.971] (==) Automatically enabling devices
[  3739.971] (==) Automatically adding GPU devices
[  3739.971] (==) Automatically binding GPU devices
[  3739.971] (==) Max clients allowed: 256, resource mask: 0x1fffff
[  3739.971] (WW) The directory "/usr/share/fonts/misc" does not exist.
[  3739.971] 	Entry deleted from font path.
[  3739.971] (WW) The directory "/usr/share/fonts/OTF" does not exist.
[  3739.971] 	Entry deleted from font path.
[  3739.971] (WW) The directory "/usr/share/fonts/Type1" does not exist.
[  3739.971] 	Entry deleted from font path.
[  3739.971] (WW) The directory "/usr/share/fonts/100dpi" does not exist.
[  3739.971] 	Entry deleted from font path.
[  3739.971] (WW) The directory "/usr/share/fonts/75dpi" does not exist.
[  3739.971] 	Entry deleted from font path.
[  3739.971] (==) FontPath set to:
	/usr/share/fonts/TTF
[  3739.971] (**) ModulePath set to "/usr/lib/nvidia,/usr/lib32/nvidia,/usr/lib32/nvidia/xorg/modules,/usr/lib32/xorg/modules,/usr/lib64/nvidia/xorg/modules,/usr/lib64/nvidia/xorg,/usr/lib64/xorg/modules"
[  3739.971] (II) The server relies on udev to provide the list of input devices.
	If no devices become available, reconfigure udev or disable AutoAddDevices.
[  3739.971] (II) Module ABI versions:
[  3739.971] 	X.Org ANSI C Emulation: 0.4
[  3739.971] 	X.Org Video Driver: 24.1
[  3739.971] 	X.Org XInput driver : 24.1
[  3739.971] 	X.Org Server Extension : 10.0
[  3739.972] (++) using VT number 2

[  3739.973] (EE) systemd-logind: TakeControl failed: Device or resource busy
[  3739.973] (II) xfree86: Adding drm device (/dev/dri/card1)
[  3739.973] (II) xfree86: Adding drm device (/dev/dri/card0)
[  3739.973] (EE) /dev/dri/card0: failed to set DRM interface version 1.4: Permission denied
[  3739.974] (**) OutputClass "nvidia" ModulePath extended to "/usr/lib/nvidia/xorg,/usr/lib/xorg/modules,/usr/lib/nvidia,/usr/lib32/nvidia,/usr/lib32/nvidia/xorg/modules,/usr/lib32/xorg/modules,/usr/lib64/nvidia/xorg/modules,/usr/lib64/nvidia/xorg,/usr/lib64/xorg/modules"
[  3739.974] (--) PCI:*(0@0:2:0) 8086:9bc4:17aa:3f8c rev 5, Mem @ 0xc3000000/16777216, 0xa0000000/268435456, I/O @ 0x00005000/64, BIOS @ 0x????????/131072
[  3739.974] (--) PCI: (1@0:0:0) 10de:1f15:17aa:3f8c rev 161, Mem @ 0xc4000000/16777216, 0xb0000000/268435456, 0xc0000000/33554432, I/O @ 0x00004000/128, BIOS @ 0x????????/524288
[  3739.974] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
[  3739.974] (II) LoadModule: "glx"
[  3739.974] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[  3739.975] (II) Module glx: vendor="X.Org Foundation"
[  3739.975] 	compiled for 1.20.10, module version = 1.0.0
[  3739.975] 	ABI class: X.Org Server Extension, version 10.0
[  3739.975] (II) LoadModule: "modesetting"
[  3739.975] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
[  3739.975] (II) Module modesetting: vendor="X.Org Foundation"
[  3739.975] 	compiled for 1.20.10, module version = 1.20.10
[  3739.975] 	Module class: X.Org Video Driver
[  3739.975] 	ABI class: X.Org Video Driver, version 24.1
[  3739.975] (II) LoadModule: "nvidia"
[  3739.975] (II) Loading /usr/lib/xorg/modules/drivers/nvidia_drv.so
[  3739.975] (II) Module nvidia: vendor="NVIDIA Corporation"
[  3739.975] 	compiled for 1.6.99.901, module version = 1.0.0
[  3739.975] 	Module class: X.Org Video Driver
[  3739.976] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[  3739.976] (II) NVIDIA dlloader X Driver  460.32.03  Sun Dec 27 18:56:00 UTC 2020
[  3739.976] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
[  3739.976] (WW) Falling back to old probe method for modesetting
[  3739.976] (II) modeset(1): using default device
[  3739.976] (II) Loading sub module "fb"
[  3739.976] (II) LoadModule: "fb"
[  3739.976] (II) Loading /usr/lib/xorg/modules/libfb.so
[  3739.976] (II) Module fb: vendor="X.Org Foundation"
[  3739.976] 	compiled for 1.20.10, module version = 1.0.0
[  3739.976] 	ABI class: X.Org ANSI C Emulation, version 0.4
[  3739.976] (II) Loading sub module "wfb"
[  3739.976] (II) LoadModule: "wfb"
[  3739.976] (II) Loading /usr/lib/xorg/modules/libwfb.so
[  3739.976] (II) Module wfb: vendor="X.Org Foundation"
[  3739.976] 	compiled for 1.20.10, module version = 1.0.0
[  3739.976] 	ABI class: X.Org ANSI C Emulation, version 0.4
[  3739.976] (II) Loading sub module "ramdac"
[  3739.976] (II) LoadModule: "ramdac"
[  3739.976] (II) Module "ramdac" already built-in
[  3739.976] (EE) Screen 0 deleted because of no matching config section.
[  3739.976] (II) UnloadModule: "modesetting"
[  3739.976] (EE) 
Fatal server error:
[  3739.976] (EE) Cannot run in framebuffer mode. Please specify busIDs        for all framebuffer devices
[  3739.976] (EE) 
[  3739.976] (EE) 
Please consult the The X.Org Foundation support 
	 at http://wiki.x.org
 for help. 
[  3739.976] (EE) Please also check the log file at "/var/log/Xorg.1.log" for additional information.
[  3739.976] (EE) 
[  3739.982] (EE) Server terminated with error (1). Closing log file.

This is my config file (/usr/share/X11/xorg.conf.d/10-nvidia.conf):

Section "Files"
  ModulePath "/usr/lib/nvidia"
  ModulePath "/usr/lib32/nvidia"
  ModulePath "/usr/lib32/nvidia/xorg/modules"
  ModulePath "/usr/lib32/xorg/modules"
  ModulePath "/usr/lib64/nvidia/xorg/modules"
  ModulePath "/usr/lib64/nvidia/xorg"
  ModulePath "/usr/lib64/xorg/modules"
EndSection

Section "Device"
  Identifier "intel"
  Driver "modesetting"
  Option "AccelMethod" "none"
EndSection

Section "Screen"
  Identifier "intel"  
  Device "intel"
EndSection

Section "Device"
  Identifier "nvidia"
  Driver "nvidia"
  BusID "PCI:1:0:0"
EndSection

Section "Screen"
  Identifier "nvidia"
  Device "nvidia"
#  Option "AllowEmptyInitialConfiguration" "Yes"
#  Option "UseDisplayDevice" "none"
EndSection

Any ideas? In case it's important for you to know, nvidia-xinitrc just contains 'startx' and xinitrc just contains 'exec i3'.

Quick Update 22:34 UTC 19/1/2021:
Turns out the configuration I've included also breaks Intel graphics. Upon rebooting, llvmpipe is used instead of my Intel GPU. I've also moved the configuration file to /etc/X11/xorg.conf.d/ since that is a more reasonable place to put it I think.

Last edited by Adam1205 (2021-01-19 22:40:30)

Offline

Board footer

Powered by FluxBB