OpenGL not using direct rendering [SOLVED]

This forum is dedicated to advanced help and support :

Ask here your questions about advanced usage of Mageia. For example you may post here all your questions about network and automated installs, complex server configurations, kernel tuning, creating your own Mageia mirrors, and all tasks likely to be touchy even for skilled users.

OpenGL not using direct rendering [SOLVED]

Postby willyd » Jan 16th, '16, 22:51

I set up an account at the gaming site called Steam, and downloaded a simple game to play. But every time I start the game I get the following error:

OpenGL not using direct rendering

The game then seems to crash as noting happens really. The error gives the following link to a brief discussion of the issue: https://support.steampowered.com/kb_art ... -EYZB-7457

I ran glxinfo and it appears to be configured to allow direct rendering. I also ran ldd glxinfo and did not detect any issues. I am running the 32bit version of Mageia 5 so, I assume I do not have the 64 bit version of glxinfo.

After install, I updated all packages as well. The article I read says to try downloading mesa-utils:i386, but no such package exists in Mageia. It also says to add the user to the video group, I did that but it made on difference.

I could really use some help on this one.

Thanks
Bill
Last edited by willyd on Jan 20th, '16, 00:16, edited 1 time in total.
willyd
 
Posts: 7
Joined: Jan 16th, '16, 01:11

Re: OpenGL not using direct rendering

Postby doktor5000 » Jan 16th, '16, 23:18

You probably did not reboot after a graphics driver update.

Apart from that basic hint, you're missing basic information. What desktop environment do you use, what graphics chip and driver do you use?
Please show the output of
Code: Select all
grep -i driver /var/log/Xorg.0.log
lspcidrake -v | grep VGA
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18018
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: OpenGL not using direct rendering

Postby willyd » Jan 17th, '16, 00:58

doktor5000 wrote:You probably did not reboot after a graphics driver update.

Apart from that basic hint, you're missing basic information. What desktop environment do you use, what graphics chip and driver do you use?
Please show the output of
Code: Select all
grep -i driver /var/log/Xorg.0.log
lspcidrake -v | grep VGA



Thanks for the help! here is the info you requested.

I am using Gnome as a desktop.
my video card is RS880M Mobility Radeon HD 4225/4250
the graphic chip is ATI Radeon HD 4870

here is the output form grep -i driver /var/log/Xorg.0.log
Code: Select all
    32.164]    X.Org Video Driver: 18.0
[    32.164]    X.Org XInput driver : 21.0
[    32.271] (II) Loading /usr/lib/xorg/modules/drivers/v4l_drv.so
[    32.333]    ABI class: X.Org Video Driver, version 18.0
[    32.539] (II) Loading /usr/lib/xorg/modules/drivers/ati_drv.so
[    32.540]    Module class: X.Org Video Driver
[    32.540]    ABI class: X.Org Video Driver, version 18.0
[    32.540] (II) Loading /usr/lib/xorg/modules/drivers/radeon_drv.so
[    32.649]    Module class: X.Org Video Driver
[    32.649]    ABI class: X.Org Video Driver, version 18.0
[    32.649] (II) v4l driver for Video4Linux
[    32.649] (II) RADEON: Driver for ATI Radeon chipsets:
[    32.708]    ABI class: X.Org Video Driver, version 18.0
[    32.783] (II) RADEON(0): EXA: Driver will allow EXA pixmaps in VRAM
[    32.786] (II) RADEON(0): [DRI2]   DRI driver: r600
[    32.786] (II) RADEON(0): [DRI2]   VDPAU driver: r600
[    32.798] (II) EXA(0): Driver allocated offscreen pixmaps
[    32.798] (II) EXA(0): Driver registered support for the following operations
:
[    33.885]    Module class: X.Org XInput Driver
[    33.885]    ABI class: X.Org XInput driver, version 21.0
[    33.885] (II) Using input driver 'evdev' for 'Power Button'
[    33.922] (II) Using input driver 'evdev' for 'Video Bus'
[    33.923] (II) Using input driver 'evdev' for 'Power Button'
[    33.923] (II) No input driver specified, ignoring this device.
[    33.924] (II) No input driver specified, ignoring this device.
[    33.924] (II) Using input driver 'evdev' for 'MOSART Semi. 2.4G RF Keyboard
& Mouse'
[    33.925] (II) Using input driver 'evdev' for 'MOSART Semi. 2.4G RF Keyboard
& Mouse'
[    33.926] (II) No input driver specified, ignoring this device.
[    33.927] (II) Using input driver 'evdev' for 'CNF9055'
[    33.927] (II) No input driver specified, ignoring this device.
[    33.927] (II) No input driver specified, ignoring this device.
[    33.928] (II) No input driver specified, ignoring this device.
[    33.928] (II) Using input driver 'evdev' for 'AT Translated Set 2 keyboard'
[    33.944]    Module class: X.Org XInput Driver
[    33.944]    ABI class: X.Org XInput driver, version 21.0
[    33.944] (II) Using input driver 'synaptics' for 'SynPS/2 Synaptics TouchPad
'
[    34.190] (II) No input driver specified, ignoring this device.
[    34.191] (II) Using input driver 'evdev' for 'Toshiba input device'
[willy@localhost ~]$ ^C


