this post was submitted on 30 Aug 2024
20 points (95.5% liked)

Linux

48372 readers
2438 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
 

Few days ago I did the weekly system update which included latest NVIDIA drivers. Everything went smoothly, no error messages, systems works as usual. Today I wanted to play some game and I noticed that the performance was horrible. This is what I found

lspci -k | grep -A 2 -E "(VGA|3D)"
00:02.0 VGA compatible controller: Intel Corporation Alder Lake-P GT2 [Iris Xe Graphics] (rev 0c)
        Subsystem: Dell Device 0aff
        Kernel driver in use: i915
--
01:00.0 VGA compatible controller: NVIDIA Corporation GA106M [GeForce RTX 3060 Mobile / Max-Q] (rev a1)
        Subsystem: Dell Device 0aff
        Kernel driver in use: nvidia

 
xrandr --listproviders            
Providers: number : 0

I've tried to reinstall drivers, and ran some fixes I found online but still no luck. Any ideas how to fix it?

update

Just remembered. After last drivers update I wasn't able to run any Steam game. I always got some directx error. Before I had no issues.

update 2

I'm on Fedora 40, currently I'm using drivers downloaded directly from NVIDIA website. Before that I was using whatever drivers from these repositories

dnf repolist
repo id                                                                repo name
fedora                                                                 Fedora 40 - x86_64
fedora-cisco-openh264                                                  Fedora 40 openh264 (From Cisco) - x86_64
nvidia-container-toolkit                                               nvidia-container-toolkit
protonvpn-fedora-stable                                                ProtonVPN Fedora Stable repository
rpmfusion-free                                                         RPM Fusion for Fedora 40 - Free
rpmfusion-free-updates                                                 RPM Fusion for Fedora 40 - Free - Updates
rpmfusion-nonfree                                                      RPM Fusion for Fedora 40 - Nonfree
rpmfusion-nonfree-updates                                              RPM Fusion for Fedora 40 - Nonfree - Updates
updates  

The only thing I remember related to messing with drivers was playing with podman containers accessing my gpu (nvidia-container-toolkit).

Currently I'm using driver version 550.107.02

you are viewing a single comment's thread
view the rest of the comments
[–] fart_pickle 1 points 3 months ago (1 children)

Installing drivers manually was the last resort. Before that I did the sudo dnf install akmod-nvidia.

[–] just_another_person 4 points 3 months ago (1 children)

This is what you should be using on Fedora. Though take note, after each kernel update, you need to allow the module some time to rebuild, then reboot to ensure it got loaded properly.

Try running:

'dnf reinstall kernel-modules'

then reboot. This will trigger a cascading rebuild of the kernel modules that get rebuilt on every kernel update.

[–] fart_pickle 1 points 3 months ago (1 children)

It didn't work. At this point I'm considering nuking the whole thing and start with the fresh system. If it won't work I will buy a Windows PC just for gaming.

[–] just_another_person 0 points 3 months ago (1 children)

Blacklist nouveau, install the akmod, you'll be fine

[–] fart_pickle 0 points 3 months ago (1 children)

Already did that. Didn't help.

[–] just_another_person 0 points 3 months ago (1 children)

Well then follow every single guide online that is telling you exactly what people here are telling you. Remove every single Nvidia package, disable secure boot, then reinstall.

[–] fart_pickle 0 points 3 months ago (1 children)

I did all those things before I asked a question.

[–] just_another_person -2 points 3 months ago

Then you've done something wrong. Revisit the steps, learn how to read 'dmesg' and debug. Show more logs.