Open sakurawald opened 1 year ago
I have similar issues. The error log was a little different though.
docker: Error response from daemon: could not select device driver "" with capabilities: [[gpu]].
Here's the settings of the system.
.-/+oossssoo+/-. someone@workstation
`:+ssssssssssssssssss+:` ---------------------
-+ssssssssssssssssssyyssss+- OS: Ubuntu 22.04.3 LTS x86_64
.ossssssssssssssssssdMMMNysssso. Host: host
/ssssssssssshdmmNNmmyNMMMMhssssss/ Kernel: 6.2.0-36-generic
+ssssssssshmydMMMMMMMNddddyssssssss+ Uptime: 19 hours, 31 mins
/sssssssshNMMMyhhyyyyhmNMMMNhssssssss/ Packages: 2184 (dpkg), 14 (snap)
.ssssssssdMMMNhsssssssssshNMMMdssssssss. Shell: bash 5.1.16
+sssshhhyNMMNyssssssssssssyNMMMysssssss+ Resolution: 4096x1728
ossyNMMMNyMMhsssssssssssssshmmmhssssssso DE: GNOME 42.9
ossyNMMMNyMMhsssssssssssssshmmmhssssssso WM: Mutter
+sssshhhyNMMNyssssssssssssyNMMMysssssss+ WM Theme: Adwaita
.ssssssssdMMMNhsssssssssshNMMMdssssssss. Theme: Yaru [GTK2/3]
/sssssssshNMMMyhhyyyyhdNMMMNhssssssss/ Icons: Yaru [GTK2/3]
+sssssssssdmydMMMMMMMMddddyssssssss+ Terminal: gnome-terminal
/ssssssssssshdmNNNNmyNMMMMhssssss/ CPU: Intel i9-9900K (16) @ 5.000GHz
.ossssssssssssssssssdMMMNysssso. GPU: NVIDIA GeForce RTX 2080 Ti Rev. A
-+sssssssssssssssssyyyssss+- GPU: Intel CoffeeLake-S GT2 [UHD Graphics 630]
`:+ssssssssssssssssss+:` Memory: 8876MiB / 15851MiB
.-/+oossssoo+/-.
Is it because that the PC has 2 GPUs enabled, one Nvidia and one Integrated Intel?
I have similar issues. The error log was a little different though.
docker: Error response from daemon: could not select device driver "" with capabilities: [[gpu]].
Here's the settings of the system.
.-/+oossssoo+/-. someone@workstation `:+ssssssssssssssssss+:` --------------------- -+ssssssssssssssssssyyssss+- OS: Ubuntu 22.04.3 LTS x86_64 .ossssssssssssssssssdMMMNysssso. Host: host /ssssssssssshdmmNNmmyNMMMMhssssss/ Kernel: 6.2.0-36-generic +ssssssssshmydMMMMMMMNddddyssssssss+ Uptime: 19 hours, 31 mins /sssssssshNMMMyhhyyyyhmNMMMNhssssssss/ Packages: 2184 (dpkg), 14 (snap) .ssssssssdMMMNhsssssssssshNMMMdssssssss. Shell: bash 5.1.16 +sssshhhyNMMNyssssssssssssyNMMMysssssss+ Resolution: 4096x1728 ossyNMMMNyMMhsssssssssssssshmmmhssssssso DE: GNOME 42.9 ossyNMMMNyMMhsssssssssssssshmmmhssssssso WM: Mutter +sssshhhyNMMNyssssssssssssyNMMMysssssss+ WM Theme: Adwaita .ssssssssdMMMNhsssssssssshNMMMdssssssss. Theme: Yaru [GTK2/3] /sssssssshNMMMyhhyyyyhdNMMMNhssssssss/ Icons: Yaru [GTK2/3] +sssssssssdmydMMMMMMMMddddyssssssss+ Terminal: gnome-terminal /ssssssssssshdmNNNNmyNMMMMhssssss/ CPU: Intel i9-9900K (16) @ 5.000GHz .ossssssssssssssssssdMMMNysssso. GPU: NVIDIA GeForce RTX 2080 Ti Rev. A -+sssssssssssssssssyyyssss+- GPU: Intel CoffeeLake-S GT2 [UHD Graphics 630] `:+ssssssssssssssssss+:` Memory: 8876MiB / 15851MiB .-/+oossssoo+/-.
Is it because that the PC has 2 GPUs enabled, one Nvidia and one Integrated Intel?
Maybe. What I can confirm is that i am using 1 Nvidia GPU and 1 intel integrated-GPU.
Finally i solve this after i do:
╰─ lsmod | grep nvidia ─╯
nvidia_drm 118784 20
nvidia_modeset 1585152 42 nvidia_drm
nvidia_uvm 3502080 0
nvidia 62386176 895 nvidia_uvm,nvidia_modeset
video 77824 3 msi_wmi,i915,nvidia_modeset
/etc/X11/xorg.conf.d/10-nvidia-drm-outputclass.conf
Section "OutputClass"
Identifier "intel"
MatchDriver "i915"
Driver "modesetting"
EndSection
Section "OutputClass"
Identifier "nvidia"
MatchDriver "nvidia-drm"
Driver "nvidia"
Option "AllowEmptyInitialConfiguration" "yes"
Option "PrimaryGPU" "yes"
ModulePath "/usr/lib/nvidia/xorg"
ModulePath "/usr/lib/xorg/modules"
EndSection
/etc/X11/xorg.conf
Section "ServerLayout"
Identifier "Layout0"
Screen 0 "Screen0" 0 0
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "Mouse0" "CorePointer"
Option "Xinerama" "0"
EndSection
Section "Files"
EndSection
Section "Module"
Load "modesetting"
Load "glx"
EndSection
Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/psaux"
Option "Emulate3Buttons" "no"
Option "ZAxisMapping" "4 5"
EndSection
Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
EndSection
Section "Device"
Identifier "Device0"
Driver "nvidia"
BusID "PCI:1:0:0"
EndSection
Section "Monitor"
Identifier "Monitor0"
VendorName "Unknown"
Option "DPMS"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Device0"
Monitor "Monitor0"
DefaultDepth 24
#Option "nvidiaXineramaInfoOrder" "DFP-5"
#Option "metamodes" "3840x2160_60 +0+0"
Option "AllowEmptyInitialConfiguration" "True"
Option "Stereo" "0"
Option "SLI" "Off"
Option "MultiGPU" "Off"
Option "BaseMosaic" "off"
Option "MultiGPU" "Off"
SubSection "Display"
Depth 24
EndSubSection
EndSection