-
Notifications
You must be signed in to change notification settings - Fork 142
Open
Description
Hello,
I'm facing this issue when I try to run optirun , occurring if I set the ondemand policy for the card from nvidia-settings:
# optirun glxgears -info
[ 3298.266257] [ERROR]Cannot access secondary GPU - error: [XORG] (EE) Unable to locate/open config directory: "/etc/bumblebee/xorg.conf.d"
[ 3298.266309] [ERROR]Aborting because fallback start is disabled.
root@altair:/etc/bumblebee# tree
.
├── bumblebee.conf
├── xorg.conf.d
├── xorg.conf.nouveau
└── xorg.conf.nvidia
1 directory, 3 files
Here is my card:
# lspci | egrep 'VGA|3D'
0000:00:02.0 VGA compatible controller: Intel Corporation TigerLake-H GT1 [UHD Graphics] (rev 01)
0000:01:00.0 3D controller: NVIDIA Corporation TU117GLM [T600 Mobile] (rev a1)
Still the module is loaded:
# lsmod | grep nvidia
nvidia_uvm 1052672 0
nvidia_drm 61440 1
nvidia_modeset 1200128 1 nvidia_drm
nvidia 35311616 2 nvidia_uvm,nvidia_modeset
drm_kms_helper 262144 2 nvidia_drm,i915
drm 561152 22 drm_kms_helper,nvidia,nvidia_drm,i915
but
Dec 13 08:38:10 altair bumblebeed[1080]: [ 7.062338] [INFO]/usr/sbin/bumblebeed 3.2.1 started
Dec 13 09:24:17 altair bumblebeed[1080]: [ 8.696562] [WARN]Unable to disable discrete card.[ 2778.131804] [ERROR][XORG] (EE) Unable to locate/open config directory: "/etc/bumblebee/xorg.conf.d"
Dec 13 09:24:17 altair bumblebeed[1080]: [ 2778.131954] [WARN][XORG] (WW) Warning, couldn't open module nvidia
Dec 13 09:24:17 altair bumblebeed[1080]: [ 2778.131969] [ERROR][XORG] (EE) Failed to load module "nvidia" (module does not exist, 0)
Dec 13 09:24:17 altair bumblebeed[1080]: [ 2778.132010] [WARN][XORG] (WW) Falling back to old probe method for modesetting
Dec 13 09:24:17 altair bumblebeed[1080]: [ 2778.132022] [WARN][XORG] (WW) Falling back to old probe method for fbdev
Dec 13 09:24:17 altair bumblebeed[1080]: [ 2778.132143] [ERROR][XORG] (EE) modeset(0): drmSetMaster failed: Device or resource busy
Dec 13 09:24:17 altair bumblebeed[1080]: [ 2778.132155] [ERROR][XORG] (EE)
Dec 13 09:24:17 altair bumblebeed[1080]: [ 2778.132166] [ERROR][XORG] (EE) AddScreen/ScreenInit failed for driver 0
Dec 13 09:24:17 altair bumblebeed[1080]: [ 2778.132175] [ERROR][XORG] (EE)
Dec 13 09:24:17 altair bumblebeed[1080]: [ 2778.132185] [ERROR][XORG] (EE)
Dec 13 09:24:17 altair bumblebeed[1080]: [ 2778.132198] [ERROR][XORG] (EE) Please also check the log file at "/var/log/Xorg.8.log" for additional information.
Dec 13 09:24:17 altair bumblebeed[1080]: [ 2778.132208] [ERROR][XORG] (EE)
Dec 13 09:24:17 altair bumblebeed[1080]: [ 2778.132218] [ERROR][XORG] (EE) Server terminated with error (1). Closing log file.
Dec 13 09:24:17 altair bumblebeed[1080]: [ 2778.138855] [ERROR]X did not start properly
Here is my /etc/bumblebee/bumblebee.conf
[bumblebeed]
VirtualDisplay=:8
KeepUnusedXServer=false
ServerGroup=bumblebee
TurnCardOffAtExit=false
NoEcoModeOverride=false
Driver=
XorgConfDir=/etc/bumblebee/xorg.conf.d
XorgBinary=/usr/lib/xorg/Xorg
[optirun]
Bridge=auto
VGLTransport=proxy
PrimusLibraryPath=/usr/lib/x86_64-linux-gnu/primus:/usr/lib/i386-linux-gnu/primus
AllowFallbackToIGC=false
[driver-nvidia]
KernelDriver=nvidia
PMMethod=auto
LibraryPath=/usr/lib/nvidia-current:/usr/lib32/nvidia-current:/usr/lib/x86_64-linux-gnu:/usr/lib/i386-linux-gnu
XorgModulePath=/usr/lib/nvidia-current/xorg,/usr/lib/xorg/modules
XorgConfFile=/etc/bumblebee/xorg.conf.nvidia
AlwaysUnloadKernelDriver=false
[driver-nouveau]
KernelDriver=nouveau
PMMethod=auto
XorgConfFile=/etc/bumblebee/xorg.conf.nouveau
And the xorg.conf.nvidia
root@altair:/etc/bumblebee# cat /etc/bumblebee/xorg.conf.nvidia | grep -v "^#" | uniq
Section "ServerLayout"
Identifier "Layout0"
Option "AutoAddDevices" "false"
Option "AutoAddGPU" "false"
EndSection
Section "Device"
Identifier "DiscreteNvidia"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BusID "PCI:0000:01:00:0"
Option "ProbeAllGpus" "false"
Option "NoLogo" "true"
Option "UseEDID" "false"
Option "UseDisplayDevice" "none"
Option "HardDPMS" "false"
EndSection
Section "Screen"
Identifier "Default Screen"
Device "DiscreteNvidia"
EndSection
This is an ubuntu fresh install
# uname -a
Linux altair 5.13.0-22-generic #22-Ubuntu SMP Fri Nov 5 13:21:36 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
Is there any kind of problem in my installation or is it the driver not working properly?
Thanks
yeupou and danielkrajnik
Metadata
Metadata
Assignees
Labels
No labels