LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 12-11-2005, 02:49 PM   #1
Gamezace
Member
 
Registered: Apr 2004
Location: NOVA, VT
Distribution: gentoo
Posts: 88

Rep: Reputation: 15
Modes Listed in xorg.conf not being used


Hey all,

I just installed the ATI drivers and got everything up and running - but I discovered that after installing the drivers my resolution changed from 1280x800 to 1280x768. This is just enough of a change to make everything a little fuzzy.

"No biggie," I thought, and went in to xorg.conf to replace the modes with my preferred resolution. However, this is what I found:

Code:
Section "Monitor"
	Identifier	"Generic Monitor"
	Option		"DPMS"
	Modeline	"1280x800@60" 83.91 1280 1312 1624 1656 800 816 824 841
EndSection

Section "Screen"
	Identifier	"Default Screen"
	Device		"ATI Technologies, Inc. Radeon Mobility M300 (M22)"
	Monitor		"Generic Monitor"
	DefaultDepth	24
	SubSection "Display"
		Depth		1
		Modes		"1280x800"
	EndSubSection
	SubSection "Display"
		Depth		4
		Modes		"1280x800"
	EndSubSection
	SubSection "Display"
		Depth		8
		Modes		"1280x800"
	EndSubSection
	SubSection "Display"
		Depth		15
		Modes		"1280x800"
	EndSubSection
	SubSection "Display"
		Depth		16
		Modes		"1280x800"
	EndSubSection
	SubSection "Display"
		Depth		24
		Modes		"1280x800"
	EndSubSection
EndSection
Now THAT is weird... it's displaying at a resolution that I didn't specify. So I checked the /var/log/xorg.0.log to see if there were any errors... and there were none. This is all I can find:

Code:
(II) fglrx(0): Total of 13 modes found for primary display.
(--) fglrx(0): Virtual size is 1280x768 (pitch 1280)
(**) fglrx(0): *Mode "1280x768": 68.9 MHz (scaled from 0.0 MHz), 48.9 kHz, 60.0 Hz
(II) fglrx(0): Modeline "1280x768"   68.90  1280 1296 1328 1408  768 785 788 816 +csync
(**) fglrx(0): *Mode "1024x768": 68.9 MHz (scaled from 0.0 MHz), 48.9 kHz, 60.0 Hz
(II) fglrx(0): Modeline "1024x768"   68.90  1024 1168 1200 1408  768 785 788 816
(**) fglrx(0): *Mode "848x480": 68.9 MHz (scaled from 0.0 MHz), 48.9 kHz, 60.0 Hz
(II) fglrx(0): Modeline "848x480"   68.90  848 1080 1112 1408  480 641 644 816 +csync
(**) fglrx(0): *Mode "800x600": 68.9 MHz (scaled from 0.0 MHz), 48.9 kHz, 60.0 Hz
(II) fglrx(0): Modeline "800x600"   68.90  800 1056 1088 1408  600 701 704 816
(**) fglrx(0): *Mode "720x576": 68.9 MHz (scaled from 0.0 MHz), 48.9 kHz, 60.0 Hz
(II) fglrx(0): Modeline "720x576"   68.90  720 1016 1048 1408  576 689 692 816 +csync
(**) fglrx(0): *Mode "720x480": 68.9 MHz (scaled from 0.0 MHz), 48.9 kHz, 60.0 Hz
(II) fglrx(0): Modeline "720x480"   68.90  720 1016 1048 1408  480 641 644 816 +csync
(**) fglrx(0): *Mode "640x480": 68.9 MHz (scaled from 0.0 MHz), 48.9 kHz, 60.0 Hz
(II) fglrx(0): Modeline "640x480"   68.90  640 976 1008 1408  480 641 644 816
(**) fglrx(0):  Default mode "640x400": 68.9 MHz (scaled from 0.0 MHz), 48.9 kHz, 60.0 Hz
(II) fglrx(0): Modeline "640x400"   68.90  640 976 1008 1408  400 601 604 816 -hsync
(**) fglrx(0):  Default mode "640x350": 68.9 MHz (scaled from 0.0 MHz), 48.9 kHz, 60.0 Hz
(II) fglrx(0): Modeline "640x350"   68.90  640 976 1008 1408  350 576 579 816 -hsync +csync
(**) fglrx(0):  Default mode "512x384": 68.9 MHz (scaled from 0.0 MHz), 48.9 kHz, 60.0 Hz
(II) fglrx(0): Modeline "512x384"   68.90  512 912 944 1408  384 593 596 816 -hsync
(**) fglrx(0):  Default mode "400x300": 68.9 MHz (scaled from 0.0 MHz), 48.9 kHz, 60.0 Hz
(II) fglrx(0): Modeline "400x300"   68.90  400 856 888 1408  600 701 704 816 -hsync
(**) fglrx(0):  Default mode "320x240": 68.9 MHz (scaled from 0.0 MHz), 48.9 kHz, 60.0 Hz
(II) fglrx(0): Modeline "320x240"   68.90  320 816 848 1408  480 641 644 816 -hsync
(**) fglrx(0):  Default mode "320x200": 68.9 MHz (scaled from 0.0 MHz), 48.9 kHz, 60.0 Hz
(II) fglrx(0): Modeline "320x200"   68.90  320 816 848 1408  400 601 604 816 -hsync
(==) fglrx(0): DPI set to (75, 75)
There are no errors or anything listed... and it is reading from the correct configuration file... oh, and just as a stupid check: yes, I have restarted the xserver.

