Le dim. 24 mai 2020 à 11:24, Sérgio Basto <[email protected]> a écrit : > > On Sun, 2020-05-24 at 08:57 +0200, Nicolas Chauvet wrote: > > Le dim. 24 mai 2020 à 08:56, Nicolas Chauvet <[email protected]> a > > écrit : ... > > > > > > > https://rpmfusion.org/Howto/NVIDIA#Optimus > > > > > > > https://rpmfusion.org/Howto/Optimus#NVIDIA%20PrimaryGPU%20Support > > > > > > > > > > > > > > About nvidia-prime: > > > > > > > https://rpmfusion.org/Howto/Optimus#FAQ > > > > > > > > > > > > > > Please read the doc next time! > > > > > > > > > > > > OK , but it misses, in my point of view, the most important: > > > > > > > > > > > > xrandr --setprovideroutputsource modesetting NVIDIA-G0 > > > > > > xrandr --auto > > > > > ??!?? > > > > > > > > > > Why that command would be usefull with ANYTHING! > > > > > IT IS NOT! > > > > > > > > > > Do the primaryGPU setup and that's all! > > > > > > > > After apply primaryGPU , the screen became all black !.,
PrimaryGPU alone is not enough, you need to "keep" the others options from the nvidia.conf file. > > > > I need to do is run these as root before the login dialog appears > > > > [1] . > > > > > > > > I did some tests and on /etc/X11/xorg.conf.d/nvidia.conf is just > > > > need > > > You need to copy the full file in > > > /usr/share/X11/xorg.conf.d/nvidia.conf to > > > /etc/X11/xorg.conf.d/nvidia.conf > > > Eventually dropping SLI and BaseMosaic, but others options are > > > still mandatory. > > > > > > So in my case, it gives that: > > > https://paste.centos.org/view/893a8b78 > > > > > > Which card are you using ? Which desktop environment ? > > Two cards one Intel other Nvidia : > > 00:02.0 VGA compatible controller: Intel Corporation UHD Graphics 630 > (Mobile) > > 01:00.0 VGA compatible controller: NVIDIA Corporation GP107M [GeForce > GTX 1050 3 GB Max-Q] (rev a1) > > Fedora 31 KDE , it is one laptop Lenovo IdeaPad L340-15IRH Gaming > > https://pcsupport.lenovo.com/us/en/products/laptops-and-netbooks/ideapad-l-series-laptop/l340-15irh-gaming/81lk > > > (side note), PrimaryGPU must appear un-commented only once, or the > > first option will take-over the second. > > I already tested it it gives all black screen with Option "PrimaryGPU" > "on", else Intel graphics will be used by desktop environment . > > That is why we need [1] , after dig a little more today , seems Intel > card , confuse xorg configuration , glamor is only available on Intel > drive and modesetting for nvidia is hard ... [2] NO, glamor confusing nvidia is past days. This is not the issue at all, so whatever you made to workaround that, have to be reverted. glamor is mandatory for modesettings and will be discarded as appropriate for nvidia. Witht that said, It's obvious that wiki from foreign distros are confusing -you- ! Please only look at our official howto and "upstream" nvidia documentation and revert everything else that have been mentioned elsewhere. > wiki.archlinux.org also have many text about Nvidia(s) and in section > "Use NVIDIA graphics only" [3] also talk in [1] ... > > I'd like disable Intel , Intel modeseting and Intel glamor ... > [1] > xrandr --setprovideroutputsource modesetting NVIDIA-G0 or NVIDIA-0 Once again, that's outdated documentation. Fedora doesn't need that anymore by default. Of course if you don't have the PrimaryGPU set as appropriate, you can still use that, but it's dramatically sub-optimal. Please open a bugzilla ticket with the archive generated by nvidia-bug-report.sh attached. This have to be generated on the target configuration (with both "PrimaryGPU" and "AllowEmptyInitialConfiguration" set in nvidia.conf) You may have to create it from a remote computer if needed. -- - Nicolas (kwizart) _______________________________________________ rpmfusion-users mailing list -- [email protected] To unsubscribe send an email to [email protected]
