Go Back   nV News Forums > Linux Support Forums > NVIDIA Linux

Newegg Daily Deals

Reply
 
Thread Tools
Old 08-09-08, 05:18 PM   #1
hvengel
Registered User
 
Join Date: May 2006
Posts: 57
Default 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.
hvengel is offline   Reply With Quote
Reply


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


Similar Threads
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 12:40 PM
Canonical partners with Microsoft to support Ubuntu on Azure News Archived News Items 0 06-08-12 06:20 AM
Remastered Doom 3 BFG Edition Game Coming with Stereo 3D Support News Archived News Items 0 06-01-12 06:30 AM
GL_EXT_texture_compression_s3tc support for Quadro4 700 XGL marvin24 NVIDIA Linux 3 08-20-03 10:00 AM
Official Detonator 40.xx Feedback Thread pelly NVIDIA Windows Graphics Drivers 299 09-22-02 07:54 AM

All times are GMT -5. The time now is 05:17 PM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Copyright 1998 - 2014, nV News.