LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   Modes Listed in xorg.conf not being used (https://www.linuxquestions.org/questions/linux-hardware-18/modes-listed-in-xorg-conf-not-being-used-391583/)

Gamezace 12-11-2005 01:49 PM

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

furiousV 12-11-2005 02:07 PM

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?

Gamezace 12-11-2005 02:16 PM

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?

Gamezace 12-11-2005 02:35 PM

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.

furiousV 12-11-2005 02:38 PM

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.


All times are GMT -5. The time now is 07:55 PM.