Steam Using llvmpipe not NVidia 340  [Solved]

Message
Author
User avatar
mxnooby001
Posts: 4
Joined: Tue Feb 13, 2024 7:03 pm

Steam Using llvmpipe not NVidia 340

#1 Post by mxnooby001 »

Greetings.
Linux nooby here. Tried other linux distros, and was able to get my laptop to play steam games on them, but now trying MX, I cannot. Games, like Civ 6, state the graphics card being used is llvmpipe, not my NVidia GTX 560 M. From what I gather from Googling, this is a failsafe loading a verybasic driver, and not the NVidia driver, sort of like the Nouveau issue I've encountered on other distros. Older laptop graphics card, I know, but is capable of playing my games on low graphics modes on other linux distros and Windows. Tried to install the 390 drivers and then the 340 drivers. Neither solved my issue, and I can't find a solution via Googling. Every diagnostic I google to run looks to me like I got the 340 drivers running alright. Any help is appreciated.

Posting diagnostics I've ran below to help troubleshoot.

$ glxinfo | grep OpenGL
OpenGL vendor string: NVIDIA Corporation
OpenGL renderer string: GeForce GTX 560M/PCIe/SSE2
OpenGL core profile version string: 4.4.0 NVIDIA 340.108
OpenGL core profile shading language version string: 4.40 NVIDIA via Cg compiler
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile
OpenGL core profile extensions:
OpenGL version string: 4.4.0 NVIDIA 340.108
OpenGL shading language version string: 4.40 NVIDIA via Cg compiler
OpenGL context flags: (none)
OpenGL profile mask: (none)
OpenGL extensions:
OpenGL ES profile version string: OpenGL ES 3.1 NVIDIA 340.108 340.108
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.10
OpenGL ES profile extensions:

$ lspci -nn | grep -i vga
01:00.0 VGA compatible controller [0300]: NVIDIA Corporation GF116M [GeForce GT 560M] [10de:1251] (rev a1)

$ inxi -G
Graphics:
Device-1: NVIDIA GF116M [GeForce GT 560M] driver: nvidia v: 340.108
Display: x11 server: X.Org v: 1.21.1.7 driver: X: loaded: nvidia
unloaded: fbdev,modesetting,nouveau,vesa gpu: nvidia
resolution: 1920x1080~60Hz
API: OpenGL v: 4.4.0 NVIDIA 340.108 renderer: GeForce GTX 560M/PCIe/SSE2

$ nvidia-smi
Tue Feb 13 15:59:31 2024
+------------------------------------------------------+
| NVIDIA-SMI 340.108 Driver Version: 340.108 |
|-------------------------------+----------------------+----------------------+
| 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 GTX 560M Off | 0000:01:00.0 N/A | N/A |
| N/A 43C P12 N/A / N/A | 118MiB / 1535MiB | N/A Default |
+-------------------------------+----------------------+----------------------+

+-----------------------------------------------------------------------------+
| Compute processes: GPU Memory |
| GPU PID Process name Usage |
|=============================================================================|
| 0 Not Supported |
+-----------------------------------------------------------------------------+

Code: Select all

System:
  Kernel: 6.1.0-18-amd64 [6.1.76-1] arch: x86_64 bits: 64 compiler: gcc v: 12.2.0
    parameters: BOOT_IMAGE=/vmlinuz-6.1.0-18-amd64 root=UUID=<filter> ro quiet splash
  Desktop: Xfce v: 4.18.1 tk: Gtk v: 3.24.36 info: xfce4-panel wm: xfwm v: 4.18.0 vt: 7
    dm: LightDM v: 1.26.0 Distro: MX-23.2_x64 Libretto January 21  2024 base: Debian GNU/Linux 12
    (bookworm)
Machine:
  Type: Laptop System: Micro-Star product: GT680R/GX680R/GT683R/GT683DXR/GT685R/GT687R/GX660DXR
    v: N/A serial: <superuser required> Chassis: Micro-Star International type: 10
    serial: <superuser required>
  Mobo: Micro-Star model: MS-16F2 serial: <superuser required> BIOS: American Megatrends
    v: E16F2IMS V3.0Z date: 04/06/2012
CPU:
  Info: model: Intel Core i7-2630QM 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: 4 tpc: 2 threads: 8 smt: enabled cache: L1: 256 KiB
    desc: d-4x32 KiB; i-4x32 KiB L2: 1024 KiB desc: 4x256 KiB L3: 6 MiB desc: 1x6 MiB
  Speed (MHz): avg: 1100 high: 1255 min/max: 800/2900 scaling: driver: intel_cpufreq
    governor: ondemand cores: 1: 1209 2: 1255 3: 1005 4: 1198 5: 1077 6: 1036 7: 1054 8: 971
    bogomips: 31929
  Flags: avx ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
  Vulnerabilities:
  Type: gather_data_sampling status: Not affected
  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: mmio_stale_data status: Unknown: No mitigations
  Type: retbleed status: Not affected
  Type: spec_rstack_overflow status: Not affected
  Type: spec_store_bypass mitigation: Speculative Store Bypass disabled via prctl
  Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer sanitization
  Type: spectre_v2 mitigation: Retpolines, IBPB: conditional, IBRS_FW, STIBP: conditional, RSB
    filling, PBRSB-eIBRS: Not affected
  Type: srbds status: Not affected
  Type: tsx_async_abort status: Not affected
Graphics:
  Device-1: NVIDIA GF116M [GeForce GT 560M] vendor: Micro-Star MSI driver: nvidia v: 340.108
    non-free: series: 390.xx+ status: legacy-active (EOL~late 2022) arch: Fermi code: GF1xx
    process: 40/28nm built: 2010-16 pcie: gen: 2 speed: 5 GT/s lanes: 16 bus-ID: 01:00.0
    chip-ID: 10de:1251 class-ID: 0300
  Display: x11 server: X.Org v: 1.21.1.7 compositor: xfwm v: 4.18.0 driver: X: loaded: nvidia
    unloaded: fbdev,modesetting,nouveau,vesa alternate: nv gpu: nvidia 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: LVDS-0 res: 1920x1080 hz: 60 dpi: 141 size: 345x194mm (13.58x7.64")
    diag: 396mm (15.58") modes: N/A
  API: OpenGL v: 4.4.0 NVIDIA 340.108 renderer: GeForce GTX 560M/PCIe/SSE2 direct-render: Yes
Audio:
  Device-1: Intel 6 Series/C200 Series Family High Definition Audio vendor: Micro-Star MSI 6
    driver: snd_hda_intel v: kernel bus-ID: 00:1b.0 chip-ID: 8086:1c20 class-ID: 0403
  Device-2: NVIDIA GF116 High Definition Audio vendor: Micro-Star MSI driver: snd_hda_intel
    v: kernel pcie: gen: 2 speed: 5 GT/s lanes: 16 bus-ID: 01:00.1 chip-ID: 10de:0bee class-ID: 0403
  API: ALSA v: k6.1.0-18-amd64 status: kernel-api tools: alsamixer,amixer
  Server-1: PipeWire v: 1.0.0 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: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet vendor: Micro-Star MSI
    driver: r8169 v: kernel pcie: gen: 1 speed: 2.5 GT/s lanes: 1 port: d000 bus-ID: 02:00.0
    chip-ID: 10ec:8168 class-ID: 0200
  IF: eth0 state: down mac: <filter>
  Device-2: Intel Centrino Wireless-N 130 driver: iwlwifi v: kernel modules: wl pcie: gen: 1
    speed: 2.5 GT/s lanes: 1 bus-ID: 03:00.0 chip-ID: 8086:0896 class-ID: 0280
  IF: wlan0 state: up mac: <filter>
Drives:
  Local Storage: total: 5.46 TiB used: 55.51 GiB (1.0%)
  SMART Message: Unable to run smartctl. Root privileges required.
  ID-1: /dev/sda maj-min: 8:0 vendor: Western Digital model: WD5000BPKT-22PK4T0 size: 465.76 GiB
    block-size: physical: 4096 B logical: 512 B speed: 3.0 Gb/s type: HDD rpm: 7200 serial: <filter>
    rev: 1A01 scheme: MBR
  ID-2: /dev/sdb maj-min: 8:16 vendor: Western Digital model: WD5000BPKT-22PK4T0 size: 465.76 GiB
    block-size: physical: 4096 B logical: 512 B speed: 3.0 Gb/s type: HDD rpm: 7200 serial: <filter>
    rev: 1A01 scheme: MBR
  ID-3: /dev/sdc maj-min: 8:32 type: USB vendor: Seagate model: Expansion Desk size: 4.55 TiB
    block-size: physical: 4096 B logical: 512 B type: N/A serial: <filter> rev: 9401 scheme: GPT
Partition:
  ID-1: / raw-size: 464.74 GiB size: 456.38 GiB (98.20%) used: 55.32 GiB (12.1%) fs: ext4
    dev: /dev/dm-0 maj-min: 253:0 mapped: luks-<filter>
  ID-2: /boot raw-size: 1024 MiB size: 973.4 MiB (95.06%) used: 191.1 MiB (19.6%) fs: ext4
    dev: /dev/sdb1 maj-min: 8:17
Swap:
  Kernel: swappiness: 15 (default 60) cache-pressure: 100 (default)
  ID-1: swap-1 type: file size: 3 GiB used: 0 KiB (0.0%) priority: -2 file: /swap/swap
Sensors:
  System Temperatures: cpu: 51.0 C mobo: N/A gpu: nvidia temp: 55 C
  Fan Speeds (RPM): N/A
Repos:
  Packages: 2182 pm: dpkg pkgs: 2167 libs: 1135 tools: apt,apt-get,aptitude,nala,synaptic pm: rpm
    pkgs: 0 pm: flatpak pkgs: 15
  No active apt repos in: /etc/apt/sources.list
  Active apt repos in: /etc/apt/sources.list.d/debian-stable-updates.list
    1: deb http://deb.debian.org/debian bookworm-updates main contrib non-free non-free-firmware
  Active apt repos in: /etc/apt/sources.list.d/debian.list
    1: deb http://deb.debian.org/debian bookworm main contrib non-free non-free-firmware
    2: deb http://security.debian.org/debian-security bookworm-security main contrib non-free non-free-firmware
  Active apt repos in: /etc/apt/sources.list.d/mx.list
    1: deb http://la.mxrepo.com/mx/repo/ bookworm main non-free
Info:
  Processes: 266 Uptime: 30m wakeups: 2 Memory: 11.66 GiB used: 3.22 GiB (27.6%) Init: SysVinit
  v: 3.06 runlevel: 5 default: graphical tool: systemctl Compilers: gcc: 12.2.0 alt: 12
  Client: shell wrapper v: 5.2.15-release inxi: 3.3.26
Boot Mode: BIOS (legacy, CSM, MBR)

User avatar
mxnooby001
Posts: 4
Joined: Tue Feb 13, 2024 7:03 pm

Re: Steam Using llvmpipe not NVidia 340

#2 Post by mxnooby001 »

Here is what I see for GPU selection within games (see attachment).
You do not have the required permissions to view the files attached to this post.

User avatar
mxnooby001
Posts: 4
Joined: Tue Feb 13, 2024 7:03 pm

Re: Steam Using llvmpipe not NVidia 340

#3 Post by mxnooby001 »

Update:
Did a lot more googling, found out there was a way to see system information within steam and using that, I saw it was Steam not seeing my graphics card. Everything looks correct outside steam. That, and more googling, led me to posts saying the Flatpack install of steam has this issue. Uninstalled everything from Flatpack and currently reinstalling through the mx package installer. Will see if this resolves the issue.

User avatar
mxnooby001
Posts: 4
Joined: Tue Feb 13, 2024 7:03 pm

Re: Steam Using llvmpipe not NVidia 340  [Solved]

#4 Post by mxnooby001 »

Not sure how I can mark this solved. Tested with new steam, downloaded by the provided package manager, instead of Flatpack, and everything works. Issue was entirely related to Flatpack, not MX. On a side note, MX has the best installation method for Nvidia drivers I have used of any distro I've tried thus far. Kudos to the development team.

User avatar
Eadwine Rose
Administrator
Posts: 15243
Joined: Wed Jul 12, 2006 2:10 am

Re: Steam Using llvmpipe not NVidia 340

#5 Post by Eadwine Rose »

Glad you got it sorted out!
MX-23.6_x64 July 31 2023 * 6.1.0-39amd64 ext4 Xfce 4.20.0 * 8-core AMD Ryzen 7 2700
Asus TUF B450-Plus Gaming UEFI * Asus GTX 1050 Ti Nvidia 535.247.01 * 2x16Gb DDR4 2666 Kingston HyperX Predator
Samsung 870EVO * Samsung S24D330 & P2250 * HP Envy 5030

Post Reply

Return to “Hardware /Configuration”