|08-09-08, 04:18 PM||#1|
Join Date: May 2006
Detecting XRandR 1.2 support.
This post is related to this https://bugs.freedesktop.org/show_bug.cgi?id=16639 XOrg but report. But is specific to an issue that was raised on the xorg email list that asks this question:
"Whats the easiest way to see if a particular server, the actual running
one, supports XRandR 1.2 ?"
On response was to use XRRQueryVersion() but others had already tested this and found that this call returned the installed version of XRandR not the supported version of XRandR. That is on a machine with XRandR 1.2 installed, which is very common now, but with the nvidia driver installed the XRRQueryVersion() call will return 1.2 even though this is not supported by that configuration. If the calling application then tries to do things that require XRandR 1.2 those calls will fail.
This problem is an issue that at this point is confined to proprietary drivers since all of the commonly used open source drivers have (at least for the most part) working XRandR 1.2 support. So in my application how do I detect if XRandR 1.2 is supported so that I can fall back to older APIs and avoid making calls that will fail? A little snippet of code that does this would be great.
|Thread||Thread Starter||Forum||Replies||Last Post|
|Vizio's Co-Star: $99 Google TV box with OnLive gaming support||News||Archived News Items||0||06-26-12 11:40 AM|
|Canonical partners with Microsoft to support Ubuntu on Azure||News||Archived News Items||0||06-08-12 05:20 AM|
|Remastered Doom 3 BFG Edition Game Coming with Stereo 3D Support||News||Archived News Items||0||06-01-12 05:30 AM|
|GL_EXT_texture_compression_s3tc support for Quadro4 700 XGL||marvin24||NVIDIA Linux||3||08-20-03 09:00 AM|
|Official Detonator 40.xx Feedback Thread||pelly||NVIDIA Windows Graphics Drivers||299||09-22-02 06:54 AM|