On 08/06/2017 10:59 AM, Amadeus W.M. wrote: > Just swapped nouveau out for the nvidia driver from rpmfusion following > https://rpmfusion.org/Howto/NVIDIA. Basically I did I just happen to have an old Acer laptop with nVidia HW that would need the 3400-xx drivers to run. This was a fresh install since I replaced the HD with an SSD to hopefully speed things up....and it did. I'd been running nouveau but since I'd run nVidia on this system in the past I decided to install just to see what results I had. > dnf install xorg-x11-drv-nvidia-340xx akmod-nvidia-340xx "kernel-devel- > uname-r == $(uname -r)" > dnf update -y I simply did.... dnf install akmod-nvidia-340xx This installed 22 packages... akmods dwz fakeroot fakeroot-libs fedora-rpm-macros fpc-srpm-macros ghc-srpm-macros gnat-srpm-macros go-srpm-macros kernel-devel-4.11.11-300.fc26.x86_64 kmodtool ocaml-srpm-macros perl-srpm-macros qt5-srpm-macros redhat-rpm-config rpm-build rpmdevtools xemacs-filesystem xorg-x11-drv-nvidia-340xx xorg-x11-drv-nvidia-340xx-kmodsrc xorg-x11-drv-nvidia-340xx-libs > Reboot and startx and only one (of 2) monitor was working, the other was > blank. I ran I only have the laptop display hooked up so after reboot and after it build the kmod it came up to a login under SDDM as it should. > > > nvidia-config > > and this created a /etc/X11/xorg.conf, then restarted the X server and > both monitors are up and running and I'm running the nvidia drivers: I've always found it a bad idea to run that and create an xorg.conf file as the monitors should be detected on boot provided they are turned on. I think I would have done a bit more looking around with xrandr to see if I could find anything odd. > > > 28) root:~> lsmod | grep nvidia > nvidia 10563584 24 > drm 348160 4 nvidia > 29) root:~> lsmod | grep nouveau > 30) root:~> > > > Now the problems: > > 30) root:~> glxinfo > name of display: :0.0 > X Error of failed request: BadWindow (invalid Window parameter) > Major opcode of failed request: 154 (NV-GLX) > Minor opcode of failed request: 4 () > Resource id in failed request: 0x4a00009 > Serial number of failed request: 56 > Current serial number in output stream: 56 I get.... name of display: :0 display: :0 screen: 0 direct rendering: Yes server glx vendor string: NVIDIA Corporation server glx version string: 1.4 server glx extensions: and a whole lot of more output > 31) root:~> glxgears > X Error of failed request: BadWindow (invalid Window parameter) > Major opcode of failed request: 154 (NV-GLX) > Minor opcode of failed request: 4 () > Resource id in failed request: 0x4a00002 > Serial number of failed request: 38 > Current serial number in output stream: 38 I get... Running synchronized to the vertical refresh. The framerate should be approximately the same as the monitor refresh rate. 297 frames in 5.0 seconds = 59.232 FPS 298 frames in 5.0 seconds = 59.434 FPS 298 frames in 5.0 seconds = 59.425 FPS > 32) root:~> xdriinfo > libGL is too old. That is the same for me.... As is everything else beyond this point in the original post. > and MANY more. So I can't uninstall the libGL provided by fedora, it would > take out too many packages with it, including the X server. You need not do that... [egreshko@acer ~]$ rpm -q libglvnd-glx libglvnd-glx-0.2.999-19.20170620gitd850cdd.fc26.x86_64 > Can I choose which libGL to use with alternatives somehow? How do switch > everything to use the nvidia libGL? > > I assume there are people there who are using the nvidia driver right now, > some maybe using the rpmfusion rpms. Can someone post which libGL they > have installed on their system and how they got the whole thing to work? > Yes, I am now. With no difficulties. To answer the question you had in your follow-up post..... [egreshko@acer ~]$ locate libGL.so /usr/lib64/libGL.so.1 /usr/lib64/libGL.so.1.0.0 /usr/lib64/nvidia-340xx/libGL.so.1 /usr/lib64/nvidia-340xx/libGL.so.340.102 I've, at times, thought I had issues with nVidia and to fall back to nouveau I simply did.... and "rpm -qa | grep nvidia" and then removed the packages that were found. The rpmfusion folks did a good job, IMHO, and this results in nouveau getting fully restored. So, I would do that.... And then to go to nVidia I would just do dnf install akmod-nvidia-340xx OR, I would first get rid of the /etc/X11/xorg.conf and see if I can't get the second screen working with no config file. And, if not, see if with that file removed you can run glxinfo and glxgears. -- Fedora Users List - The place to go to speculate endlessly
Attachment:
signature.asc
Description: OpenPGP digital signature
_______________________________________________ users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx