Driver installed but inactive for GeForce GT 630M (on HDMI only, live Xfce USB only...)

Hi, kind souls! Happy boxing day.

I spent quite a few hours recently trying to get this to work. Here’s my context: An old laptop with a broken screen (90% of the built-in display is unreadable and the remaining 10% is flickery). I’m hoping open source can save it, Garuda in particular, so that it can function as a gaming machine for older or not-so-resource-intensive games. The catch is that I’m trying not to wipe out the not-completely-dead-yet Win7 install until I’m sure Linux can do better, so everything has to be without a reboot because I’m running off the Garuda live USB (unless you can tell me how to help it persist changes). An additional challenge is that the USB stick available to me only has 8GB, so there isn’t room to do a full update (though this doesn’t seem fully necessary since I seem to be able to install drivers and dependencies without that step. I’m not clear on why so many GBs need updating on a fresh USB image anyway, but that’s not my main question.)

My goal is to run some games via Heroic that work (or used to work on this machine) OK in the Epic Games Store under Windows (resource-unintensive ones like while true: learn(), Drawful 2, and the Jackbox Party Pack… though even Surviving Mars was almost playable at one point, if pretty annoyingly laggy), plus, if possible, some newer (but still resource-unintensive) ones that currently don’t run at all under Windows (like Moving Out and/or TerraTech). My goal to achieve that goal is to get nvidia actively rendering for a given game or app, if not the entire xorg. Doesn’t have to be hi-res when gaming though, or 60 fps or anything, just…playable.

The laptop has this:

lspci | grep -E "VGA|3D"
00:02.0 VGA compatible controller: Intel Corporation 2nd Generation Core Processor Family Integrated Graphics Controller (rev 09)
01:00.0 VGA compatible controller: NVIDIA Corporation GF108M [GeForce GT 620M/630M/635M/640M LE] (rev a1)

This GeForce GT 630M is old enough, I guess, that the nvidia driver Garuda automatically installs is too new, making it fall back to the built-in Intel for everything. So, as far as I can tell, my choices are 390xx or Nouveau.

Here’s as far as I’ve gotten:

  • Boot to live USB: Doesn’t seem to matter whether I choose proprietary or not, nvidia gets installed either way
  • First run xrandr --output LVDS-1 --off --output HDMI-1 --auto for sanity so that only the external display is active.
  • Using Garuda Welcome → Garuda Settings Manager, remove the nvidia driver.
  • sudo pacman -R nvidia-dkms nvidia-utils lib32-nvidia-utils
  • Unless Nouveau is the answer (I haven’t tried it yet, because it’s said to be slower) the next step seems to be sudo pacman -Sy nvidia-390xx-dkms
  • then sudo systemctl restart display-manager

I forget if utils are also needed but e.g. nvidia-smi seems to show that the driver is installed, but not active for xorg or anything else:

+-----------------------------------------------------------------------------+
| NVIDIA-SMI 390.157                Driver Version: 390.157                   |
|-------------------------------+----------------------+----------------------+
| GPU  Name        Persistence-M| Bus-Id        Disp.A | Volatile Uncorr. ECC |
| Fan  Temp  Perf  Pwr:Usage/Cap|         Memory-Usage | GPU-Util  Compute M. |
|===============================+======================+======================|
|   0  GeForce GT 630M     Off  | 00000000:01:00.0 N/A |                  N/A |
| N/A   50C    P0    N/A /  N/A |      0MiB /   964MiB |     N/A      Default |
+-------------------------------+----------------------+----------------------+
                                                                               
+-----------------------------------------------------------------------------+
| Processes:                                                       GPU Memory |
|  GPU       PID   Type   Process name                             Usage      |
|=============================================================================|
|    0                    Not Supported                                       |
+-----------------------------------------------------------------------------+

I’ve tried activating it via sample Xorg configs I’ve found (sorry, I forget which ones now, a few days later) but these tend to make the external screen blank and revert to only the laptop display when I restart the display manager, so I’m not clear if it’s because I don’t know how to configure Xorg, there’s a syntax error in the .conf, or a problem with the card or it’s impossible to achieve my goal (NVIDIA GeForce GT 630M Specs | TechPowerUp GPU Database suggests this may be the case, but on the other hand, if the nvidia can render and then pass to the intel as bumblebee says, then…it should work OK, right?)

My next step isn’t clear. The GPU is too old for PRIME, it seems. Do I need bumblebee? Primusrun? Something else? I’ve tried these together and get e.g.:

$ optirun glxgears
[ 9877.200630] [ERROR]Cannot access secondary GPU - error: [XORG] (EE) No devices detected.

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

$ primusrun glxgears
primus: fatal: Bumblebee daemon reported: error: [XORG] (EE) No devices detected.

But e.g. video-hybrid-intel-nvidia-390xx-bumblebee doesn’t seem to be available on Garuda (anymore?).

Here’s the full info:

$ garuda-inxi
System:
  Kernel: 6.6.29-1-lts arch: x86_64 bits: 64 compiler: gcc v: 13.2.1
    clocksource: tsc avail: hpet,acpi_pm
    parameters: BOOT_IMAGE=/boot/vmlinuz-x86_64 lang=en_US keytable=us tz=UTC
    misobasedir=garuda root=miso:LABEL=GARUDA_XFCE_BIRDOFPREY quiet
    systemd.show_status=1 checksum=y systemd.unified_cgroup_hierarchy=1
    driver=nonfree nouveau.modeset=0 i915.modeset=1 radeon.modeset=1
  Desktop: Xfce v: 4.18.1 tk: Gtk v: 3.24.36 wm: xfwm4 v: 4.18.0
    with: xfce4-panel tools: xfce4-screensaver avail: xautolock vt: 7
    dm: LightDM v: 1.32.0 Distro: Garuda base: Arch Linux
Machine:
  Type: Laptop System: Acer product: V3-771 v: V1.02
    serial: <superuser required>
  Mobo: Acer model: VA70_HC v: Type2 - Board Version
    serial: <superuser required> part-nu: Type1Sku0 uuid: <superuser required>
    UEFI-[Legacy]: Insyde v: 1.02 date: 03/06/2012
Battery:
  ID-1: BAT0 charge: 29.6 Wh (74.6%) condition: 39.7/48.4 Wh (82.0%)
    power: 0.0 W volts: 6.9 min: 10.8 model: AS10D31 type: Li-ion serial: N/A
    status: not charging
CPU:
  Info: model: Intel Core i3-2350M bits: 64 type: MT MCP arch: Sandy Bridge
    gen: core 2 level: v2 built: 2010-12 process: Intel 32nm family: 6
    model-id: 0x2A (42) stepping: 7 microcode: 0x2F
  Topology: cpus: 1x cores: 2 tpc: 2 threads: 4 smt: enabled cache:
    L1: 128 KiB desc: d-2x32 KiB; i-2x32 KiB L2: 512 KiB desc: 2x256 KiB
    L3: 3 MiB desc: 1x3 MiB
  Speed (MHz): avg: 799 high: 800 min/max: 800/2300 scaling:
    driver: intel_cpufreq governor: schedutil cores: 1: 798 2: 800 3: 800 4: 800
    bogomips: 18367
  Flags: avx ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
  Vulnerabilities: <filter>
