LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 10-21-2007, 10:21 AM   #1
sonichedgehog
Member
 
Registered: Oct 2007
Location: London UK
Distribution: Fedora Core 17
Posts: 296

Rep: Reputation: 32
resolution 640x480 no other option in preferences


Monitor is (old)Panasonic TX-T7F21, system is self build with AMD266 about 1998, running Debian 4.0. After lots of reading I think my problem is lack of horizsync & vertrefresh in Xorg.conf (full text of which follows below). I have tried to get the manual for the monitor but not succeeded.
I tried a very minor edit to Xorg.conf (which I have backed up), removing the 640x480 option for my default depth. No difference, but in any case Xorg.conf was back to its original form after restart- so will any change I make be overwritten on restart and how would I override this- or reset it when it goes wrong?
I suspect I have to add some text to the Monitor section of Xorg.conf and would appreciate any guidance on how to do this. Many thanks.

Xorg.conf in full:

# /etc/X11/xorg.conf (xorg X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the /etc/X11/xorg.conf manual page.
# (Type "man /etc/X11/xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
# sudo dpkg-reconfigure -phigh xserver-xorg

Section "Files"
FontPath "/usr/share/fonts/X11/misc"
FontPath "/usr/X11R6/lib/X11/fonts/misc"
FontPath "/usr/share/fonts/X11/cyrillic"
FontPath "/usr/X11R6/lib/X11/fonts/cyrillic"
FontPath "/usr/share/fonts/X11/100dpi/:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/100dpi/:unscaled"
FontPath "/usr/share/fonts/X11/75dpi/:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/75dpi/:unscaled"
FontPath "/usr/share/fonts/X11/Type1"
FontPath "/usr/X11R6/lib/X11/fonts/Type1"
FontPath "/usr/share/fonts/X11/100dpi"
FontPath "/usr/X11R6/lib/X11/fonts/100dpi"
FontPath "/usr/share/fonts/X11/75dpi"
FontPath "/usr/X11R6/lib/X11/fonts/75dpi"
# path to defoma fonts
FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
EndSection

Section "Module"
Load "i2c"
Load "bitmap"
Load "ddc"
Load "dri"
Load "extmod"
Load "freetype"
Load "glx"
Load "int10"
Load "vbe"
EndSection

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

Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/input/mice"
Option "Protocol" "ImPS/2"
Option "Emulate3Buttons" "true"
EndSection

Section "Device"
Identifier "S3 Inc. 86c325 [ViRGE]"
Driver "s3virge"
BusID "PCI:0:10:0"
EndSection

Section "Monitor"
Identifier "Generic Monitor"
Option "DPMS"
EndSection

Section "Screen"
Identifier "Default Screen"
Device "S3 Inc. 86c325 [ViRGE]"
Monitor "Generic Monitor"
DefaultDepth 24
SubSection "Display"
Depth 1
Modes "1280x1024" "1024x768" "832x624" "800x600" "720x400" "640x480"
EndSubSection
SubSection "Display"
Depth 4
Modes "1280x1024" "1024x768" "832x624" "800x600" "720x400" "640x480"
EndSubSection
SubSection "Display"
Depth 8
Modes "1280x1024" "1024x768" "832x624" "800x600" "720x400" "640x480"
EndSubSection
SubSection "Display"
Depth 15
Modes "1280x1024" "1024x768" "832x624" "800x600" "720x400" "640x480"
EndSubSection
SubSection "Display"
Depth 16
Modes "1280x1024" "1024x768" "832x624" "800x600" "720x400" "640x480"
EndSubSection
SubSection "Display"
Depth 24
Modes "1280x1024" "1024x768" "832x624" "800x600"
EndSubSection
EndSection

Section "ServerLayout"
Identifier "Default Layout"
Screen "Default Screen"
InputDevice "Generic Keyboard"
InputDevice "Configured Mouse"
EndSection

Section "DRI"
Mode 0666
EndSection
 
Old 10-21-2007, 12:21 PM   #2
AlucardZero
Senior Member
 
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,808

Rep: Reputation: 604Reputation: 604Reputation: 604Reputation: 604Reputation: 604Reputation: 604
try dpkg-reconfigure xserver-xorg as root
 
Old 10-21-2007, 01:35 PM   #3
b0uncer
LQ Guru
 
Registered: Aug 2003
Distribution: CentOS, OS X
Posts: 5,131

Rep: Reputation: Disabled
Yeah, it would help knowing the horiz/vert refresh rates. Keep searching, if you happen to stumble across a manual, or find those values some other way. The config file should not get overwritten by anyone except for you yourself, or if you run some configuration program that writes to the file. Running X itself shouldn't modify the file; are you sure the changes you made were saved in the first place? The file needs to be edited as root, so make sure you are doing it as root.
Code:
su
pico /etc/X11/xorg.conf
or use any other editor instead of pico.

Try also commenting out the DPMS option:
Code:
Section "Monitor"
Identifier "Generic Monitor"
#Option "DPMS"
EndSection
It might or might not help, it did allow me to get some resolutions work some time ago when they didn't work all right. If it doesn't work/make any difference, uncomment the line again, just in case.

A backup of xorg.conf (the working one) is all right; if/when you happen to mess up the configuration so badly you can't get it fixed, you can simply copy the backup over the non-working config file and it should work again.

You could also search the web for some "general" horiz/vert refresh rates for a monitor that resembles yours. The values are pretty important to be right if you set them, but I'm fairly confident you could try some general values to test with. Probably, if they're not right, they just throw you an error and that's it (I don't think you can get the monitor explode, but if you do, I'll now say I don't take any resposibility about that )
 
Old 10-21-2007, 02:06 PM   #4
makuyl
Senior Member
 
Registered: Dec 2004
Location: Helsinki
Distribution: Debian Sid
Posts: 1,107

Rep: Reputation: 54
"apt-get install xresprobe" and then "ddcprobe" should give sync rates. Try also "xresprobe s3virge".

Also set "DefaultDepth 24" to "DefaultDepth 16" and change lines:
Depth 16
Modes "1280x1024" "1024x768" "832x624" "800x600" "720x400" "640x480"

to:
Depth 16
Modes "1280x1024" "1024x768" #"832x624" "800x600" "720x400" "640x480"

to try to force it to a higher res.
 
Old 10-21-2007, 02:47 PM   #5
b0uncer
LQ Guru
 
Registered: Aug 2003
Distribution: CentOS, OS X
Posts: 5,131

Rep: Reputation: Disabled
Quote:
"apt-get install xresprobe" and then "ddcprobe" should give sync rates. Try also "xresprobe s3virge".
This one was new to me (so thanks).

I forgot to say, after you start X, a bunch of lines is logged to /var/log/Xorg.0.log - among other information that file then contains some knowledge about what resolutions work and possibly why your desired resolution was not used. So,
Code:
less /var/log/Xorg.0.log
and roll to the bottom, then go upwards line by line until you find what you're looking for. That should clear a bit if it's really about the refresh rates (which is probable) or not, or what.

Sonic the Hedgehog is a cool game, btw. Or at least the original Sonics were, back in the 16-bit console age.
 
Old 10-21-2007, 02:53 PM   #6
sonichedgehog
Member
 
Registered: Oct 2007
Location: London UK
Distribution: Fedora Core 17
Posts: 296

Original Poster
Rep: Reputation: 32
Thanks, all great suggestions to work on... if I do get the refresh rates should I simply copy the format of a typical working xorg.conf file (as posted elsewhere on LQ) substituting the appropriate rates? Cheers
 
Old 10-30-2007, 02:53 AM   #7
megha6788
Member
 
Registered: Oct 2007
Posts: 62

Rep: Reputation: 15
there a software astra 32....available for trial download!!!!
it gives all ur hardware ratings....including monitor horizsync n vertrefresh rates!!! hope that helps u!
 
Old 10-31-2007, 05:27 AM   #8
sonichedgehog
Member
 
Registered: Oct 2007
Location: London UK
Distribution: Fedora Core 17
Posts: 296

Original Poster
Rep: Reputation: 32
thank you megaha6788, I may need to use your suggestion in the future. However its fixed now; in the end, it was xresprobe then ddcprobe (thanks b0uncer)that gave me the rates, I also commented out the dpms option and some of the resolution rates as suggested. The monitor hasn't exploded yet. Very pleased with the results so thanks everyone!
 
  


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
Only 640x480 screen resolution on ubuntu 5.10 nickleus Linux - Newbie 6 02-20-2006 03:01 AM
Screen only displays 640x480 resolution XSquire Ubuntu 3 02-19-2006 03:58 PM
serious screen resolution problem 640X480 secici Debian 12 02-07-2006 04:39 PM
X server working only at 640x480 resolution pymehta Linux - Hardware 1 08-21-2005 04:33 PM
The best resolution i get is an 640x480..... I don't know why? billygoat Red Hat 3 07-08-2004 07:41 AM


All times are GMT -5. The time now is 05: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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration