Display problems

Basically overnight something broke with (I assume) graphics card driver. Sometimes I get visual artifacts (as shown on screenshot). Other times, after reboot, resolution is locked or dock doesn't show.

inxi -Fxxxza:

System:    Kernel: 5.10.10-115-tkg-bmq x86_64 bits: 64 compiler: gcc v: 10.2.1
           parameters: intel_pstate=passive BOOT_IMAGE=/@/boot/vmlinuz-linux-tkg-bmq
           root=UUID=935d98ef-d957-485d-87e8-aff54c6d538e rw rootflags=subvol=@ quiet splash
           rd.udev.log_priority=3 vt.global_cursor_default=0 systemd.unified_cgroup_hierarchy=1
           loglevel=3
           Desktop: KDE Plasma 5.20.5 tk: Qt 5.15.2 info: latte-dock wm: kwin_x11 dm: SDDM
           Distro: Garuda Linux
Machine:   Type: Laptop System: LENOVO product: Lenovo IdeaPad Y580 v: Lenovo IdeaPad Y580
           serial: <filter> Chassis: type: 10 v: Lenovo IdeaPad Y580 serial: <filter>
           Mobo: LENOVO model: Product Name v: Mainboard version serial: <filter> UEFI: LENOVO
           v: 5DCN40WW(V2.07) date: 10/10/2012
Battery:   ID-1: BAT1 charge: 0 Wh condition: N/A volts: N/A model: PABAS0241231 type: Li-ion
           serial: <filter> status: Unknown
CPU:       Info: Dual Core model: Intel Core i5-3210M bits: 64 type: MT MCP arch: Ivy Bridge
           family: 6 model-id: 3A (58) stepping: 9 microcode: 21 L2 cache: 3 MiB
           flags: avx lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 19974
           Speed: 2204 MHz min/max: 1200/2500 MHz Core speeds (MHz): 1: 2204 2: 2041 3: 2241
           4: 2254
           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 status: Vulnerable: No microcode
           Type: tsx_async_abort status: Not affected
Graphics:  Device-1: Intel 3rd Gen Core processor Graphics vendor: Lenovo driver: i915 v: kernel
           bus ID: 00:02.0 chip ID: 8086:0166
           Device-2: NVIDIA GK107M [GeForce GTX 660M] driver: N/A
           alternate: nouveau, nvidia_drm, nvidia bus ID: 01:00.0 chip ID: 10de:0fd4
           Device-3: IMC Networks Lenovo EasyCamera type: USB driver: uvcvideo bus ID: 2-1.6:3
           chip ID: 13d3:5162 serial: <filter>
           Display: x11 server: X.Org 1.20.10 compositor: kwin_x11 driver: loaded: intel
           unloaded: nvidia display ID: :0 screens: 1
           Screen-1: 0 s-res: 3286x1080 s-dpi: 96 s-size: 869x285mm (34.2x11.2")
           s-diag: 915mm (36")
           Monitor-1: LVDS1 res: 960x540 hz: 60 dpi: 71 size: 344x194mm (13.5x7.6")
           diag: 395mm (15.5")
           Monitor-2: HDMI1 res: 1920x1080 hz: 60 dpi: 93 size: 527x296mm (20.7x11.7")
           diag: 604mm (23.8")
           OpenGL: renderer: Mesa DRI Intel HD Graphics 4000 (IVB GT2) v: 4.2 Mesa 20.3.3
           compat-v: 3.0 direct render: Yes
Audio:     Device-1: Intel 7 Series/C216 Family High Definition Audio vendor: Lenovo
           driver: snd_hda_intel v: kernel bus ID: 00:1b.0 chip ID: 8086:1e20
           Device-2: Creative Sound BlasterX G6 type: USB
           driver: hid-generic,snd-usb-audio,usbhid bus ID: 1-1.2:3 chip ID: 041e:3256
           serial: <filter>
           Sound Server: ALSA v: k5.10.10-115-tkg-bmq
Network:   Device-1: Qualcomm Atheros AR8161 Gigabit Ethernet vendor: Lenovo driver: alx
           v: kernel port: 2000 bus ID: 02:00.0 chip ID: 1969:1091
           IF: enp2s0 state: down mac: <filter>
           Device-2: Intel Centrino Wireless-N 2200 driver: iwlwifi v: kernel port: 2000
           bus ID: 03:00.0 chip ID: 8086:0891
           IF: wlp3s0 state: up mac: <filter>
Drives:    Local Storage: total: 232.89 GiB used: 122.82 GiB (52.7%)
           SMART Message: Unable to run smartctl. Root privileges required.
           ID-1: /dev/sda maj-min: 8:0 vendor: Samsung model: SSD 850 EVO 250GB size: 232.89 GiB
           block size: physical: 512 B logical: 512 B speed: 6.0 Gb/s serial: <filter> rev: 1B6Q
Partition: ID-1: / raw size: 68.66 GiB size: 68.66 GiB (100.00%) used: 21.73 GiB (31.6%)
           fs: btrfs dev: /dev/sda7 maj-min: 8:7
           ID-2: /boot/efi raw size: 100 MiB size: 96 MiB (96.00%) used: 25.5 MiB (26.6%)
           fs: vfat dev: /dev/sda2 maj-min: 8:2
           ID-3: /home raw size: 68.66 GiB size: 68.66 GiB (100.00%) used: 21.73 GiB (31.6%)
           fs: btrfs dev: /dev/sda7 maj-min: 8:7
           ID-4: /var/log raw size: 68.66 GiB size: 68.66 GiB (100.00%) used: 21.73 GiB (31.6%)
           fs: btrfs dev: /dev/sda7 maj-min: 8:7
           ID-5: /var/tmp raw size: 68.66 GiB size: 68.66 GiB (100.00%) used: 21.73 GiB (31.6%)
           fs: btrfs dev: /dev/sda7 maj-min: 8:7
Swap:      Kernel: swappiness: 10 (default 60) cache pressure: 75 (default 100)
           ID-1: swap-1 type: zram size: 3.88 GiB used: 0 KiB (0.0%) priority: 32767
           dev: /dev/zram0
           ID-2: swap-2 type: zram size: 3.88 GiB used: 0 KiB (0.0%) priority: 32767
           dev: /dev/zram1
           ID-3: swap-3 type: zram size: 3.88 GiB used: 0 KiB (0.0%) priority: 32767
           dev: /dev/zram2
           ID-4: swap-4 type: zram size: 3.88 GiB used: 0 KiB (0.0%) priority: 32767
           dev: /dev/zram3
Sensors:   System Temperatures: cpu: 65.0 C mobo: N/A
           Fan Speeds (RPM): N/A
Info:      Processes: 225 Uptime: 10m wakeups: 1 Memory: 15.53 GiB used: 4.12 GiB (26.5%)
           Init: systemd v: 247 Compilers: gcc: 10.2.0 clang: 11.0.1 Packages: pacman: 1691
           lib: 542 Shell: fish v: 3.1.2 running in: alacritty inxi: 3.2.02

mhwd -l --pci:

> 0000:01:00.0 (0300:10de:0fd4) Display controller nVidia Corporation:
--------------------------------------------------------------------------------
                  NAME               VERSION          FREEDRIVER           TYPE
--------------------------------------------------------------------------------
video-hybrid-intel-nvidia-390xx-dkms-bumblebee            2020.12.07               false            PCI
video-nvidia-390xx-dkms            2020.12.07               false            PCI
           video-linux            2020.12.03                true            PCI
     video-modesetting            2020.07.13                true            PCI
            video-vesa            2017.03.12                true            PCI


> 0000:00:02.0 (0300:8086:0166) Display controller Intel Corporation:
--------------------------------------------------------------------------------
                  NAME               VERSION          FREEDRIVER           TYPE
--------------------------------------------------------------------------------
video-hybrid-intel-nvidia-390xx-dkms-bumblebee            2020.12.07               false            PCI
           video-linux            2020.12.03                true            PCI
     video-modesetting            2020.07.13                true            PCI
            video-vesa            2017.03.12                true            PCI

No nvidia driver alive… :face_with_head_bandage:

We need the installed driver configuration

mhwd -li
1 Like

mhwd -li:

> Installed PCI configs:
--------------------------------------------------------------------------------
                  NAME               VERSION          FREEDRIVER           TYPE
--------------------------------------------------------------------------------
           video-linux            2020.12.03                true            PCI
video-hybrid-intel-nvidia-390xx-dkms-bumblebee            2020.12.07               false            PCI

Run this and check Monitor Settings

intel-virtual-output

If there is still nothing new with the monitor, run this

optirun intel-virtual-output
2 Likes
λ intel-virtual-output
No VIRTUAL outputs on ":0".
λ sudo optirun intel-virtual-output
[26202.610169] [ERROR]Cannot access secondary GPU - error: [XORG] (EE) NVIDIA(0): Failed to assign any connected display devices to X screen 0.

[26202.610227] [ERROR]Aborting because fallback start is disabled.

Post your logs

optirun inxi -Gxxxaz
optirun xrandr
bash -c 'grep -v ^# /etc/bumblebee/bumblebee.conf'
bash -c 'grep -v ^# /etc/bumblebee/xorg.conf.nvidia'
systemctl status bumblebeed   --no-pager
journalctl -b -g "bbswitch|bumble"  --no-pager --no-hostname
bash -c 'for Xlog in $(ls /var/log/Xorg.?.log); do echo -e "\n" $Xlog ; grep -E "(EE)|(WW)|failed|Time" $Xlog ; done'
bash -c 'for Xconf in $(ls /etc/X11/xorg.conf.d/*.conf | grep -v keyboard); do echo -e "\n" $Xconf ; cat $Xconf ; done'
bash -c 'for Xconf in $(ls /etc/modules-load.d/*.conf); do echo -e "\n" $Xconf ; cat $Xconf ; done'
bash -c 'for Xconf in $(ls /etc/modprobe.d/*.conf); do echo -e "\n" $Xconf ; cat $Xconf ; done'
2 Likes
  • optirun inxi -Gxxxaz:
[37475.722423] [ERROR]Cannot access secondary GPU - error: [XORG] (EE) NVIDIA(0): Failed to assign any connected display devices to X screen 0.

[37475.722471] [ERROR]Aborting because fallback start is disabled.
  • optirun xrandr:
[37526.535664] [ERROR]Cannot access secondary GPU - error: [XORG] (EE) NVIDIA(0): Failed to assign any connected display devices to X screen 0.

[37526.535702] [ERROR]Aborting because fallback start is disabled.
  • bash -c 'grep -v ^# /etc/bumblebee/bumblebee.conf':

[bumblebeed]
VirtualDisplay=:8
KeepUnusedXServer=false
ServerGroup=bumblebee
TurnCardOffAtExit=false
NoEcoModeOverride=false
Driver=nvidia
XorgConfDir=/etc/bumblebee/xorg.conf.d

[optirun]
Bridge=auto
VGLTransport=proxy
PrimusLibraryPath=/usr/lib/primus:/usr/lib32/primus
AllowFallbackToIGC=false



[driver-nvidia]
KernelDriver=nvidia
PMMethod=auto
LibraryPath=/usr/lib/nvidia:/usr/lib32/nvidia:/usr/lib:/usr/lib32
XorgModulePath=/usr/lib/nvidia/xorg,/usr/lib/xorg/modules
XorgConfFile=/etc/bumblebee/xorg.conf.nvidia

[driver-nouveau]
KernelDriver=nouveau
PMMethod=auto
XorgConfFile=/etc/bumblebee/xorg.conf.nouveau
  • bash -c 'grep -v ^# /etc/bumblebee/xorg.conf.nvidia':
Section "ServerLayout"
    Identifier "Layout0"
    Option "AutoAddDevices" "false"
EndSection

Section "Device"
    Identifier  "Device1"
    Driver      "nvidia"
    BusID       "PCI:1:0:0"
    VendorName "NVIDIA Corporation"
    Option "NoLogo" "true"
    Option "UseEDID" "false"
    Option "ConnectedMonitor" "DFP"
EndSection
  • systemctl status bumblebeed --no-pager:
bumblebeed.service - Bumblebee C Daemon
     Loaded: loaded (/usr/lib/systemd/system/bumblebeed.service; enabled; vendor preset: disabled)
     Active: active (running) since Sun 2021-01-31 10:30:29 CET; 10h ago
   Main PID: 412 (bumblebeed)
      Tasks: 1 (limit: 19029)
     Memory: 52.4M
        CPU: 0
     CGroup: /system.slice/bumblebeed.service
             └─412 /usr/bin/bumblebeed

sty 31 20:55:50 bushi11-lenovoideapady580 bumblebeed[412]: [37526.533999] [ERROR][XORG] (EE) NVIDIA(0):     to start anyway
sty 31 20:55:50 bushi11-lenovoideapady580 bumblebeed[412]: [37526.534003] [ERROR][XORG] (EE) NVIDIA(0): Failing initialization of X screen 0
sty 31 20:55:50 bushi11-lenovoideapady580 bumblebeed[412]: [37526.534007] [ERROR][XORG] (EE) Screen(s) found, but none have a usable configuration.
sty 31 20:55:50 bushi11-lenovoideapady580 bumblebeed[412]: [37526.534011] [ERROR][XORG] (EE)
sty 31 20:55:50 bushi11-lenovoideapady580 bumblebeed[412]: [37526.534014] [ERROR][XORG] (EE) no screens found(EE)
sty 31 20:55:50 bushi11-lenovoideapady580 bumblebeed[412]: [37526.534018] [ERROR][XORG] (EE)
sty 31 20:55:50 bushi11-lenovoideapady580 bumblebeed[412]: [37526.534024] [ERROR][XORG] (EE) Please also check the log file at "/var/log/Xorg.8.log" for additional information.
sty 31 20:55:50 bushi11-lenovoideapady580 bumblebeed[412]: [37526.534027] [ERROR][XORG] (EE)
sty 31 20:55:50 bushi11-lenovoideapady580 bumblebeed[412]: [37526.534032] [ERROR][XORG] (EE) Server terminated with error (1). Closing log file.
sty 31 20:55:50 bushi11-lenovoideapady580 bumblebeed[412]: [37526.535627] [ERROR]X did not start properly
  • journalctl -b -g "bbswitch|bumble" --no-pager --no-hostname:
-- Journal begins at Sat 2021-01-30 12:29:58 CET, ends at Sun 2021-01-31 21:01:05 CET. --
sty 31 10:30:29 systemd[1]: Started Bumblebee C Daemon.
sty 31 10:30:29 audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=bumblebeed comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
sty 31 10:30:29 kernel: bbswitch: loading out-of-tree module taints kernel.
sty 31 10:30:29 kernel: bbswitch: module verification failed: signature and/or required key missing - tainting kernel
sty 31 10:30:29 kernel: bbswitch: version 0.8
sty 31 10:30:29 kernel: bbswitch: Found integrated VGA device 0000:00:02.0: \_SB_.PCI0.GFX0
sty 31 10:30:29 kernel: bbswitch: Found discrete VGA device 0000:01:00.0: \_SB_.PCI0.PEG0.PEGP
sty 31 10:30:29 kernel: bbswitch: detected an Optimus _DSM function
sty 31 10:30:29 kernel: bbswitch: disabling discrete graphics
sty 31 10:30:29 kernel: bbswitch: Succesfully loaded. Discrete card 0000:01:00.0 is off
sty 31 10:30:29 bumblebeed[412]: [    6.281695] [INFO]/usr/bin/bumblebeed 3.2.1 started
sty 31 17:47:04 kernel: bbswitch: enabling discrete graphics
  • bash -c 'for Xlog in $(ls /var/log/Xorg.?.log); do echo -e "\n" $Xlog ; grep -E "(EE)|(WW)|failed|Time" $Xlog ; done':
/var/log/Xorg.0.log
[     6.414] Current Operating System: Linux bushi11-lenovoideapady580 5.10.10-115-tkg-bmq #1 TKG SMP PREEMPT Thu, 28 Jan 2021 18:08:56 +0000 x86_64
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[     6.415] (==) Log file: "/var/log/Xorg.0.log", Time: Sun Jan 31 10:30:29 2021
[     6.420] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/misc".
[     6.420] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/TTF".
[     6.420] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/OTF".
[     6.420] (WW) The directory "/usr/share/fonts/Type1" does not exist.
[     6.420] (WW) The directory "/usr/share/fonts/100dpi" does not exist.
[     6.420] (WW) The directory "/usr/share/fonts/75dpi" does not exist.
[     6.420] (WW) Hotplugging is on, devices using drivers 'kbd', 'mouse' or 'vmmouse' will be disabled.
[     6.421] (WW) Disabling Keyboard0
[     6.421] (WW) Disabling Mouse0
[     6.492] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
[     6.892] (II) Initializing extension MIT-SCREEN-SAVER
[    92.993] (EE) event9  - DELL Laser Mouse: client bug: event processing lagging behind by 14ms, your system is too slow
[  3097.787] (EE) event9  - DELL Laser Mouse: client bug: event processing lagging behind by 13ms, your system is too slow
[ 21368.057] (EE) event8  - SynPS/2 Synaptics TouchPad: client bug: event processing lagging behind by 14ms, your system is too slow
[ 22883.105] (EE) event9  - DELL Laser Mouse: client bug: event processing lagging behind by 18ms, your system is too slow
[ 24486.271] (EE) event9  - DELL Laser Mouse: client bug: event processing lagging behind by 32ms, your system is too slow
[ 24536.971] (EE) event9  - DELL Laser Mouse: client bug: event processing lagging behind by 28ms, your system is too slow
[ 25607.781] (EE) event9  - DELL Laser Mouse: client bug: event processing lagging behind by 12ms, your system is too slow
[ 25632.580] (EE) event9  - DELL Laser Mouse: client bug: event processing lagging behind by 11ms, your system is too slow
[ 25632.580] (EE) event9  - DELL Laser Mouse: WARNING: log rate limit exceeded (5 msgs per 60min). Discarding future messages.
[ 26170.757] (EE) event8  - SynPS/2 Synaptics TouchPad: client bug: event processing lagging behind by 15ms, your system is too slow
[ 37463.299] (EE) event9  - DELL Laser Mouse: client bug: event processing lagging behind by 16ms, your system is too slow

 /var/log/Xorg.8.log
[ 37526.284] Current Operating System: Linux bushi11-lenovoideapady580 5.10.10-115-tkg-bmq #1 TKG SMP PREEMPT Thu, 28 Jan 2021 18:08:56 +0000 x86_64
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 37526.285] (==) Log file: "/var/log/Xorg.8.log", Time: Sun Jan 31 20:55:50 2021
[ 37526.285] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/misc".
[ 37526.285] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/TTF".
[ 37526.285] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/OTF".
[ 37526.285] (WW) The directory "/usr/share/fonts/Type1" does not exist.
[ 37526.285] (WW) The directory "/usr/share/fonts/100dpi" does not exist.
[ 37526.285] (WW) The directory "/usr/share/fonts/75dpi" does not exist.
[ 37526.288] (EE) /dev/dri/card0: failed to set DRM interface version 1.4: Permission denied
[ 37526.291] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
[ 37526.300] (WW) Warning, couldn't open module mouse
[ 37526.300] (EE) Failed to load module "mouse" (module does not exist, 0)
[ 37526.301] (WW) Warning, couldn't open module kbd
[ 37526.301] (EE) Failed to load module "kbd" (module does not exist, 0)
[ 37526.498] (EE) NVIDIA(0): Failed to assign any connected display devices to X screen 0.
[ 37526.498] (EE) NVIDIA(0):     Set AllowEmptyInitialConfiguration if you want the server
[ 37526.498] (EE) NVIDIA(0):     to start anyway
[ 37526.498] (EE) NVIDIA(0): Failing initialization of X screen 0
[ 37526.533] (EE) Screen(s) found, but none have a usable configuration.
[ 37526.533] (EE)
[ 37526.533] (EE) no screens found(EE)
[ 37526.533] (EE)
[ 37526.533] (EE) Please also check the log file at "/var/log/Xorg.8.log" for additional information.
[ 37526.533] (EE)
[ 37526.533] (EE) Server terminated with error (1). Closing log file.
  • bash -c 'for Xconf in $(ls /etc/X11/xorg.conf.d/*.conf | grep -v keyboard); do echo -e "\n" $Xconf ; cat $Xconf ; done':
 /etc/X11/xorg.conf.d/90-mhwd.conf
##
## Generated by mhwd - Manjaro Hardware Detection
##

## Zmiana AccelMethod z sna na uxa
Section "Device"
    Identifier  "Device0"
    Driver      "intel"
    BusID       "PCI:0:2:0"
    Option      "AccelMethod" "uxa"
	Option      "DRI"    "true"
EndSection


Section "DRI"
        Group  "video"
        Mode   0666
EndSection


Section "Extensions"
    Option "Composite" "Enable"
    Option "RENDER"    "Enable"
EndSection


Section "InputClass"
    Identifier          "Keyboard Defaults"
    MatchIsKeyboard        "yes"
    Option              "XkbOptions" "terminate:ctrl_alt_bksp"
EndSection
  • bash -c 'for Xconf in $(ls /etc/modules-load.d/*.conf); do echo -e "\n" $Xconf ; cat $Xconf ; done':
/etc/modules-load.d/xow-uinput.conf
uinput
  • bash -c 'for Xconf in $(ls /etc/modprobe.d/*.conf); do echo -e "\n" $Xconf ; cat $Xconf ; done':
 /etc/modprobe.d/blacklist-nvidia-nouveau.conf
blacklist nouveau

 /etc/modprobe.d/mhwd-bbswitch.conf
##
## Generated by mhwd - Manjaro Hardware Detection
##


options bbswitch load_state=0 unload_state=0

 /etc/modprobe.d/mhwd-nvidia.conf
##
## Generated by mhwd - Manjaro Hardware Detection
##


blacklist nouveau
blacklist nvidia
blacklist nvidia-modeset
blacklist nvidia-uvm
blacklist ttm
blacklist drm_kms_helper
blacklist drm

 /etc/modprobe.d/nobeep.conf
# Prevent annoying beep from the pc speaker.
blacklist pcspkr
 /etc/modprobe.d/noime.conf
# Intel VPRO remote access technology driver.
blacklist mei
blacklist mei_me
 /etc/modprobe.d/xbox-generic-controller.conf
blacklist xpad

 /etc/modprobe.d/xow-blacklist.conf:
# Bind dongle to non-existent module to prevent the mt76x2u driver from loading
alias usb:v045Ep02E6d*dc*dsc*dp*ic*isc*ip*in* xow_blacklist
alias usb:v045Ep02FEd*dc*dsc*dp*ic*isc*ip*in* xow_blacklist

Was the laptop running or woke up and broke things?
Maybe you updated packages or changed something ?
Rename

/etc/X11/xorg.conf.d/90-mhwd.conf
# to this
/etc/X11/xorg.conf.d/90-mhwd.conf.disabled

Do these changes to `/etc/bumblebee/xorg.conf.nvidia’. Read this and the whole article.

Section "ServerLayout"
    Identifier  "Layout0"
    Option      "AutoAddDevices" "true"     # Bumblebee defaults to false
    Option      "AutoAddGPU" "false"
EndSection

Section "Device"
    Identifier  "DiscreteNvidia"
    Driver      "nvidia"
    VendorName  "NVIDIA Corporation"
    Option "ProbeAllGpus" "false"
    Option "NoLogo" "true"
    Option "UseEDID" "true"                 # Bumblebee defaults to false
    Option "AllowEmptyInitialConfiguration" # Add this line
#   Option "UseDisplayDevice" "none"        # Remove or comment out this line
EndSection

Section "Screen"                            # Add this section
    Identifier "Screen0"
    Device "DiscreteNvidia"
EndSection
2 Likes