Graphics:
  Device-1: Intel 2nd Generation Core Processor Family Integrated Graphics
    vendor: Acer Incorporated ALI driver: i915 v: kernel arch: Gen-6
    code: Sandybridge process: Intel 32nm built: 2011 ports: active: HDMI-A-1
    off: LVDS-1 empty: DP-1,VGA-1 bus-ID: 00:02.0 chip-ID: 8086:0116
    class-ID: 0300
  Device-2: NVIDIA GF108M [GeForce GT 620M/630M/635M/640M LE]
    vendor: Acer Incorporated ALI driver: nvidia v: 390.157
    alternate: nouveau,nvidia_drm non-free: series: 390.xx+
    status: legacy (EOL~2022-11-22) last: release: 390.157 kernel: 6.0
    xorg: 1.21 arch: Fermi code: GF1xx process: 40/28nm built: 2010-2016 pcie:
    gen: 1 speed: 2.5 GT/s lanes: 16 bus-ID: 01:00.0 chip-ID: 10de:0de9
    class-ID: 0300
  Device-3: Chicony 1.3M HD WebCam driver: uvcvideo type: USB rev: 2.0
    speed: 480 Mb/s lanes: 1 mode: 2.0 bus-ID: 1-1.1:3 chip-ID: 04f2:b2dc
    class-ID: 0e02 serial: <filter>
  Display: x11 server: X.Org v: 21.1.13 compositor: xfwm4 v: 4.18.0 driver:
    X: loaded: modesetting alternate: fbdev,intel,vesa dri: crocus gpu: i915
    display-ID: :0.0 screens: 1
  Screen-1: 0 s-res: 1920x1080 s-dpi: 96 s-size: 508x286mm (20.00x11.26")
    s-diag: 583mm (22.95")
  Monitor-1: HDMI-A-1 mapped: HDMI-1 model: DGM CVTE TV built: 2010
    res: 1920x1080 hz: 60 dpi: 85 size: 575x323mm (22.64x12.72")
    diag: 1171mm (46.1") ratio: 15:9, 16:10 modes: max: 1920x1080 min: 720x400
  Monitor-2: LVDS-1 note: disabled pos: primary model: LG Display 0x0340
    built: 2011 res: 1920x1080 dpi: 106 gamma: 1.2 size: 383x215mm (15.08x8.46")
    diag: 439mm (17.3") ratio: 16:9 modes: 1600x900
  API: EGL v: 1.5 hw: drv: intel crocus drv: nvidia platforms: device: 0
    egl: 1.4 drv: nvidia surfaceless: drv: crocus x11: drv: crocus
    inactive: gbm,wayland
  API: OpenGL v: 3.3 vendor: intel mesa v: 24.0.5-arch1.1 glx-v: 1.4
    direct-render: yes renderer: Mesa Intel HD Graphics 3000 (SNB GT2)
    device-ID: 8086:0116 memory: 1.46 GiB unified: yes
  API: Vulkan v: 1.3.279 layers: 5 device: 0 type: cpu name: llvmpipe (LLVM
    17.0.6 256 bits) driver: mesa llvmpipe v: 24.0.5-arch1.1 (LLVM 17.0.6)
    device-ID: 10005:0000 surfaces: xcb,xlib
Audio:
  Device-1: Intel 7 Series/C216 Family High Definition Audio
    vendor: Acer Incorporated ALI driver: snd_hda_intel v: kernel
    bus-ID: 00:1b.0 chip-ID: 8086:1e20 class-ID: 0403
  Device-2: NVIDIA GF108 High Definition Audio driver: snd_hda_intel
    v: kernel pcie: gen: 1 speed: 2.5 GT/s lanes: 16 bus-ID: 01:00.1
    chip-ID: 10de:0bea class-ID: 0403
  API: ALSA v: k6.6.29-1-lts status: kernel-api tools: N/A
  Server-1: PipeWire v: 1.0.5 status: active with: 1: pipewire-pulse
    status: active 2: wireplumber status: active 3: pipewire-alsa type: plugin
    4: pw-jack type: plugin tools: pactl,pw-cat,pw-cli,wpctl
Network:
  Device-1: Qualcomm Atheros AR9462 Wireless Network Adapter vendor: Lite-On
    driver: ath9k v: kernel pcie: gen: 1 speed: 2.5 GT/s lanes: 1
    bus-ID: 0d:00.0 chip-ID: 168c:0034 class-ID: 0280
  IF: wlp13s0 state: up mac: <filter>
  Device-2: Qualcomm Atheros AR8151 v2.0 Gigabit Ethernet
    vendor: Acer Incorporated ALI driver: atl1c v: kernel pcie: gen: 1
    speed: 2.5 GT/s lanes: 1 port: 2000 bus-ID: 0e:00.0 chip-ID: 1969:1083
    class-ID: 0200
  IF: enp14s0 state: down mac: <filter>
  Info: services: NetworkManager, systemd-timesyncd, wpa_supplicant
Bluetooth:
  Device-1: Lite-On driver: btusb v: 0.8 type: USB rev: 1.1 speed: 12 Mb/s
    lanes: 1 mode: 1.1 bus-ID: 2-1.6:4 chip-ID: 04ca:3006 class-ID: e001
  Report: btmgmt ID: hci0 rfk-id: 3 state: up address: <filter> bt-v: 4.1
    lmp-v: 7 status: discoverable: no pairing: no class-ID: 6c010c
Drives:
  Local Storage: total: 473.26 GiB used: 0 KiB (0.0%)
  SMART Message: Unable to run smartctl. Root privileges required.
  ID-1: /dev/sda maj-min: 8:0 vendor: Toshiba model: MQ01ABD050
    size: 465.76 GiB block-size: physical: 4096 B logical: 512 B speed: 3.0 Gb/s
    tech: HDD rpm: 5400 serial: <filter> fw-rev: 1U scheme: MBR
  ID-2: /dev/sdb maj-min: 8:16 model: General USB Flash Disk size: 7.5 GiB
    block-size: physical: 512 B logical: 512 B type: USB rev: 2.0 spd: 480 Mb/s
    lanes: 1 mode: 2.0 tech: SSD serial: <filter> fw-rev: 2.00 scheme: MBR
  SMART Message: Unknown USB bridge. Flash drive/Unsupported enclosure?
Partition:
  Message: No partition data found.
Swap:
  Kernel: swappiness: 133 (default 60) cache-pressure: 100 (default) zswap: no
  ID-1: swap-1 type: zram size: 5.63 GiB used: 863.8 MiB (15.0%)
    priority: 100 comp: zstd avail: lzo,lzo-rle,lz4,lz4hc,842 max-streams: 4
    dev: /dev/zram0
Sensors:
  System Temperatures: cpu: 54.0 C mobo: N/A
  Fan Speeds (rpm): N/A
Info:
  Memory: total: 6 GiB note: est. available: 5.63 GiB used: 3.87 GiB (68.7%)
  Processes: 209 Power: uptime: 2h 52m states: freeze,mem,disk suspend: deep
    avail: s2idle wakeups: 0 hibernate: platform avail: shutdown, reboot,
    suspend, test_resume image: 2.22 GiB services: upowerd,xfce4-power-manager
    Init: systemd v: 255 default: graphical tool: systemctl
  Packages: pm: pacman pkgs: 1328 libs: 402 tools: paru Compilers:
    gcc: 13.2.1 Shell: garuda-inxi default: Bash v: 5.2.26
    running-in: xfce4-terminal inxi: 3.3.34
Garuda (2.6.26-1):
  System install date:     2024-12-26
  Last full system update: 2024-12-26 ↻
  Is partially upgraded:   Yes
  Relevant software:       snapper NetworkManager dracut
  Windows dual boot:       <superuser required>
  Failed units:            snapper-cleanup.service 

Anyway, some way to get the “ancient” nvidia rendering everything (or select programs/games, anyway) to the HDMI, and nothing to the built-in display, would be really great. Thank you in advance for any wisdom and knowledge you can share with me.

Some more bumblebee info…

sudo systemctl status bumblebeed.service 
● bumblebeed.service - Bumblebee C Daemon
     Loaded: loaded (/usr/lib/systemd/system/bumblebeed.service; disabled; preset: disabled)
     Active: active (running) since Thu 2024-12-26 15:00:53 UTC; 1h 43min ago
   Main PID: 42150 (bumblebeed)
      Tasks: 1 (limit: 6823)
     Memory: 536.0K (peak: 2.8M)
        CPU: 192ms
     CGroup: /system.slice/bumblebeed.service
             └─42150 /usr/bin/bumblebeed

Dec 26 15:43:55 garuda-xfce bumblebeed[42150]: [12241.106877] [WARN][XORG] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
Dec 26 15:43:55 garuda-xfce bumblebeed[42150]: [12241.106891] [WARN][XORG] (WW) Warning, couldn't open module mouse
Dec 26 15:43:55 garuda-xfce bumblebeed[42150]: [12241.106904] [ERROR][XORG] (EE) No devices detected.
Dec 26 15:43:55 garuda-xfce bumblebeed[42150]: [12241.106911] [ERROR][XORG] (EE)
Dec 26 15:43:55 garuda-xfce bumblebeed[42150]: [12241.106917] [ERROR][XORG] (EE) no screens found(EE)
Dec 26 15:43:55 garuda-xfce bumblebeed[42150]: [12241.106924] [ERROR][XORG] (EE)
Dec 26 15:43:55 garuda-xfce bumblebeed[42150]: [12241.106934] [ERROR][XORG] (EE) Please also check the log file at "/var/log/Xorg.8.log" for additional information.
Dec 26 15:43:55 garuda-xfce bumblebeed[42150]: [12241.106942] [ERROR][XORG] (EE)
Dec 26 15:43:55 garuda-xfce bumblebeed[42150]: [12241.106950] [ERROR][XORG] (EE) Server terminated with error (1). Closing log file.
Dec 26 15:43:55 garuda-xfce bumblebeed[42150]: [12241.106958] [ERROR]X did not start properly

and

sudo cat /var/log/Xorg.8.log
[ 12241.094] 
X.Org X Server 1.21.1.13
X Protocol Version 11, Revision 0
[ 12241.094] Current Operating System: Linux garuda-xfce 6.6.29-1-lts #1 SMP PREEMPT_DYNAMIC Sat, 27 Apr 2024 18:43:45 +0000 x86_64
[ 12241.094] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-x86_64 lang=en_US keytable=us tz=UTC misobasedir=garuda root=miso:LABEL=GARUDA_XFCE_BIRDOFPREY quiet systemd.show_status=1 checksum=y systemd.unified_cgroup_hierarchy=1 driver=nonfree nouveau.modeset=0 i915.modeset=1 radeon.modeset=1
[ 12241.094]  
[ 12241.094] Current version of pixman: 0.43.4
[ 12241.094] 	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
[ 12241.094] Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 12241.094] (==) Log file: "/var/log/Xorg.8.log", Time: Thu Dec 26 15:43:55 2024
[ 12241.095] (++) Using config file: "/etc/bumblebee/xorg.conf.nouveau"
[ 12241.095] (++) Using config directory: "/etc/bumblebee/xorg.conf.d"
[ 12241.095] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[ 12241.095] (==) ServerLayout "Layout0"
[ 12241.095] (==) No screen section available. Using defaults.
[ 12241.095] (**) |-->Screen "Default Screen Section" (0)
[ 12241.095] (**) |   |-->Monitor "<default monitor>"
[ 12241.095] (==) No device specified for screen "Default Screen Section".
	Using the first device section listed.
[ 12241.095] (**) |   |-->Device "DiscreteNvidia"
[ 12241.095] (==) No monitor specified for screen "Default Screen Section".
	Using a default monitor configuration.
[ 12241.095] (**) Option "AutoAddDevices" "false"
[ 12241.095] (**) Option "AutoAddGPU" "false"
[ 12241.095] (**) Allowing byte-swapped clients
[ 12241.095] (**) Not automatically adding devices
[ 12241.095] (==) Automatically enabling devices
[ 12241.095] (**) Not automatically adding GPU devices
[ 12241.095] (==) Automatically binding GPU devices
[ 12241.095] (==) Max clients allowed: 256, resource mask: 0x1fffff
[ 12241.095] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/misc".
[ 12241.095] 	Entry deleted from font path.
[ 12241.095] 	(Run 'mkfontdir' on "/usr/share/fonts/misc").
[ 12241.095] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/TTF".
[ 12241.095] 	Entry deleted from font path.
[ 12241.095] 	(Run 'mkfontdir' on "/usr/share/fonts/TTF").
[ 12241.095] (WW) The directory "/usr/share/fonts/OTF" does not exist.
[ 12241.095] 	Entry deleted from font path.
[ 12241.095] (WW) The directory "/usr/share/fonts/Type1" does not exist.
[ 12241.096] 	Entry deleted from font path.
[ 12241.096] (WW) The directory "/usr/share/fonts/100dpi" does not exist.
[ 12241.096] 	Entry deleted from font path.
[ 12241.096] (WW) The directory "/usr/share/fonts/75dpi" does not exist.
[ 12241.096] 	Entry deleted from font path.
[ 12241.096] (==) FontPath set to:
	
[ 12241.096] (==) ModulePath set to "/usr/lib/xorg/modules"
[ 12241.096] (==) |-->Input Device "<default pointer>"
[ 12241.096] (==) |-->Input Device "<default keyboard>"
[ 12241.096] (==) The core pointer device wasn't specified explicitly in the layout.
	Using the default mouse configuration.
[ 12241.096] (==) The core keyboard device wasn't specified explicitly in the layout.
	Using the default keyboard configuration.
[ 12241.096] (II) Module ABI versions:
[ 12241.096] 	X.Org ANSI C Emulation: 0.4
[ 12241.096] 	X.Org Video Driver: 25.2
[ 12241.096] 	X.Org XInput driver : 24.4
[ 12241.096] 	X.Org Server Extension : 10.0
[ 12241.096] (--) using VT number 7

[ 12241.096] (II) systemd-logind: logind integration requires -keeptty and -keeptty was not provided, disabling logind integration
[ 12241.097] (II) xfree86: Adding drm device (/dev/dri/card1)
[ 12241.097] (II) Platform probe for /sys/devices/pci0000:00/0000:00:02.0/drm/card1
[ 12241.101] (--) PCI: (1@0:0:0) 10de:0de9:1025:068b rev 161, Mem @ 0xd2000000/16777216, 0xa0000000/268435456, 0xb0000000/33554432, I/O @ 0x00004000/128, BIOS @ 0x????????/524288
[ 12241.101] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
[ 12241.101] (II) LoadModule: "glx"
[ 12241.102] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[ 12241.104] (II) Module glx: vendor="X.Org Foundation"
[ 12241.104] 	compiled for 1.21.1.13, module version = 1.0.0
[ 12241.104] 	ABI class: X.Org Server Extension, version 10.0
[ 12241.104] (II) LoadModule: "nouveau"
[ 12241.104] (II) Loading /usr/lib/xorg/modules/drivers/nouveau_drv.so
[ 12241.104] (II) Module nouveau: vendor="X.Org Foundation"
[ 12241.104] 	compiled for 1.21.1.11, module version = 1.0.17
[ 12241.104] 	Module class: X.Org Video Driver
[ 12241.104] 	ABI class: X.Org Video Driver, version 25.2
[ 12241.104] (II) LoadModule: "mouse"
[ 12241.104] (WW) Warning, couldn't open module mouse
[ 12241.104] (EE) Failed to load module "mouse" (module does not exist, 0)
[ 12241.104] (II) LoadModule: "kbd"
[ 12241.104] (WW) Warning, couldn't open module kbd
[ 12241.104] (EE) Failed to load module "kbd" (module does not exist, 0)
[ 12241.104] (II) NOUVEAU driver 
[ 12241.104] (II) NOUVEAU driver for NVIDIA chipset families :
[ 12241.105] 	RIVA TNT            (NV04)
[ 12241.105] 	RIVA TNT2           (NV05)
[ 12241.105] 	GeForce 256         (NV10)
[ 12241.105] 	GeForce 2           (NV11, NV15)
[ 12241.105] 	GeForce 4MX         (NV17, NV18)
[ 12241.105] 	GeForce 3           (NV20)
[ 12241.105] 	GeForce 4Ti         (NV25, NV28)
[ 12241.105] 	GeForce FX          (NV3x)
[ 12241.105] 	GeForce 6           (NV4x)
[ 12241.105] 	GeForce 7           (G7x)
[ 12241.105] 	GeForce 8           (G8x)
[ 12241.105] 	GeForce 9           (G9x)
[ 12241.105] 	GeForce GTX 2xx/3xx (GT2xx)
[ 12241.105] 	GeForce GTX 4xx/5xx (GFxxx)
[ 12241.105] 	GeForce GTX 6xx/7xx (GKxxx)
[ 12241.105] 	GeForce GTX 9xx     (GMxxx)
[ 12241.105] 	GeForce GTX 10xx    (GPxxx)
[ 12241.105] (EE) No devices detected.
[ 12241.105] (EE) 
Fatal server error:
[ 12241.105] (EE) no screens found(EE) 
[ 12241.105] (EE) 
Please consult the The X.Org Foundation support 
	 at http://wiki.x.org
 for help. 
[ 12241.105] (EE) Please also check the log file at "/var/log/Xorg.8.log" for additional information.
[ 12241.105] (EE) 
[ 12241.105] (EE) Server terminated with error (1). Closing log file.
cat /etc/bumblebee/xorg.conf.nouveau 
File: /etc/bumblebee/xorg.conf.nouveau
Section "ServerLayout"
    Identifier  "Layout0"
    Option      "AutoAddDevices" "false"
    Option      "AutoAddGPU" "false"
EndSection

Section "Device"
    Identifier  "DiscreteNvidia"
    Driver      "nouveau"

#   If the X server does not automatically detect your VGA device,
#   you can manually set it here.
#   To get the BusID prop, run `lspci | egrep 'VGA|3D'` and input the data
#   as you see in the commented example.
#   This Setting is needed on Ubuntu 13.04.
#   BusID "PCI:01:00:0"

EndSection
cat /usr/share/X11/xorg.conf.d/10-nvidia-drm-outputclass.conf 
File: /usr/share/X11/xorg.conf.d/10-nvidia-drm-outputclass.conf
Section "OutputClass"
    Identifier "nvidia"
    MatchDriver "nvidia-drm"
    Driver "nvidia"
    Option "AllowEmptyInitialConfiguration"
    ModulePath "/usr/lib/nvidia/xorg"
    ModulePath "/usr/lib/xorg/modules"
EndSection

OK if I switch both those xorg options to “true” and restart bumblebee, I get:

sudo systemctl status bumblebeed.service 
● bumblebeed.service - Bumblebee C Daemon
     Loaded: loaded (/usr/lib/systemd/system/bumblebeed.service; disabled; preset: disabled)
     Active: active (running) since Thu 2024-12-26 16:56:52 UTC; 3s ago
   Main PID: 46993 (bumblebeed)
      Tasks: 1 (limit: 6823)
     Memory: 416.0K (peak: 1.2M)
        CPU: 18ms
     CGroup: /system.slice/bumblebeed.service
             └─46993 /usr/bin/bumblebeed

Dec 26 16:56:52 garuda-xfce systemd[1]: Started Bumblebee C Daemon.
Dec 26 16:56:52 garuda-xfce bumblebeed[46997]: modprobe: FATAL: Module bbswitch not found in directory /lib/modules/6.6.29-1-lts
Dec 26 16:56:52 garuda-xfce bumblebeed[46993]: [16617.984889] [ERROR]Module bbswitch could not be loaded (timeout?)
Dec 26 16:56:52 garuda-xfce bumblebeed[46993]: [16617.984913] [WARN]No switching method available. The dedicated card will always be on.
Dec 26 16:56:52 garuda-xfce bumblebeed[46993]: [16617.991350] [INFO]/usr/bin/bumblebeed 3.2.1 started

which is great, it’s on AC all the time so its fine if the nvidia is always on.

Let’s see if restarting the display manager works…no, still [XORG] (EE) No devices detected everywhere, as above.

Will try forcing nvidia instead of nouveau…

Still the same. At least restarting the display manager still gives a working HDMI display, but not nvidia-powered.

If anything else might help from this:

╭─garuda@garuda in ~/Desktop as 🧙 took 14ms
 ╰─λ sudo systemctl status display-manager
● lightdm.service - Light Display Manager
     Loaded: loaded (/usr/lib/systemd/system/lightdm.service; enabled; preset: disabled)
     Active: active (running) since Thu 2024-12-26 17:01:02 UTC; 15s ago
       Docs: man:lightdm(1)
   Main PID: 48568 (lightdm)
      Tasks: 9 (limit: 6823)
     Memory: 102.6M (peak: 152.2M)
        CPU: 2.178s
     CGroup: /system.slice/lightdm.service
             ├─48568 /usr/bin/lightdm
             └─48575 /usr/lib/Xorg :0 -seat seat0 -auth /run/lightdm/root/:0 -nolisten tcp vt7 -novtswitch

Dec 26 17:01:02 garuda-xfce systemd[1]: Starting Light Display Manager...
Dec 26 17:01:02 garuda-xfce systemd[1]: Started Light Display Manager.
Dec 26 17:01:04 garuda-xfce lightdm[48583]: pam_succeed_if(lightdm-autologin:auth): requirement "user ingroup autologin" was met by user "garuda"
Dec 26 17:01:04 garuda-xfce lightdm[48583]: gkr-pam: no password is available for user
Dec 26 17:01:04 garuda-xfce lightdm[48583]: pam_unix(lightdm-autologin:session): session opened for user garuda(uid=1000) by garuda(uid=0)
Dec 26 17:01:04 garuda-xfce lightdm[48583]: gkr-pam: couldn't unlock the login keyring.

 ╭─garuda@garuda in ~/Desktop as 🧙 took 65ms
 ╰─λ sudo dmesg | grep nvidia
[  752.036199] nvidia-nvlink: Nvlink Core is being initialized, major device number 234
               NVRM:  visit http://www.nvidia.com/object/unix.html for more
[  752.038789] nvidia-nvlink: Unregistered Nvlink Core, major device number 234
[  753.299910] nvidia-nvlink: Nvlink Core is being initialized, major device number 234
               NVRM:  visit http://www.nvidia.com/object/unix.html for more
[  753.302137] nvidia-nvlink: Unregistered Nvlink Core, major device number 234
[  754.569849] nvidia-nvlink: Nvlink Core is being initialized, major device number 234
               NVRM:  visit http://www.nvidia.com/object/unix.html for more
[  754.572078] nvidia-nvlink: Unregistered Nvlink Core, major device number 234
[ 9242.293738] nvidia-nvlink: Nvlink Core is being initialized, major device number 235
[ 9242.294081] nvidia 0000:01:00.0: enabling device (0006 -> 0007)
[ 9242.294178] nvidia 0000:01:00.0: vgaarb: VGA decodes changed: olddecodes=io+mem,decodes=none:owns=none
[ 9242.762879] CPU: 2 PID: 41393 Comm: nvidia-settings Tainted: P           OE      6.6.29-1-lts #1 6252a52254446aaa567532e72adefe0efcfc3b62
[ 9242.762903]  os_flush_work_queue+0x55/0x70 [nvidia d46dc0fdd59fec0f475faf527860ab131d713834]
[ 9242.763246]  rm_disable_adapter+0x52/0xd0 [nvidia d46dc0fdd59fec0f475faf527860ab131d713834]
[ 9242.763646]  nv_shutdown_adapter+0x17/0xa0 [nvidia d46dc0fdd59fec0f475faf527860ab131d713834]
[ 9242.763942]  nv_close_device+0xea/0x170 [nvidia d46dc0fdd59fec0f475faf527860ab131d713834]
[ 9242.764225]  nvidia_close+0xcf/0x3a0 [nvidia d46dc0fdd59fec0f475faf527860ab131d713834]
[ 9242.764510]  nvidia_frontend_close+0x2e/0x50 [nvidia d46dc0fdd59fec0f475faf527860ab131d713834]
[ 9242.764804]  ? nvidia_frontend_unlocked_ioctl+0x3f/0x60 [nvidia d46dc0fdd59fec0f475faf527860ab131d713834]
[ 9242.765097]  ? _nv027768rm+0x23/0x50 [nvidia d46dc0fdd59fec0f475faf527860ab131d713834]
[ 9242.765502]  ? _nv030719rm+0x97/0xc0 [nvidia d46dc0fdd59fec0f475faf527860ab131d713834]
[ 9242.765944]  ? os_get_current_tick+0x41/0x70 [nvidia d46dc0fdd59fec0f475faf527860ab131d713834]
[ 9242.766226]  ? _nv027769rm+0x9/0x10 [nvidia d46dc0fdd59fec0f475faf527860ab131d713834]
[ 9242.766602]  ? os_acquire_spinlock+0x12/0x30 [nvidia d46dc0fdd59fec0f475faf527860ab131d713834]
[ 9242.766890]  ? _nv030069rm+0xc/0x20 [nvidia d46dc0fdd59fec0f475faf527860ab131d713834]
[ 9242.767342]  ? _nv033436rm+0xa6/0x170 [nvidia d46dc0fdd59fec0f475faf527860ab131d713834]
[ 9242.767787]  ? nvidia_frontend_unlocked_ioctl+0x3f/0x60 [nvidia d46dc0fdd59fec0f475faf527860ab131d713834]
[ 9916.808771] CPU: 3 PID: 43338 Comm: nvidia-smi Tainted: P           OE      6.6.29-1-lts #1 6252a52254446aaa567532e72adefe0efcfc3b62
[ 9916.808819]  os_flush_work_queue+0x55/0x70 [nvidia d46dc0fdd59fec0f475faf527860ab131d713834]
[ 9916.809686]  rm_disable_adapter+0x52/0xd0 [nvidia d46dc0fdd59fec0f475faf527860ab131d713834]
[ 9916.810197]  nv_shutdown_adapter+0x17/0xa0 [nvidia d46dc0fdd59fec0f475faf527860ab131d713834]
[ 9916.810539]  nv_close_device+0xea/0x170 [nvidia d46dc0fdd59fec0f475faf527860ab131d713834]
[ 9916.810831]  nvidia_close+0xcf/0x3a0 [nvidia d46dc0fdd59fec0f475faf527860ab131d713834]
[ 9916.811127]  nvidia_frontend_close+0x2e/0x50 [nvidia d46dc0fdd59fec0f475faf527860ab131d713834]
[ 9916.811441]  ? nvidia_ioctl+0x395/0x790 [nvidia d46dc0fdd59fec0f475faf527860ab131d713834]
[ 9916.811735]  ? nvidia_frontend_unlocked_ioctl+0x3f/0x60 [nvidia d46dc0fdd59fec0f475faf527860ab131d713834]
[ 9916.812042]  ? nvidia_ioctl+0x395/0x790 [nvidia d46dc0fdd59fec0f475faf527860ab131d713834]
[ 9916.812339]  ? nvidia_frontend_unlocked_ioctl+0x3f/0x60 [nvidia d46dc0fdd59fec0f475faf527860ab131d713834]
[ 9916.812640]  ? nvidia_close+0x158/0x3a0 [nvidia d46dc0fdd59fec0f475faf527860ab131d713834]
[10332.206784]  os_flush_work_queue+0x55/0x70 [nvidia d46dc0fdd59fec0f475faf527860ab131d713834]
[10332.207130]  rm_disable_adapter+0x52/0xd0 [nvidia d46dc0fdd59fec0f475faf527860ab131d713834]
[10332.207507]  nv_shutdown_adapter+0x17/0xa0 [nvidia d46dc0fdd59fec0f475faf527860ab131d713834]
[10332.207781]  nv_close_device+0xea/0x170 [nvidia d46dc0fdd59fec0f475faf527860ab131d713834]
[10332.208054]  nvidia_close+0xcf/0x3a0 [nvidia d46dc0fdd59fec0f475faf527860ab131d713834]
[10332.208331]  nvidia_frontend_close+0x2e/0x50 [nvidia d46dc0fdd59fec0f475faf527860ab131d713834]
[10340.446051] CPU: 0 PID: 44065 Comm: nvidia-settings Tainted: P           OE      6.6.29-1-lts #1 6252a52254446aaa567532e72adefe0efcfc3b62
[10340.446074]  os_flush_work_queue+0x55/0x70 [nvidia d46dc0fdd59fec0f475faf527860ab131d713834]
[10340.446410]  rm_disable_adapter+0x52/0xd0 [nvidia d46dc0fdd59fec0f475faf527860ab131d713834]
[10340.446788]  nv_shutdown_adapter+0x17/0xa0 [nvidia d46dc0fdd59fec0f475faf527860ab131d713834]
[10340.447061]  nv_close_device+0xea/0x170 [nvidia d46dc0fdd59fec0f475faf527860ab131d713834]
[10340.447335]  nvidia_close+0xcf/0x3a0 [nvidia d46dc0fdd59fec0f475faf527860ab131d713834]
[10340.447620]  nvidia_frontend_close+0x2e/0x50 [nvidia d46dc0fdd59fec0f475faf527860ab131d713834]
[10340.447905]  ? nvidia_frontend_unlocked_ioctl+0x3f/0x60 [nvidia d46dc0fdd59fec0f475faf527860ab131d713834]

Oh and the nvidia driver also doesn’t seem to find any devices (despite nvidia-smi output) or screens, just like nouveau:

sudo cat /var/log/Xorg.8.log
[ 16841.250] 
X.Org X Server 1.21.1.13
X Protocol Version 11, Revision 0
[ 16841.250] Current Operating System: Linux garuda-xfce 6.6.29-1-lts #1 SMP PREEMPT_DYNAMIC Sat, 27 Apr 2024 18:43:45 +0000 x86_64
[ 16841.250] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-x86_64 lang=en_US keytable=us tz=UTC misobasedir=garuda root=miso:LABEL=GARUDA_XFCE_BIRDOFPREY quiet systemd.show_status=1 checksum=y systemd.unified_cgroup_hierarchy=1 driver=nonfree nouveau.modeset=0 i915.modeset=1 radeon.modeset=1
[ 16841.250]  
[ 16841.250] Current version of pixman: 0.43.4
[ 16841.250] 	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
[ 16841.250] Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 16841.250] (==) Log file: "/var/log/Xorg.8.log", Time: Thu Dec 26 17:00:35 2024
[ 16841.251] (++) Using config file: "/etc/bumblebee/xorg.conf.nouveau"
[ 16841.251] (++) Using config directory: "/etc/bumblebee/xorg.conf.d"
[ 16841.251] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[ 16841.251] (==) ServerLayout "Layout0"
[ 16841.251] (==) No screen section available. Using defaults.
[ 16841.251] (**) |-->Screen "Default Screen Section" (0)
[ 16841.251] (**) |   |-->Monitor "<default monitor>"
[ 16841.252] (==) No device specified for screen "Default Screen Section".
	Using the first device section listed.
[ 16841.252] (**) |   |-->Device "DiscreteNvidia"
[ 16841.252] (==) No monitor specified for screen "Default Screen Section".
	Using a default monitor configuration.
[ 16841.252] (**) Option "AutoAddDevices" "true"
[ 16841.252] (**) Option "AutoAddGPU" "true"
[ 16841.252] (**) Allowing byte-swapped clients
[ 16841.252] (**) Automatically adding devices
[ 16841.252] (==) Automatically enabling devices
[ 16841.252] (**) Automatically adding GPU devices
[ 16841.252] (==) Automatically binding GPU devices
[ 16841.252] (==) Max clients allowed: 256, resource mask: 0x1fffff
[ 16841.252] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/misc".
[ 16841.252] 	Entry deleted from font path.
[ 16841.252] 	(Run 'mkfontdir' on "/usr/share/fonts/misc").
[ 16841.252] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/TTF".
[ 16841.252] 	Entry deleted from font path.
[ 16841.252] 	(Run 'mkfontdir' on "/usr/share/fonts/TTF").
[ 16841.252] (WW) The directory "/usr/share/fonts/OTF" does not exist.
[ 16841.252] 	Entry deleted from font path.
[ 16841.252] (WW) The directory "/usr/share/fonts/Type1" does not exist.
[ 16841.252] 	Entry deleted from font path.
[ 16841.252] (WW) The directory "/usr/share/fonts/100dpi" does not exist.
[ 16841.252] 	Entry deleted from font path.
[ 16841.252] (WW) The directory "/usr/share/fonts/75dpi" does not exist.
[ 16841.252] 	Entry deleted from font path.
[ 16841.252] (==) FontPath set to:
	
[ 16841.252] (==) ModulePath set to "/usr/lib/xorg/modules"
[ 16841.252] (II) The server relies on udev to provide the list of input devices.
	If no devices become available, reconfigure udev or disable AutoAddDevices.
[ 16841.252] (II) Module ABI versions:
[ 16841.252] 	X.Org ANSI C Emulation: 0.4
[ 16841.252] 	X.Org Video Driver: 25.2
[ 16841.252] 	X.Org XInput driver : 24.4
[ 16841.252] 	X.Org Server Extension : 10.0
[ 16841.253] (--) using VT number 7

[ 16841.253] (II) systemd-logind: logind integration requires -keeptty and -keeptty was not provided, disabling logind integration
[ 16841.254] (II) xfree86: Adding drm device (/dev/dri/card1)
[ 16841.254] (II) Platform probe for /sys/devices/pci0000:00/0000:00:02.0/drm/card1
[ 16841.257] (--) PCI: (1@0:0:0) 10de:0de9:1025:068b rev 161, Mem @ 0xd2000000/16777216, 0xa0000000/268435456, 0xb0000000/33554432, I/O @ 0x00004000/128, BIOS @ 0x????????/524288
[ 16841.257] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
[ 16841.257] (II) LoadModule: "glx"
[ 16841.258] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[ 16841.260] (II) Module glx: vendor="X.Org Foundation"
[ 16841.260] 	compiled for 1.21.1.13, module version = 1.0.0
[ 16841.260] 	ABI class: X.Org Server Extension, version 10.0
[ 16841.260] (II) LoadModule: "nvidia"
[ 16841.260] (II) Loading /usr/lib/xorg/modules/drivers/nvidia_drv.so
[ 16841.261] (II) Module nvidia: vendor="NVIDIA Corporation"
[ 16841.261] 	compiled for 4.0.2, module version = 1.0.0
[ 16841.261] 	Module class: X.Org Video Driver
[ 16841.261] (II) NVIDIA dlloader X Driver  390.157  Wed Oct 12 09:21:41 UTC 2022
[ 16841.261] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
[ 16841.261] (EE) No devices detected.
[ 16841.261] (EE) 
Fatal server error:
[ 16841.261] (EE) no screens found(EE) 
[ 16841.261] (EE) 
Please consult the The X.Org Foundation support 
	 at http://wiki.x.org
 for help. 
[ 16841.261] (EE) Please also check the log file at "/var/log/Xorg.8.log" for additional information.
[ 16841.261] (EE) 
[ 16841.261] (EE) Server terminated with error (1). Closing log file.

Same (actually…timestamps don’t even change…) if I uncomment the BusID in the nouveau conf (which happened to match nvidia’s ID in the lspci output).

Sorry for the flood nepti. Not sure what else to try after the above. Would appreciate some guidance for this particular scenario.

Please stop flooding the entire thread.
Edit your previous post if no one has replied yet.
Thanks.

3 Likes

First I read your garuda-inxi and then I had a lot of question marks over my head. When I then read your initial text and realized what you were actually planning, everything became clear to me.

I won’t go into a single point of your problems, because none of them is a garuda issue or is officially supported by Garuda Linux - my time is too valuable for that.


My advice: Replace win7 with garuda and test whether everything works as you imagine. Then you will get help here.

Or you can buy a USB stick/external HDD with more storage space and INSTALL garuda on it. Another option would be dual boot with Windows on the internal HDD (neither is officially supported by Garuda Linux).

You are on your own with this one, but maybe someone will jump in here. Good luck.

1 Like

Everything has been said here, so it’s closed.

Happy holidays and good luck in the new year.

BTW. This forum is not a general technical support forum.