#Switching Kernel Modules to nvidia-open [ABANDONED]

152 messages · Page 1 of 1 (latest)

maiden dirge
#

How would I compare the installed drivers of two different ssds on the same machine
more context:
I have two ssds for my laptop, I recently acquired a larger one which I'm daily driving, it's performance has been a lot less than my original ssd because of the different drivers they have installed
my original ssd used arch install which I believe provided more drivers than my current daily drive
I wanna compare the original drive to the new drive so I can boost my performance to that of my original ssd

lmk if anything needs clarifying

cinder agate
maiden dirge
#

ah, I missed a key point

cinder agate
#

the drivers are usually integrated in the kernel however, which is why i dont see why they would be different between Archinstall and non-Archinstall

maiden dirge
#

I'm mostly looking for Nvidia drivers

#

on my other install the archinstall script kinda grabbed them for me, and the performance on that ssd is much better than the performance on my current one

#

despite having the same hardware

cinder agate
#

nvidia drivers shouldnt affect SSD speed..

maiden dirge
#

no

#

my games performed better when I was using the original ssd because I had different drivers to the ones on my current ssd

#

this has nothing to do with the ssds themselves

#

it's about game performance and nvidia drivers

cinder agate
#

that could certainly be Nvidia however, yes. not sure why ssds were mentioned in the first place

#

anyways. use the lspci command and check driver in use for the GPU. would also preferably want to know which GPU you have

maiden dirge
#

I still feel like we're not entirely on the same page but yeah specs would be helpful

cinder agate
maiden dirge
#

basically kinda yes

cinder agate
#

right. its just this got very confusing when you mentioned SSD and drivers

maiden dirge
#

I have a laptop and two ssds, I have arch installed on both ssds
but on the original ssd my games perform way way better than the current one and I assume it's a driver thing but I'm not sure

#

that's the problem I wanna solve, optimising performance

#

sorry for any confusion I am horrible at using the correct terminology for stuff

cinder agate
maiden dirge
#

awesome

#
01:00.0 VGA compatible controller: NVIDIA Corporation AD107M [GeForce RTX 4060 Max-Q / Mobile] (rev a1)
    Subsystem: ASUSTeK Computer Inc. Device 180d
    Kernel driver in use: nouveau
    Kernel modules: nouveau, nvidia_drm, nvidia
01:00.1 Audio device: NVIDIA Corporation AD107 High Definition Audio Controller (rev a1)
    Subsystem: ASUSTeK Computer Inc. Device 180d
    Kernel driver in use: snd_hda_intel
    Kernel modules: snd_hda_intel```
#

this is the only stuff that mentioned nvidia

#

why intel is mentioned at the bottom I have no idea, my cpu is AMD

cinder agate
#

hm.. it does seems to use nvidia and nvidia_drm as expected.. output of pacman -Qs nvidia?

maiden dirge
#
    The GBM EGL external platform library
local/egl-wayland 4:1.1.21-1
    EGLStream-based Wayland external platform
local/egl-wayland2 1.0.1-1
    EGLStream-based Wayland external platform (2)
local/egl-x11 1.0.5-1
    NVIDIA XLib and XCB EGL Platform Library
local/libvdpau 1.5-4
    Nvidia VDPAU library
local/linux-firmware-nvidia 20260221-1
    Firmware files for Linux - Firmware for NVIDIA GPUs and SoCs
local/nvidia-open 590.48.01-15
    NVIDIA open kernel modules
local/nvidia-prime 1.0-5
    NVIDIA Prime Render Offload configuration and utilities
local/nvidia-utils 590.48.01-4
    NVIDIA drivers utilities```
cinder agate
#

this is a laptop right?

maiden dirge
#

yeah

#

ROG Zephyrus G14

cinder agate
#

could i also have the output of lspci | grep vga|3d?

maiden dirge
#

bash: 3d: command not found

cinder agate
#

ah.. my bad

maiden dirge
#

Game Performance Optimization

cinder agate
#

try lspci | grep -E 'vga|3d'

maiden dirge
#

no output

cinder agate
#

welp. manually run lspci without anything else. looking for any entry that contains VGA or 3D near the beginning similar to the GPU

maiden dirge
#
65:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Phoenix1 (rev c1)
#

just my gpus

#

discrete and integrated respectively

cinder agate
#

as im suspecting. you have integrated graphics. if using steam, right click a game, hit properties and input prime-run %command%. the issue is offloading from the integrated graphics to the GPU

#

try the game with prime-run and see if that resolves the performance issues

maiden dirge
#

alright

#

it seems better???

#

maybe??

#

I need to get a game with a build in benchmarking setting, hang on

cinder agate
# maiden dirge it seems better???

usually the system uses igpu for dealing with desktop and such. prime-run is essentially just a way to force an application to use the Nvidia dgpu

maiden dirge
#

I'm aware, I just don't believe that this will fix it

#

it feels like a bandaid fix, regardless of if it actually is or not

#

system monitor for KDE says that my game is runniing usiing GPU 3, which is also running all the other processes

cinder agate
maiden dirge
#

NVIDIA-SMI has failed because it couldn't communicate with the NVIDIA driver. Make sure that the latest NVIDIA driver is installed and running.

#

weird

#
[caf@penelope ~]$ sudo pacman -Qs nvidia-open
[sudo] password for caf:
local/nvidia-open 590.48.01-15
    NVIDIA open kernel modules```
#

yeah the game is performing the same as it was before using prime-run, just took a second

#

should I be using the nvidia-open-dkms drivers or???

cinder agate
#

lsmod | grep nvidia?

maiden dirge
#
video                  81920  5 nvidia_wmi_ec_backlight,asus_wmi,amdgpu,asus_nb_wmi,nouveau
wmi                    32768  7 video,nvidia_wmi_ec_backlight,asus_armoury,asus_wmi,wmi_bmof,mxm_wmi,nouveau```
#

I closed the game

cinder agate
#

wait.. im blind

#

how did i not notice nouveau being loaded? were gonna have to blacklist it

maiden dirge
#

I didn't see that either

#

hypothetically what command would I need to run to check what drivers are being used on the original ssd

cinder agate
#

run VISUAL=nano sudoedit /etc/modprobe.d/blacklist-nouveau.conf
in said file, write:

blacklist nouveau
options nouveau modeset=0

and then save. then finally try a reboot

maiden dirge
#

can I ask why I can't just remove nouveau?

cinder agate
maiden dirge
#

ah

cinder agate
#

once the reboot is done, try lspci -k again and show the nvidia output

maiden dirge
#
    Subsystem: ASUSTeK Computer Inc. Device 180d
    Kernel driver in use: nouveau
    Kernel modules: nouveau, nvidia_drm, nvidia
01:00.1 Audio device: NVIDIA Corporation AD107 High Definition Audio Controller (rev a1)
    Subsystem: ASUSTeK Computer Inc. Device 180d
    Kernel driver in use: snd_hda_intel
    Kernel modules: snd_hda_intel```
maiden dirge
#

kernel driver in use is still nouveau

cinder agate
#

cat /etc/modprobe.d/blacklist-nouveau.conf?

maiden dirge
#
blacklist nouveau
options nouveau modeset=0```
cinder agate
#

one moment while i consult the wiki

#

.aw nvidia

little yewBOT
maiden dirge
#

np

#

on my other ssd the kernel driver in use is nvidia

#

nouveau is still present but not active

cinder agate
#

hold on. try running sudo mkinitcpio -P and rebooting again

maiden dirge
#

kk

cinder agate
#

afterwards, rerun lspci -k as per usual

maiden dirge
#

okay so I was using dkms on my other drive, I checked

#
    Subsystem: ASUSTeK Computer Inc. Device 180d
    Kernel driver in use: nouveau
    Kernel modules: nouveau, nvidia_drm, nvidia
01:00.1 Audio device: NVIDIA Corporation AD107 High Definition Audio Controller (rev a1)
    Subsystem: ASUSTeK Computer Inc. Device 180d
    Kernel driver in use: snd_hda_intel
    Kernel modules: snd_hda_intel```
#

same as before

cinder agate
#

this geniuenly has me stumped..

odd thorn
#

I can only say that storage is managed by the kernel and doesn't change anything with SSDs but you can read further about it
@maiden dirge

maiden dirge
#

what?

odd thorn
#

There is no driver for storage , it just works

#

.aw ssd

little yewBOT
maiden dirge
#

that's not at all what we're talking about

odd thorn
#

Ik. But still giving good information

#

Performance can be tuned btw

#

You may like

#

.aw gamemode

little yewBOT
maiden dirge
#

that's the goal of this thread so I'd hope so

#

gonna switch to the dkms drivers and hope that helps somehow

odd thorn
#

Wiki has a page for improving performance

maiden dirge
#

I've looked at it

cinder agate
# odd thorn .aw gamemode

their previous SSD had the Nvidia driver. their current system seems stuck on nouveau. which would explain the performance drop

odd thorn
#

But as jorgen said, this is a GPU thing

maiden dirge
#

yeah I know

odd thorn
#

Not a SSD thing

maiden dirge
#

I never said it was an ssd thing

#

well I did but I corrected

odd thorn
#

Still, it is good to read about SSDs and what you can do with them for best performance/life

#

Wiki talks about some practices and tweaks

maiden dirge
#

I guess yeah but that's generally unrelated to the topic at hand, which is restoring my other system's performance to my current system

odd thorn
#

You may like to check that info later after solving the GPU part

maiden dirge
#

it's on the same hardware the only difference is the ssds are set up differently

cinder agate
#

for now im clueless why its refusing to let go of nouveau. so in the meantime, ill rename the post to reflect the issue at hand

maiden dirge
#

sure

cinder agate
#

dGPU loads nouveau despite nouveau being blacklisted

maiden dirge
cinder agate
#

Kernel loads nouveau despite nouveau being blacklisted

#

couldnt even get my wording right

maiden dirge
#

I don't know how exactly Archinstall does it's driver shit but it's not set up the same way on this install which is directly causing the issue

maiden dirge
odd thorn
#

Hope you can setup it right. Nvidia can be painful sometimes

maiden dirge
#

honestly I'm half tempted to reinstall arch from scratch in an attempt to correct this, but I hope I don't have to

#

thanks

#

gonna look for similar tickets for the moment

#

this looks promising

cinder agate
maiden dirge
#

do you think it could be loading nouveau at boot?

#

stupid question nvm

cinder agate
maiden dirge
#

yeah

#

I really wish I knew where in the install I went wrong so I could correct it

#

it's late where I am so I'm probably gonna sleep, thanks for your help so far, I hope I can fix this without reinstalling

maiden dirge
#
    Subsystem: ASUSTeK Computer Inc. Device 180d
    Kernel driver in use: nouveau
    Kernel modules: nouveau```
#

it now ONLY says nouveau

#

not good

maiden dirge
#

switching kernel modules to nvidia-open

maiden dirge
#

yo @cinder agate you around?

maiden dirge
#

Switching Kernel Modules to nvidia-open-dkms

#

ughhhh I have no idea what im doing

maiden dirge
maiden dirge
#

Switching Kernel Modules to nvidia-open

maiden dirge
#

UNSOLVED
sorry if you looked here for help