LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 08-26-2006, 07:33 AM   #1
Schreiberling
Member
 
Registered: Jan 2006
Location: Bremen, Germany
Distribution: Linux Mint 16 KDE
Posts: 40

Rep: Reputation: 15
Special refresh rate problem


Hi!

I just installed the new Ati display driver for SuSE 10.0. After that, my monitor displayed first 1600x1200 @ 75 Hz. That was too much, so I changed the maximal resolution to my favorized 1152x864. But now I got only 85 Hz, although my monitor is capable of 100 Hz - its specifications are in the xorg.conf already! 1152x864_100 didn't work, VertRefresh 100 caused Linux GUI to fail. The driver seems not to get my monitor specifications that are given in the xorg.conf.

So what I want to to is to force my xorg.conf to display at 1152x864 and 100 Hz!

Please look at my xorg.conf below.

Thank you in advance.


=== xorg.conf ===

# /.../
# SaX generated X11 config file
# Created on: 2006-03-12T19:36:58+0100.
#
# Version: 7.1
# Contact: Marcus Schaefer <sax@suse.de>, 2002
#
# Automatically generated by [ISaX] (7.1)
# PLEASE DO NOT EDIT THIS FILE!
#

Section "ServerLayout"
Identifier "Layout[all]"
Screen 0 "aticonfig-Screen[0]" 0 0
InputDevice "Keyboard[0]" "CoreKeyboard"
InputDevice "Mouse[1]" "CorePointer"
Option "Clone" "off"
Option "Xinerama" "off"
EndSection

Section "Files"
FontPath "/usr/X11R6/lib/X11/fonts/misc:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/local"
FontPath "/usr/X11R6/lib/X11/fonts/75dpi:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/Type1"
FontPath "/usr/X11R6/lib/X11/fonts/URW"
FontPath "/usr/X11R6/lib/X11/fonts/truetype"
FontPath "/usr/X11R6/lib/X11/fonts/uni:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/CID"
FontPath "/opt/kde3/share/fonts"
FontPath "/usr/local/share/fonts"
EndSection

Section "Module"
Load "extmod"
Load "type1"
Load "glx"
Load "freetype"
Load "dbe"
Load "v4l"
Load "dri"
EndSection

Section "ServerFlags"
Option "AllowMouseOpenFail"
EndSection

Section "InputDevice"
Identifier "Keyboard[0]"
Driver "kbd"
Option "Protocol" "Standard"
Option "XkbLayout" "de"
Option "XkbModel" "pc105"
Option "XkbRules" "xfree86"
EndSection

Section "InputDevice"
Identifier "Mouse[1]"
Driver "mouse"
Option "Device" "/dev/input/mice"
Option "Name" "PS/2 on USB"
Option "Protocol" "PS/2"
Option "Vendor" "USB-Mouse"
Option "ZAxisMapping" "4 5"
EndSection

Section "Modes"
Identifier "Modes[0]"
ModeLine "1152x864" 140.4 1152 1232 1360 1568 864 865 868 914
ModeLine "1152x864" 125.4 1152 1232 1360 1568 864 865 868 909
ModeLine "1152x864" 109.4 1152 1224 1352 1552 864 865 868 904
ModeLine "1152x864" 93.9 1152 1224 1344 1536 864 865 868 899
ModeLine "1152x864" 78.8 1152 1216 1336 1520 864 865 868 894
ModeLine "1024x768" 123.0 1024 1096 1208 1392 768 769 772 818
ModeLine "1024x768" 110.9 1024 1096 1208 1392 768 769 772 813
ModeLine "1024x768" 97.8 1024 1088 1200 1376 768 769 772 808
ModeLine "1024x768" 86.2 1024 1088 1200 1376 768 769 772 803
ModeLine "1024x768" 73.9 1024 1080 1192 1360 768 769 772 799
ModeLine "1024x768" 61.9 1024 1080 1184 1344 768 769 772 794
ModeLine "800x600" 97.6 800 856 944 1088 600 601 604 650
ModeLine "800x600" 90.1 800 856 944 1088 600 601 604 647
ModeLine "800x600" 82.5 800 856 944 1088 600 601 604 643
ModeLine "800x600" 74.0 800 848 936 1072 600 601 604 639
ModeLine "800x600" 66.7 800 848 936 1072 600 601 604 635
ModeLine "800x600" 58.7 800 840 928 1056 600 601 604 632
ModeLine "800x600" 51.7 800 840 928 1056 600 601 604 628
ModeLine "800x600" 44.1 800 840 920 1040 600 601 604 624
ModeLine "800x600" 36.9 800 832 912 1024 600 601 604 621
ModeLine "768x576" 89.6 768 824 904 1040 576 577 580 624
ModeLine "768x576" 82.7 768 824 904 1040 576 577 580 621
ModeLine "768x576" 75.7 768 824 904 1040 576 577 580 617
ModeLine "768x576" 67.8 768 816 896 1024 576 577 580 613
ModeLine "768x576" 61.2 768 816 896 1024 576 577 580 610
ModeLine "768x576" 53.8 768 808 888 1008 576 577 580 606
ModeLine "768x576" 47.4 768 808 888 1008 576 577 580 603
ModeLine "768x576" 40.4 768 800 880 992 576 577 580 599
ModeLine "768x576" 33.7 768 792 872 976 576 577 580 596
ModeLine "640x480" 62.1 640 680 752 864 480 481 484 521
ModeLine "640x480" 57.2 640 680 752 864 480 481 484 517
ModeLine "640x480" 51.4 640 680 744 848 480 481 484 514
ModeLine "640x480" 46.8 640 680 744 848 480 481 484 511
ModeLine "640x480" 42.2 640 680 744 848 480 481 484 508
ModeLine "640x480" 37.0 640 672 736 832 480 481 484 505
ModeLine "640x480" 32.6 640 672 736 832 480 481 484 503
ModeLine "640x480" 27.7 640 664 728 816 480 481 484 500
ModeLine "640x480" 23.1 640 656 720 800 480 481 484 497
EndSection

Section "Monitor"
Identifier "Monitor[0]"
VendorName "CTX"
ModelName "PR711F SERIES"
UseModes "Modes[0]"
DisplaySize 340 270
HorizSync 28.0 - 95.0
VertRefresh 50.0 - 160.0
Option "DPMS"
EndSection

Section "Monitor"
Identifier "aticonfig-Monitor[0]"
Option "VendorName" "ATI Proprietary Driver"
Option "ModelName" "Generic Autodetecting Monitor"
Option "DPMS" "true"
EndSection

Section "Device"
Identifier "Device[0]"
Driver "radeon"
VendorName "ATI"
BoardName "Radeon X800XT (R423) 5D57 (PCIE)"
BusID "5:0:0"
EndSection

Section "Device"
Identifier "aticonfig-Device[0]"
Driver "fglrx"
EndSection

Section "Screen"
Identifier "Screen[0]"
Device "Device[0]"
Monitor "Monitor[0]"
DefaultDepth 24
SubSection "Display"
Depth 15
Modes "1152x864" "1024x768" "800x600" "768x576" "640x480"
EndSubSection
SubSection "Display"
Depth 16
Modes "1152x864" "1024x768" "800x600" "768x576" "640x480"
EndSubSection
SubSection "Display"
Depth 24
Modes "1152x864" "1024x768" "800x600" "768x576" "640x480"
EndSubSection
SubSection "Display"
Depth 32
Modes "1152x864" "1024x768" "800x600" "768x576" "640x480"
EndSubSection
SubSection "Display"
Depth 8
Modes "1152x864" "1024x768" "800x600" "768x576" "640x480"
EndSubSection
EndSection

Section "Screen"
Identifier "aticonfig-Screen[0]"
Device "aticonfig-Device[0]"
Monitor "aticonfig-Monitor[0]"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 24
Modes "1152x864" "1024x768" "800x600" "640x480"
EndSubSection
EndSection

Section "DRI"
Group "video"
Mode 0660
EndSection
 
Old 08-27-2006, 01:58 AM   #2
ciotog
Member
 
Registered: Mar 2004
Location: Canada
Distribution: Slackware current
Posts: 728
Blog Entries: 2

Rep: Reputation: 43
In the ServerLayout section, you have the following:
Code:
Screen 0 "aticonfig-Screen[0]" 0 0
And in the Screen section identified as "aticonfig-Screen[0]" you have the following:
Code:
Monitor "aticonfig-Monitor[0]"
Now in the Monitor section identified as "aticonfig-Monitor[0]" you have very little information about your monitor, so X is using default values.

I would suggest changing the "aticonfig-Screen[0]" Screen section line
Code:
Monitor "aticonfig-Monitor[0]"
to
Code:
Monitor "Monitor[0]"
Also unless your user account is part of the video group and all the video devices have their permissions set properly you might want to change "Mode 0660" to "Mode 0666" in the DRI section.
 
Old 08-27-2006, 02:19 PM   #3
Schreiberling
Member
 
Registered: Jan 2006
Location: Bremen, Germany
Distribution: Linux Mint 16 KDE
Posts: 40

Original Poster
Rep: Reputation: 15
I did what you (before I got your post), just by trying out every thinkable solution, about 20 combinations. Finally it worked!

