#drivers

362 messages · Page 1 of 1 (latest)

zenith bone
#

i installed games and performances are quite bad, i was wondering if i truly had the good drivers, how do i check? i found some stuff online but nothing really gave me what i wanted

zenith bone
#

nvidia rtx 3060 ti

cosmic stag
#

you should look into this wiki page

zenith bone
#

oh god

cosmic stag
#

?

zenith bone
#

the wiki...

cosmic stag
#

contains everything you need

zenith bone
#

00:02.0 VGA compatible controller: Intel Corporation TigerLake-H GT1 [UHD Graphics] (rev 01)
DeviceName: Onboard - Video
Subsystem: Gigabyte Technology Co., Ltd Device 1533

01:00.0 VGA compatible controller: NVIDIA Corporation GA106M [GeForce RTX 3060 Mobile / Max-Q] (rev a1)
Subsystem: Gigabyte Technology Co., Ltd Device 1533
Kernel driver in use: nvidia

#

are those the good drivers?

cosmic stag
#

are you on the normal linux kernel

zenith bone
#

yes

cosmic stag
#

should be it

#

your using x11 right?

zenith bone
#

x11?

#

i honestly have no clue what that is

cosmic stag
#

a display server protocol

#

what de are you using

#

(gnome, kde, etc...)

zenith bone
#

kde

cosmic stag
#

open the terminal

#

and use this script

#

echo $XDG_SESSION_TYPE

#

should give you either x11 or wayland

zenith bone
#

wayland

cosmic stag
#

wayland is the newer protocol but it often has problems with nvidia

#

you should reboot

zenith bone
#

off to x11 it goes

cosmic stag
#

when your at the log in screen

#

you should find the bottom left drop down menu that says

zenith bone
#

oh yeah i can do that

cosmic stag
#

Plasma (Wayland)

zenith bone
#

brb

cosmic stag
#

and change it to

#

Plasma (X11)

zenith bone
#

it should be better?

cosmic stag
#

it should be

#

try a game

zenith bone
#

i got csgo but idk how to put it in fullscreen

#

but when i launch the menu it does look like it is on low fps

cosmic stag
#

check your cpu scaling governor

zenith bone
#

how lol

cosmic stag
#

cat /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor

zenith bone
#

also yeah no i get 20 fps

#

[justdie@zenith bone ~]$ cat /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor
powersave
powersave
powersave
powersave
powersave
powersave
powersave
powersave
powersave
powersave
powersave
powersave
powersave
powersave
powersave
powersave
[justdie@zenith bone ~]$ ^C
[justdie@zenith bone ~]$

cosmic stag
#

yeah you want to set that

#

to performance

#

not powersave

zenith bone
#

how do i?

vivid summit
cosmic stag
#

sure

#

but i've heard of many

vivid summit
#

and it works pretty well

cosmic stag
#

experiences

#

i've only seen it in gnome

#

that works well

#

idk about anything else though

zenith bone
#

anyways i want to play roblox but the patched version of wine available for it isn't working well with wayland

cosmic stag
#

grapejuice mouse locking

#

will work fine in x11

zenith bone
#

no

#

the inverse

#

when you mouve your vision it also moves your mouse

#

which isn't normal

#

and its genuenly terrible

cosmic stag
#

oh yeah don't use patched wine

#

they reccomended just using default now

zenith bone
#

no its their own patch wine

#

the normal one doesn't work

cosmic stag
#

their own?

zenith bone
#

yeah

cosmic stag
#

what wine are you using

#

wine --version

zenith bone
#

wine-tkg or smt

#

i mean i got both

cosmic stag
#

i don't believe it comes from them

zenith bone
#

but grapejuice is using wine-tkg

cosmic stag
#

the tkg

zenith bone
#

idk but they use it

cosmic stag
#

wine 7.15 and above should work fine

#

normal

zenith bone
#

i mean idk

#

so how do i get that to go to performance?

cosmic stag
#

Install cpupower

#

sudo pacman -S cpupower

zenith bone
#

ok

cosmic stag
#

after you've done that check your current cpu info

#

sudo cpupower frequency-info

zenith bone
#

