LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 07-13-2019, 02:31 AM   #1
mcnalu
Member
 
Registered: Dec 2006
Location: Glasgow, UK
Distribution: Slackware current
Posts: 423

Rep: Reputation: 73
GLX broken on -current with nvidia drivers


After installing nvidia driver and kernel from SBo as I described in this post I found GLX was broken:

Code:
$ cat glxgears-error.txt 
Xlib:  extension "GLX" missing on display ":0".
Error: couldn't get an RGB, Double-buffered visual
Didn't trouble me too much as X worked fine otherwise but it did bother my daughter when she wanted to play minecraft!

I noticed the nvidia-switch script has lib version numbers that don't accord with -current but I understand from reading around that will be sorted when slackware RC1 comes along. I'm not sure what broke GLX but a workaround is to switch symlinks in /usr/lib64/xorg/modules/extensions back to the xorg libglx.so:
Code:
lrwxrwxrwx 1 root root       14 Jul 13 08:17 libglx.so -> xorg-libglx.so
lrwxrwxrwx 1 root root       14 Jul 13 08:18 libglxserver_nvidia.so -> xorg-libglx.so
 
Old 07-13-2019, 02:42 AM   #2
ZhaoLin1457
Senior Member
 
Registered: Jan 2018
Posts: 1,020

Rep: Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208
About what RC1 you talk, when we still are with KDE4 shipped?

Last edited by ZhaoLin1457; 07-13-2019 at 03:09 AM.
 
Old 07-13-2019, 04:36 AM   #3
garpu
Senior Member
 
Registered: Oct 2009
Distribution: Slackware
Posts: 1,528

Rep: Reputation: 898Reputation: 898Reputation: 898Reputation: 898Reputation: 898Reputation: 898Reputation: 898
I thought the slackbuilds for Nvidia were known not to be OK for current? I'm using the Nvidia blob and current, here, and I had no problems. I can play minecraft, as well.
 
1 members found this post helpful.
Old 07-13-2019, 05:11 AM   #4
3rensho
Senior Member
 
Registered: Mar 2008
Location: Deutschland
Distribution: Slackware64-current
Posts: 1,019

Rep: Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615
GLX gears works fine for me -current64, Plasma5, Nvidia 340.34 - switched back to open source from blob.
 
1 members found this post helpful.
Old 07-13-2019, 07:24 AM   #5
garpu
Senior Member
 
Registered: Oct 2009
Distribution: Slackware
Posts: 1,528

Rep: Reputation: 898Reputation: 898Reputation: 898Reputation: 898Reputation: 898Reputation: 898Reputation: 898
% ~ glxgears
Running synchronized to the vertical refresh. The framerate should be
approximately the same as the monitor refresh rate.
300 frames in 5.0 seconds = 59.948 FPS
X connection to :0.0 broken (explicit kill or server shutdown).
 
Old 07-13-2019, 10:30 AM   #6
garpu
Senior Member
 
Registered: Oct 2009
Distribution: Slackware
Posts: 1,528

Rep: Reputation: 898Reputation: 898Reputation: 898Reputation: 898Reputation: 898Reputation: 898Reputation: 898
Are you using the most recent Minecraft launcher? It used to crash, but that was fixed. I am getting some errors when launching it, though:

[0713/112752.146465:ERROR:gl_context_glx.cc(232)] Couldn't make context current with X drawable.
[0713/112752.190269:ERROR:gles2_cmd_decoder.cc(4387)] GLES2DecoderImpl: Context lost during MakeCurrent.
[0713/112752.214146:WARNING:x11_util.cc(1349)] X error received: serial 283, error_code 168 (GLXBadWindow), request_code 150, minor_code 26 (X_GLXMakeContextCurrent)
[0713/112752.214233:ERROR:gles2_cmd_decoder.cc(4382)] GLES2DecoderImpl: Trying to make lost context current.
[0713/112752.214325:ERROR:gl_context_glx.cc(232)] Couldn't make context current with X drawable.
[0713/112752.225952:ERROR:gles2_cmd_decoder.cc(4382)] GLES2DecoderImpl: Trying to make lost context current.
[0713/112752.226983:WARNING:x11_util.cc(1349)] X error received: serial 308, error_code 8 (BadMatch (invalid parameter attributes)), request_code 150, minor_code 26 (X_GLXMakeContextCurrent)
[0713/112752.227014:ERROR:gles2_cmd_decoder.cc(4382)] GLES2DecoderImpl: Trying to make lost context current.
[0713/112752.227749:WARNING:x11_util.cc(1349)] X error received: serial 310, error_code 3 (BadWindow (invalid Window parameter)), request_code 4, minor_code 0 (X_DestroyWindow)

I don't get these with MultiMC.
 
Old 07-13-2019, 11:57 AM   #7
mcnalu
Member
 
Registered: Dec 2006
Location: Glasgow, UK
Distribution: Slackware current
Posts: 423

Original Poster
Rep: Reputation: 73
I'm referring to slackware RC1 - see this post by kingbeowulf:
https://www.linuxquestions.org/quest...ml#post6004714

I'll take a look at the binary itself from nvidia and check which minecraft launcher I'm using. Thanks for the replies.
 
Old 07-13-2019, 01:44 PM   #8
garpu
Senior Member
 
Registered: Oct 2009
Distribution: Slackware
Posts: 1,528

Rep: Reputation: 898Reputation: 898Reputation: 898Reputation: 898Reputation: 898Reputation: 898Reputation: 898
That having been said, I was playing minecraft before bed last night and had a crash almost immediately after. It wasn't the usual hard lock I had with the Ryzen idling, but rather like my monitor reset, and then wouldn't come back. I'm not sure if it's related, or a continuance of the issues I was having. (I'm up to date on current's updates.) glxgears is fine. I did about 10 minutes of torture testing with mprime. memtest is fine. I'm inclined to think that the two issues aren't related, but bring it up, in case they are.
 
  


Reply

Tags
current, glx, nvidia



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] rss-glx-0.9.1-i486-1alien broken by imagemagick upgrade in -current jamesf Slackware 5 01-04-2011 07:09 AM
no display: Xorg, Nvidia driver broken after Etch update; Failed to load module "glx" forgox Debian 19 07-12-2010 12:26 PM
Can't load the nvidia glx (may be lacking \etc\rc.d\init.d\nvidia-glx) Starchild Fedora 1 07-27-2007 06:44 AM
nvidia-glx-legacy & GLX errors Codegen Ubuntu 5 03-11-2007 03:18 PM
Nvidia GeForce 4 MX 440 poor performance nvidia glx drivers jollyjoice Linux - Hardware 7 06-07-2006 09:02 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 03:46 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration