Environmental variables not seen by 32b program on 64 bit system

asked 2013-12-25 03:28:24 -0500

Trismegistos gravatar image

updated 2013-12-29 00:35:40 -0500

FranciscoD_ gravatar image

I am running following command:

LIBGL_DEBUG=verbose glxinfo32 -v -t | head -5

It's output says

direct rendering: No (If you want to find out why, try setting LIBGL_DEBUG=verbose)

So it looks like 32 bit application is not seeing environmental variables. How can I export variables to 32 bit app?

edit retag flag offensive close merge delete


Or rather that this is all the information LIBGL_DEBUG=verbose triggers. I would try to run LIBGL_DEBUG=verbose glxinfo64 -v -t | head -5 - is the output different? As pointed in the answer to your question at http://unix.stackexchange.com/questions/106585/application-does-not-see-environmental-variables - where does glxinfo32 comes from on a 64-bit Fedora ? Did you install it somehow with yum?

marcindulak gravatar imagemarcindulak ( 2013-12-31 08:29:44 -0500 )edit

@marcindulak Marcin I have used this turotrial https://forums.eveonline.com/default.aspx?g=posts&t=34104 to compile and install 32 bit glxinfo. I have tried version that comes from Gentoo portage and I have also downloaded newest source code from Mesa page. By analyzing code I have found out that it is not glxinfo which produces additional information in response to environmental variable. It is libgl which checks for this variable and produces verbose output which is what variable name indicates by anyway. So this is problem of libgl compilation which comes with Fedora package.

Trismegistos gravatar imageTrismegistos ( 2014-01-02 15:24:42 -0500 )edit

In this case what about installing the debug info debuginfo-install mesa-libGL ?

marcindulak gravatar imagemarcindulak ( 2014-01-03 01:10:51 -0500 )edit

@marcindulak debuginfo packages do not help. They are debugger symbols I suppose but I am not debugging this library.

Trismegistos gravatar imageTrismegistos ( 2014-01-03 15:44:15 -0500 )edit