Bug 904851
| Summary: | xvfb-run glxinfo fails | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Don Bright <hugh.m.bright> |
| Component: | xorg-x11-server | Assignee: | X/OpenGL Maintenance List <xgl-maint> |
| Status: | CLOSED NOTABUG | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 18 | CC: | john.mora, martinsson.patrik, mhroncok, tfogal, xgl-maint, zbyszek |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2013-12-13 23:14:29 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Don Bright
2013-01-27 21:19:17 UTC
I can confirm this problem, it's the same problem in Rhel 6.4. Following patch resolves the issue, tested and confirmed. http://cgit.freedesktop.org/xorg/xserver/patch/?id=65642ccb78aa2d4c4e17b9ac42e4ef625c4a6e8b While the referenced patch is already included in Fedora 20, I still cannot use this.
$ LIBGL_DEBUG=verbose xvfb-run glxinfo
name of display: :99
libGL: OpenDriver: trying /usr/lib64/dri/tls/swrast_dri.so
libGL: OpenDriver: trying /usr/lib64/dri/swrast_dri.so
libGL: Can't open configuration file /home/churchyard/.drirc: No such file or directory.
libGL error: failed to load driver: swrast
Error: couldn't find RGB GLX visual or fbconfig
Error: couldn't find RGB GLX visual or fbconfig
180 GLXFBConfigs:
visual x bf lv rg d st colorbuffer sr ax dp st accumbuffer ms cav
id dep cl sp sz l ci b ro r g b a F gb bf th cl r g b a ns b eat
----------------------------------------------------------------------------
0x049 0 tc 0 32 0 r . . 8 8 8 8 . . 0 0 0 0 0 0 0 0 0 None
<snip>
The referenced files are there, but it fails to load the driver.
This bug still bothers me.
$ LIBGL_DEBUG=verbose xvfb-run glxgears libGL: OpenDriver: trying /usr/lib64/dri/tls/swrast_dri.so libGL: OpenDriver: trying /usr/lib64/dri/swrast_dri.so libGL: Can't open configuration file /home/churchyard/.drirc: No such file or directory. libGL error: failed to load driver: swrast Error: couldn't get an RGB, Double-buffered visual If you don't specify, Xvfb starts at 8bpp, and there's no GLX support for 8bpp anymore. Thanks for that info. So apparently, `xvfb-run -s "-screen 0 640x480x24" glxinfo` runs fine, but doesn't work in mock. <mock-chroot>[root@x230 /]# xvfb-run -s "-screen 0 640x480x24" glxinfo name of display: :99 Error: couldn't find RGB GLX visual or fbconfig Error: couldn't find RGB GLX visual or fbconfig <mock-chroot>[root@x230 /]# xvfb-run -s "-screen 0 640x480x24" glxgears Error: couldn't get an RGB, Double-buffered visual Am I missing something obvious? Should I continue the discussion here or should I open another bug? (In reply to Miro Hrončok from comment #5) > Thanks for that info. > > So apparently, `xvfb-run -s "-screen 0 640x480x24" glxinfo` runs fine, but > doesn't work in mock. > > <mock-chroot>[root@x230 /]# xvfb-run -s "-screen 0 640x480x24" glxinfo > name of display: :99 > Error: couldn't find RGB GLX visual or fbconfig > Error: couldn't find RGB GLX visual or fbconfig > > <mock-chroot>[root@x230 /]# xvfb-run -s "-screen 0 640x480x24" glxgears > Error: couldn't get an RGB, Double-buffered visual > > Am I missing something obvious? I think you also won't get GLX if you don't have mesa-dri-drivers installed in the chroot. Thanks. That helped. *** Bug 1413238 has been marked as a duplicate of this bug. *** |