[Openchrome-users] Lack of 3D acceleration P4M890 + 0.2.901

Xavier Bachelot xavier
Tue Jan 15 14:32:06 PST 2008


Rafa? Mi?ecki wrote:
> 2008/1/12, Xavier Bachelot <xavier at bachelot.org>:
>> Benno Schulenberg wrote:
>>> Rafa? Mi?ecki wrote:
>>>> 2008/1/10, Xavier Bachelot <xavier at bachelot.org>:
>>>>> In xorg.conf, add :
>>>>>    Load         "dri"
>>>>> to the module section.
>>>> I added this line and rebooted whole machine (not X server only).
>>>>
>>>> Unfortunately, still no 3D accel:
>>>> zajec at poznan:~> glxinfo | grep direct
>>>> direct rendering: No
>>>> OpenGL renderer string: Mesa GLX Indirect
>>>>
>>>> http://files.zajec.net/openchrome.dri.Xorg.0.log
>>> But your Xorg log shows "(II) CHROME(0): direct rendering enabled".
>>>
>>> It may be your Suse distribution who somewhere in the configuration
>>> disables direct rendering for Unichromes, becaue of the certain
>>> lockups on some types of chips.
>>>
>> Ha, good catch Benno. Here's what I found from my mail archives.
>> Look at /etc/profile.d/via.sh or /etc/profile.d/via.sh and look for
>> something like LIBGL_ALWAYS_INDIRECT.
> 
> I found there a bash script that was setting LIBGL_ALWAYS_INDIRECT to
> 1 after finding "via" in /var/log/Xorg.0.log. I changed it so now this
> variable contains 0 value. Rebooted my PC but no progress about
> enabling direct rendering.
> 
> zajec at poznan:~> echo $LIBGL_ALWAYS_INDIRECT
> 0
> zajec at poznan:~> glxinfo | grep "direct"
> direct rendering: No
> OpenGL render string: Mesa GLX Indirect
> 

I'd suggest to move the scripts elsewhere to make sure they don't get in 
the way. Then try to run 'LIBGL_DEBUG=verbose glxinfo', it''l give you 
more details than just 'glxinfo'.

Regards,
Xavier





More information about the Openchrome-users mailing list