Hello, first post here. Hopefully I’m not re-asking an already answered question.
I decided to do some Vulkan programming yesterday and installed drivers for my NV GPU, as well as bbswitch, primusrun, …
Added user to bumblebee group, enabled the service, lsmod shows (amongst ~100 others, see below): bbswitch & nvidia.
I used sudo mhwd -a pci nonfree 0300
to install drivers for my GPU.
Running primusrun returns following:
~ >>> primusrun glxgears [1]
primus: fatal: Bumblebee daemon reported: error: [XORG] (EE) No devices detected.
Status from systemctl pointed to /var/log/Xorg.8.log:
[ 85.721]
X.Org X Server 1.20.9
X Protocol Version 11, Revision 0
[ 85.721] Build Operating System: Linux Manjaro Linux
[ 85.721] Current Operating System: Linux havamal 5.8.11-1-MANJARO #1 SMP PREEMPT Wed Sep 23 14:35:40 UTC 2020 x86_64
[ 85.721] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-5.8-x86_64 root=UUID=376de30d-21b6-452f-892c-1b50043c6bd2 rw quiet udev.log_priority=3
[ 85.721] Build Date: 02 September 2020 07:39:17AM
[ 85.721]
[ 85.721] Current version of pixman: 0.40.0
[ 85.721] Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[ 85.721] Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 85.721] (==) Log file: "/var/log/Xorg.8.log", Time: Sat Oct 3 18:40:47 2020
[ 85.738] (++) Using config file: "/etc/bumblebee/xorg.conf.nvidia"
[ 85.738] (++) Using config directory: "/etc/bumblebee/xorg.conf.d"
[ 85.738] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[ 85.757] (==) ServerLayout "layout"
[ 85.757] (==) No screen section available. Using defaults.
[ 85.757] (**) |-->Screen "Default Screen Section" (0)
[ 85.757] (**) | |-->Monitor "<default monitor>"
[ 85.758] (==) No device specified for screen "Default Screen Section".
Using the first device section listed.
[ 85.758] (**) | |-->Device "DiscreteNvidia"
[ 85.758] (==) No monitor specified for screen "Default Screen Section".
Using a default monitor configuration.
[ 85.758] (==) Automatically adding devices
[ 85.758] (==) Automatically enabling devices
[ 85.758] (==) Automatically adding GPU devices
[ 85.759] (==) Automatically binding GPU devices
[ 85.759] (==) Max clients allowed: 256, resource mask: 0x1fffff
[ 85.759] (WW) The directory "/usr/share/fonts/Type1" does not exist.
[ 85.759] Entry deleted from font path.
[ 85.759] (WW) The directory "/usr/share/fonts/100dpi" does not exist.
[ 85.759] Entry deleted from font path.
[ 85.759] (WW) The directory "/usr/share/fonts/75dpi" does not exist.
[ 85.759] Entry deleted from font path.
[ 85.759] (==) FontPath set to:
/usr/share/fonts/misc,
/usr/share/fonts/TTF,
/usr/share/fonts/OTF
[ 85.759] (++) ModulePath set to "/usr/lib/nvidia/xorg,/usr/lib/xorg/modules"
[ 85.759] (II) The server relies on udev to provide the list of input devices.
If no devices become available, reconfigure udev or disable AutoAddDevices.
[ 85.759] (II) Module ABI versions:
[ 85.759] X.Org ANSI C Emulation: 0.4
[ 85.759] X.Org Video Driver: 24.1
[ 85.759] X.Org XInput driver : 24.1
[ 85.759] X.Org Server Extension : 10.0
[ 85.762] (--) using VT number 7
[ 85.762] (II) systemd-logind: logind integration requires -keeptty and -keeptty was not provided, disabling logind integration
[ 85.764] (II) xfree86: Adding drm device (/dev/dri/card0)
[ 85.764] (II) Platform probe for /sys/devices/pci0000:00/0000:00:02.0/drm/card0
[ 85.975] (--) PCI: (1@0:0:0) 10de:134d:1025:121f rev 162, Mem @ 0xb3000000/16777216, 0xa0000000/268435456, 0xb0000000/33554432, I/O @ 0x00004000/128
[ 85.975] (II) Open ACPI successful (/var/run/acpid.socket)
[ 85.975] (II) LoadModule: "glx"
[ 85.977] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[ 85.983] (II) Module glx: vendor="X.Org Foundation"
[ 85.983] compiled for 1.20.9, module version = 1.0.0
[ 85.983] ABI class: X.Org Server Extension, version 10.0
[ 85.983] (II) LoadModule: "nvidia"
[ 85.983] (II) Loading /usr/lib/xorg/modules/drivers/nvidia_drv.so
[ 85.985] (II) Module nvidia: vendor="NVIDIA Corporation"
[ 85.985] compiled for 1.6.99.901, module version = 1.0.0
[ 85.985] Module class: X.Org Video Driver
[ 85.985] (II) NVIDIA dlloader X Driver 450.66 Wed Aug 12 19:44:12 UTC 2020
[ 85.985] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
[ 85.985] (EE) No devices detected.
[ 85.985] (EE)
Fatal server error:
[ 85.985] (EE) no screens found(EE)
[ 85.985] (EE)
Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
[ 85.985] (EE) Please also check the log file at "/var/log/Xorg.8.log" for additional information.
[ 85.986] (EE)
[ 85.986] (EE) Server terminated with error (1). Closing log file.
General info:
~ >>> inxi -G
Graphics: Device-1: Intel Skylake GT2 [HD Graphics 520] driver: i915 v: kernel
Device-2: NVIDIA GM108M [GeForce 940MX] driver: nvidia v: 450.66
Device-3: Chicony HD WebCam type: USB driver: uvcvideo
Display: x11 server: X.Org 1.20.9 driver: nvidia resolution: 1600x900~60Hz
OpenGL: renderer: Mesa Intel HD Graphics 520 (SKL GT2) v: 4.6 Mesa 20.1.8
~ >>> nvidia-smi
Sat Oct 3 18:53:11 2020
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 450.66 Driver Version: 450.66 CUDA Version: 11.0 |
|-------------------------------+----------------------+----------------------+
| GPU Name Persistence-M| Bus-Id Disp.A | Volatile Uncorr. ECC |
| Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. |
| | | MIG M. |
|===============================+======================+======================|
| 0 GeForce 940MX Off | 00000000:01:00.0 Off | N/A |
| N/A 40C P0 N/A / N/A | 0MiB / 2004MiB | 0% Default |
| | | N/A |
+-------------------------------+----------------------+----------------------+
+-----------------------------------------------------------------------------+
| Processes: |
| GPU GI CI PID Type Process name GPU Memory |
| ID ID Usage |
|=============================================================================|
| No running processes found |
+-----------------------------------------------------------------------------+
~ >>> pacman -Q | grep nvidia
lib32-nvidia-450xx-utils 450.66-1
lib32-opencl-nvidia-450xx 450.66-1
linux54-nvidia-450xx 450.66-12
linux57-nvidia-450xx 450.66-6
linux58-nvidia-450xx 450.66-15
mhwd-nvidia-340xx 340.108-1
mhwd-nvidia-390xx 390.132-1
mhwd-nvidia-418xx 418.113-1
mhwd-nvidia-430xx 430.64-1.0
mhwd-nvidia-435xx 435.21-1.0
mhwd-nvidia-440xx 440.100-1
mhwd-nvidia-450xx 450.66-1
nvidia-450xx-utils 450.66-1
nvidia-prime 1.0-4
opencl-nvidia-450xx 450.66-1
I used the minimal i3 installation from Manjaro Architect for system setup. It uses LightDM as a DM. Configs for Xorg and DM are default (the same as on a fresly installed system).
I can’t find anything wrong with Xorg in general. /etc/X11/xorg.conf.d
contained mhwd config but it’s empty so that might be weird (first time having problems with mhwd on system).
I previously used the exact same setup with AwesomeWM installation and it worked ok, but can’t seem to get it to work this time.
~ >>> lsmod
Module Size Used by
nvidia 19746816 0
fuse 139264 3
ccm 20480 3
uvcvideo 114688 0
videobuf2_vmalloc 20480 1 uvcvideo
videobuf2_memops 20480 1 videobuf2_vmalloc
videobuf2_v4l2 28672 1 uvcvideo
videobuf2_common 57344 2 videobuf2_v4l2,uvcvideo
videodev 274432 3 videobuf2_v4l2,uvcvideo,videobuf2_common
mc 61440 4 videodev,videobuf2_v4l2,uvcvideo,videobuf2_common
btusb 65536 0
bbswitch 20480 0
btrtl 24576 1 btusb
btbcm 20480 1 btusb
btintel 32768 1 btusb
bluetooth 720896 5 btrtl,btintel,btbcm,btusb
ecdh_generic 16384 1 bluetooth
ecc 36864 1 ecdh_generic
nls_iso8859_1 16384 1
nls_cp437 20480 1
vfat 24576 1
fat 86016 1 vfat
snd_hda_codec_hdmi 73728 1
snd_hda_codec_realtek 143360 1
snd_hda_codec_generic 98304 1 snd_hda_codec_realtek
ledtrig_audio 16384 2 snd_hda_codec_generic,snd_hda_codec_realtek
iwlmvm 462848 0
intel_rapl_msr 20480 0
intel_rapl_common 32768 1 intel_rapl_msr
mac80211 1048576 1 iwlmvm
x86_pkg_temp_thermal 20480 0
libarc4 16384 1 mac80211
intel_powerclamp 20480 0
coretemp 20480 0
kvm_intel 323584 0
kvm 847872 1 kvm_intel
iwlwifi 405504 1 iwlmvm
i915 2641920 14
irqbypass 16384 1 kvm
snd_soc_skl 180224 0
joydev 28672 0
mousedev 24576 0
crct10dif_pclmul 16384 1
crc32_pclmul 16384 0
snd_soc_sst_ipc 20480 1 snd_soc_skl
snd_soc_sst_dsp 40960 1 snd_soc_skl
snd_hda_ext_core 36864 1 snd_soc_skl
snd_soc_acpi_intel_match 45056 1 snd_soc_skl
snd_soc_acpi 16384 2 snd_soc_acpi_intel_match,snd_soc_skl
i2c_algo_bit 16384 1 i915
snd_soc_core 323584 1 snd_soc_skl
snd_compress 32768 1 snd_soc_core
ac97_bus 16384 1 snd_soc_core
snd_pcm_dmaengine 16384 1 snd_soc_core
snd_hda_intel 57344 3
drm_kms_helper 262144 1 i915
ghash_clmulni_intel 16384 0
snd_intel_dspcfg 24576 2 snd_hda_intel,snd_soc_skl
r8169 98304 0
cfg80211 913408 3 iwlmvm,iwlwifi,mac80211
snd_hda_codec 167936 4 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec_realtek
aesni_intel 372736 2
cec 73728 2 drm_kms_helper,i915
crypto_simd 16384 1 aesni_intel
snd_hda_core 106496 7 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_ext_core,snd_hda_codec,snd_hda_codec_realtek,snd_soc_skl
cryptd 24576 2 crypto_simd,ghash_clmulni_intel
rc_core 61440 1 cec
realtek 24576 1
glue_helper 16384 1 aesni_intel
drm 589824 6 drm_kms_helper,i915
snd_hwdep 16384 1 snd_hda_codec
libphy 151552 2 r8169,realtek
snd_pcm 147456 8 snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,snd_compress,snd_soc_core,snd_soc_skl,snd_hda_core,snd_pcm_dmaengine
rapl 16384 0
acer_wmi 28672 0
intel_cstate 16384 0
intel_uncore 163840 0
iTCO_wdt 16384 0
sparse_keymap 16384 1 acer_wmi
intel_wmi_thunderbolt 20480 0
intel_xhci_usb_role_switch 16384 0
rfkill 28672 6 acer_wmi,bluetooth,cfg80211
intel_pmc_bxt 16384 1 iTCO_wdt
iTCO_vendor_support 16384 1 iTCO_wdt
roles 16384 1 intel_xhci_usb_role_switch
mei_hdcp 24576 0
wmi_bmof 16384 0
psmouse 184320 0
intel_gtt 24576 1 i915
agpgart 53248 2 intel_gtt,drm
snd_timer 45056 1 snd_pcm
snd 114688 16 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hwdep,snd_hda_intel,snd_hda_codec,snd_hda_codec_realtek,snd_timer,snd_compress,snd_soc_core,snd_pcm
pcspkr 16384 0
input_leds 16384 0
syscopyarea 16384 1 drm_kms_helper
battery 20480 0
ac 16384 0
i2c_i801 36864 0
intel_lpss_pci 24576 0
sysfillrect 16384 1 drm_kms_helper
intel_lpss 16384 1 intel_lpss_pci
sysimgblt 16384 1 drm_kms_helper
soundcore 16384 1 snd
mei_me 49152 1
mei 126976 3 mei_hdcp,mei_me
i2c_smbus 20480 1 i2c_i801
fb_sys_fops 16384 1 drm_kms_helper
idma64 20480 0
evdev 28672 40
tpm_crb 20480 0
mac_hid 16384 0
tpm_tis 16384 0
tpm_tis_core 32768 1 tpm_tis
tpm 77824 3 tpm_tis,tpm_crb,tpm_tis_core
rng_core 16384 1 tpm
wmi 36864 3 intel_wmi_thunderbolt,acer_wmi,wmi_bmof
uinput 20480 0
ip_tables 36864 0
x_tables 53248 1 ip_tables
ext4 802816 3
crc32c_generic 16384 0
crc16 16384 2 bluetooth,ext4
mbcache 16384 1 ext4
jbd2 139264 1 ext4
hid_generic 16384 0
usbhid 65536 0
hid 147456 2 usbhid,hid_generic
rtsx_pci_sdmmc 32768 0
mmc_core 188416 1 rtsx_pci_sdmmc
serio_raw 20480 0
atkbd 36864 0
libps2 20480 2 atkbd,psmouse
xhci_pci 20480 0
crc32c_intel 24576 6
xhci_pci_renesas 20480 1 xhci_pci
rtsx_pci 94208 1 rtsx_pci_sdmmc
xhci_hcd 286720 1 xhci_pci
i8042 32768 1 acer_wmi
serio 28672 6 serio_raw,atkbd,psmouse,i8042
I have the entire xorg-apps group installed.
That’s all information I figured is going to be asked for. If you need any further info let me know. I’ve been trying to get this to work for 2 hours already and the only thing left to try is to install older drivers, but I have a feeling they’re not the problem as 450xx
worked previously. Is there an easy way to tell mhwd
“hey, install THIS version”?
Oh, and the system is freshly updated.
Last device with NV hardware I’m buying I swear.
Thanks in advance for help.