You are not logged in.

#1 2014-07-27 10:12:47

klenamenis
Member
Registered: 2014-07-03
Posts: 101

xorg, xrandr, modelines

Hey,

I'm using an R9 280X with catalyst drivers on a QNIX 2710LED, which supports +120Hz. It's no problem to achieve real 120Hz running windows, but linux is making some problems. The Monitor (imported from Korea) doesn't provide correct EDID information, so an xorg.conf is neccessary to see some pixels. In addition, I wanted to add some custom modelines to support different refresh rates. Sadly, none of those get recognized by catalyst, xrandr or any other program. I don't get it working, can somebody help me?

Section "ServerLayout"
	Identifier     "aticonfig Layout"
	Screen      0  "aticonfig-Screen[0]-0" 0 0
EndSection

Section "Monitor"
	Identifier   "aticonfig-Monitor[0]-0"
	VendorName	"QNIX"
	ModelName	"QX2710LED"
	DisplaySize	597 336
	HorizSync	88.8 - 160.0
	VertRefresh	59.5 - 120.0
	Modeline "2560x1440_60.00"  312.25  2560 2752 3024 3488  1440 1443 1448 1493 -hsync +vsync
	Modeline "2560x1440_75.00"  397.25  2560 2760 3040 3520  1440 1443 1448 1506 -hsync +vsync
	Modeline "2560x1440_96.00"  519.25  2560 2776 3056 3552  1440 1443 1448 1524 -hsync +vsync
	Modeline "2560x1440_100.00"  542.25  2560 2776 3056 3552  1440 1443 1448 1527 -hsync +vsync
	Modeline "2560x1440_110.00"  600.00  2560 2776 3056 3552  1440 1443 1448 1536 -hsync +vsync
	Modeline "2560x1440_115.00"  632.00  2560 2784 3064 3568  1440 1443 1448 1541 -hsync +vsync
	Modeline "2560x1440_120.00"  661.25  2560 2784 3064 3568  1440 1443 1448 1545 -hsync +vsync
	Modeline "2560x1440_120.00R"  497.25  2560 2608 2640 2720  1440 1443 1448 1525 +hsync -vsync
	Option	"PreferredMode"	"2560x1440_75.00"
	Option	"DPMS"	"True"
EndSection

Section "Device"
	Identifier  "aticonfig-Device[0]-0"
	Driver      "fglrx"
	BusID       "PCI:1:0:0"
	VendorName	"AMD"
EndSection

Section "Screen"
	Identifier "aticonfig-Screen[0]-0"
	Device     "aticonfig-Device[0]-0"
	Monitor    "aticonfig-Monitor[0]-0"
	DefaultDepth     24
	Option	"UseEDID"	"False"
	Option	"UseEDIDDPI"	"False"
	Option	"UseEDIDFreqs"	"False"
	Option	"ExactModeTimingsDVI"	"True"
	Option	"ModeValidation"	"AllowNonEdidModes, AllowNon60hzmodesDFPModes, NoEDIDDFPMaxSizeCheck, NoVertRefreshCheck, NoHorizSyncCheck, NoDFPNativeResolutionCheck, NoMaxSizeCheck, NoMaxPClkCheck, NoEDIDModes"
	Option	"NoBandWidthTest"	"True"
	SubSection "Display"
		Viewport	0	0
		Depth	24
		Modes	"2560x1440_75.00"	"2560x1440"
	EndSubSection
EndSection

I tried it manually with xrandr, but it somehow doesn't work as it used to.

[klenamenis@arch-pc ~]$ xrandr -q
Screen 0: minimum 320 x 200, current 2560 x 1440, maximum 16384 x 16384
DFP1 disconnected (normal left inverted right x axis y axis)
DFP2 disconnected (normal left inverted right x axis y axis)
DFP3 disconnected (normal left inverted right x axis y axis)
DFP4 disconnected (normal left inverted right x axis y axis)
DFP5 disconnected (normal left inverted right x axis y axis)
DFP6 connected 2560x1440+0+0 (normal left inverted right x axis y axis) 597mm x 336mm
   2560x1440     59.95*+
   1800x1440     59.95  
   1856x1392     59.95  
   1792x1344     59.95  
   1920x1200     59.95  
   1920x1080     59.95  
   1600x1200     59.95  
   1680x1050     59.95  
   1400x1050     59.95  
   1600x900      59.95  
   1280x1024     59.95  
   1440x900      59.95  
   1280x960      59.95  
   1280x768      59.95  
   1280x720      59.95  
   1024x768      59.95  
   800x600       59.95  
   640x480       59.95  
DFP7 disconnected (normal left inverted right x axis y axis)
CRT1 disconnected (normal left inverted right x axis y axis)

[klenamenis@arch-pc ~]$ cvt 2560 1440 75
# 2560x1440 74.94 Hz (CVT 3.69M9) hsync: 112.86 kHz; pclk: 397.25 MHz
Modeline "2560x1440_75.00"  397.25  2560 2760 3040 3520  1440 1443 1448 1506 -hsync +vsync

[klenamenis@arch-pc ~]$ sudo xrandr --newmode "2560x1440_75.00"  397.25  2560 2760 3040 3520  1440 1443 1448 1506 -hsync +vsync

[klenamenis@arch-pc ~]$ xrandr --addmode DFP6 2560x1440_75.00                                                                 
X Error of failed request:  BadMatch (invalid parameter attributes)
  Major opcode of failed request:  141 (RANDR)
  Minor opcode of failed request:  18 (RRAddOutputMode)
  Serial number of failed request:  49
  Current serial number in output stream:  50

[klenamenis@arch-pc ~]$ xrandr -q                                                                                              
Screen 0: minimum 320 x 200, current 2560 x 1440, maximum 16384 x 16384
DFP1 disconnected (normal left inverted right x axis y axis)
DFP2 disconnected (normal left inverted right x axis y axis)
DFP3 disconnected (normal left inverted right x axis y axis)
DFP4 disconnected (normal left inverted right x axis y axis)
DFP5 disconnected (normal left inverted right x axis y axis)
DFP6 connected 2560x1440+0+0 (normal left inverted right x axis y axis) 597mm x 336mm
   2560x1440     59.95*+
   1800x1440     59.95  
   1856x1392     59.95  
   1792x1344     59.95  
   1920x1200     59.95  
   1920x1080     59.95  
   1600x1200     59.95  
   1680x1050     59.95  
   1400x1050     59.95  
   1600x900      59.95  
   1280x1024     59.95  
   1440x900      59.95  
   1280x960      59.95  
   1280x768      59.95  
   1280x720      59.95  
   1024x768      59.95  
   800x600       59.95  
   640x480       59.95  
DFP7 disconnected (normal left inverted right x axis y axis)
CRT1 disconnected (normal left inverted right x axis y axis)
  2560x1440_75.00 (0x120) 397.250MHz
        h: width  2560 start 2760 end 3040 total 3520 skew    0 clock 112.86KHz
        v: height 1440 start 1443 end 1448 total 1506           clock  74.94Hz

Why has the custom resolution been added to CRT1 and what is it?

Last edited by klenamenis (2014-07-31 22:00:48)

Offline

#2 2014-07-27 11:57:29

fsckd
Forum Fellow
Registered: 2009-06-15
Posts: 4,173

Re: xorg, xrandr, modelines

Moving from System Administration to Applications & Desktop Environments.


aur S & M :: forum rules :: Community Ethos
Resources for Women, POC, LGBT*, and allies

Offline

#3 2014-07-29 21:49:40

klenamenis
Member
Registered: 2014-07-03
Posts: 101

Re: xorg, xrandr, modelines

Push. Anyone?

Offline

Board footer

Powered by FluxBB