You are not logged in.

#1 2017-02-18 15:39:13

ArchLinuxBestLinux
Member
Registered: 2017-01-03
Posts: 15

Another user with GLX issue.

This is my first post to this forum, so 'hello, world!'.

As my topic says, I'm also having a GLX issue similar to 3SKRIMA's situation. Steam and gthumb give me GLX errors (screenshot). Both worked before just fine.

My info:
lscpi: http://pastebin.com/3nvsbWuh
output of: lspci -v -s `lspci | awk '/VGA/{print $1}'`: http://pastebin.com/r0C9qeTz
xorg log: http://pastebin.com/zCiKJZyC
glxgears output: http://pastebin.com/TCM683vS
Nothing is in my /etc/X11/xorg.conf.d/.

From what I can understand from these logs, my system seems to think I have the nouveau driver installed, but 'pacman -Q | grep nouveau' doesn't list anything. 
'pacman -Q | grep nvidia' outputs:

lib32-nvidia-340xx-libgl 340.101-1
lib32-nvidia-340xx-utils 340.101-1
lib32-opencl-nvidia-340xx 340.101-1
nvidia-340xx-dkms 340.101-10
nvidia-340xx-libgl 340.101-2
nvidia-340xx-utils 340.101-2
nvidia-utils-openrc 20170114-1
opencl-nvidia-340xx 340.101-2

Help would be much appriciated!

EDIT: I see that 3SKRIMA's post was solved by reinstalling xorg-server, that solution didn't work for me (reinstalling  xorg-server-nosystemd).

Last edited by ArchLinuxBestLinux (2017-02-18 16:02:32)


Arch x86_64  + linux-hardened + zsh + i3
Gigabyte GA-MA785GM-US2H + AMD Phenom II X6 1090T + NVIDIA GeForce GTX 750 Ti

Offline

#2 2017-02-18 16:01:35

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,523
Website

Re: Another user with GLX issue.

I've never been able to make heads or tails of NVIDIA card ids and driver names.  I can't find any information on our wiki about what the right driver would be for NV110 which is what that seems to be.  However, it certainly doesn't seem old enough to need the 340xx drivers.  How did you determine those were the right ones to use?

Also, what leads to the conclusion that your system thinks you have the nouveau driver installed?  I certainly see no such evidence.


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

#3 2017-02-18 16:12:15

ArchLinuxBestLinux
Member
Registered: 2017-01-03
Posts: 15

Re: Another user with GLX issue.

Thanks for the reply.

In the logfile for xorg, lines 73-76 mentions nouveau. I'm no expert on xorg debugging, and that seems to me that could have been my problem. As for the drivers, iirc, the wiki for steam says those are the driver my card requires. I've used those drivers for about two years and I never had any problems gaming with steam.

Last edited by ArchLinuxBestLinux (2017-02-18 16:14:22)


Arch x86_64  + linux-hardened + zsh + i3
Gigabyte GA-MA785GM-US2H + AMD Phenom II X6 1090T + NVIDIA GeForce GTX 750 Ti

Offline

#4 2017-02-18 16:14:44

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,523
Website

Re: Another user with GLX issue.

Those lines of the log are irrelevant.  The say that nouveau was not found.  That is to be expected.  Xorg checks for a variety of drivers.  Right after that you can see it also failed to load nv, fbdev, and vesa.  These messages are normal.

For the nvidia drivers, there's nothing on the steam page that says anything about which drivers to use.  That should only be on Xorg and Nvidia pages.

EDIT: I did just find this google sheet linked from the wiki that does say 340xx works with your card.  However I don't know if that is up to date, reliable, or the best answer.


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

#5 2017-02-18 16:16:00

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,657

Re: Another user with GLX issue.

Your card is supported by the latest driver you might want to use the plain nvidia packages instead. Why do you have nvidia-utils-openrc and nvidia-340-utils? are they supposed to coexist? I have no experience with openrc but on the repo packages the utils are what provide the GLX symlinks, if those are broken due to your openrc package this might be the result of that. I'm pretty sure you would have to make sure you have nvidia (non 340xx) for everything.

Last edited by V1del (2017-02-18 16:20:55)

Offline

#6 2017-02-18 16:25:08

ArchLinuxBestLinux
Member
Registered: 2017-01-03
Posts: 15

Re: Another user with GLX issue.

@ trillby
OK, thanks, good to know. Last time I mucked with the drivers/setting steam up was about two years ago when I installed Arch, so I guess my memory was off about the wiki page. I do know that I did find out which drivers to use from the wiki though.

@V1del
Can't say why both are installed. My system didn't have any issues with that arrangement before that I know of. Which driver would you suggest I remove?

Edit: I see your edit, give me a moment to test.

edit 2: Are we sure this is a driver issue? Does gthumb directly use graphics drivers?

edit 3: I removed nvidia-utils-openrc and I still have the same problem. If I were to remove nvidia-340xx-utils, I get these warnings:

checking dependencies...
error: failed to prepare transaction (could not satisfy dependencies)
:: lib32-nvidia-340xx-utils: removing nvidia-340xx-utils breaks dependency 'nvidia-340xx-utils'
:: nvidia-340xx-dkms: removing nvidia-340xx-utils breaks dependency 'nvidia-340xx-utils=340.101'
:: nvidia-340xx-libgl: removing nvidia-340xx-utils breaks dependency 'nvidia-340xx-utils'

Last edited by ArchLinuxBestLinux (2017-02-18 17:05:36)


Arch x86_64  + linux-hardened + zsh + i3
Gigabyte GA-MA785GM-US2H + AMD Phenom II X6 1090T + NVIDIA GeForce GTX 750 Ti

Offline

#7 2017-02-18 17:02:42

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,657

Re: Another user with GLX issue.

Replace all of them with the proper ones in one transactoin

pacman -S nvidia nvidia-utils nvidia-libgl lib32-nvidia-libgl

Offline

#8 2017-02-18 17:57:24

ArchLinuxBestLinux
Member
Registered: 2017-01-03
Posts: 15

Re: Another user with GLX issue.

Ok, that totally borked my system, now I can't start X (in ArchBang live currently). I'm stuck getting the original drivers installed now. If I try to remove the reccomended drivers with 'pacman -Rns' I get a 'error: failed to prepare transaction (could not satisfy dependencies)'. If I 'pacman -Rnscd', then nearly everything I installed trys to uninstall. Halp sad

Last edited by ArchLinuxBestLinux (2017-02-18 17:58:32)


Arch x86_64  + linux-hardened + zsh + i3
Gigabyte GA-MA785GM-US2H + AMD Phenom II X6 1090T + NVIDIA GeForce GTX 750 Ti

Offline

#9 2017-02-18 18:32:00

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,657

Re: Another user with GLX issue.

Ah sorry you are using linux lts so you might have wanted nvidia-lts and/or nvidia-dkms  instead of the plain nvidia driver

Offline

#10 2017-02-18 19:00:18

ArchLinuxBestLinux
Member
Registered: 2017-01-03
Posts: 15

Re: Another user with GLX issue.

Ok, np. I installed nvidia-dkms and got X back, but my original GLX issue is still here.

Edit: Some small progress I think. I still have GLX errors, but the error is somewhat different then the screenshot from my first post. current screenshot If you notice, the GLX error is missing from the output from trying to run gthumb, but steam shows the error twice. Don't know if that's relevant.

Last edited by ArchLinuxBestLinux (2017-02-18 19:54:49)


Arch x86_64  + linux-hardened + zsh + i3
Gigabyte GA-MA785GM-US2H + AMD Phenom II X6 1090T + NVIDIA GeForce GTX 750 Ti

Offline

#11 2017-02-18 19:33:20

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,657

Re: Another user with GLX issue.

Can you post

pacman -Qkk xorg-server-nosystemd nvidia-utils-openrc

? Is the file /usr/lib/xorg/modules/extensions/libglx.so present? If so is it a symlink to something? to what? What is providing it?

pacman -Qo /usr/lib/xorg/modules/extensions/libglx.so

Where is that openrc utils from?

Last edited by V1del (2017-02-18 19:35:33)

Offline

#12 2017-02-18 20:03:58

ArchLinuxBestLinux
Member
Registered: 2017-01-03
Posts: 15

Re: Another user with GLX issue.

I think you're on to something!  Your second command gives me this error:

error: failed to read file '/usr/lib/xorg/modules/extensions/libglx.so': No such file or directory

As for your first command, I removed nvidia-utils-openrc while troubleshooting and I don't seem to be missing it.  'pacman -Qkk xorg-server-nosystemd' gives me:

xorg-server-nosystemd: 51 total files, 0 altered files

Last edited by ArchLinuxBestLinux (2017-02-18 20:12:36)


Arch x86_64  + linux-hardened + zsh + i3
Gigabyte GA-MA785GM-US2H + AMD Phenom II X6 1090T + NVIDIA GeForce GTX 750 Ti

Offline

#13 2017-02-18 20:10:13

Scimmia
Fellow
Registered: 2012-09-01
Posts: 11,544

Re: Another user with GLX issue.

That file is part of xorg-server. If your 3rd party package doesn't have it, complain to them.

Offline

#14 2017-02-18 20:13:28

ArchLinuxBestLinux
Member
Registered: 2017-01-03
Posts: 15

Re: Another user with GLX issue.

I just ran 'updatedb && locate libglx.so', here's the output:

/usr/lib/nvidia/xorg/libglx.so
/usr/lib/nvidia/xorg/libglx.so.1
/usr/lib/nvidia/xorg/libglx.so.378.13
/usr/lib32/nvidia/xorg/modules/extensions/libglx.so
/usr/lib32/nvidia/xorg/modules/extensions/libglx.so.378.13


Arch x86_64  + linux-hardened + zsh + i3
Gigabyte GA-MA785GM-US2H + AMD Phenom II X6 1090T + NVIDIA GeForce GTX 750 Ti

Offline

#15 2017-02-18 20:24:46

ArchLinuxBestLinux
Member
Registered: 2017-01-03
Posts: 15

Re: Another user with GLX issue.

OK, got this solved!! I ran 

ln -s /usr/lib/nvidia/xorg/libglx.so /usr/lib/xorg/modules/extensions/

  and rebooted. Both steam and gthumb now work! Thanks all for your help, community!

Edit: How do I mark this post as solved?

Last edited by ArchLinuxBestLinux (2017-02-18 20:28:47)


Arch x86_64  + linux-hardened + zsh + i3
Gigabyte GA-MA785GM-US2H + AMD Phenom II X6 1090T + NVIDIA GeForce GTX 750 Ti

Offline

#16 2017-02-18 20:51:14

Scimmia
Fellow
Registered: 2012-09-01
Posts: 11,544

Re: Another user with GLX issue.

Not a fix, but a nasty hack. Have fun with that.

Offline

#17 2017-02-18 20:58:51

ArchLinuxBestLinux
Member
Registered: 2017-01-03
Posts: 15

Re: Another user with GLX issue.

@Scimmia
Aside from submitting a a bug fix request to nvidia, do you have any alternative fixes I could try in the meantime? Is there a risk in using a symlink?


Arch x86_64  + linux-hardened + zsh + i3
Gigabyte GA-MA785GM-US2H + AMD Phenom II X6 1090T + NVIDIA GeForce GTX 750 Ti

Offline

#18 2017-02-18 21:02:26

Scimmia
Fellow
Registered: 2012-09-01
Posts: 11,544

Re: Another user with GLX issue.

As I said, complain to whoever supplies your xorg-server package, since it isn't Arch. That's where your problem is.

Offline

#19 2017-02-18 21:05:05

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: Another user with GLX issue.

Moving to AUR Issues...


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#20 2017-02-18 21:05:54

ArchLinuxBestLinux
Member
Registered: 2017-01-03
Posts: 15

Re: Another user with GLX issue.

Will do. How do I mark this thread as solved?


Arch x86_64  + linux-hardened + zsh + i3
Gigabyte GA-MA785GM-US2H + AMD Phenom II X6 1090T + NVIDIA GeForce GTX 750 Ti

Offline

#21 2017-02-18 21:39:44

lordheavy
Developer
From: France
Registered: 2010-04-01
Posts: 292

Re: Another user with GLX issue.

ArchLinuxBestLinux wrote:

OK, got this solved!! I ran 

ln -s /usr/lib/nvidia/xorg/libglx.so /usr/lib/xorg/modules/extensions/

  and rebooted. Both steam and gthumb now work! Thanks all for your help, community!

Edit: How do I mark this post as solved?

Probably you are overiding the package default configuration that define the path to search extra modules (like glx nvidia one), please check, see  /usr/share/X11/xorg.conf.d/nvidia-drm-outputclass.conf

Last edited by lordheavy (2017-02-18 21:40:15)

Offline

#22 2017-02-18 22:20:17

ArchLinuxBestLinux
Member
Registered: 2017-01-03
Posts: 15

Re: Another user with GLX issue.

Come to think of it, I did have a problem with that file a week or two ago. I was unable to 'startx' with the following error:

Parse error on line 5 of the selection OutputClass in file /usr/share/X11/xorg.conf.d/nvidia-drm-outputclass.conf
 ModulePath is not a valid keyword in this section

In nvidia-drm-outputclass.conf, I commented out the following and X booted up:

ModulePath "/usr/lib/nvidia/xorg"

I removed the simlink I made while troubleshooting, and uncommented the ModulePath portion of that file to test and I was able to reproduce Xorg not booting with that error message and my original GLX issue.

Last edited by ArchLinuxBestLinux (2017-02-18 22:27:20)


Arch x86_64  + linux-hardened + zsh + i3
Gigabyte GA-MA785GM-US2H + AMD Phenom II X6 1090T + NVIDIA GeForce GTX 750 Ti

Offline

#23 2017-02-18 23:09:30

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,657

Re: Another user with GLX issue.

Is your nosystemd package the latest as well? I see it has recently been updated, maybe to get in line with what the Arch package is doing

Offline

#24 2017-02-18 23:52:18

ArchLinuxBestLinux
Member
Registered: 2017-01-03
Posts: 15

Re: Another user with GLX issue.

Huh, I see that xorg-server-nosystemd's AUR page has it at 1.19.1-3 while I'm at 1.19.1-2. Yaourt doesn't seem to be detecting the update. I'm going to try a manual install.

edit: Fudge it. It wants to remove nvidia-gl for mesa-gl. I'm going to back to systemd Arch tomorrow. Thank you for your valuable time, patience and help, v1del!

Mods, feel free to trash this thread.

Last edited by ArchLinuxBestLinux (2017-02-19 00:00:12)


Arch x86_64  + linux-hardened + zsh + i3
Gigabyte GA-MA785GM-US2H + AMD Phenom II X6 1090T + NVIDIA GeForce GTX 750 Ti

Offline

#25 2017-02-19 07:54:39

lordheavy
Developer
From: France
Registered: 2010-04-01
Posts: 292

Re: Another user with GLX issue.

ArchLinuxBestLinux wrote:

Come to think of it, I did have a problem with that file a week or two ago. I was unable to 'startx' with the following error:

Parse error on line 5 of the selection OutputClass in file /usr/share/X11/xorg.conf.d/nvidia-drm-outputclass.conf
 ModulePath is not a valid keyword in this section

In nvidia-drm-outputclass.conf, I commented out the following and X booted up:

ModulePath "/usr/lib/nvidia/xorg"

I removed the simlink I made while troubleshooting, and uncommented the ModulePath portion of that file to test and I was able to reproduce Xorg not booting with that error message and my original GLX issue.

Because you xorg-server package is missing this patch https://git.archlinux.org/svntogit/pack … org-server

Offline

Board footer

Powered by FluxBB