Tiny Core Linux

Tiny Core Extensions => TCE Q&A Forum => Topic started by: nano on January 27, 2015, 12:46:21 AM

Title: Problem in loading GLX
Post by: nano on January 27, 2015, 12:46:21 AM
Hi
I load Xorg-7.7-3d in onboot.lst and remove xvesa, I want to run opengl application, but when I run them give me: "Could not initialize GLX".
I load xdemos and run glxinfo it says "Error: couldn't find RGB GLX visual or fbconfig". in Xorg.0.log this error loged:
Code: [Select]
[    15.704] (EE) AIGLX error: dlopen of /usr/local/lib/dri/i915_dri.so failed (/usr/local/lib/dri/i915_dri.so: cannot open shared object file: No such file or directory)
[    15.704] (EE) AIGLX: reverting to software rendering
[    15.704] (II) AIGLX: Screen 0 is not DRI capable
[    15.704] (EE) AIGLX error: dlopen of /usr/local/lib/dri/swrast_dri.so failed (/usr/local/lib/dri/swrast_dri.so: cannot open shared object file: No such file or directory)
[    15.704] (EE) GLX: could not load software renderer
[    15.704] (II) GLX: no usable GL providers found for screen 0

what's the problem?

Another question, i remove xvesa from onboot.lst, but in Xor.0.log appears that xvesa loaded and then unloaded, why?
Code: [Select]
[    15.650] (II) UnloadModule: "vesa"
[    15.650] (II) Unloading vesa
[    15.650] (II) UnloadModule: "fbdev"
[    15.650] (II) Unloading fbdev
[    15.650] (II) UnloadSubModule: "fbdevhw"
[    15.650] (II) Unloading fbdevhw

Xorg.0.log is attached.
Title: Re: Problem in loading GLX
Post by: Juanito on January 27, 2015, 12:57:50 AM
Do you have graphics-KERNEL loaded?

The "vesa" being referred to is "xf86-video-vesa", not Xvesa.
Title: Re: Problem in loading GLX
Post by: nano on January 27, 2015, 01:02:05 AM
Yes, i use zf86-video-intel, in onboot.lst i have:
Code: [Select]
Xlibs.tcz
        Xorg-7.7-3d.tcz
        libxcb.tcz
        xf86-video-intel.tcz
        dbus.tcz
Title: Re: Problem in loading GLX
Post by: Juanito on January 27, 2015, 01:09:52 AM
I just tried on my intel hardware - I get the same glx errors without Xorg-7.7-3d loaded (or loaded after X has started) and the errors disappear when Xorg-7.7-3d is loaded (or X is restarted if Xorg-7-7-3d was loaded after X was originally started).
Title: Re: Problem in loading GLX
Post by: nano on January 27, 2015, 01:14:23 AM
Should i change onboot.lst order? How restart x? after boot i run startx again, the problem exist.
Title: Re: Problem in loading GLX
Post by: Juanito on January 27, 2015, 01:18:02 AM
If Xorg-7-7-3d, xf86-video-intel and graphics-KERNEL are loaded "onboot", then everything should be OK.
Title: Re: Problem in loading GLX
Post by: nano on January 27, 2015, 01:32:59 AM
I have Xorg-7-7-3d, xf86-video-intel and graphics-KERNEL in onboot.lst, but the problem exists.
I have the same setting on Core5.3 and that was OK, but in Core6.0 I have this problem.
Title: Re: Problem in loading GLX
Post by: Juanito on January 27, 2015, 03:02:17 AM
have you used the apps gui to update all of your extensions to the latest version in tc-6.x?
Title: Re: Problem in loading GLX
Post by: nano on January 27, 2015, 05:51:51 AM
Yes, i update with apps gui, but all the extensions were update. (i do a new installation of core6
Title: Re: Problem in loading GLX
Post by: nano on January 27, 2015, 02:57:50 PM
You can test this on a virtual machine (I did on VirtualBox):
1- Install CorePlus5.3 -> install xf86-video-vmware and xdemos -> glxinfo is OK. [/var/log/Xorg.0.log http://termbin.com/wvk5]
2- Install CorePlus6.0 -> install xf86-video-vmware and xdemos -> glxinfo give you "Error: couldn't find RGB GLX visual or fbconfig". [/var/log/Xorg.0.log http://termbin.com/1hr1]

I don't know what's the reason?
Title: Re: Problem in loading GLX
Post by: nano on January 28, 2015, 03:42:00 PM
No one could help?
Title: Re: Problem in loading GLX
Post by: core-user on January 29, 2015, 05:15:15 AM
I'm a newbie to TC, but not Linux, & have found that some extensions for 6.0 don't have the correct dependencies listed - so I went back to 5.4 to get to grips with how TC works compared to a regular distro - may be better for you too. :)
(I also had problems with the Apps program on 6.0.)
Title: Re: Problem in loading GLX
Post by: bmarkus on January 29, 2015, 05:25:54 AM
have found that some extensions for 6.0 don't have the correct dependencies listed

Please report issues you found.
Title: Re: Problem in loading GLX
Post by: nano on January 29, 2015, 06:01:44 AM
I checked Xorg and xf86-video-intel, deps on TC 6 and 5.4, there was no difference.
I think KERNEL or graphics-KERNEL of TC 6 has made this problem.
Title: Re: Problem in loading GLX
Post by: core-user on January 29, 2015, 11:15:25 AM
have found that some extensions for 6.0 don't have the correct dependencies listed

Please report issues you found.
I did start a thread for them.:)
Title: Re: Problem in loading GLX
Post by: nano on January 29, 2015, 12:23:16 PM
Thanks
Please add address of thread here.