LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-05-2009, 08:33 AM   #1
MSwal2846
LQ Newbie
 
Registered: Jan 2004
Location: Raleigh
Distribution: Red Hat Enterprise 5
Posts: 27

Rep: Reputation: 15
Fedora 10: Screen Resolution Question - How to change it


I posted this question on another thread and didn't realize that I shouldn't do that (sorry!!!). So I'm opening this thread for assistance...

I'm running Fedora 10 but on a Lenovo X200.

Here is the result of the "lspci | grep VGA" command:

00:02.0 VGA compatible controller: Intel Corporation Cantiga Integrated Graphics Controller (rev 07)

And my /etc/X11/xorg.conf file is blank, null, non-existent .... which seems strange to me.

The X200 has a larger screen than the X61 that I had previously with Fedora 10, but I'm actually seeing less screen with everything appearing bigger than on the X61.

When I go to System -> Preferences -> Hardware -> Screen Resolution, it indicates that 1280 X 800 is selected...

Any help on how to improve this resolution would be appreciated!

Mark

Last edited by MSwal2846; 01-05-2009 at 08:41 AM.
 
Old 01-05-2009, 09:20 AM   #2
amani
Senior Member
 
Registered: Jul 2006
Location: Kolkata, India
Distribution: Debian 64-bit GNU/Linux, Kubuntu64, Fedora QA, Slackware,
Posts: 2,766

Rep: Reputation: Disabled
xorg.conf ...ok
You can put in a new xorg.conf though.

see output of lsmod for the 'correct module'

Fonts DPI?
 
Old 01-05-2009, 10:34 AM   #3
MSwal2846
LQ Newbie
 
Registered: Jan 2004
Location: Raleigh
Distribution: Red Hat Enterprise 5
Posts: 27

Original Poster
Rep: Reputation: 15
Thanks, Amani,

but I don't understand how to proceed.

The lsmode command output is:

$ lsmod
Module Size Used by
fuse 49436 2
i915 53508 2
drm 158260 3 i915
tun 13444 0
rfcomm 33936 4
bridge 43668 0
stp 6148 1 bridge
bnep 14848 2
sco 12932 2
l2cap 21504 16 rfcomm,bnep
vboxnetflt 72784 0
vboxdrv 95048 1 vboxnetflt
sunrpc 155924 3
ip6t_REJECT 7296 2
nf_conntrack_ipv6 15864 2
ip6table_filter 6400 1
ip6_tables 14736 1 ip6table_filter
ipv6 230132 31 ip6t_REJECT,nf_conntrack_ipv6
cpufreq_ondemand 9996 1
acpi_cpufreq 12172 1
dm_multipath 17164 0
uinput 10624 0
snd_hda_intel 395544 2
arc4 5760 2
ecb 6528 2
crypto_blkcipher 18052 1 ecb
snd_seq_dummy 6660 0
snd_seq_oss 30364 0
snd_seq_midi_event 9600 1 snd_seq_oss
snd_seq 48320 5 snd_seq_dummy,snd_seq_oss,snd_seq_midi_event
iwlagn 139268 0
thinkpad_acpi 53968 0
snd_seq_device 9996 3 snd_seq_dummy,snd_seq_oss,snd_seq
zaurus 7552 0
snd_pcm_oss 41600 0
cdc_ether 8448 1 zaurus
snd_mixer_oss 16896 1 snd_pcm_oss
iwlcore 116804 1 iwlagn
usbnet 17032 2 zaurus,cdc_ether
snd_pcm 64772 2 snd_hda_intel,snd_pcm_oss
hwmon 6300 1 thinkpad_acpi
uvcvideo 51720 0
mii 8192 1 usbnet
cdc_wdm 12672 0
cdc_acm 17668 0
i2c_i801 12048 0
compat_ioctl32 5120 1 uvcvideo
snd_timer 21896 2 snd_seq,snd_pcm
rfkill 11288 5 thinkpad_acpi,iwlcore
pcspkr 6272 0
option 22148 0
snd_page_alloc 11144 2 snd_hda_intel,snd_pcm
videodev 32000 1 uvcvideo
usbserial 30124 1 option
i2c_core 21396 2 drm,i2c_i801
snd_hwdep 10372 1 snd_hda_intel
btusb 14360 3
video 20244 0
v4l1_compat 15876 2 uvcvideo,videodev
snd 51768 14 snd_hda_intel,snd_seq_dummy,snd_seq_oss,snd_seq,snd_seq_device,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd _timer,snd_hwdep
ata_generic 8452 0
e1000e 101164 0
mac80211 173668 2 iwlagn,iwlcore
wmi 9768 0
output 6528 1 video
bluetooth 48608 11 rfcomm,bnep,sco,l2cap,btusb
pata_acpi 7680 0
cfg80211 23816 3 iwlagn,iwlcore,mac80211
soundcore 9416 1 snd

