View previous topic :: View next topic |
Author |
Message |
ALF__ Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
Joined: 30 Nov 2003 Posts: 252
|
Posted: Sat Aug 06, 2022 2:12 pm Post subject: Attempt to switch to Nvidia from integrated intel |
|
|
Hey!
So, I have ran in to trouble with my lean running machine.
For some reason I wanted to attempt to up the FPS on the only game i play (OpenRCT2) from my integrated graphics to a nvidia gt 730 card.
Just to see if it would make any difference.
So I configured a new kernel and followed the nvidia guide. (First i attempted nouveau but the performance was not that great)
However, Im unable to start X, and it really is not giving me much to go by.
Please see
Xorg log: https://pastebin.com/bSMYvPGV
Kernel conf: https://pastebin.com/ZMTfhj4w
dmesg: https://pastebin.com/EJzbMMHj
Any inputs?
Thanks! |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
alamahant Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
Joined: 23 Mar 2019 Posts: 3950
|
Posted: Sat Aug 06, 2022 4:38 pm Post subject: |
|
|
Ok please create
an /etc/X11/xorg.conf similar to
Code: |
Section "ServerLayout"
Identifier "layout"
Screen 0 "nvidia"
Inactive "intel"
EndSection
Section "Device"
Identifier "nvidia"
Driver "nvidia"
BusID "PCI:1:0:0"
Option "Coolbits" "28"
EndSection
Section "Screen"
Identifier "nvidia"
Device "nvidia"
Option "AllowEmptyInitialConfiguration"
EndSection
Section "Device"
Identifier "intel"
Driver "modesetting"
BusID "PCI:0:2:0"
EndSection
Section "Screen"
Identifier "intel"
Device "intel"
EndSection
|
replacing
with the value you will get from
Code: |
lspci | grep -i 3d | awk '{ print $1 }'
|
and
by the output of
Code: |
lspci | grep -i vga | awk '{ print $1 }'
|
Then make sure you have
Code: |
VIDEO_CARDS="intel nvidia"
|
in make.conf.
If not add it and rebuild @world
Then according to
https://wiki.gentoo.org/wiki/NVIDIA/Optimus
you need to use
Code: |
xrandr --setprovideroutputsource modesetting NVIDIA-0
xrandr --auto
|
according to your DM
or possibly in ~/.xinitrc ?
Also a kernel parameter
Code: |
nvidia-drm.modeset=1
|
should be nice. _________________
![Smile :)](images/smiles/icon_smile.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
ALF__ Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
Joined: 30 Nov 2003 Posts: 252
|
Posted: Sun Aug 07, 2022 10:06 am Post subject: |
|
|
Hey!
Thank you very much for your assistance, I really appreciate it.
However, I decided to revert back to my old setup with intel integrated graphics.
I decided it is just worth it filling the system with all the nvidia junk just for this specific task.
Furthermore, I think there might be something else causing performance issues with the Intel "card" in the first place.
On my laptop running win10 i get around 100fps in the game, with integrated intel card, about same generation, meanwhile on the desktop under Linux i get around 20fps.
So something is probably up with the Intel driver in the first place.
But that is a discussion for another thread I think.
Again, thanks! |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|