You are not logged in.
Pages: 1
Good afternoon everyone.
I've recently installed Arch for the first time, on my new laptop. It is a powerful machine, so I decided to test it out in some games. After playing a little, I noticed that the FPS was not low, but not as high as expected. So, looking for solutions, someone said that the game could not be finding my GPU, hence I was running it through my CPU only. So, in order to check it, I tried to look after my GPU drivers, running the following command:
--------------------------------------------------------------------------------------------------------
pacman -Qs nvidia
Output:
local/bumblebee 3.2.1-21
NVIDIA Optimus support for Linux through VirtualGL
local/egl-wayland 1.1.5+2+g9c9c4c6-1
EGLStream-based Wayland external platform
local/libvdpau 1.4-1
Nvidia VDPAU library
local/nvidia 455.38-5
NVIDIA drivers for linux
local/nvidia-utils 455.38-1
NVIDIA drivers utilities
--------------------------------------------------------------------------------------------------------
Considering the output above, I was thought about the possibility of the GPU not be active, for that I did:
--------------------------------------------------------------------------------------------------------
nvidia-smi
Output:
...
0 GeForce RTX 2060 Off
...
--------------------------------------------------------------------------------------------------------
As you can see, I resumed the output to the 'part that matters'. The GPU is apparently off. Since then I'm trying to turn it on...
Also, you may have realized that in the output of the first command, I also installed bumblebee. I was told that with it I can choose what the running software will use (CPU or GPU). However, I ended up receiving this error, after trying to run the following commands:
--------------------------------------------------------------------------------------------------------
systemctl enable bumblebeed.service
optirun glxgears -info
Output:
[ 3171.673222] [ERROR]Cannot access secondary GPU - error: [XORG] (EE) No devices detected.
[ 3171.673265] [ERROR]Aborting because fallback start is disabled.
--------------------------------------------------------------------------------------------------------
Since then, I haven't had any success so far. Btw, I have a NVIDIA GeForce RTX 2060 Mobile, if it helps.
PS: This is my first post in here, I would like to already apologize if I happen to make any mistake regarding the forum usage. Thanks for all the help in advance, and have a nice day.
Last edited by LucasBiazi (2020-11-11 19:49:43)
Always backup important files when editing it.
Offline
Welcome to the boards
Please wrap outputs and the like in
[code]code tags[/code]
.
For a GPU this new you should remove bumblebee (... and disable the service) and install nvidia-prime and reboot. Then try to run things with
prime-run $game
, see https://wiki.archlinux.org/index.php/PR … er_offload as well.
Online
Welcome to the boards
Please wrap outputs and the like in
[code]code tags[/code]
.
For a GPU this new you should remove bumblebee (... and disable the service) and install nvidia-prime and reboot. Then try to run things with
prime-run $game
, see https://wiki.archlinux.org/index.php/PR … er_offload as well.
First I disabled the service by running:
systemctl disable bumblebeed.service
Then I removed bumblebee with pacman:
sudo pacman -Rns bumblebee
After looking in link you've recommended me, I installed prime with pacman:
sudo pacman -Y nvidia-prime
reboot
Then I tried to execute the game again. The result was absurdly better, about 140FPS increase. However, I have some doubts.
1) I'm running, as you said,
prime-run game
, if the game happen to be on Steam, is it enough if I just run
prime-run steam
and pick any game?
2) I ran once again
nvidia-smi
and the results were the same, should it still be in this way? Is it healthy for the laptop just to run softwares with the GPU when I tell him to?
Always backup important files when editing it.
Offline
1) that's technically enough but often not what you want (... the nvidia gpu would be active while just having the client open) it'd be better to make use of per game launch options
2) I think you're looking at the wrong "Off" the value. The value in the second column after the PCI ID is what's interesting, furthermore you should see processes actively using the GPU in the table printed below. As for whether that's ok, that's explicitly how these laptop GPUs are designed, you should only use the power hungry main card when you actually need to and the integrated intel card for normal desktop usage.
Online
Thanks a lot. How do I set the post as '[SOLVED]'?
Always backup important files when editing it.
Offline
Offline
Pages: 1