[justdie@zenith bone ~]$ cpupower frequency-info
analyzing CPU 0:
driver: intel_pstate
CPUs which run at the same hardware frequency: 0
CPUs which need to have their frequency coordinated by software: 0
maximum transition latency: Cannot determine or is not supported.
hardware limits: 800 MHz - 4.60 GHz
available cpufreq governors: performance powersave
current policy: frequency should be within 800 MHz and 4.60 GHz.
The governor "powersave" may decide which speed to use
within this range.
current CPU frequency: Unable to call hardware
current CPU frequency: 1.92 GHz (asserted by call to kernel)
boost state support:
Supported: yes
Active: yes

cosmic stag
#

set all cpu cores to performance

#

with

#

sudo cpupower frequency-set -g performance

zenith bone
#

[justdie@zenith bone ~]$ sudo cpupower frequency-set -g performance
Setting cpu: 0
Setting cpu: 1
Setting cpu: 2
Setting cpu: 3
Setting cpu: 4
Setting cpu: 5
Setting cpu: 6
Setting cpu: 7
Setting cpu: 8
Setting cpu: 9
Setting cpu: 10
Setting cpu: 11
Setting cpu: 12
Setting cpu: 13
Setting cpu: 14
Setting cpu: 15

cosmic stag
#

try relaunching csgo now

zenith bone
#

still ass lol

cosmic stag
#

enable and start cpupower

#

sudo systemctl enable --now cpupower

#

and reboot and check again

zenith bone
#

its ass

#

the exact same shit

#

tho with csgo, i never had much good performances

#

no matter on ubuntu with the latest drivers or not

cosmic stag
#

what nvidia packages have you installed

#

pacman -Qs nvidia

zenith bone
#

[justdie@zenith bone ~]$ pacman -Qs nvidia
local/egl-wayland 2:1.1.10-1
EGLStream-based Wayland external platform
local/lib32-nvidia-utils 515.65.01-1
NVIDIA drivers utilities (32-bit)
local/libvdpau 1.5-1
Nvidia VDPAU library
local/nvidia 515.65.01-8
NVIDIA drivers for linux
local/nvidia-utils 515.65.01-2
NVIDIA drivers utilities
[justdie@zenith bone ~]$

cosmic stag
#

oh and how are you running csgo in linux

#

with steam?

zenith bone
#

yes

#

installed from pacman

vivid summit
#

no, they're pirating it

zenith bone
#

ayo?

cosmic stag
#

i don't think there is a csgo package ❓

zenith bone
#

wait what?

cosmic stag
#

are you using steam

zenith bone
#

no i download csgo from steam

#

lol

#

i installed steam from pacman

cosmic stag
#

oh then can you check the game settings

vivid summit
#

I assume you're running the native version?

cosmic stag
#

in steam

zenith bone
#

yes i am running the native version

#

wait i can force to use steamplay

#

maybe it will help

cosmic stag
#

maybe

#

but if it doesn't try proton experimental

zenith bone
#

ok

#

but i don't play csgo much

vivid summit
#

people were saying that it didn't work on proton

zenith bone
#

if csgo is the only issue

zenith bone
#

out of curiosity, what would be the best settings for grapejuice?

vivid summit
#

maybe it's just experimental that doesn't work though

zenith bone
#

what would be good settings for grapejuice?

#

there are a bunch of em

cosmic stag
#

did you install

#

grapejuice through aur

zenith bone
#

no i got it from the git

cosmic stag
#

or compiled manually

zenith bone
#

i got it from their gitlab

cosmic stag
#

well do you have an AUR helper

#

if so see if you got it from the AUR

zenith bone
#

an aur helper?

cosmic stag
#

i guess you don't

zenith bone
#

no i didn't

#

i go one from idk where and its terrible but i got a normal one

#

the good one i assume

cosmic stag
#

this

zenith bone
#

thats what i used

cosmic stag
#

remove wine tkg

zenith bone
#

huh

cosmic stag
#

do you remember having

#

to enable the multilib repository

#

or running a ./install.py

zenith bone
#

i remember installing the wine

#

and i remember enabling multili

cosmic stag
#

open grapejuice

zenith bone
#

ok

cosmic stag
#

go to Player

#

tab

zenith bone
#

hm

cosmic stag
#

set the renderer to DX11

#

and enable

#

DXVK

#

you should be able to find all these options

#

in the settings

#

of Player

zenith bone
#

do i install prime offload sink?

#

prime offloading

cosmic stag
#

that allows you to

#

switch between iGPU and GPU

zenith bone
#

i mean its ass

#

how do iswitch then?

#

cuz rn its ass

cosmic stag
#

you should use optimus-manager

zenith bone
#

do i have to install anything from terminal?

cosmic stag
zenith bone
#

so i get it from the aur

#

right?

cosmic stag
#

yes

zenith bone
#

how do i make it resolve dependencies automaticly?

cosmic stag
#

the AUR package pkgbuild

#

should check if there is any conflicting

#

dependencies

zenith bone
#

==> Making package: optimus-manager 1.4-4 (Tue 23 Aug 2022 03:23:56 PM UTC)
==> Checking runtime dependencies...
==> Missing dependencies:
-> python-dbus
==> Checking buildtime dependencies...
==> ERROR: Could not resolve all dependencies.

cosmic stag
#

i guess not

#

do

#

sudo pacman -S python-dbus

zenith bone
#

its doing it

#

did it

#

what now

#

says i gotta do that

#

systemctl status optimus-manager.service

#

Unit optimus-manager.service could not be found.

cosmic stag
#

this is in their

#

github

zenith bone
#

Unit optimus-manager.service could not be found.
[justdie@zenith bone optimus-manager]$ optimus-manager --switch nvidia
bash: optimus-manager: command not found
[justdie@zenith bone optimus-manager]$

cosmic stag
#

it seems like it didn't install optimus-manager

zenith bone
#

it said not to

cosmic stag
#

did you use an aur helper

#

or just used

zenith bone
#

i used makepkg si

cosmic stag
#

makepkg -si

zenith bone
#

oh its working now

#

it says i have to reboot

cosmic stag
#

reboot

zenith bone
#

i will see ya in another world

#

WARNING : no power management option is currently enabled (this is the default since v1.2). Switching between GPUs will work but you will likely experience poor battery life.
Follow instructions at https://github.com/Askannz/optimus-manager/wiki/A-guide--to-power-management-options to enable power management.

You are about to switch GPUs. This will forcibly close all graphical sessions and all your applications WILL CLOSE.
(you can pass the --no-confirm option to disable this warning)
Continue ? (y/N)

GitHub

A Linux program to handle GPU switching on Optimus laptops. - A guide to power management options · Askannz/optimus-manager Wiki

#

do i select yes?

cosmic stag
#

yes

#

your switching to

#

nvidia

#

gpu right

zenith bone
#

i just did

#

and i tried on roblox, sadly tho performances aren't much better

#

idk what im doing wrong but its annoying

odd adder
zenith bone
#

so should i go back to wayland or not?

odd adder
#

Both powersave and performance are scaling based and shouldn’t make massive differences like they would with the normal governors, but it was worth a shot

cosmic stag
#

you probably won't benefit from switching to wayland

odd adder
cosmic stag
#

and since you want to use grapejuice

#

it's reccomended that you use x11

odd adder
zenith bone
#

i mean on ubuntu with the latest drivers it ran smoothly

#

had awesome performances

#

but i just didn't enjoy ubuntu

odd adder
#

Have we confirmed the system didn’t load nouveau?

cosmic stag
#

no

zenith bone
#

shouldn't we?

odd adder
cosmic stag
#

for grapejuice it is

#

but wayland is typically

#

more smoother indeed

zenith bone
#

wayland isn't working properly with grapejuice

#

it has mouse bugs

odd adder
#

Then it’s fine

zenith bone
#

there are some fixes but its like i don't wanna have to deal with the hassle

odd adder
#

Wayland is the default unless there’s showstoppers (like driver bugs or incompatibilities)

zenith bone
#

so how do i check if its not using nouveau tho?

cosmic stag
#

i don't know if that is accurate enough

#

what boot loader are you using?

odd adder
#

Also since you have a 3060 the open source kernel module may be an option in this case

cosmic stag
#

grub or

odd adder
#

Yea

zenith bone
#

isn't the open source really bad?

odd adder
#

No?

zenith bone
#

oh ok

#

everyone would say we all know open source won't be as good as proprietary

odd adder
#

I’m talking about the nvidia open kernel module, not nouveau

zenith bone
#

i know

odd adder
#

Nouveau is shit because it’s locked out of setting gpu clock speed

zenith bone
#

then why are almost every distro pretty much making it default?

cosmic stag
#

licensing problems probably

#

copyright

zenith bone
#

hm

#

ok so what do i do? do we check if its truly using nvidia?

odd adder
#

nvidia-open is the package

zenith bone
#

can't i use the latest driver like the 510?

vivid summit
#

you're most likely using the proprietary drivers

zenith bone
#

could wee check?

vivid summit
#

because nouveau is blacklisted by the nvidia package

odd adder
#

Not exactly

vivid summit
#

what?

#

yes it is

zenith bone
#

alright well what now

odd adder
#

lsmod | grep nouveau

#

To just be extra sure it isn’t loaded somehow

zenith bone
#

it didn't say anything

odd adder
#

Alright

#

So the nvidia drivers are being weird then

zenith bone
#

just my luck lol

odd adder
#

You installed lib32-nvidia-utils as well right

vivid summit
#

they did

zenith bone
#

im not supposed to?

odd adder
#

Looks correct

#

Still, trying nvidia-open is worth a shot

vivid summit
#

I suppose

zenith bone
#

i install it?

vivid summit
#

yeah

odd adder
#

Yup, will probably ask to replace nvidia with it

zenith bone
#

done

vivid summit
#

reboot now

#

hopefully optimus works with nvidia-open

zenith bone
#

done

#

[justdie@zenith bone optimus-manager]$ optimus-manager --switch nvidia
WARNING : no power management option is currently enabled (this is the default since v1.2). Switching between GPUs will work but you will likely experience poor battery life.
Follow instructions at https://github.com/Askannz/optimus-manager/wiki/A-guide--to-power-management-options to enable power management.

You are about to switch GPUs. This will forcibly close all graphical sessions and all your applications WILL CLOSE.
(you can pass the --no-confirm option to disable this warning)
Continue ? (y/N)

GitHub

A Linux program to handle GPU switching on Optimus laptops. - A guide to power management options · Askannz/optimus-manager Wiki

#

do i say yes?

#

i used --switch nvidia and not switch nvidia-open tho

#

idk if its gonna be important

#

done

#

lets try grapejuice again

odd adder
#

Might wanna try something more native

zenith bone
#

its working perfectly

#

constantly hitting the 60 fps cap

cosmic stag
#

nvidia open

zenith bone
#

now lets try csgo

#

bro

cosmic stag
#

csgo still bad?

zenith bone
#

no but someoneone said i was using the nouveau

vernal hinge
#

he was wrong

zenith bone
#

i fucking hope he was

#

oh hey there lenny

#

how are you

vernal hinge
#

you're using the proprietary driver you can even check if you want by using lsmod to see if it's loaded

vernal hinge
odd adder
zenith bone
#

good, good

vernal hinge
#

Ohh

#

Did you change to nvidia-open

odd adder
#

Yea

zenith bone
#

well i did so and it helped a lot

vernal hinge
#

cool

zenith bone
#

csgo 10x better

cosmic stag
#

open source winning again

odd adder
#

What allowing the community to fix the project themselves does to software

vernal hinge
#

lmao

odd adder
#

If only it was an option for non turing cards

vivid summit
#

huh, intresting

zenith bone
#

m getting 200 fps lol

#

shit better than on pc

#

tho i doubt it issues the max graphics from default

#

well thanks a lot yall

#

now i can play boblox on linux

vivid summit
#

👍

odd adder
#

Np

#

If only we could close these tickets lmao

zenith bone
#

well holy shit this was one hell of a big problem tho

vernal hinge
zenith bone
#

what was the problem with the first driver?

cosmic stag
#

being closed source

vernal hinge
#

I've not had performance issues with the proprietary driver

cosmic stag
vernal hinge
#

Have had stability issues though

cosmic stag
#

(joke)

#

performance better than windows now?

zenith bone
#

i mean i enjoy being able to play csgo BUT WHEN I GET FUCKING SNIPED THROUHT A DOOR ITS GETTING ANNOYING

vernal hinge
#

I would've thought it was that it was using integrated graphics or in power saving mode

zenith bone
vernal hinge
#

but hey it works now

#

hooray

odd adder
zenith bone
#

thats the spirit

zenith bone
#

out of curiosity, how many ppl did it take to fix the issue?

odd adder
#

To get the normal drivers working can take a lot of probing confs and shit to get it behaving properly

#

Ik at one point it just kept setting the dpi really fucking low and needed to be manually set on xorg confs

vernal hinge
#

I've had a lot of weird bugs with the proprietary driver never had it affect performance specifically though

#

graphical bugs and straight up refusing to work

#

Problems with suspend

#

but never performance impact

zenith bone
#

ight yall, thanks and have a marvelous, wonderfull day