Any thoughts? How do I make this thing display at the correct resolution if it won't read it correctly from the conf file?

What makes this even stranger was that it was correct before I installed the ATI drivers... *sigh*.

Breezy 5.10
2.6.12-10-386
ATI Radeon X300 64MB
Intel Centrino 1.6GHZ
1GB RAM

Last edited by Gamezace; 12-11-2005 at 02:50 PM.
 
Old 12-11-2005, 03:07 PM   #2
furiousV
Member
 
Registered: Aug 2004
Location: Aberdeen, UK
Distribution: Ubuntu, CentOS, FreeBSD
Posts: 64

Rep: Reputation: 15
I'm having this too after I installed my ATI drivers, it wants to run at 1280x1024 all the time, and when I specify 1024x768, the main screen is 1280x1024 but the monitor shows at 1024x768, which means the actual desktop is bigger than my monitor and I have to use the mouse to scroll up and down and the sides. For now, I just use 1280x1024 all the way until I get my other problem sorted out: No real OpenGL

BTW, how did you manage to get your Radeon drivers installed properly?
 
Old 12-11-2005, 03:16 PM   #3
Gamezace
Member
 
Registered: Apr 2004
Location: NOVA, VT
Distribution: gentoo
Posts: 88

Original Poster
Rep: Reputation: 15
Installing the drivers was easy for me - I just did a

Code:
$ sudo apt-get install linux-restricted-modules-<your-kernel-version> xorg-driver-fglrx
And then changed the driver in xorg.conf from "ati" to "fglrx", restarted X... and presto, I had direct rendering. Going through Ubuntu's official repository driver releases made things a lot easier rather than using ATI's stuff.

Note that in order to do this you have to have uncommented all those repositories in your sources.list file.

Anyone have any ideas on the original problem?
 
Old 12-11-2005, 03:35 PM   #4
Gamezace
Member
 
Registered: Apr 2004
Location: NOVA, VT
Distribution: gentoo
Posts: 88

Original Poster
Rep: Reputation: 15
All right - problem has been solved.

I found the solution in another thread - it's the horizontal refresh rate. In my xorg.conf posted above, it's stuck at 60 Hz... what you need is something like:

Code:
HorizSync     30-64 #multisync
This and an xserver restart solved the problem for me.
 
Old 12-11-2005, 03:38 PM   #5
furiousV
Member
 
Registered: Aug 2004
Location: Aberdeen, UK
Distribution: Ubuntu, CentOS, FreeBSD
Posts: 64

Rep: Reputation: 15
Cool, glad you got it sorted. At least I know what to do if I come across something similar, I'm using a LCD monitor and FC4 likes to set it at 1280x1024 @ 75Hz all the time. Not quite sure about my monitor's max, it probably is 75 if it can do that.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
xorg.conf mad_alfred Ubuntu 14 06-20-2005 12:31 PM
xorg.conf mgkemp Linux - Software 1 05-26-2005 09:21 AM
xorg.conf and VESA modes Dark_Helmet Linux - General 2 12-28-2004 11:16 PM
xorg.conf dc_cid Linux - Newbie 4 09-03-2004 08:51 PM
Xorg Hard Crashes and corrupts xorg.conf Advocator Linux - General 0 07-15-2004 02:41 PM

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

All times are GMT -5. The time now is 09:48 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