LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 02-04-2007, 04:18 PM   #1
CrEsPo
Member
 
Registered: Apr 2005
Location: Canada
Distribution: Slackware 12
Posts: 184

Rep: Reputation: 30
X Screen Resolution


I just installed the ATI drivers successfully. DRI works perfectly, but I'm having problems with the monitor resolution. I've set the resolution to 1440x900 in the /etc/X11/xorg.conf file, but the resolution continues to stay at 1024x768. The monitor can handle the 1440x900 resolution because that's what I had it set to using the vesa drivers. Also, the native resolution of the laptop is 1440x900.

Here's my xorg.conf:

Code:
Section "Screen"
        Identifier "aticonfig-Screen[0]"
        Device     "aticonfig-Device[0]"
        Monitor    "aticonfig-Monitor[0]"
        DefaultDepth     24
        SubSection "Display"
                Depth     8
                Modes    "1024x768" "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Depth     16
                Modes    "1024x768" "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Depth     24
                Modes    "1440x900"
        EndSubSection
        SubSection "Display"
                Depth     32
                Modes    "1024x768" "800x600" "640x480"
        EndSubSection
EndSection
As you can see I've set the DefaultDepth to 24 and in the Depth 24 section I've set the resolution to 1440x960. If you need any more sections from the xorg.conf please let me know. I didn't post the whole thing so as to not clutter the topic with useless information.
 
Old 02-04-2007, 04:33 PM   #2
GrapefruiTgirl
Guru
 
Registered: Dec 2006
Location: underground
Distribution: Slackware64
Posts: 7,594

Rep: Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550
Try running xorgconfig or xorgsetup from a root console, whichever one it is that is NOT the automatic one, use the fully manual one, and set it up in there. Also, not sure but perhaps you ought to put a couple other modes/sizes in there too, maybe it wants to see 3 modes available.
Also, set that resolution in the other depth sections too, and see if you can use any of them.
Check the X log and the var/log/syslog and var/log/messages for any clues too.
SV
also, if your monitor needs a specific refresh-rate in order to run at that mode (check the manual) you may need to set it like this:

HorizSync 30-86

VertRefresh 50-160

ONLY EXAMPLES!!! These are for my monitor -- CHECK the MANUAL to avoid damage or weird stuff happening.

Also I have a VIEWPORT setting in my xorg.conf in each monitor resolution area:

ViewPort 0 0

Maybe you need one??

Last edited by GrapefruiTgirl; 02-04-2007 at 04:37 PM.
 
Old 02-04-2007, 05:03 PM   #3
CrEsPo
Member
 
Registered: Apr 2005
Location: Canada
Distribution: Slackware 12
Posts: 184

Original Poster
Rep: Reputation: 30
Thanks for the reply, but I think I realized my mistake. I think the resolution is actually 1440x900, but the fonts in most applications increased to make them look huge and bulky. After changing the fonts to ~8pt everything seems to look normal.

One question though, is there a command to show you what resolution you are on? From my window manager I think it's 1440x900 after looking at the Window size, but it would be nice to confirm this assumption.

Oh, and does anyone know why the drivers affected the font so much? Going from the vesa drivers to the ati drivers has a huge change in the font size. I had to go down 4pts to get things to look normal.
 
Old 02-04-2007, 05:51 PM   #4
Eternal_Newbie
Member
 
Registered: Jun 2005
Location: The Pudding Isles
Distribution: Slackware 13.37
Posts: 573

Rep: Reputation: 58
Try running
Code:
xdpyinfo | grep dimension
and
Code:
xdpyinfo | grep resolution
in an xterm to find your overall resolution and dpi.
 
Old 02-04-2007, 05:58 PM   #5
CrEsPo
Member
 
Registered: Apr 2005
Location: Canada
Distribution: Slackware 12
Posts: 184

Original Poster
Rep: Reputation: 30
Thanks for the reply

Code:
xdpyinfo | grep dimension
  dimensions:    1440x900 pixels (370x230 millimeters)
xdpyinfo | grep resolution
  resolution:    99x99 dots per inch
Seems the dimensions are correct, but is the resolution correct? I thought 72dpi was standard on most monitors. That could explain why everything was so big, is there anyway to change the dpi in the xorg.conf? Thanks .
 
Old 02-05-2007, 05:33 AM   #6
Eternal_Newbie
Member
 
Registered: Jun 2005
Location: The Pudding Isles
Distribution: Slackware 13.37
Posts: 573

Rep: Reputation: 58
Not necessarily, XWindows usually defaults to 72 or 75 dpi so the default fonts sizes are set to look good at those dpi's. Assuming 370x230mm is the dimension of your screen X managed to read your monitors specs from its ESSID.

If not then you need to set your dpi manually, this can be labourious and confusing. It may be easier to adjust the font sizes to look good on your monitor, but having to adjust them down to 4 points strongly suggests that X has your screen dimensions wrong.

If you are willing to delve further, than get out the manual for your monitor, and this thread (scroll down a bit) at the Dropline forums and this article at HumanReadable may be of help. There will also be threads on this topic here at LinuxQuestions. Good luck!
 
Old 02-05-2007, 07:31 AM   #7
CrEsPo
Member
 
Registered: Apr 2005
Location: Canada
Distribution: Slackware 12
Posts: 184

Original Poster
Rep: Reputation: 30
Thank-you, will try looking at the DisplaySize option .
 
  


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
I messed with the screen resolution and now Redhat will boot into a black screen! Mr. Hill Linux - Newbie 29 05-04-2009 11:52 AM
How do i fix screen resolution / monitor choice while screen is pretty much unreadabl tinkerdog Fedora 2 09-08-2006 03:53 AM
default screen resolution smaller than max. resolution ?? Thoddy Linux - General 2 11-10-2005 01:33 AM
Unable to configure screen resolution for 15.2" LCD screen in Fedore Core 1 schu Linux - Newbie 3 01-02-2004 05:39 PM
screen freezes after making changes to the screen resolution with Xconfigurator sharathkv Linux - Newbie 1 08-01-2003 05:56 AM


All times are GMT -5. The time now is 03:41 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration