How to troubleshoot two graphics cards (intel, nvidia)

Issues related to hardware problems
Post Reply
rbys670
Posts: 3
Joined: 2021/10/07 10:50:13

How to troubleshoot two graphics cards (intel, nvidia)

Post by rbys670 » 2021/10/21 22:22:49

Dear Community

I will try to briefly describe my problem. I have an ASUS TUF A15 (Intel (R) Core (TM) i7-10870H CPU @ 2.20GHz) laptop with two cards:

Code: Select all

spci -nn | grep -i vga
00:02.0 VGA compatible controller [0300]: Intel Corporation UHD Graphics [8086:9bc4] (rev 05)
01:00.0 VGA compatible controller [0300]: NVIDIA Corporation TU117M [GeForce GTX 1650 Ti Mobile] [10de:1f95] (rev a1)
Kerenel version:

Code: Select all

uname -r
3.10.0-1160.el7.x86_64
I have installed all required ELRepo packages as well as Bumblebee and additionally PRIMUS.
After:

Code: Select all

optirun nvidia-settings -c: 8
is displayed: NVIDIA X Server Settings.
Launching glxgears glxspheres64 displays correctly.
The bumblebee.conf file looks like:

Code: Select all

cat /etc/bumblebee/bumblebee.conf 

[bumblebeed]
VirtualDisplay=:8
KeepUnusedXServer=false
ServerGroup=bumblebee
TurnCardOffAtExit=false
NoEcoModeOverride=false
Driver=nvidia
XorgConfDir=/etc/bumblebee/xorg.conf.d

[optirun]

Bridge=auto
VGLTransport=proxy
PrimusLibraryPath=/usr/lib/primus:/usr/lib64/primus
AllowFallbackToIGC=false
Driver=nvidia
[driver-nvidia]
KernelDriver=nvidia
PMMethod=bbswitch
LibraryPath=/usr/lib64/nvidia:/usr/lib64/vdpau:/usr/lib/nvidia:/usr/lib/vdpau
XorgModulePath=/usr/lib64/xorg/modules/extensions/nvidia,/usr/lib64/xorg/modules/drivers,/usr/lib64/xorg/modules
XorgConfFile=/etc/bumblebee/xorg.conf.nvidia
[driver-nouveau]
KernelDriver=nouveau
PMMethod=auto
XorgConfFile=/etc/bumblebee/xorg.conf.nouveau

The xorg.conf.nvidia file looks like:

Code: Select all

cat /etc/bumblebee/xorg.conf.nvidia
Section "ServerLayout"
    Identifier  "Layout0"
    Option      "AutoAddDevices" "false"
    Option      "AutoAddGPU" "false"
EndSection

Section "Device"
    Identifier  "DiscreteNvidia"
    Driver      "nvidia"
    VendorName  "NVIDIA Corporation"
    BusID "PCI:01:00:0"

    Option "ProbeAllGpus" "false"
    Option "ProbeAllGpus" "false"
    Option "NoLogo" "true"
    Option "UseEDID" "false"
    Option "UseDisplayDevice" "none"
EndSection
Therefore, this configuration, settings should work, but in my opinion, unfortunately not.
I am asking for advice or suggestions in solving this problem. Basically what I care about is why I can't use NVIDIA cards on the lapotop screen. If there is no such possibility, why the INTEL card did not work properly (it only displayed 800x600). Will I be forced to change the system (Centos 7) to another one.:cry:
Thank you in advance for your help.

rbys670
Posts: 3
Joined: 2021/10/07 10:50:13

Re: How to troubleshoot two graphics cards (intel, nvidia)

Post by rbys670 » 2021/11/21 11:27:11

I see that there are over 1400 people involved in this thread and I insist that a large group has one or a similar problem to mine. I have reviewed and tested all the solutions that are on the network. None of this interesting emerged. I am at the very point. I know that kernel 3.10.xx will only work with ELREPO packages. As the pre-seminar on this topic starts, resolution 800x600. As TrevorH wrote, you will probably choose Centos 8 and the matter will be resolved. If it looks different, someone should speak up on this matter. This is where I finish and I go towards Rocky Linux and I do not exclude that and there may be problems.
Sorry my english is poor.
regards

User avatar
jlehtone
Posts: 4523
Joined: 2007/12/11 08:17:33
Location: Finland

Re: How to troubleshoot two graphics cards (intel, nvidia)

Post by jlehtone » 2021/11/21 12:53:59

I don't touch laptops if I can avoid it. I think I tinkered with one about five years ago.
The default X11 was probably with Intel (or whatever the IGP was).
Then there was some command that took application as parameter and did start that application with access to NVidia. "optirun"?

Post Reply