Reason for the problem:
My driver installed a new monitor without any specifications given; the old monitor specifications in the xorg.conf called Monitor[0] were just ignored. BUT: changing the link from aticonfig-Monitor[0] to Monitor[0] caused X to fail. Apparently, aticonfig-Monitor[0] is integrated within the xorg.conf or even outside of this file.

(Partial) solution:
So what did I do? I pasted the specs of Monitor[0] into aticonfig-Monitor[0]. After that, the screen still ran with 78 Hz instead of the optimal 100 Hz (don't know why). After that, I deleted the Modelines of my resolution 1152x864 except for the upper line with nearly 100 Hz. So the driver just behaves illogically. Actually, only 1152x864 does now work because I haven't worked out the other Modelines.

So here's my new xorg.conf.



# /.../
# SaX generated X11 config file
# Created on: 2006-03-12T19:36:58+0100.
#
# Version: 7.1
# Contact: Marcus Schaefer <sax@suse.de>, 2002
#
# Automatically generated by [ISaX] (7.1)
# PLEASE DO NOT EDIT THIS FILE!
#

Section "ServerLayout"
Identifier "Layout[all]"
Screen 0 "aticonfig-Screen[0]" 0 0
InputDevice "Keyboard[0]" "CoreKeyboard"
InputDevice "Mouse[1]" "CorePointer"
Option "Clone" "off"
Option "Xinerama" "off"
EndSection

Section "Files"
FontPath "/usr/X11R6/lib/X11/fonts/misc:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/local"
FontPath "/usr/X11R6/lib/X11/fonts/75dpi:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/Type1"
FontPath "/usr/X11R6/lib/X11/fonts/URW"
FontPath "/usr/X11R6/lib/X11/fonts/truetype"
FontPath "/usr/X11R6/lib/X11/fonts/uni:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/CID"
FontPath "/opt/kde3/share/fonts"
FontPath "/usr/local/share/fonts"
EndSection

Section "Module"
Load "extmod"
Load "type1"
Load "glx"
Load "freetype"
Load "dbe"
Load "v4l"
Load "dri"
EndSection

Section "ServerFlags"
Option "AllowMouseOpenFail"
EndSection

Section "InputDevice"
Identifier "Keyboard[0]"
Driver "kbd"
Option "Protocol" "Standard"
Option "XkbLayout" "de"
Option "XkbModel" "pc105"
Option "XkbRules" "xfree86"
EndSection

Section "InputDevice"
Identifier "Mouse[1]"
Driver "mouse"
Option "Device" "/dev/input/mice"
Option "Name" "PS/2 on USB"
Option "Protocol" "PS/2"
Option "Vendor" "USB-Mouse"
Option "ZAxisMapping" "4 5"
EndSection

Section "Modes"
Identifier "Modes[0]"
ModeLine "1152x864" 140.4 1152 1232 1360 1568 864 865 868 914
ModeLine "1024x768" 123.0 1024 1096 1208 1392 768 769 772 818
ModeLine "1024x768" 110.9 1024 1096 1208 1392 768 769 772 813
ModeLine "1024x768" 97.8 1024 1088 1200 1376 768 769 772 808
ModeLine "1024x768" 86.2 1024 1088 1200 1376 768 769 772 803
ModeLine "1024x768" 73.9 1024 1080 1192 1360 768 769 772 799
ModeLine "1024x768" 61.9 1024 1080 1184 1344 768 769 772 794
ModeLine "800x600" 97.6 800 856 944 1088 600 601 604 650
ModeLine "800x600" 90.1 800 856 944 1088 600 601 604 647
ModeLine "800x600" 82.5 800 856 944 1088 600 601 604 643
ModeLine "800x600" 74.0 800 848 936 1072 600 601 604 639
ModeLine "800x600" 66.7 800 848 936 1072 600 601 604 635
ModeLine "800x600" 58.7 800 840 928 1056 600 601 604 632
ModeLine "800x600" 51.7 800 840 928 1056 600 601 604 628
ModeLine "800x600" 44.1 800 840 920 1040 600 601 604 624
ModeLine "800x600" 36.9 800 832 912 1024 600 601 604 621
ModeLine "768x576" 89.6 768 824 904 1040 576 577 580 624
ModeLine "768x576" 82.7 768 824 904 1040 576 577 580 621
ModeLine "768x576" 75.7 768 824 904 1040 576 577 580 617
ModeLine "768x576" 67.8 768 816 896 1024 576 577 580 613
ModeLine "768x576" 61.2 768 816 896 1024 576 577 580 610
ModeLine "768x576" 53.8 768 808 888 1008 576 577 580 606
ModeLine "768x576" 47.4 768 808 888 1008 576 577 580 603
ModeLine "768x576" 40.4 768 800 880 992 576 577 580 599
ModeLine "768x576" 33.7 768 792 872 976 576 577 580 596
ModeLine "640x480" 62.1 640 680 752 864 480 481 484 521
ModeLine "640x480" 57.2 640 680 752 864 480 481 484 517
ModeLine "640x480" 51.4 640 680 744 848 480 481 484 514
ModeLine "640x480" 46.8 640 680 744 848 480 481 484 511
ModeLine "640x480" 42.2 640 680 744 848 480 481 484 508
ModeLine "640x480" 37.0 640 672 736 832 480 481 484 505
ModeLine "640x480" 32.6 640 672 736 832 480 481 484 503
ModeLine "640x480" 27.7 640 664 728 816 480 481 484 500
ModeLine "640x480" 23.1 640 656 720 800 480 481 484 497
EndSection

Section "Monitor"
Identifier "Monitor[0]"
VendorName "CTX"
ModelName "PR711F SERIES"
UseModes "Modes[0]"
DisplaySize 340 270
HorizSync 28.0 - 95.0
VertRefresh 50.0 - 160.0
Option "DPMS"
EndSection

Section "Monitor"
Identifier "aticonfig-Monitor[0]"
VendorName "CTX"
ModelName "PR711F SERIES"
UseModes "Modes[0]"
DisplaySize 340 270
HorizSync 28.0 - 95.0
VertRefresh 50.0 - 160.0
Option "DPMS"
EndSection

Section "Device"
Identifier "Device[0]"
Driver "radeon"
VendorName "ATI"
BoardName "Radeon X800XT (R423) 5D57 (PCIE)"
BusID "5:0:0"
EndSection

Section "Device"
Identifier "aticonfig-Device[0]"
Driver "fglrx"
EndSection

Section "Screen"
Identifier "Screen[0]"
Device "Device[0]"
Monitor "Monitor[0]"
DefaultDepth 24
SubSection "Display"
Depth 15
Modes "1152x864" "1024x768" "800x600" "768x576" "640x480"
EndSubSection
SubSection "Display"
Depth 16
Modes "1152x864" "1024x768" "800x600" "768x576" "640x480"
EndSubSection
SubSection "Display"
Depth 24
Modes "1152x864" "1024x768" "800x600" "768x576" "640x480"
EndSubSection
SubSection "Display"
Depth 32
Modes "1152x864" "1024x768" "800x600" "768x576" "640x480"
EndSubSection
SubSection "Display"
Depth 8
Modes "1152x864" "1024x768" "800x600" "768x576" "640x480"
EndSubSection
EndSection

Section "Screen"
Identifier "aticonfig-Screen[0]"
Device "aticonfig-Device[0]"
Monitor "aticonfig-Monitor[0]"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 15
Modes "1152x864" "1024x768" "800x600" "768x576" "640x480"
EndSubSection
SubSection "Display"
Depth 16
Modes "1152x864" "1024x768" "800x600" "768x576" "640x480"
EndSubSection
SubSection "Display"
Depth 24
Modes "1152x864" "1024x768" "800x600" "768x576" "640x480"
EndSubSection
SubSection "Display"
Depth 32
Modes "1152x864" "1024x768" "800x600" "768x576" "640x480"
EndSubSection
SubSection "Display"
Depth 8
Modes "1152x864" "1024x768" "800x600" "768x576" "640x480"
EndSubSection
EndSection

Section "DRI"
Group "video"
Mode 0660
EndSection
 
Old 08-27-2006, 04:07 PM   #4
ciotog
Member
 
Registered: Mar 2004
Location: Canada
Distribution: Slackware current
Posts: 728
Blog Entries: 2

Rep: Reputation: 43
78Hz was probably chosen as an "optimal" refresh rate, as for most people anything above 60-70 doesn't have any noticeable effect. Some people can even stand 50Hz whereas I find it unbearable.

You can still clean up your xorg.conf by removing all the unused sections - you don't need 2 Screen, Monitor and Device sections, for example.
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
refresh rate problem(i think) please help spodops Linux - Newbie 1 01-04-2005 04:48 AM
refresh rate problem Rognon Linux - Software 1 06-02-2004 06:33 AM
Refresh rate problem xenoxaos Debian 3 05-06-2004 08:34 PM
refresh rate problem Bohrium Linux - Software 1 04-16-2003 06:24 AM
problem refresh rate <-> resolution !!! cosmonate Slackware 2 03-09-2003 06:43 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 09:29 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration