Incorrect Graphics driver - llvmpipe

After installing wayland. I followed a garuda post for that. My nvidia gpu is not showing up I tried what is stated here [SOLVED] Update made system use llvmpipe instead of Nvidia / Newbie Corner / Arch Linux Forums but no luck an i feel its more for x11.

System:
Kernel: 6.5.8-zen1-1-zen arch: x86_64 bits: 64 compiler: gcc v: 13.2.1
clocksource: tsc available: hpet,acpi_pm
parameters: BOOT_IMAGE=/@/boot/vmlinuz-linux-zen
root=UUID=2c314f01-6930-43e5-ae20-9cbddce1a512 rw rootflags=subvol=@
quiet quiet rd.udev.log_priority=3 vt.global_cursor_default=0 loglevel=3
ibt=off
Desktop: KDE Plasma v: 5.27.9 tk: Qt v: 5.15.11 wm: kwin_wayland vt: 1
dm: SDDM Distro: Garuda Linux base: Arch Linux
Machine:
Type: Desktop Mobo: ASUSTeK model: PRIME X570-PRO v: Rev X.0x
serial: <superuser required> UEFI: American Megatrends v: 4802
date: 06/15/2023
Battery:
Device-1: sony_controller_battery_00:06:f5:61:f4:b7 model: N/A serial: N/A
charge: N/A status: N/A
CPU:
Info: model: AMD Ryzen 7 3700X bits: 64 type: MT MCP arch: Zen 2 gen: 3
level: v3 note: check built: 2020-22 process: TSMC n7 (7nm)
family: 0x17 (23) model-id: 0x71 (113) stepping: 0 microcode: 0x8701030
Topology: cpus: 1x cores: 8 tpc: 2 threads: 16 smt: enabled cache:
L1: 512 KiB desc: d-8x32 KiB; i-8x32 KiB L2: 4 MiB desc: 8x512 KiB
L3: 32 MiB desc: 2x16 MiB
Speed (MHz): avg: 4114 high: 4125 min/max: 2200/4426 boost: enabled
scaling: driver: acpi-cpufreq governor: performance cores: 1: 4124 2: 4124
3: 4084 4: 4086 5: 4124 6: 4125 7: 4125 8: 4125 9: 4084 10: 4084 11: 4125
12: 4125 13: 4124 14: 4125 15: 4125 16: 4125 bogomips: 115199
Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm
Vulnerabilities: <filter>
Graphics:
Device-1: NVIDIA GM204 [GeForce GTX 980] vendor: Gigabyte driver: nvidia
v: 535.113.01 alternate: nouveau,nvidia_drm non-free: 535.xx+
status: current (as of 2023-09) arch: Maxwell code: GMxxx
process: TSMC 28nm built: 2014-19 pcie: gen: 1 speed: 2.5 GT/s lanes: 16
link-max: gen: 3 speed: 8 GT/s bus-ID: 0a:00.0 chip-ID: 10de:13c0
class-ID: 0300
Display: wayland server: X.org v: 1.21.1.8 with: Xwayland v: 23.2.1
compositor: kwin_wayland driver: X: loaded: nvidia gpu: nvidia display-ID: 0
Monitor-1: Unknown-1 res: 3440x1440 size: N/A modes: N/A
API: EGL Message: No EGL data available.
API: OpenGL v: 4.5 vendor: mesa v: 23.2.1-arch1.2 glx-v: 1.4 es-v: 3.2
direct-render: yes renderer: llvmpipe (LLVM 16.0.6 256 bits)
device-ID: ffffffff:ffffffff memory: 15.16 GiB unified: yes
display-ID: :1.0
API: Vulkan v: 1.3.264 layers: 14 device: 0 type: discrete-gpu
name: NVIDIA GeForce GTX 980 driver: nvidia v: 535.113.01
device-ID: 10de:13c0 surfaces: xcb,xlib,wayland device: 1 type: cpu
name: llvmpipe (LLVM 16.0.6 256 bits) driver: mesa llvmpipe
v: 23.2.1-arch1.2 (LLVM 16.0.6) device-ID: 10005:0000
surfaces: xcb,xlib,wayland
Audio:
Device-1: NVIDIA GM204 High Definition Audio vendor: Gigabyte
driver: snd_hda_intel v: kernel pcie: gen: 3 speed: 8 GT/s lanes: 16
bus-ID: 0a:00.1 chip-ID: 10de:0fbb class-ID: 0403
Device-2: AMD Starship/Matisse HD Audio vendor: ASUSTeK
driver: snd_hda_intel v: kernel pcie: gen: 4 speed: 16 GT/s lanes: 16
bus-ID: 0c:00.4 chip-ID: 1022:1487 class-ID: 0403
Device-3: Texas Instruments PCM2900C Audio CODEC
driver: hid-generic,snd-usb-audio,usbhid type: USB rev: 2.0 speed: 12 Mb/s
lanes: 1 mode: 1.1 bus-ID: 1-2:3 chip-ID: 08bb:29c0 class-ID: 0300
API: ALSA v: k6.5.8-zen1-1-zen status: kernel-api with: aoss
type: oss-emulator tools: N/A
Server-1: PipeWire v: 0.3.83 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: Intel Wireless 7260 driver: iwlwifi v: kernel pcie: gen: 1
speed: 2.5 GT/s lanes: 1 bus-ID: 05:00.0 chip-ID: 8086:08b1 class-ID: 0280
IF: wlp5s0 state: down mac: <filter>
Device-2: Intel I211 Gigabit Network vendor: ASUSTeK driver: igb v: kernel
pcie: gen: 1 speed: 2.5 GT/s lanes: 1 port: f000 bus-ID: 06:00.0
chip-ID: 8086:1539 class-ID: 0200
IF: enp6s0 state: up speed: 1000 Mbps duplex: full mac: <filter>
Bluetooth:
Device-1: Intel Bluetooth wireless interface driver: btusb v: 0.8 type: USB
rev: 2.0 speed: 12 Mb/s lanes: 1 mode: 1.1 bus-ID: 3-6:5 chip-ID: 8087:07dc
class-ID: e001
Report: btmgmt ID: hci0 rfk-id: 0 state: up address: <filter> bt-v: 4.0
lmp-v: 6 status: discoverable: no pairing: no class-ID: 7c0104
Drives:
Local Storage: total: 4.68 TiB used: 2.5 TiB (53.4%)
SMART Message: Unable to run smartctl. Root privileges required.
ID-1: /dev/nvme0n1 maj-min: 259:4 vendor: Western Digital
model: WD BLACK SN770 2TB size: 1.82 TiB block-size: physical: 512 B
logical: 512 B speed: 63.2 Gb/s lanes: 4 tech: SSD serial: <filter>
fw-rev: 731100WD temp: 42.9 C scheme: GPT
ID-2: /dev/nvme1n1 maj-min: 259:0 vendor: HP model: SSD EX920 1TB
size: 953.87 GiB block-size: physical: 512 B logical: 512 B speed: 31.6 Gb/s
lanes: 4 tech: SSD serial: <filter> fw-rev: 32A0T2IA temp: 40.9 C
scheme: GPT
ID-3: /dev/sda maj-min: 8:0 vendor: OCZ model: VERTEX3 size: 111.79 GiB
block-size: physical: 512 B logical: 512 B speed: 6.0 Gb/s tech: SSD
serial: <filter> fw-rev: 2.22 scheme: GPT
ID-4: /dev/sdb maj-min: 8:16 vendor: Western Digital
model: WD20EZAZ-00L9GB0 size: 1.82 TiB block-size: physical: 4096 B
logical: 512 B speed: 6.0 Gb/s tech: HDD rpm: 5400 serial: <filter>
fw-rev: 0A80 scheme: GPT
Partition:
ID-1: / raw-size: 1.03 TiB size: 1.03 TiB (100.00%) used: 591.17 GiB (55.8%)
fs: btrfs dev: /dev/nvme0n1p13 maj-min: 259:13
ID-2: /boot/efi raw-size: 498 MiB size: 497 MiB (99.80%)
used: 337.6 MiB (67.9%) fs: vfat dev: /dev/nvme0n1p1 maj-min: 259:5
ID-3: /home raw-size: 1.03 TiB size: 1.03 TiB (100.00%)
used: 591.17 GiB (55.8%) fs: btrfs dev: /dev/nvme0n1p13 maj-min: 259:13
ID-4: /var/log raw-size: 1.03 TiB size: 1.03 TiB (100.00%)
used: 591.17 GiB (55.8%) fs: btrfs dev: /dev/nvme0n1p13 maj-min: 259:13
ID-5: /var/tmp raw-size: 1.03 TiB size: 1.03 TiB (100.00%)
used: 591.17 GiB (55.8%) fs: btrfs dev: /dev/nvme0n1p13 maj-min: 259:13
Swap:
Kernel: swappiness: 133 (default 60) cache-pressure: 100 (default) zswap: no
ID-1: swap-1 type: zram size: 15.53 GiB used: 1.25 GiB (8.0%)
priority: 100 comp: zstd avail: lzo,lzo-rle,lz4,lz4hc,842 max-streams: 16
dev: /dev/zram0
ID-2: swap-2 type: partition size: 9.79 GiB used: 0 KiB (0.0%)
priority: -2 dev: /dev/nvme0n1p4 maj-min: 259:8
Sensors:
System Temperatures: cpu: 58.0 C mobo: 37.0 C
Fan Speeds (rpm): fan-1: 906 fan-2: 2504 fan-3: 900 fan-4: 881 fan-5: 0
fan-6: 0 fan-7: 0
Info:
Processes: 362 Uptime: 23m wakeups: 2 Memory: total: 16 GiB
available: 15.53 GiB used: 6.83 GiB (44.0%) Init: systemd v: 254
default: graphical tool: systemctl Compilers: gcc: 13.2.1 alt: 12
clang: 16.0.6 Packages: pm: pacman pkgs: 2163 libs: 593
tools: octopi,pamac,paru Shell: fish v: 3.6.1 default: Bash v: 5.1.16
running-in: konsole inxi: 3.3.30
Garuda (2.6.17-1):
System install date:     2023-10-09
Last full system update: 2023-10-24
Is partially upgraded:   No
Relevant software:       snapper NetworkManager dracut nvidia-dkms
Windows dual boot:       Probably (Run as root to verify)
Failed units:            fancontrol.service

glxinfo -B is showing

glxinfo -B
name of display: :1
display: :1  screen: 0
direct rendering: Yes
Extended renderer info (GLX_MESA_query_renderer):
Vendor: Mesa (0xffffffff)
Device: llvmpipe (LLVM 16.0.6, 256 bits) (0xffffffff)
Version: 23.2.1
Accelerated: no
Video memory: 15898MB
Unified memory: yes
Preferred profile: core (0x1)
Max core profile version: 4.5
Max compat profile version: 4.5
Max GLES1 profile version: 1.1
Max GLES[23] profile version: 3.2
Memory info (GL_ATI_meminfo):
VBO free memory - total: 31 MB, largest block: 31 MB
VBO free aux. memory - total: 10464 MB, largest block: 10464 MB
Texture free memory - total: 31 MB, largest block: 31 MB
Texture free aux. memory - total: 10464 MB, largest block: 10464 MB
Renderbuffer free memory - total: 31 MB, largest block: 31 MB
Renderbuffer free aux. memory - total: 10464 MB, largest block: 10464 MB
Memory info (GL_NVX_gpu_memory_info):
Dedicated video memory: 1375188 MB
Total available memory: 1391087 MB
Currently available dedicated video memory: 31 MB
OpenGL vendor string: Mesa
OpenGL renderer string: llvmpipe (LLVM 16.0.6, 256 bits)
OpenGL core profile version string: 4.5 (Core Profile) Mesa 23.2.1-arch1.2
OpenGL core profile shading language version string: 4.50
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile

OpenGL version string: 4.5 (Compatibility Profile) Mesa 23.2.1-arch1.2
OpenGL shading language version string: 4.50
OpenGL context flags: (none)
OpenGL profile mask: compatibility profile

OpenGL ES profile version string: OpenGL ES 3.2 Mesa 23.2.1-arch1.2
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20

honestly with waylend im not sure how to fix this other then everything running at 6 fps it works fine some random apps work at a normal frame rate but its rare.

Why am i wanting to run waylend well i was on nobara kde before an it works fine. other then a few graphical gliches on transparent windows every now an then. an its just the future. so any help would be appreciated.

Device-1: NVIDIA GM204 [GeForce GTX 980]

hmm , The card is in use
Can you please run the garuda assistant he is going to take care of the nvidia drivers

You mean the garuda-settings-manager, right?

sorry i mean the setup assistant

I think that’s not helpful.

Hardware, or as root nvidia-settings or mhwd -li in terminal.

Nvidia and wayland are often full of problems, for me.

2 Likes

Yeah KDE will implement wayland to be default so may is going to better , for now Xorg + nvidia is less problematic .

mhwd -li
> Installed PCI configs:
--------------------------------------------------------------------------------
NAME               VERSION          FREEDRIVER           TYPE
--------------------------------------------------------------------------------
video-linux            2021.08.29                true            PCI
video-nvidia-dkms            2023.01.15               false            PCI


Warning: No installed USB configs!

sudo nvidia-settings on wayland pops up like

An no worries i understood what you meant by assistant.
I ran it and it updated some valkan an wayland packages but zoomed by the nivida install part.
So sadly no help there.
Going into the garuda-settings-manager then hardware an reinstalling the nvidia dkms didnt help.

Finally got it to work following steps 1 -3 of this guide here How to Get Wayland to Work on Nvidia Graphics Cards - Make Tech Easier

3. Enable Direct Rendering Manager

Linux’s Direct Rendering Manager (DRM) allows the kernel to work with GPUs. For Nvidia and Wayland to get along, we have to make sure that the kernel uses Nvidia’s DRM mode setting within your bootloader’s kernel parameters:

  1. Edit your default GRUB configuration (again, always ensure a backup exists):

sudo nano /etc/default/grub

  1. Look for a line that starts with GRUB_CMDLINE_LINUX_DEFAULT. If it doesn’t exist (it won’t in Fedora, for example), create it to look like this: GRUB_CMDLINE_LINUX_DEFAULT="".
  2. Within the quotes, append the following:

nvidia-drm.modeset=1

Though I used garuda boot options to make the change here

3 Likes

I must have overlooked that, could you please post the link?

2 Likes

I thought this was the default in KDE wayland and

too.

~How to disable compositor on garuda dragonized


From this thread.

I’m not to sure but after adding it to grub an a restart it finally changed to the the nvidia gpu an works as good as wayland can atm. It might be cause im not using hyperland just normal dragonized. Just waiting for the blur rewrite from kde team and it will be perfect.

Might also be cause I changed something with grub at some point in dealing with windows.

1 Like

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.