You are not logged in.

#1 2025-01-18 18:51:50

iith4ahm
Member
Registered: 2021-01-11
Posts: 53

[SOLVED] Games and X11 not able to use GPU

It's like my computer isn't using my GPU. For example

X11

NVIDIA(GPU-1): Failed to initialize the NVIDIA graphics device!

Beyond All Reason

Exiting GPU process due to errors during initialization

0AD

WARNING: You are using 'llvmpipe (LLVM 19.1.6, 256 bits)' graphics driver, expect very poor performance! 

I've had this computer with this GT 640 and ArchLinux for years, but never tried to play 3D games before.

I tried switching to nouveau, but then I can't even start X

I tried moving the files in /etc/X11 so they wouldn't be found, but that didn't work

I don't think I have secure boot enabled.

> lsmod | grep nvidia
nvidia_drm             86016  0
nvidia_uvm           2797568  0
nvidia_modeset       1511424  4 nvidia_drm
nvidia              40759296  218 nvidia_uvm,nvidia_modeset
video                  81920  1 nvidia_modeset
> lspci -k | grep -A 2 -E "(VGA|3D)"
26:00.0 VGA compatible controller: NVIDIA Corporation GK107 [GeForce GT 640] (rev a1)
        Subsystem: eVga.com. Corp. Device 3645
        Kernel driver in use: nvidia

I installed nvidia with: (nvidia-470xx-dkms has a git clone url of nvidia-470xx-utils for some reason so that's what i did)

rm -R nvidia-470xx-utils/
git clone https://aur.archlinux.org/nvidia-470xx-utils.git
cd nvidia-470xx-utils/
makepkg -sirc

Thank you

Last edited by iith4ahm (2025-01-18 20:37:34)

Offline

#2 2025-01-18 19:46:47

cryptearth
Member
Registered: 2024-02-03
Posts: 2,094

Re: [SOLVED] Games and X11 not able to use GPU

as always - the wiki is your starting point: https://wiki.archlinux.org/title/NVIDIA

// personal opinion: when you upgrade that gpu - get an amd one

Last edited by cryptearth (2025-01-18 19:51:27)

Offline

#3 2025-01-18 20:37:13

iith4ahm
Member
Registered: 2021-01-11
Posts: 53

Re: [SOLVED] Games and X11 not able to use GPU

yep i just figured it out. the wiki indeed had the answer

https://wiki.archlinux.org/title/NVIDIA … de_setting

had to set nvidia_drm.modeset=1

Thank you

Offline

Board footer

Powered by FluxBB