Here is the output from lspcidrake -v | grep VGA
Code: Select all
Card:ATI Radeon HD 4870 and earlier: Advanced Micro Devices, Inc. [AMD/ATI]|RS88
0M [Mobility Radeon HD 4225/4250] [DISPLAY_VGA] (vendor:1002 device:9712 subv:11
79 subd:fd00)


I did reboot after the update, but to no avail.

Thanks again
Last edited by doktor5000 on Jan 17th, '16, 16:25, edited 1 time in total.
Reason: added code tags
willyd
 
Posts: 7
Joined: Jan 16th, '16, 01:11

Re: OpenGL not using direct rendering

Postby doktor5000 » Jan 17th, '16, 17:38

Can you post the output when running the following commands as your regular user in a terminal

Code: Select all
/sbin/alternatives --display gl_conf
LIBGL_DEBUG=verbose glxinfo | grep -iE "opengl|^direct|^libgl"
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18018
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: OpenGL not using direct rendering

Postby willyd » Jan 17th, '16, 19:58

Here is the output from: LIBGL_DEBUG=verbose glxinfo | grep -iE "opengl|^direct|^libgl"
Code: Select all
libGL: screen 0 does not appear to be DRI3 capable
libGL: pci id for fd 4: 1002:9712, driver r600
libGL: OpenDriver: trying /usr/lib/dri/tls/r600_dri.so
libGL: OpenDriver: trying /usr/lib/dri/r600_dri.so
libGL: Can't open configuration file /home/willy/.drirc: No such file or directory.
libGL: Can't open configuration file /home/willy/.drirc: No such file or directory.
direct rendering: Yes
OpenGL vendor string: X.Org
OpenGL renderer string: Gallium 0.4 on AMD RS880
OpenGL version string: 2.1 Mesa 10.5.9
OpenGL shading language version string: 1.30
OpenGL extensions:
OpenGL ES profile version string: OpenGL ES 2.0 Mesa 10.5.9
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 1.0.16
OpenGL ES profile extensions:
[willy@localhost ~]$



Here is the output from: /sbin/alternatives --display gl_conf

Code: Select all
gl_conf - status is manual.
 link currently points to /etc/ld.so.conf.d/GL/standard.conf
/etc/ld.so.conf.d/GL/standard.conf - priority 500
 slave xorg_extra_modules: /usr/lib/xorg/xorg-1.6-extra-modules
Current `best' version is /etc/ld.so.conf.d/GL/standard.conf.
[willy@localhost ~]$
Last edited by doktor5000 on Jan 17th, '16, 20:27, edited 1 time in total.
Reason: added code tags
willyd
 
Posts: 7
Joined: Jan 16th, '16, 01:11

Re: OpenGL not using direct rendering

Postby doktor5000 » Jan 17th, '16, 20:29

Please next time use code tags as explained in ftp://ftp5.gwdg.de/pub/linux/mandriva/m ... e_tags.ogv
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18018
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: OpenGL not using direct rendering

Postby doktor5000 » Jan 17th, '16, 20:34

You're using the free radeon driver, and from what I read this requires tracking down some older libaries that steam bundles and deleting them.
Upstream bug report for this is https://github.com/ValveSoftware/steam- ... /issues/13
You could try this via running the following commands as regular user in a terminal:
Code: Select all
mv ~/.local/share/Steam/ubuntu12_32/steam-runtime/i386/lib/i386-linux-gnu/libgcc_s.so.1{,.disable}
mv ~/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/libstdc++.so.6{,.disable}


But your easiest bet is to switch to the proprietary fglrx driver, see https://wiki.mageia.org/en/Setup_the_graphical_server
and http://doc.mageia.org/mcc/5/en/content/XFdrake.html
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18018
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: OpenGL not using direct rendering

Postby willyd » Jan 19th, '16, 23:48

Thank you so much for your help, I am up and running now with no errors or warnings.

I tried using the proprietary driver, but it made the screen go haywire (black & white with lines running through it).

But, running the two commands you gave me worked just fine.

Thanks again.
willyd
 
Posts: 7
Joined: Jan 16th, '16, 01:11

Re: OpenGL not using direct rendering

Postby doktor5000 » Jan 19th, '16, 23:50

Please mark the thread accordingly by editing the topic of the first post and prefix it by [SOLVED], thanks
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18018
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany


Return to Advanced support

Who is online

Users browsing this forum: No registered users and 1 guest