so what am I looking for and what step do I need to perform? I apologize for my ignorance... please be patient...

Mark
 
Old 01-05-2009, 01:33 PM   #4
PTrenholme
Senior Member
 
Registered: Dec 2004
Location: Olympia, WA, USA
Distribution: Fedora, (K)Ubuntu
Posts: 4,186

Rep: Reputation: 346Reputation: 346Reputation: 346Reputation: 346
Well, that shows the I915 Intel video driver is loaded and running. (That's the second line in your lsmod output.)

So, let's start by creating an xorg.conf file for you to use. Open a terminal window and enter this command (I've shown the output I got as well, with the "driver specific" settings highlighted in red.)[code "1280x1024@75" "1152x864@75" "1024x768@60" "1024x768@70" "1024x768@75" "832x624@75" "800x600@60" "800x600@75" "800x600@72" "800x600@56" "640x480@75" "640x480@72" "640x480@60"]$ su -c 'Xorg :1 -configure'
Password:

X.Org X Server 1.5.3
Release Date: 5 November 2008
X Protocol Version 11, Revision 0
Build Operating System: Linux 2.6.18-92.1.18.el5 x86_64
Current Operating System: Linux dv9700us 2.6.27.9-159.fc10.x86_64 #1 SMP Tue Dec 16 14:47:52 EST 2008 x86_64
Build Date: 11 December 2008 05:27:30PM
Build ID: xorg-x11-server 1.5.3-6.fc10
Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.1.log", Time: Mon Jan 5 10:01:17 2009
List of video drivers:
ast
nouveau
i740
dummy
glint
mach64
radeon
vmware
s3virge
v4l
nvidia
sisusb
openchrome
r128
apm
sis
mga
intel
i128
rendition
trident
voodoo
i810
nv
tdfx
cirrus
ati
savage
siliconmotion
fbdev
vesa
(++) Using config file: "/root/xorg.conf.new"


Xorg detected your mouse at device /dev/input/mice.
Please check your config if the mouse is still not
operational, as by default Xorg tries to autodetect
the protocol.

Your xorg.conf file is /root/xorg.conf.new

To test the server, run 'X -config /root/xorg.conf.new'

$ su -c 'cat /root/xorg.conf.new'
Password:
Section "ServerLayout"
Identifier "X.org Configured"
Screen 0 "Screen0" 0 0
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
ModulePath "/usr/lib64/xorg/modules"
FontPath "catalogue:/etc/X11/fontpath.d"
FontPath "built-ins"
EndSection

