HOWTO: Choose the resolution YOU want in xorg.conf

Share your own howto's etc. Not for support questions!

Postby tukuyomi » 2009-03-22 20:31

I'm running Debian 5.0 (Lenny) with all updates installed on a DELL Inspiron 6000 with an ATI Mobile Radeon X300 (can't install the driver for that)
So, I presume you are using VESA driver, thus you won't be able to get 1280x800 for now :/
Have you tried using 'radeon' driver, as it seems to support your hardware:
Quote from man radeon
[code]SUPPORTED HARDWARE
The radeon driver supports PCI and AGP video cards based on the followâ€
tukuyomi
 
Posts: 150
Joined: 2006-12-05 19:53

Re: HOWTO: Choose the resolution YOU want in xorg.conf

Postby leluque » 2009-06-22 15:04

Hi,

I'm new to linux, I installed lenny and can't get it to show the screen resolution I want. It seems to me that no matter what i do with xorg.conf Debian does whatever it wants with my screen resolution. Sometimes it configures a low resolution but when reboot it goes back to a higher resolution scheme and so on. The output from xrandr this time is:

Screen 0: minimum 320 x 240, current 1280 x 800, maximum 1280 x 800
default connected 1280x800+0+0 0mm x 0mm
1280x800 60.0*
1280x768 60.0
1152x768 55.0
1024x768 75.0 70.0 60.0
896x672 60.0
960x600 60.0
832x624 75.0
800x600 75.0 72.0 60.0 65.0 56.0
840x525 60.0
700x525 75.0 70.0 60.0
640x512 75.0 60.0
720x450 60.0
640x480 75.0 73.0 60.0
720x400 70.0
640x400 60.0
576x432 75.0
640x384 60.0
576x384 55.0
512x384 75.0 70.0 60.0
416x312 75.0
400x300 75.0 72.0 60.0 56.0
320x240 75.0 73.0 60.0
And my xorg.conf is:
Section "InputDevice"
Identifier "Generic Keyboard"
Driver "kbd"
Option "XkbRules" "xorg"
Option "XkbModel" "pc105"
Option "XkbLayout" "latam"
EndSection

Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
EndSection

Section "Device"
Identifier "Configured Video Device"
EndSection

Section "Monitor"
Identifier "Configured Monitor"
Modeline "1280x1024_60.00" 108.88 1280 1360 1496 1712 1024 1025 1028 1060 -HSync +Vsync
Option "PreferredMode" "1280x1024_60.00"
EndSection

Section "Screen"
Identifier "Default Screen"
Monitor "Configured Monitor"
DefaultDepth 24
SubSection "Display"
Depth 24
Modes "1280x1024_60.00"
EndSubSection

EndSection

Originally my xorg.conf file was very simple:

Section "InputDevice"
Identifier "Generic Keyboard"
Driver "kbd"
Option "XkbRules" "xorg"
Option "XkbModel" "pc105"
Option "XkbLayout" "latam"
EndSection

Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
EndSection

Section "Device"
Identifier "Configured Video Device"
EndSection

Section "Monitor"
Identifier "Configured Monitor"
EndSection

Section "Screen"
Identifier "Default Screen"
Monitor "Configured Monitor"

EndSection

I would like a 1280x1024 resolution, can anyone give me a hand?

Thanks,
Luis
leluque
 
Posts: 1
Joined: 2009-06-22 14:44

Re: HOWTO: Choose the resolution YOU want in xorg.conf

Postby bcinteractive » 2009-06-28 13:59

since this is a new fora application, I don't know how to 'watch' this thread except putting this post here. please don't delete this or better yet -- please tell me how to 'watch' this thread. thank you.
:) Things Change
:) Just Do It
Heavy Gnome Desktop User
User avatar
bcinteractive
 
Posts: 305
Joined: 2005-11-03 15:15

Re: HOWTO: Choose the resolution YOU want in xorg.conf

Postby gnudude » 2009-06-28 14:15

click the 'subscribe topic' or the 'bookmark topic' link at the top of the thread (at least with the theme I am using)
gnudude
 
Posts: 1712
Joined: 2009-04-05 17:30
Location: gone....

Re: HOWTO: Choose the resolution YOU want in xorg.conf

Postby Frattimonde » 2009-08-04 18:47

my xorg.conf is empty?!
" If you can't make it good, at least make it look good.
Bill Gates "

Lol ^^
User avatar
Frattimonde
 
Posts: 9
Joined: 2009-08-02 21:53

Re: HOWTO: Choose the resolution YOU want in xorg.conf

Postby sickie » 2009-08-04 19:30

Than fill it ;)
There's been said quite some stuff about empty xorg.conf lately, so look around a bit.
It wasn't my decision, I was a victim of circumstance
It wasn't right, I knew I never had a chance
My anger grew so ****** large it almost overcame
Pieces of a machine called education I plea for peace
-Operation Ivy

Revolution is my boyfriend!
User avatar
sickie
 
Posts: 483
Joined: 2009-06-08 07:10
Location: The pig farm

Re: HOWTO: Choose the resolution YOU want in xorg.conf

Postby Frattimonde » 2009-08-05 12:06

(Any error here?)

Section "ServerLayout"
Identifier "X.org Configured"
Screen 0 "Screen0" 0 0
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
RgbPath "/etc/X11/rgb"
ModulePath "/usr/lib/xorg/modules"
FontPath "/usr/share/fonts/X11/misc"
FontPath "/usr/share/fonts/X11/cyrillic"
FontPath "/usr/share/fonts/X11/100dpi/:unscaled"
FontPath "/usr/share/fonts/X11/75dpi/:unscaled"
FontPath "/usr/share/fonts/X11/Type1"
FontPath "/usr/share/fonts/X11/100dpi"
FontPath "/usr/share/fonts/X11/75dpi"
FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
EndSection

Section "Module"
Load "record"
Load "GLcore"
Load "dbe"
Load "xtrap"
Load "glx"
Load "extmod"
Load "dri"
EndSection

Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
EndSection

Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/input/mice"
Option "ZAxisMapping" "4 5 6 7"
EndSection

Section "Monitor"
Identifier "Configured Monitor"
VendorName "Generic CRT Display"
ModelName "CRT"
Horizsync 31.5-48
Vertrefresh 56 - 65
modeline "1024x768@60" 65.0 1024 1048 1184 1344 768 771 777 806 -vsync -hsync
Gamma 1.0
EndSection

Section "Device"
### Available Driver options are:-
### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
### [arg]: arg optional
#Option "NoAccel" # [<bool>]
#Option "SWcursor" # [<bool>]
#Option "Dac6Bit" # [<bool>]
#Option "Dac8Bit" # [<bool>]
#Option "DMAForXv" # [<bool>]
#Option "ForcePCIMode" # [<bool>]
#Option "CCEPIOMode" # [<bool>]
#Option "CCENoSecurity" # [<bool>]
#Option "CCEusecTimeout" # <i>
#Option "AGPMode" # <i>
#Option "AGPSize" # <i>
#Option "RingSize" # <i>
#Option "BufferSize" # <i>
#Option "EnablePageFlip" # [<bool>]
#Option "Display" # <str>
#Option "PanelWidth" # <i>
#Option "PanelHeight" # <i>
#Option "ProgramFPRegs" # [<bool>]
#Option "UseFBDev" # [<bool>]
#Option "VideoKey" # <i>
#Option "ShowCache" # [<bool>]
#Option "VGAAccess" # [<bool>]
Identifier "Card0"
Driver "r128"
VendorName "ATI Technologies Inc"
BoardName "Rage 128 PF/PRO AGP 4x TMDS"
BusID "PCI:1:0:0"
EndSection

Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
SubSection "Display"
Viewport 0 0
Depth 1
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 4
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 8
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 15
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 16
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 24
EndSubSection
EndSection
" If you can't make it good, at least make it look good.
Bill Gates "

Lol ^^
User avatar
Frattimonde
 
Posts: 9
Joined: 2009-08-02 21:53

Re: HOWTO: Choose the resolution YOU want in xorg.conf

Postby tukuyomi » 2009-08-05 18:08

Please post the output of the command
Code: Select all
gtf 1024 768 60

At a first glance, from your xorg.conf, you're missing:
modeline "1024x768@60" 65.0 1024 1048 1184 1344 768 771 777 806 -vsync -hsync
Option "PreferredMode" "1024x768@60"
Gamma 1.0
and below:
SubSection "Display"
Viewport 0 0
Depth 24
Mode "1024x768@60"
EndSubSection
tukuyomi
 
Posts: 150
Joined: 2006-12-05 19:53

Re: HOWTO: Choose the resolution YOU want in xorg.conf

Postby Frattimonde » 2009-08-08 15:37

No such luck. It forced me to remove that line or else gdm would not start.

Anyway:

Section "ServerLayout"
Identifier "X.org Configured"
Screen 0 "Screen0" 0 0
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
RgbPath "/etc/X11/rgb"
ModulePath "/usr/lib/xorg/modules"
FontPath "/usr/share/fonts/X11/misc"
FontPath "/usr/share/fonts/X11/cyrillic"
FontPath "/usr/share/fonts/X11/100dpi/:unscaled"
FontPath "/usr/share/fonts/X11/75dpi/:unscaled"
FontPath "/usr/share/fonts/X11/Type1"
FontPath "/usr/share/fonts/X11/100dpi"
FontPath "/usr/share/fonts/X11/75dpi"
FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
EndSection

Section "Module"
Load "dri"
Load "dbe"
Load "record"
Load "glx"
Load "xtrap"
Load "GLcore"
Load "extmod"
EndSection

Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
EndSection

Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/input/mice"
Option "ZAxisMapping" "4 5 6 7"
EndSection

Section "Monitor"
Identifier "Monitor0"
VendorName "Monitor Vendor"
ModelName "Monitor Model"
EndSection

Section "Device"
### Available Driver options are:-
### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
### [arg]: arg optional
#Option "NoAccel" # [<bool>]
#Option "SWcursor" # [<bool>]
#Option "Dac6Bit" # [<bool>]
#Option "Dac8Bit" # [<bool>]
#Option "DMAForXv" # [<bool>]
#Option "ForcePCIMode" # [<bool>]
#Option "CCEPIOMode" # [<bool>]
#Option "CCENoSecurity" # [<bool>]
#Option "CCEusecTimeout" # <i>
#Option "AGPMode" # <i>
#Option "AGPSize" # <i>
#Option "RingSize" # <i>
#Option "BufferSize" # <i>
#Option "EnablePageFlip" # [<bool>]
#Option "Display" # <str>
#Option "PanelWidth" # <i>
#Option "PanelHeight" # <i>
#Option "ProgramFPRegs" # [<bool>]
#Option "UseFBDev" # [<bool>]
#Option "VideoKey" # <i>
#Option "ShowCache" # [<bool>]
#Option "VGAAccess" # [<bool>]
Identifier "Card0"
Driver "r128"
VendorName "ATI Technologies Inc"
BoardName "Rage 128 PF/PRO AGP 4x TMDS"
BusID "PCI:1:0:0"
EndSection

Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
SubSection "Display"
Viewport 0 0
Depth 1
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 4
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 8
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 15
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 16
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 24
EndSubSection
EndSection
" If you can't make it good, at least make it look good.
Bill Gates "

Lol ^^
User avatar
Frattimonde
 
Posts: 9
Joined: 2009-08-02 21:53

Re: HOWTO: Choose the resolution YOU want in xorg.conf

Postby BenB » 2010-02-28 11:35

Not sure if this really fits here but it does seem a 'close enough' fit. I've been reading through various posts here regarding Nvidia kernel and modules, configure this or that. So, I tried using the suggested tutorial of using module-assistant to recompile for nvidia. The monitor went on a joyride through a twilight zone afterwards. It's a Gateway EV700, at 60 refresh. Found the Modeline using gtf.

Modeline "1280x1024_60.00" 108.88 1280 1360 1496 1712 1024 1025 1028 1060 -HSync +Vsync

I don't think the monitor will allow using 3D much as I'd like for it to. But is it possible to use the 1280x1024 resolution? And do I need to put the modeline into the xorg.config? Will it be safe to do so, as in my monitor won't pull Linda Blair on me again? :lol:

Learning bit by bit here. Had to recover the display by reconfiguring X server. still not sure it's 100% correct but we're holding fast. So, I thought I'd ask other hacker types.
In the confrontation between the stream and the rock, the stream always
wins - not through strength, but through persistence. - Anonymous
User avatar
BenB
 
Posts: 51
Joined: 2009-12-21 22:36
Location: WV

Previous

Return to Docs, Howtos, Tips & Tricks

Who is online

Users browsing this forum: No registered users and 2 guests

fashionable