Bug 72684 - glxinfo error with "Error: couldn't find RGB GLX visual or fbconfig"
Summary: glxinfo error with "Error: couldn't find RGB GLX visual or fbconfig"
Status: RESOLVED MOVED
Alias: None
Product: Mesa
Classification: Unclassified
Component: Drivers/DRI/i915 (show other bugs)
Version: 9.2
Hardware: x86 (IA32) Linux (All)
: medium critical
Assignee: Intel 3D Bugs Mailing List
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-12-13 17:06 UTC by xiangxw
Modified: 2019-09-18 19:37 UTC (History)
2 users (show)

See Also:
i915 platform:
i915 features:


Attachments

Description xiangxw 2013-12-13 17:06:22 UTC
Intel Corporation 82865G Integrated Graphics Controller (rev 02)
Ubuntu 13.10 with command "glxinfo" will produce:

```
name of display: :0
Error: couldn't find RGB GLX visual or fbconfig
Error: couldn't find RGB GLX visual or fbconfig
```

with command "LIBGL_DEBUG=verbose glxinfo":
```
name of display: :0
libGL: OpenDriver: trying /usr/lib/i386-linux-gnu/dri/tls/swrast_dri.so
libGL: OpenDriver: trying /usr/lib/i386-linux-gnu/dri/swrast_dri.so
libGL: Can't open configuration file /home/a/.drirc: No such file or directory.
libGL: Can't open configuration file /home/a/.drirc: No such file or directory.
libGL: Can't open configuration file /home/a/.drirc: No such file or directory.
libGL: Can't open configuration file /home/a/.drirc: No such file or directory.
libGL: Can't open configuration file /home/a/.drirc: No such file or directory.
libGL: Can't open configuration file /home/a/.drirc: No such file or directory.
libGL: Can't open configuration file /home/a/.drirc: No such file or directory.
libGL: Can't open configuration file /home/a/.drirc: No such file or directory.
Error: couldn't find RGB GLX visual or fbconfig
libGL: Can't open configuration file /home/a/.drirc: No such file or directory.
Error: couldn't find RGB GLX visual or fbconfig
```
Comment 1 Götz 2014-01-12 18:18:57 UTC
With the same hardware I get the same error under Ubuntu 13.10, but not under Arch Linux using Mesa 9.2 nor Mesa 10; it may be an Ubuntu 13.10 specific bug.
Comment 2 Götz 2014-01-14 18:18:32 UTC
I was using the DefaultDepth set to 24, and by default the intel DDX driver is defaulting to 15/16 when using SNA (in UXA it is 24).

xiangxw, try changing the DefaultDepth to 24, I think it should fix the problem.

 Section "Screen"
   Identifier "Screen0"
   DefaultDepth 24
 EndSection

Composition doesn't seem to work either with the default settings. Wouldn't it be better to set the driver to use a DefaultDepth of 24 by default?
Comment 3 Christopher Yeleighton 2014-05-17 12:36:28 UTC
The default depth should be set to 24 by the driver, the manual override is a workaround.
Comment 4 Götz 2014-05-18 20:29:19 UTC
This is already the case since 2.99.908 (2014-02-01). http://cgit.freedesktop.org/xorg/driver/xf86-video-intel/commit/?id=539b749416b275d84e05e2a5b62d946903aa3d29
Comment 5 GitLab Migration User 2019-09-18 19:37:54 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/mesa/mesa/issues/734.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.