Bug 857662 - [mesa] libGL error: failed to open drm device
Summary: [mesa] libGL error: failed to open drm device
Keywords:
Status: CLOSED DUPLICATE of bug 806491
Alias: None
Product: Fedora
Classification: Fedora
Component: mesa
Version: 18
Hardware: x86_64
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: Adam Jackson
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-09-15 18:13 UTC by Joachim Frieben
Modified: 2012-09-25 22:08 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2012-09-25 22:08:19 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
X log file (34.34 KB, text/plain)
2012-09-15 18:14 UTC, Joachim Frieben
no flags Details

Description Joachim Frieben 2012-09-15 18:13:32 UTC
Description of problem:
Direct rendering is enabled on a ATI Radeon X800 SE (R430) (PCIE) video card as reported by Xorg.0.log ("RADEON(0): Direct rendering enabled"), but GL does not provide hardware acceleration:

$ LIBGL_DEBUG=verbose glxgears
libGL: OpenDriver: trying /usr/lib64/dri/r300_dri.so
libGL error: failed to open drm device: Permission denied
libGL error: failed to load driver: r300
libGL: OpenDriver: trying /usr/lib64/dri/swrast_dri.so
libGL: Can't open configuration file /home/fedora/.drirc: No such file or directory.

Version-Release number of selected component (if applicable):
mesa-libGL-8.1-0.21.fc18.x86_64

How reproducible:
Always.

Steps to Reproduce:
1. Start X session.
2. Run 'LIBGL_DEBUG=verbose glxgears'.
  
Actual results:
GL falls back to using the "swrast" driver.

Expected results:
GL is using the "r300" driver.

Additional info:
- Issue has occurred intermittently during the F18 development cycle.
- Installed components include:
  * kernel-3.6.0-0.rc5.git2.1.fc18.x86_64
  * libdrm-2.4.39-1.fc18.x86_64
  * mesa-libGL-8.1-0.21.fc18.x86_64
  * xorg-x11-drv-ati-7.0.0-0.6.20120910git7c7f27756.fc18.x86_64
  * xorg-x11-server-Xorg-1.13.0-3.fc18.x86_64

Comment 1 Joachim Frieben 2012-09-15 18:14:32 UTC
Created attachment 613309 [details]
X log file

Comment 2 Adam Jackson 2012-09-21 17:45:11 UTC
How did you start X?

Comment 3 Kamil Páral (Red Hat) 2012-09-25 11:27:05 UTC
I see the same problem nouveau Test Day:

$ LIBGL_DEBUG=verbose glxgears
libGL: OpenDriver: trying /usr/lib64/dri/nouveau_dri.so
libGL error: failed to open drm device: Permission denied
libGL error: failed to load driver: nouveau
libGL: OpenDriver: trying /usr/lib64/dri/swrast_dri.so
libGL: Can't open configuration file /home/kparal/.drirc: No such file or directory.

The desktop performance is *unusable*. glxinfo says I'm using llvmpipe, but it takes a second to refresh the screen for any action. Even typing it terminal is really hard.

I followed https://fedoraproject.org/wiki/QA:Testcase_nouveau_restartx :
I booted into runlevel 3 and executed "startx".

Comment 4 Adam Williamson (Red Hat non-Fedora) 2012-09-25 22:08:19 UTC
this is therefore a dupe of https://bugzilla.redhat.com/show_bug.cgi?id=806491 . We need to change the test case not to tell people to use startx.

*** This bug has been marked as a duplicate of bug 806491 ***


Note You need to log in before you can comment on or make changes to this bug.