Feature #928

XRandR modesetting

Added by ThibG about 5 years ago. Updated almost 5 years ago.

Status:Closed Start date:05/23/2010
Priority:High Due date:
Assignee:kervala % Done:

100%

Category:OS: GNU/Linux
Target version:Version 0.8.0 Estimated time:3.00 hours

Description

Hi, we currently use XF86VidMode for X modesetting.
However, it's old (and in our current implementation, broken on 64b), and obsoleted by the XRandR extension.
So, we should drop XF86VidMode and use XRandR instead.
For the record, Id Software did that with its game "Enemy Territory: Quake Wars" on GNU/Linux a few years ago, so, it shouldn't be a problem with any decent video driver, now.

History

#1 Updated by vl about 5 years ago

I think xranrd could be nice indeed. If you have a patch, we'll take it :)

#2 Updated by kervala almost 5 years ago

  • Status changed from New to Assigned
  • Assignee set to kervala
  • Priority changed from Normal to High

#3 Updated by kervala almost 5 years ago

  • Estimated time set to 3.00

#4 Updated by kervala almost 5 years ago

  • Status changed from Assigned to Resolved
  • % Done changed from 0 to 100

Applied in changeset r473.

#5 Updated by kervala almost 5 years ago

  • Target version set to Version 0.8.0

#6 Updated by kervala almost 5 years ago

Applied in changeset r474.

#7 Updated by kervala almost 5 years ago

NVidia proprietary driver is using refresh rate as unique ID to identify resolutions (XF86VidMode was detecting correct refresh rates).

That's why XRandR returns 50 Hz instead of 60 Hz.

So I decided to use XRRSetScreenConfig (XRandR 1.0) instead of XRRSetScreenConfigAndRate (XRandR 1.1)

#8 Updated by kervala almost 5 years ago

  • Status changed from Resolved to Closed

#9 Updated by kervala almost 5 years ago

  • Category changed from NeL: General to OS: GNU/Linux

Also available in: Atom PDF