Graphics processor set to llvmpipe instead of nvidia


specs:
GPU: GT 730, 470xx drivers installed from AUR
CPU: i3 2nd gen intel

context: nvidia drivers randomly stopped working, currently running mesa graphics, i tried updating everything including recompiling the graphics driver but i still cant fix this, can someone please help?

Please show the outputs of the following:

cat /etc/pacman.conf
pacman -Q | grep -A 0 -E "(nvidia|nouv|mesa|amd|intel)"
inxi -Fxxc0z

hey sorry for the late reply, heres the output

[eight@eightpc ~]$ cat /etc/pacman.conf
#
# /etc/pacman.conf
#
# See the pacman.conf(5) manpage for option and repository directives

#
# GENERAL OPTIONS
#
[options]
# The following paths are commented out with their default values listed.
# If you wish to use different paths, uncomment and update the paths.
#RootDir     = /
#DBPath      = /var/lib/pacman/
#CacheDir    = /var/cache/pacman/pkg/
#LogFile     = /var/log/pacman.log
#GPGDir      = /etc/pacman.d/gnupg/
#HookDir     = /etc/pacman.d/hooks/
HoldPkg     = pacman glibc dracut kernel-install-for-dracut eos-dracut
#XferCommand = /usr/bin/curl -L -C - -f -o %o %u
#XferCommand = /usr/bin/wget --passive-ftp -c -O %o %u
#CleanMethod = KeepInstalled
Architecture = auto

# Pacman won't upgrade packages listed in IgnorePkg and members of IgnoreGroup
#IgnorePkg   =
#IgnoreGroup =

#NoUpgrade   =
#NoExtract   =

# Misc options
#UseSyslog
Color
ILoveCandy
#NoProgressBar
#CheckSpace
VerbosePkgLists
ParallelDownloads = 5

# By default, pacman accepts packages signed by keys that its local keyring
# trusts (see pacman-key and its man page), as well as unsigned packages.
SigLevel    = Required DatabaseOptional
LocalFileSigLevel = Optional
#RemoteFileSigLevel = Required

# NOTE: You must run `pacman-key --init` before first using pacman; the local
# keyring can then be populated with the keys of all official Arch Linux
# packagers with `pacman-key --populate archlinux`.

#
# REPOSITORIES
#   - can be defined here or included from another file
#   - pacman will search repositories in the order defined here
#   - local/custom mirrors can be added here or in separate files
#   - repositories listed first will take precedence when packages
#     have identical names, regardless of version number
#   - URLs will have $repo replaced by the name of the current repo
#   - URLs will have $arch replaced by the name of the architecture
#
# Repository entries are of the format:
#       [repo-name]
#       Server = ServerName
#       Include = IncludePath
#
# The header [repo-name] is crucial - it must be present and
# uncommented to enable the repo.
#

# The testing repositories are disabled by default. To enable, uncomment the
# repo name header and Include lines. You can add preferred servers immediately
# after the header, and they will be used before the default mirrors.

[endeavouros]
SigLevel = PackageRequired
Include = /etc/pacman.d/endeavouros-mirrorlist

#[core-testing]
#Include = /etc/pacman.d/mirrorlist

[core]
Include = /etc/pacman.d/mirrorlist

#[extra-testing]
#Include = /etc/pacman.d/mirrorlist

[extra]
Include = /etc/pacman.d/mirrorlist

# If you want to run 32 bit applications on your x86_64 system,
# enable the multilib repositories as required here.

#[multilib-testing]
#Include = /etc/pacman.d/mirrorlist

[multilib]
Include = /etc/pacman.d/mirrorlist

# An example of a custom package repository.  See the pacman manpage for
# tips on creating your own repositories.
#[custom]
#SigLevel = Optional TrustAll
#Server = file:///home/custompkgs

