Hello everyone,
My laptop with dual graphic cards (intel/nvidia) has had issues with external screens for a while (please see here, TLDR: screen suddenly stops being detected). Up until now, I have been lucky as the problem always solved itself in a matter of a day or two. I am ashamed to admit it, but I’ve been lazy and haven’t worked towards a definitive solution
Building on the remark of omano in my previous post, it looks like there is a problem with the non-free nvidia driver.
inxi --admin --verbosity=7 --filter --no-host --width
System:
Kernel: 5.10.70-1-MANJARO x86_64 bits: 64 compiler: gcc v: 11.1.0
parameters: BOOT_IMAGE=/boot/vmlinuz-5.10-x86_64
root=UUID=0e604cf3-198d-42cd-8f8e-57e88fccaa92 rw usbcore.autosuspend=-1
quiet resume=UUID=3c5c7eb3-af88-45d8-a52a-f6012fb6e9e5
Desktop: Xfce 4.16.0 tk: Gtk 3.24.29 info: xfce4-panel wm: xfwm 4.16.1 vt: 7
dm: LightDM 1.30.0 Distro: Manjaro Linux base: Arch Linux
Machine:
Type: Laptop System: ASUSTeK product: UX430UNR v: 1.0 serial: <filter>
Mobo: ASUSTeK model: UX430UNR v: 1.0 serial: <filter>
UEFI: American Megatrends v: UX430UNR.203 date: 08/23/2017
Battery:
ID-1: BAT0 charge: 11.4 Wh (99.1%) condition: 11.5/48.9 Wh (23.5%)
volts: 11.6 min: 11.6 model: ASUSTeK ASUS Battery type: Li-ion serial: N/A
status: Not charging cycles: 544
Device-1: hidpp_battery_0 model: Logitech Wireless Keyboard serial: <filter>
charge: 55% (should be ignored) rechargeable: yes status: Discharging
Memory:
RAM: total: 15.49 GiB used: 2.43 GiB (15.7%)
RAM Report: permissions: Unable to run dmidecode. Root privileges required.
CPU:
Info: Quad Core model: Intel Core i7-8550U bits: 64 type: MT MCP
arch: Kaby Lake note: check family: 6 model-id: 8E (142) stepping: A (10)
microcode: EA cache: L2: 8 MiB bogomips: 32012
Speed: 802 MHz min/max: 400/4000 MHz Core speeds (MHz): 1: 802 2: 862 3: 818
4: 810 5: 816 6: 801 7: 801 8: 803
Flags: 3dnowprefetch abm acpi adx aes aperfmperf apic arat arch_perfmon art
avx avx2 bmi1 bmi2 bts clflush clflushopt cmov constant_tsc cpuid
cpuid_fault cx16 cx8 de ds_cpl dtes64 dtherm dts epb ept ept_ad erms est
f16c flexpriority flush_l1d fma fpu fsgsbase fxsr ht hwp hwp_act_window
hwp_epp hwp_notify ibpb ibrs ida intel_pt invpcid invpcid_single lahf_lm lm
mca mce md_clear mmx monitor movbe mpx msr mtrr nonstop_tsc nopl nx pae pat
pbe pcid pclmulqdq pdcm pdpe1gb pebs pge pln pni popcnt pse pse36 pti pts
rdrand rdseed rdtscp rep_good sdbg sep smap smep ss ssbd sse sse2 sse4_1
sse4_2 ssse3 stibp syscall tm tm2 tpr_shadow tsc tsc_adjust
tsc_deadline_timer vme vmx vnmi vpid x2apic xgetbv1 xsave xsavec xsaveopt
xsaves xtopology xtpr
Vulnerabilities: Type: itlb_multihit status: KVM: VMX disabled
Type: l1tf
mitigation: PTE Inversion; VMX: conditional cache flushes, SMT vulnerable
Type: mds mitigation: Clear CPU buffers; SMT vulnerable
Type: meltdown mitigation: PTI
Type: spec_store_bypass
mitigation: Speculative Store Bypass disabled via prctl and seccomp
Type: spectre_v1
mitigation: usercopy/swapgs barriers and __user pointer sanitization
Type: spectre_v2 mitigation: Full generic retpoline, IBPB: conditional,
IBRS_FW, STIBP: conditional, RSB filling
Type: srbds mitigation: Microcode
Type: tsx_async_abort status: Not affected
Graphics:
Device-1: Intel UHD Graphics 620 vendor: ASUSTeK driver: i915 v: kernel
bus-ID: 00:02.0 chip-ID: 8086:5917 class-ID: 0300
Device-2: NVIDIA GP108M [GeForce MX150] driver: N/A
alternate: nouveau, nvidia_drm, nvidia bus-ID: 01:00.0 chip-ID: 10de:1d10
class-ID: 0302
Device-3: Realtek USB2.0 HD UVC WebCam type: USB driver: uvcvideo
bus-ID: 1-6:5 chip-ID: 0bda:58e4 class-ID: 0e02 serial: <filter>
Display: x11 server: X.Org 1.20.13 compositor: xfwm4 v: 4.16.1 driver:
loaded: modesetting alternate: fbdev,vesa display-ID: :0.0 screens: 1
Screen-1: 0 s-res: 1920x1080 s-dpi: 96 s-size: 508x285mm (20.0x11.2")
s-diag: 582mm (22.9")
Monitor-1: eDP-1 res: 1920x1080 hz: 60 dpi: 158 size: 309x173mm (12.2x6.8")
diag: 354mm (13.9")
OpenGL: renderer: Mesa Intel UHD Graphics 620 (KBL GT2) v: 4.6 Mesa 21.2.3
direct render: Yes
Audio:
Device-1: Intel Sunrise Point-LP HD Audio vendor: ASUSTeK
driver: snd_hda_intel v: kernel alternate: snd_soc_skl bus-ID: 00:1f.3
chip-ID: 8086:9d71 class-ID: 0403
Sound Server-1: ALSA v: k5.10.70-1-MANJARO running: yes
Sound Server-2: JACK v: 1.9.19 running: no
Sound Server-3: PulseAudio v: 15.0 running: yes
Sound Server-4: PipeWire v: 0.3.38 running: no
Network:
Device-1: Intel Wireless 8265 / 8275 driver: iwlwifi v: kernel
bus-ID: 02:00.0 chip-ID: 8086:24fd class-ID: 0280
IF: wlp2s0 state: up mac: <filter>
IP v4: <filter> type: dynamic noprefixroute scope: global
broadcast: <filter>
IP v6: <filter> type: noprefixroute scope: link
Device-2: Realtek RTL8153 Gigabit Ethernet Adapter type: USB driver: r8152
bus-ID: 1-1.3:6 chip-ID: 0bda:8153 class-ID: 0000 serial: <filter>
IF: enp0s20f0u1u3 state: up speed: 1000 Mbps duplex: full mac: <filter>
IP v4: <filter> type: dynamic noprefixroute scope: global
broadcast: <filter>
IP v6: <filter> type: noprefixroute scope: link
WAN IP: <filter>
Bluetooth:
Device-1: Intel Bluetooth wireless interface type: USB driver: btusb v: 0.8
bus-ID: 1-8:7 chip-ID: 8087:0a2b class-ID: e001
Report: rfkill ID: hci0 rfk-id: 1 state: down bt-service: enabled,running
rfk-block: hardware: no software: yes address: see --recommends
Logical:
Message: No logical block device data found.
RAID:
Message: No RAID data found.
Drives:
Local Storage: total: 480.57 GiB used: 373.25 GiB (77.7%)
SMART Message: Required tool smartctl not installed. Check --recommends
ID-1: /dev/sda maj-min: 8:0 vendor: SanDisk model: SD8SN8U512G1002
size: 476.94 GiB block-size: physical: 512 B logical: 512 B speed: 6.0 Gb/s
type: SSD serial: <filter> rev: 1002 scheme: GPT
ID-2: /dev/sdb maj-min: 8:16 type: USB vendor: Sony model: Storage Media
size: 3.63 GiB block-size: physical: 512 B logical: 512 B type: N/A
serial: <filter> rev: 0100
Message: No optical or floppy data found.
Partition:
ID-1: / raw-size: 63.96 GiB size: 62.71 GiB (98.04%) used: 41.57 GiB (66.3%)
fs: ext4 dev: /dev/sda3 maj-min: 8:3 label: N/A
uuid: 0e604cf3-198d-42cd-8f8e-57e88fccaa92
ID-2: /boot/efi raw-size: 512 MiB size: 511 MiB (99.80%)
used: 264 KiB (0.1%) fs: vfat dev: /dev/sda1 maj-min: 8:1 label: N/A
uuid: 5C6E-9EF4
ID-3: /home raw-size: 396.84 GiB size: 389.62 GiB (98.18%)
used: 331.68 GiB (85.1%) fs: ext4 dev: /dev/sda4 maj-min: 8:4 label: N/A
uuid: 524ab128-d587-4420-bfe2-c0879c99acd9
Swap:
Kernel: swappiness: 60 (default) cache-pressure: 100 (default)
ID-1: swap-1 type: partition size: 15.62 GiB used: 0 KiB (0.0%) priority: -2
dev: /dev/sda2 maj-min: 8:2 label: N/A
uuid: 3c5c7eb3-af88-45d8-a52a-f6012fb6e9e5
Unmounted:
Message: No unmounted partitions found.
USB:
Hub-1: 1-0:1 info: Full speed (or root) Hub ports: 12 rev: 2.0
speed: 480 Mb/s chip-ID: 1d6b:0002 class-ID: 0900
Hub-2: 1-1:2 info: Microchip (formerly SMSC) Hub ports: 4 rev: 2.1
speed: 480 Mb/s chip-ID: 0424:2744 class-ID: 0900
Device-1: 1-1.1:4 info: Logitech Unifying Receiver type: Keyboard,Mouse
driver: logitech-djreceiver,usbhid interfaces: 2 rev: 2.0 speed: 12 Mb/s
power: 98mA chip-ID: 046d:c534 class-ID: 0301
Device-2: 1-1.3:6 info: Realtek RTL8153 Gigabit Ethernet Adapter
type: Network driver: r8152 interfaces: 1 rev: 2.1 speed: 480 Mb/s
power: 180mA chip-ID: 0bda:8153 class-ID: 0000 serial: <filter>
Hub-3: 1-1.4:8 info: Genesys Logic Hub ports: 4 rev: 2.1 speed: 480 Mb/s
power: 100mA chip-ID: 05e3:0610 class-ID: 0900
Device-1: 1-2:3 info: Sony Storage Media type: Mass Storage
driver: usb-storage interfaces: 1 rev: 2.1 speed: 480 Mb/s power: 500mA
chip-ID: 054c:05b8 class-ID: 0806 serial: <filter>
Device-2: 1-6:5 info: Realtek USB2.0 HD UVC WebCam type: Video
driver: uvcvideo interfaces: 2 rev: 2.0 speed: 480 Mb/s power: 500mA
chip-ID: 0bda:58e4 class-ID: 0e02 serial: <filter>
Device-3: 1-8:7 info: Intel Bluetooth wireless interface type: Bluetooth
driver: btusb interfaces: 2 rev: 2.0 speed: 12 Mb/s power: 100mA
chip-ID: 8087:0a2b class-ID: e001
Device-4: 1-9:9 info: Elan Micro ELAN:Fingerprint type: <vendor specific>
driver: N/A interfaces: 1 rev: 2.0 speed: 12 Mb/s power: 100mA
chip-ID: 04f3:0903 class-ID: 0000
Hub-4: 2-0:1 info: Full speed (or root) Hub ports: 6 rev: 3.0 speed: 5 Gb/s
chip-ID: 1d6b:0003 class-ID: 0900
Hub-5: 2-1:2 info: Microchip (formerly SMSC) Hub ports: 2 rev: 3.1
speed: 5 Gb/s chip-ID: 0424:5744 class-ID: 0900
Sensors:
System Temperatures: cpu: 45.0 C mobo: N/A
Fan Speeds (RPM): cpu: 3000
Info:
Processes: 236 Uptime: 16m wakeups: 3 Init: systemd v: 249 tool: systemctl
Compilers: gcc: 11.1.0 clang: 12.0.1 Packages: pacman: 1965 lib: 457
Shell: Bash v: 5.1.8 running-in: xfce4-terminal inxi: 3.3.08
inxi tells me that the Nvidia card driver is ‘N/A’, showing only alternate ones.
However, the non-free Nvidia driver shows up if I run:
mhwd -l -d
--------------------------------------------------------------------------------
> PCI Device: /devices/pci0000:00/0000:00:1c.0/0000:01:00.0 (0302:10de:1d10)
Display controller nVidia Corporation GP108M [GeForce MX150]
--------------------------------------------------------------------------------
> INSTALLED:
NAME: video-hybrid-intel-nvidia-prime
ATTACHED: PCI
VERSION: 2021.07.28
INFO: Hybrid prime solution for NVIDIA Optimus Technology - Closed source NVIDIA driver & open source intel driver.
PRIORITY: 6
FREEDRIVER: false
DEPENDS: video-modesetting
CONFLICTS: video*nvidia*
CLASSIDS: 0300 0302 0300
VENDORIDS: 10de 8086
NAME: video-linux
ATTACHED: PCI
VERSION: 2018.05.04
INFO: Standard open source drivers.
PRIORITY: 2
FREEDRIVER: true
DEPENDS: -
CONFLICTS: -
CLASSIDS: 0300 0380 0302
VENDORIDS: 1002 8086 10de
> AVAILABLE:
NAME: video-hybrid-intel-nvidia-prime
ATTACHED: PCI
VERSION: 2021.07.28
INFO: Hybrid prime solution for NVIDIA Optimus Technology - Closed source NVIDIA driver & open source intel driver.
PRIORITY: 6
FREEDRIVER: false
DEPENDS: video-modesetting
CONFLICTS: video*nvidia*
CLASSIDS: 0300 0302 0300
VENDORIDS: 10de 8086
NAME: video-hybrid-intel-nvidia-390xx-bumblebee
ATTACHED: PCI
VERSION: 2020.11.30
INFO: Hybrid bumblebee solution for NVIDIA Optimus Technology - Closed source NVIDIA driver & open source intel driver.
PRIORITY: 5
FREEDRIVER: false
DEPENDS: -
CONFLICTS: video*nvidia*
CLASSIDS: 0300 0302 0300
VENDORIDS: 10de 8086
NAME: video-nvidia
ATTACHED: PCI
VERSION: 2020.11.30
INFO: Closed source NVIDIA drivers for linux.
PRIORITY: 4
FREEDRIVER: false
DEPENDS: -
CONFLICTS: video*nvidia*
CLASSIDS: 0300 0302
VENDORIDS: 10de
NAME: video-nvidia-390xx
ATTACHED: PCI
VERSION: 2020.11.30
INFO: Closed source NVIDIA drivers for linux.
PRIORITY: 3
FREEDRIVER: false
DEPENDS: -
CONFLICTS: video*nvidia*
CLASSIDS: 0300 0302
VENDORIDS: 10de
NAME: video-linux
ATTACHED: PCI
VERSION: 2018.05.04
INFO: Standard open source drivers.
PRIORITY: 2
FREEDRIVER: true
DEPENDS: -
CONFLICTS: -
CLASSIDS: 0300 0380 0302
VENDORIDS: 1002 8086 10de
--------------------------------------------------------------------------------
> PCI Device: /devices/pci0000:00/0000:00:02.0 (0300:8086:5917)
Display controller Intel Corporation UHD Graphics 620
--------------------------------------------------------------------------------
> INSTALLED:
NAME: video-hybrid-intel-nvidia-prime
ATTACHED: PCI
VERSION: 2021.07.28
INFO: Hybrid prime solution for NVIDIA Optimus Technology - Closed source NVIDIA driver & open source intel driver.
PRIORITY: 6
FREEDRIVER: false
DEPENDS: video-modesetting
CONFLICTS: video*nvidia*
CLASSIDS: 0300 0302 0300
VENDORIDS: 10de 8086
NAME: video-linux
ATTACHED: PCI
VERSION: 2018.05.04
INFO: Standard open source drivers.
PRIORITY: 2
FREEDRIVER: true
DEPENDS: -
CONFLICTS: -
CLASSIDS: 0300 0380 0302
VENDORIDS: 1002 8086 10de
NAME: video-modesetting
ATTACHED: PCI
VERSION: 2020.01.13
INFO: X.org modesetting video driver.
PRIORITY: 1
FREEDRIVER: true
DEPENDS: -
CONFLICTS: -
CLASSIDS: 0300
VENDORIDS: *
I have tried to force reinstall the non-free drivers through the GUI of mhwd, but to no effect. I see in the output of the mhwd command that the non-free driver is indicated to be conflicting with video*nvidia*. Does that mean that I should uninstall the video-linux driver, and all the other free drivers for the Intel iGPU?
Finally, I’m not sure how this is relevant, but I realized that bumblee is still active (and the bumblebeed service still enabled) on my setup. But I’ve read that bumblebee is not used anymore… I admit that I’m a lost here, and would appreciate any guidance.
Thanks for your time!