Section "Module"
Load "glx"
Load "extmod"
Load "dbe"
Load "GLcore"
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 "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 "SWcursor" # [<bool>]
#Option "HWcursor" # [<bool>]
#Option "NoAccel" # [<bool>]
#Option "ShadowFB" # [<bool>]
#Option "VideoKey" # <i>
#Option "FlatPanel" # [<bool>]
#Option "FPDither" # [<bool>]
#Option "FPScale" # [<bool>]
#Option "FPTweak" # <i>
#Option "CBLocation" # <str>
#Option "CBSize" # <i>
#Option "Randr12" # [<bool>]
#Option "ScalingMode" # <str>
Identifier "Card0"
Driver "nouveau"
VendorName "nVidia Corporation"
BoardName "GeForce 7150M"
BusID "PCI:0:18: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[/code]
Copy the /root/xorg.conf.new file to /etc/X11/xorg.conf with this command [b]su -c 'mv /root/xorg.conf.new/ /etc/X11/xorg.conf' and restart the X server with a ctrl-alt-backspace. That should produce no changes in your current situation since the generated xorg.conf file you'll get is, presumably, the same as the default "no xorg.conf" situation you now have.

Try this and post the xorg.conf file you get here and we can proceed form there. (Use the "Advanced" posting option, highlight the generated text in your post, and use the "Code" button to format it for easier reading by others.)

<edit>
Here's how I change the screen directive to specify output modes not detected by the driver's reading of my Sceptre 22" LCD monitor. (I found the list in the monitor's documentation.)
Code:
Section "Screen"
        Identifier "LCD"
        Device     "945G"
        Monitor    "Sceptre"
        DefaultDepth     24
        SubSection "Display"
                Virtual   1920 1440
                Depth     24
                Modes    "1680x1050@60" "1280x1024@60" "1600x1200@60" "1792x1344@60" "1400x1050@60""1856x1392@60" "1280x960@75" "1920x1440@60" "1280x960@60"
        EndSubSection
EndSection
Note: The first mode listed is the "default" resolution used by the X server.
</edit>

Last edited by PTrenholme; 01-05-2009 at 03:32 PM. Reason: Added info
 
Old 01-06-2009, 07:11 PM   #5
MSwal2846
LQ Newbie
 
Registered: Jan 2004
Location: Raleigh
Distribution: Red Hat Enterprise 5
Posts: 27

Original Poster
Rep: Reputation: 15
Thanks for the detailed response! And I apologize for my delay in responding ... my day job got in the way ;^)

Anyway, here is my xorg.conf file:

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

Section "Files"
	ModulePath   "/usr/lib/xorg/modules"
	FontPath     "catalogue:/etc/X11/fontpath.d"
	FontPath     "built-ins"
EndSection

Section "Module"
	Load  "glx"
	Load  "extmod"
	Load  "dri"
	Load  "dbe"
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     "ColorKey"           	# <i>
        #Option     "CacheLines"         	# <i>
        #Option     "Dac6Bit"            	# [<bool>]
        #Option     "DRI"                	# [<bool>]
        #Option     "NoDDC"              	# [<bool>]
        #Option     "ShowCache"          	# [<bool>]
        #Option     "XvMCSurfaces"       	# <i>
        #Option     "PageFlip"           	# [<bool>]
	Identifier  "Card0"
	Driver      "intel"
	VendorName  "Intel Corporation"
	BoardName   "Cantiga Integrated Graphics Controller"
	BusID       "PCI:0:2: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

Mark
 
Old 01-06-2009, 07:46 PM   #6
PTrenholme
Senior Member
 
Registered: Dec 2004
Location: Olympia, WA, USA
Distribution: Fedora, (K)Ubuntu
Posts: 4,186

Rep: Reputation: 346Reputation: 346Reputation: 346Reputation: 346
O.K., that shows you that the X-server correctly identified your driver (intel).

Now all you need to do is haul out your monitor specifications, see what resolutions it supports, and add them to the various "Display" sub-sections.

Look at the example I posted above. The format is "horizontalxvertical@refresh_rate" and you add the specifications in each of the appropriate color depth sections. (24 bit, 16 bit, 8 bit, ...) As you can see above, I only bothered with the 24bit color depth since I don't do anything that uses much of the available video resources.

So, move the new xorg.conf file to /etc/X11 and edit it to include the screen resolutions you want displayed in you resolution selection menu, and -- unless you need modline eltries -- you should be golden.