[eight@eightpc ~]$ pacman -Q | grep -A 0 -E "(nvidia|nouv|mesa|amd|intel)"
intel-oneapi-common 2024.1.0-1
intel-oneapi-compiler-dpcpp-cpp-runtime-libs 2024.1.0-1
intel-oneapi-compiler-shared-runtime 2024.1.0-1
intel-oneapi-compiler-shared-runtime-libs 2024.1.0-1
intel-oneapi-openmp 2024.1.0-1
intel-oneapi-tbb 2021.12.0-2
intel-oneapi-tcm 1.0.1-3
intel-ucode 20241112-1
--
lib32-mesa 1:24.2.7-1
--
lib32-nvidia-470xx-utils 470.256.02-1
--
mesa 1:24.2.7-1
mesa-utils 9.0.0-5
--
nvidia-470xx-dkms 470.256.02-7
nvidia-470xx-settings 470.256.02-3
nvidia-470xx-utils 470.256.02-7
--
opencl-nvidia-470xx 470.256.02-7

[eight@eightpc ~]$ inxi -Fxxc0z
System:
  Kernel: 6.12.1-arch1-1 arch: x86_64 bits: 64 compiler: gcc v: 14.2.1
  Desktop: KDE Plasma v: 6.2.4 tk: Qt v: N/A wm: kwin_x11 dm: 1: LightDM
    note: stopped 2: SDDM Distro: EndeavourOS base: Arch Linux
Machine:
  Type: Desktop Mobo: N/A model: N/A serial: <superuser required>
    UEFI: American Megatrends v: 4.6.5 date: 07/16/2015
CPU:
  Info: dual core model: Intel Core i3-2120 bits: 64 type: MT MCP
    arch: Sandy Bridge rev: 7 cache: L1: 128 KiB L2: 512 KiB L3: 3 MiB
  Speed (MHz): avg: 2839 min/max: 1600/3300 cores: 1: 2839 2: 2839 3: 2839
    4: 2839 bogomips: 26350
  Flags: avx ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3
Graphics:
  Device-1: NVIDIA GK208B [GeForce GT 730] vendor: Gigabyte driver: nvidia
    v: 470.256.02 arch: Kepler-2 pcie: speed: 5 GT/s lanes: 8 bus-ID: 01:00.0
    chip-ID: 10de:1287
  Display: x11 server: X.Org v: 21.1.14 with: Xwayland v: 24.1.4
    compositor: kwin_x11 driver: X: loaded: N/A failed: nvidia gpu: nvidia
    display-ID: :0 screens: 1
  Screen-1: 0 s-res: 1920x1080 s-dpi: 92
  Monitor-1: Unknown-1 mapped: HDMI-0 res: 1920x1080 dpi: 93
  API: EGL v: 1.5 platforms: device: 0 drv: nvidia device: 1 drv: swrast
    surfaceless: drv: swrast x11: drv: nvidia inactive: gbm,wayland
  API: OpenGL v: 4.6.0 compat-v: 4.5 vendor: mesa v: 24.2.7-arch1.1
    glx-v: 1.4 direct-render: yes renderer: llvmpipe (LLVM 18.1.8 256 bits)
    device-ID: ffffffff:ffffffff
  API: Vulkan v: 1.3.295 surfaces: xcb,xlib device: 0 type: discrete-gpu
    driver: nvidia device-ID: 10de:1287
Audio:
  Device-1: Intel 6 Series/C200 Series Family High Definition Audio
    driver: snd_hda_intel v: kernel bus-ID: 00:1b.0 chip-ID: 8086:1c20
  Device-2: NVIDIA GK208 HDMI/DP Audio vendor: Gigabyte
    driver: snd_hda_intel v: kernel pcie: speed: 5 GT/s lanes: 8 bus-ID: 01:00.1
    chip-ID: 10de:0e0f
  API: ALSA v: k6.12.1-arch1-1 status: kernel-api
  Server-1: PipeWire v: 1.2.7 status: active with: 1: pipewire-pulse
    status: active 2: wireplumber status: active 3: pipewire-alsa type: plugin
    4: pw-jack type: plugin
Network:
  Device-1: Realtek RTL810xE PCI Express Fast Ethernet driver: r8169 v: kernel
    pcie: speed: 2.5 GT/s lanes: 1 port: d000 bus-ID: 03:00.0 chip-ID: 10ec:8136
  IF: enp3s0 state: down mac: <filter>
  Device-2: TP-Link TL-WN823N v2/v3 [Realtek RTL8192EU] driver: rtl8xxxu
    type: USB rev: 2.1 speed: 480 Mb/s lanes: 1 bus-ID: 2-1.2:6
    chip-ID: 2357:0109
  IF: wlan0 state: up mac: <filter>
Bluetooth:
  Device-1: Cambridge Silicon Radio Bluetooth Dongle (HCI mode) driver: btusb
    v: 0.8 type: USB rev: 2.0 speed: 12 Mb/s lanes: 1 bus-ID: 2-1.6:5
    chip-ID: 0a12:0001
  Report: btmgmt ID: hci0 rfk-id: 0 state: up address: <filter> bt-v: 4.0
    lmp-v: 6
Drives:
  Local Storage: total: 931.52 GiB used: 365.3 GiB (39.2%)
  ID-1: /dev/sda vendor: Western Digital model: WD5000AAKX-221CA1
    size: 465.76 GiB speed: 3.0 Gb/s serial: <filter>
  ID-2: /dev/sdb vendor: HGST (Hitachi) model: HCC545050A7E380
    size: 465.76 GiB type: USB rev: 2.1 spd: 480 Mb/s lanes: 1 speed: <unknown>
    serial: <filter>
Partition:
  ID-1: / size: 447.73 GiB used: 365.12 GiB (81.5%) fs: ext4 dev: /dev/sda2
Swap:
  ID-1: swap-1 type: partition size: 8.8 GiB used: 0 KiB (0.0%) priority: -2
    dev: /dev/sda3
Sensors:
  System Temperatures: cpu: 43.0 C mobo: N/A gpu: nvidia temp: 42 C
  Fan Speeds (rpm): N/A gpu: nvidia fan: 33%
Info:
  Memory: total: 16 GiB available: 15.58 GiB used: 3.17 GiB (20.3%)
  Processes: 194 Power: uptime: 49m wakeups: 0 Init: systemd v: 256
    default: graphical
  Packages: pm: pacman pkgs: 1453 Compilers: clang: 18.1.8 gcc: 14.2.1
    Shell: Bash v: 5.2.37 running-in: konsole inxi: 3.3.36

Do you have the LTS kernel? What’s the output of:

pacman -Q | grep -A 0 -E "(linux|headers)"

Based on your system, it looks like you should be using LTS everything, really.

I’d recommend you install and use the LTS kernel, then run whatever the Dracut versions of sudo mkinitcpio -P is, and reboot into the LTS kernel.

  • sudo pacman -Syu linux-lts
  • Run Dracut’s module update command (You should know what that is)
  • Reboot into LTS kernel
[eight@eightpc ~]$ pacman -Q | grep -A 0 -E "(linux|headers)"
archlinux-keyring 20241015-1
--
enum4linux 0.9.1-1
--
lib32-util-linux 2.40.2-1
--
linux 6.12.1.arch1-1
linux-api-headers 6.10-1
linux-firmware 20241111.b5885ec5-1
linux-firmware-whence 20241111.b5885ec5-1
linux-headers 6.12.1.arch1-1
--
util-linux 2.40.2-1
util-linux-libs 2.40.2-1
--
vulkan-headers 1:1.3.295-1

sorry i am not really sure what is the LTS kernel, but i realized something, vkcube works just fine and uses my gpu, so does opencl, i think the issue might be with Opengl not using my GPU

Update:
referring to
https://bbs.archlinux.org/viewtopic.php?id=260165
https://bbs.archlinux.org/viewtopic.php?pid=1921002#p1921002
i found out that my xorg.conf file was misconfigured
it lacked the following:

Section "Files"
    ModulePath "/usr/lib/nvidia/xorg"
    ModulePath "/usr/lib/xorg/modules"
EndSection

now everything works just fine after appending that to the file

1 Like

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