We are currently migrating Bugzilla to GitHub issues.
Any changes made to the bug tracker now will be lost, so please do not post new bugs or make changes to them.
When we're done, all bug URLs will redirect to their equivalent location on the new bug tracker.

Bug 1442 - Strange dual-monitor display enumeration
Summary: Strange dual-monitor display enumeration
Status: RESOLVED FIXED
Alias: None
Product: SDL
Classification: Unclassified
Component: video (show other bugs)
Version: HG 2.0
Hardware: x86_64 Linux
: P2 normal
Assignee: Sam Lantinga
QA Contact: Sam Lantinga
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-03-04 21:16 UTC by Charles Huber
Modified: 2012-06-20 13:55 UTC (History)
1 user (show)

See Also:


Attachments
Simple display enumerator (903 bytes, text/x-c++src)
2012-03-04 21:16 UTC, Charles Huber
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Charles Huber 2012-03-04 21:16:09 UTC
Created attachment 836 [details]
Simple display enumerator

Running the attached program gives me this:

Display: 0
  Mode 0: 3520x1200
  Mode 1: 1600x1200
  Mode 2: 1600x1200
  Mode 3: 1280x1024
  Mode 4: 1280x1024
  Mode 5: 1152x864
  Mode 6: 1024x768
  Mode 7: 1024x768
  Mode 8: 800x600
  Mode 9: 800x600
  Mode 10: 720x400
  Mode 11: 640x480
  Mode 12: 640x480

Since I'm running two monitors (1920x1200 and 1600x1200) side-by-side I had expected something like this:

Display: 0
  Mode 0: 1920x1200
  ...
Display: 1
  Mode 0: 1600x1200
  ...


Debian Wheezy, amd64.  

Running a "ATI Technologies Inc Cayman PRO [Radeon HD 6950]" using the default open-source radeon driver in Wheezy.

testver output:
Compiled with SDL 2.0 or newer
Compiled version: 2.0.0.6303 (hg-6303:6bb657898f55)
Linked version: 2.0.0.6303 (hg-6303:6bb657898f55)

xrandr --version output:
xrandr program version       1.3.5
Server reports RandR version 1.3

xrandr output:
Screen 0: minimum 320 x 200, current 3520 x 1200, maximum 16384 x 16384
DisplayPort-0 disconnected (normal left inverted right x axis y axis)
DisplayPort-1 disconnected (normal left inverted right x axis y axis)
HDMI-0 disconnected (normal left inverted right x axis y axis)
DVI-0 connected 1600x1200+1920+0 (normal left inverted right x axis y axis) 367mm x 275mm
   1600x1200      60.0*+
   1280x1024      75.0     60.0  
   1152x864       75.0  
   1024x768       75.1     60.0  
   800x600        75.0     60.3  
   640x480        75.0     60.0  
   720x400        70.1  
DVI-1 connected 1920x1200+0+0 (normal left inverted right x axis y axis) 518mm x 324mm
   1920x1200      60.0*+
   1600x1200      60.0  
   1280x1024      75.0     60.0  
   1152x864       75.0  
   1024x768       75.1     60.0  
   800x600        75.0     60.3  
   640x480        75.0     60.0  
   720x400        70.1
Comment 1 Gabriel Jacobo 2012-06-20 13:55:03 UTC
This should probably fix it: http://hg.libsdl.org/SDL/rev/5732e1a80bde

Feel free to reopen in case it does not.