Bug 15667 - couldn't find RGB GLX visual when AIGLX is disabled
Summary: couldn't find RGB GLX visual when AIGLX is disabled
Status: RESOLVED FIXED
Alias: None
Product: xorg
Classification: Unclassified
Component: Server/General (show other bugs)
Version: git
Hardware: x86 (IA32) Linux (All)
: medium normal
Assignee: Xorg Project Team
QA Contact: Xorg Project Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-04-22 22:02 UTC by Jie Luo
Modified: 2009-09-01 23:35 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments
Xorg.log (19.14 KB, text/plain)
2008-04-22 22:03 UTC, Jie Luo
no flags Details

Description Jie Luo 2008-04-22 22:02:03 UTC
Today when I'm try to run glxinfo with AIGLX disabled, I find it does not work. It gives me a error.

Error: couldn't find RGB GLX visual

I find this piece of code in glxcmds.c in mesa, and (*ppsc)->configs == NULL is true. 

    /* Check to see if the GL is supported on this screen */
    *ppsc = &((*ppriv)->screenConfigs[scrn]);
    if ( (*ppsc)->configs == NULL ) {
        /* No support for GL on this screen regardless of visual */
        return GLX_BAD_VISUAL;
    }

So there must be some problem with the initialization of __GLXdisplayPrivate. I will take a further look, if I have time.

I'm surprise that no one have noticed this part was broken.
Comment 1 Jie Luo 2008-04-22 22:03:28 UTC
Created attachment 16118 [details]
Xorg.log
Comment 2 Michel Dänzer 2008-07-15 10:04:06 UTC
I think this is a regression caused by one of the GLX visual reworks.
Comment 3 Michel Dänzer 2009-09-01 02:11:19 UTC
Is this still an issue with xserver 1.6.x?
Comment 4 Jie Luo 2009-09-01 23:35:51 UTC
(In reply to comment #3)
> Is this still an issue with xserver 1.6.x?
> 

This issue is fixed with xsrver 1.6.3.901. I didn't check other versions. But I believe it is fixed with 1.6.x.


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.