Suggestion: Before you do the "ctrl-alt-backspace" to reboot the X-server, install the mc package to you will be able to use themc command (after booting in rescue mode) to fix problems in the xorg.conf file that might prevent the X-server from starting. The mc (that the "Midnight Commander") command gives you a pseudo-window dual-pane file manager and editor that you can use from a simple terminal window without X running. You can also use it in a regular terminal window, and, if you install it, it might be a good idea to play around with it for a while in a terminal window before you reboot the server.(Hint: The numbers at the bottom of the pseudo screen refer to the function keys.)
 
Old 01-07-2009, 07:15 AM   #7
MSwal2846
LQ Newbie
 
Registered: Jan 2004
Location: Raleigh
Distribution: Red Hat Enterprise 5
Posts: 27

Original Poster
Rep: Reputation: 15
Ok, thanks so much for all your help!

Mark
 
Old 01-13-2009, 03:47 AM   #8
leemutpo
LQ Newbie
 
Registered: Jan 2009
Posts: 1

Rep: Reputation: 0
hi there, i followed the above info trying to properly set my federa10 screen resolution, however failed to do so,

lsmod info as follows:
Module Size Used by
fuse 49436 2
sis 9216 2
drm 158260 3 sis
sco 12932 2
bridge 43668 0
stp 6148 1 bridge
bnep 14848 2
l2cap 21504 3 bnep
bluetooth 48608 5 sco,bnep,l2cap
sunrpc 155924 3
ip6t_REJECT 7296 2
nf_conntrack_ipv6 15864 2
ip6table_filter 6400 1
ip6_tables 14736 1 ip6table_filter
ipv6 230132 30 ip6t_REJECT,nf_conntrack_ipv6
dm_multipath 17164 0
uinput 10624 0
ppdev 10372 0
floppy 51988 0
i2c_ali1535 9476 0
dmfe 20888 0
tulip 46332 0
i2c_ali15x3 9988 0
pcspkr 6272 0
3c59x 40232 0
i2c_core 21396 3 drm,i2c_ali1535,i2c_ali15x3
alim1535_wdt 8344 0
e100 33804 0
mii 8192 2 3c59x,e100
parport_pc 25620 0
parport 31956 2 ppdev,parport_pc
ata_generic 8452 0
pata_acpi 7680 0
pata_ali 12420 2

xorg.conf as follows:
Section "ServerLayout"
Identifier "X.org Configured"
Screen 0 "Screen0" 0 0
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
ModulePath "/usr/lib/xorg/modules"
FontPath "catalogue:/etc/X11/fontpath.d"
FontPath "built-ins"
EndSection

Section "Module"
Load "glx"
Load "dbe"
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 "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 "Accel" # [<bool>]
#Option "AccelMethod" # <str>
#Option "TurboQueue" # [<bool>]
#Option "FastVram" # [<bool>]
#Option "HostBus" # [<bool>]
#Option "RenderAcceleration" # [<bool>]
#Option "ForceCRT1Type" # <str>
#Option "ForceCRT2Type" # <str>
#Option "ShadowFB" # [<bool>]
#Option "DRI" # [<bool>]
#Option "AGPSize" # <i>
#Option "GARTSize" # <i>
#Option "Vesa" # [<bool>]
#Option "MaxXFBMem" # <i>
#Option "EnableSiSCtrl" # [<bool>]
#Option "SWCursor" # [<bool>]
#Option "HWCursor" # [<bool>]
#Option "UseColorHWCursor" # [<bool>]
#Option "Rotate" # <str>
#Option "Reflect" # <str>
#Option "Xvideo" # [<bool>]
#Option "InternalModes" # [<bool>]
#Option "OverruleFrequencyRanges" # [<bool>]
#Option "RestoreBySetMode" # [<bool>]
#Option "ForceCRT1" # [<bool>]
#Option "XvOnCRT2" # [<bool>]
#Option "PanelDelayCompensation" # <i>
#Option "PDC" # <i>
#Option "PanelDelayCompensation2" # <i>
#Option "PDC2" # <i>
#Option "PanelDelayCompensation1" # <i>
#Option "PDC1" # <i>
#Option "EMI" # <i>
#Option "LVDSHL" # <i>
#Option "ForcePanelRGB" # <i>
#Option "SpecialTiming" # <str>
#Option "TVStandard" # <str>
#Option "UseROMData" # [<bool>]
#Option "UseOEMData" # [<bool>]
#Option "YV12" # [<bool>]
#Option "CHTVType" # [<bool>]
#Option "CHTVOverscan" # [<bool>]
#Option "CHTVSuperOverscan" # [<bool>]
#Option "CHTVLumaBandwidthCVBS" # <i>
#Option "CHTVLumaBandwidthSVIDEO" # <i>
#Option "CHTVLumaFlickerFilter" # <i>
#Option "CHTVChromaBandwidth" # <i>
#Option "CHTVChromaFlickerFilter" # <i>
#Option "CHTVCVBSColor" # [<bool>]
#Option "CHTVTextEnhance" # <i>
#Option "CHTVContrast" # <i>
#Option "SISTVEdgeEnhance" # <i>
#Option "SISTVAntiFlicker" # <str>
#Option "SISTVSaturation" # <i>
#Option "SISTVCFilter" # [<bool>]
#Option "SISTVYFilter" # <i>
#Option "SISTVColorCalibFine" # <i>
#Option "SISTVColorCalibCoarse" # <i>
#Option "SISTVXScale" # <i>
#Option "SISTVYScale" # <i>
#Option "TVXPosOffset" # <i>
#Option "TVYPosOffset" # <i>
#Option "SIS6326TVAntiFlicker" # <str>
#Option "SIS6326TVEnableYFilter" # [<bool>]
#Option "SIS6326TVYFilterStrong" # [<bool>]
#Option "SIS6326TVForcePlug" # <str>
#Option "SIS6326FSCAdjust" # <i>
#Option "YPbPrAspectRatio" # <str>
#Option "TVBlueWorkAround" # [<bool>]
#Option "ColorHWCursorBlending" # [<bool>]
#Option "ColorHWCursorBlendThreshold" # <i>
#Option "CRT2Detection" # [<bool>]
#Option "ForceCRT2ReDetection" # [<bool>]
#Option "SenseYPbPr" # [<bool>]
#Option "CRT1Gamma" # [<bool>]
#Option "CRT2Gamma" # [<str>]
#Option "GammaBrightness" # <str>
#Option "GammaBrightnessCRT2" # <str>
#Option "CRT2GammaBrightness" # <str>
#Option "Brightness" # <str>
#Option "NewGammaBrightness" # <str>
#Option "CRT2Brightness" # <str>
#Option "CRT2NewGammaBrightness" # <str>
#Option "Contrast" # <str>
#Option "NewGammaContrast" # <str>
#Option "CRT2Contrast" # <str>
#Option "CRT2NewGammaContrast" # <str>
#Option "CRT1Saturation" # <i>
#Option "XvGamma" # [<str>]
#Option "XvDefaultContrast" # <i>
#Option "XvDefaultBrightness" # <i>
#Option "XvDefaultHue" # <i>
#Option "XvDefaultSaturation" # <i>
#Option "XvDefaultDisableGfx" # [<bool>]
#Option "XvDefaultDisableGfxLR" # [<bool>]
#Option "XvChromaMin" # <i>
#Option "XvChromaMax" # <i>
#Option "XvUseChromaKey" # [<bool>]
#Option "XvInsideChromaKey" # [<bool>]
#Option "XvYUVChromaKey" # [<bool>]
#Option "XvDisableColorKey" # [<bool>]
#Option "XvUseMemcpy" # [<bool>]
#Option "BenchmarkMemcpy" # [<bool>]
#Option "UseSSE" # [<bool>]
#Option "XvDefaultAdaptor" # <str>
#Option "ScaleLCD" # [<bool>]
#Option "CenterLCD" # [<bool>]
#Option "EnableHotkey" # [<bool>]
#Option "ForceCRT1VGAAspect" # <str>
#Option "ForceCRT2VGAAspect" # <str>
#Option "MergedFB" # [<str>]
#Option "TwinView" # [<str>]
#Option "MergedFBAuto" # [<bool>]
#Option "CRT2HSync" # <str>
#Option "SecondMonitorHorizSync" # <str>
#Option "CRT2VRefresh" # <str>
#Option "SecondMonitorVertRefresh" # <str>
#Option "CRT2Position" # <str>
#Option "TwinViewOrientation" # <str>
#Option "MetaModes" # <str>
#Option "MergedDPI" # <str>
#Option "MergedXinerama" # [<bool>]
#Option "TwinviewXineramaInfo" # [<bool>]
#Option "MergedXineramaCRT2IsScreen0" # [<bool>]
#Option "MergedNonRectangular" # [<bool>]
#Option "MergedMouseRestriction" # [<bool>]
Identifier "Card0"
Driver "sis"
VendorName "Silicon Integrated Systems [SiS]"
BoardName "300/305 PCI/AGP VGA Display Adapter"
BusID "PCI:1:0:0"
EndSection

Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
SubSection "Display"
Virtual 1280 1024
Depth 16
Modes "1280x1024@60" "1024x768@60" "800x600@60"
EndSubSection
EndSection

wondering have i done something wrong? many thx!
 
Old 01-23-2009, 03:21 PM   #9
catworld
Member
 
Registered: Nov 2004
Location: Horseheads, New York
Distribution: Mandriva 2010.1 / KDE 4.5.2, Slax, Knoppix, Backtrack & etc...
Posts: 198

Rep: Reputation: 36
Here's a section of an xorg file where I had to hard wire the resolution, as edid wasn't working. (adapter doesn't support it) Note the "Option "PreferredMode"" line. Put your native resolution there.



Code:
Section "Monitor"
    Identifier "monitor1"
    VendorName "Plug'n Play"
    ModelName "FPD1760"
    # HorizSync 30-81
    # VertRefresh 56-76
    # 1280x1024 @ 60Hz (VESA) hsync: 64.0kHz
    ModeLine "1280x1024_60" 108.0 1280 1328 1440 1688   1024 1025 1028 1066 +hsync +vsync
    Option "PreferredMode" "1280x1024_60"
EndSection
Here's the corresponding screen section:
Code:
Section "Screen"
     Identifier "screen1"
     Device "device1"
     Monitor "monitor1"
     DefaultColorDepth 16
     Subsection "Display"
        Depth 16
        Modes "1280x1024_60"
     EndSubsection
EndSection
Hope you can glean something useful in that. This system was driving me nuts until I went "old school" with it. You might be having a similar problem. You can tell if your adapter and monitor are communicating properly behind the scenes with this command:

Code:
monitor-edid
That'll tell you the available modes and what it's actually using.
 
Old 01-24-2009, 07:07 PM   #10
amani
Senior Member
 
Registered: Jul 2006
Location: Kolkata, India
Distribution: Debian 64-bit GNU/Linux, Kubuntu64, Fedora QA, Slackware,
Posts: 2,766

Rep: Reputation: Disabled
leemutpo, you should add modelines

start a new thread if you difficulties

read #man sis
 
  


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
Resolved: VMWare - how to change screen resolution CentOS or Fedora guest taylorkh Linux - Software 5 11-14-2009 11:42 AM
change screen resolution of xdm login screen in suse linux pseudoxiah Linux - Desktop 2 04-02-2007 10:26 AM
fedora 5 change screen resolution ptlchetan Linux - Newbie 2 09-06-2006 12:31 AM
How do I change screen resolution for Fedora core2's shell? babyboss Fedora 4 10-26-2004 07:32 PM


All times are GMT -5. The time now is 05:49 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration