LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 11-09-2006, 08:29 AM   #1
wabbalee
Member
 
Registered: Oct 2006
Location: brisbane - australia
Distribution: ubuntu
Posts: 335

Rep: Reputation: 38
screen resolution and refresh rate


Hello all,

I have an acer laptop with a widescreen that should be at a resolution of 1280x800 @ 60hz. when running mepis 6.0 i get a resolution of 1024x768 @ 70hz

here's a copy of my xorg.conf file:

Code:
 
Section "ServerLayout"
  Identifier "XFree86 Configured"
  Screen 0 "Screen0" 0 0
 #Screen 0 "ATIScreen" 0 0
  InputDevice "Keyboard0" "CoreKeyboard"
  InputDevice "PS/2 Mouse" "CorePointer"
 #InputDevice "USB Mouse" "CorePointer"
 #InputDevice "Touchpad" "CorePointer"
 #InputDevice "Stylus" "CorePointer"
 #InputDevice "Eraser" "CorePointer"
 #InputDevice "Cursor" "CorePointer"
 #InputDevice "Serial Mouse" "CorePointer"
EndSection

Section "ServerFlags"
  Option "AllowMouseOpenFail" "true"
EndSection

Section "Files"
# Xorg 7.0 font paths
    FontPath 	"/usr/share/X11/fonts/misc:unscaled"
    FontPath 	"/usr/share/X11/fonts/cyrillic"
    FontPath 	"/usr/share/X11/fonts/Type1"
    FontPath 	"/usr/share/X11/fonts/util"

# Legacy font paths
    FontPath 	"/usr/X11R6/lib/X11/fonts/misc:unscaled"
    FontPath 	"/usr/X11R6/lib/X11/fonts/cyrillic"
    FontPath 	"/usr/X11R6/lib/X11/fonts/Type1"
    FontPath 	"/usr/X11R6/lib/X11/fonts/util"

# Other font paths
    FontPath 	"/usr/share/fonts/truetype/ttf-lucida"
    FontPath 	"/usr/share/fonts/truetype/arphic"
    FontPath 	"/usr/share/fonts/truetype/freefont"
    FontPath 	"/usr/share/fonts/truetype/kochi"
    FontPath 	"/usr/share/fonts/truetype/latex-xft-fonts"
    FontPath 	"/usr/share/fonts/truetype/openoffice"
    FontPath 	"/usr/share/fonts/truetype/ttf-bitstream-vera"
    FontPath 	"/usr/share/fonts/type1/gsfonts"
    FontPath 	"/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
    FontPath 	"/var/lib/defoma/x-ttcidfont-conf.d/dirs/CID"

EndSection

Section "Module"
  Load "GLcore"
  Load "bitmap"
  Load "dbe"
  Load "ddc"
  Load "dri"
  Load "extmod"
  Load "freetype"
  Load "glx"
  Load "int10"
  Load "record"
  Load "type1"
  Load "v4l"
  Load "vbe"
  Load "synaptics"
EndSection

Section "InputDevice"
  Identifier "Keyboard0"
  Driver "keyboard"
  Option "CoreKeyboard"
  Option "XkbModel" "pc105"
  Option "XkbLayout" "us"
  Option "XKbOptions" ""
EndSection

Section "InputDevice"
  Identifier "Serial Mouse"
  Driver "mouse"
  Option  "Protocol" "Microsoft"
  Option  "Device" "/dev/ttyS0"
  Option  "Emulate3Buttons" "false"
  Option  "Emulate3Timeout" "70"
EndSection

Section "InputDevice"
 Identifier "Touchpad"
 Driver "synaptics"
 Option "Device" "/dev/psaux"
 Option "Protocol" "auto-dev"
 Option "LeftEdge" "1700"
 Option "RightEdge" "5300"
 Option "TopEdge" "1700"
 Option "BottomEdge" "4200"
 Option "FingerLow" "25"
 Option "FingerHigh" "30"
 Option "MaxTapTime" "180"
 Option "MaxTapMove" "220"
 Option "VertScrollDelta" "100"
 Option "MinSpeed" "0.06"
 Option "MaxSpeed" "0.12"
 Option "AccelFactor" "0.0010"
 Option "SHMConfig" "on"
 Option "Repeater" "/dev/input/mice"
EndSection

Section "InputDevice"
  Identifier "PS/2 Mouse"
  Driver "mouse"
  Option "Protocol" "auto"
  Option "Device" "/dev/psaux"
  Option "Emulate3Buttons" "false"
  Option "Emulate3Timeout" "70"
  Option "ZAxisMapping" "4 5"
  Option "Buttons" "5"
EndSection

Section "InputDevice"
  Identifier "USB Mouse"
  Driver "mouse"
  Option "Device" "/dev/input/mice"
  Option "Protocol" "ExplorerPS/2"
  Option "ZAxisMapping" "4 5"
  Option "Buttons" "5"
EndSection

Section "InputDevice"
  Identifier "Stylus"
  Driver "wacom"
  Option "Mode" "Absolute"
  Option "Type" "stylus"
  Option "Device" "/dev/input/wacom"
Endsection

# Settings for wacom eraser
Section "InputDevice"
  Identifier "Eraser"
  Driver "wacom"
  Option "Mode" "Absolute"
  Option "Type" "eraser"
  Option "Device" "/dev/input/wacom"
Endsection
# Settings for wacom cursor (mouse)
Section "InputDevice"
  Identifier "Cursor"
  Driver "wacom"
  Option "Mode" "Absolute"
  Option "Type" "cursor"
  Option "Device" "/dev/input/wacom"
Endsection

Section "Monitor"
  Identifier "Monitor0"
  VendorName "unknown"
  ModelName "unknown"
 #Option "DPMS" "true"
  HorizSync    30.0 - 75.0 # Warning: This may fry old Monitors
  VertRefresh  50.0 - 70.0 # Very conservative. May flicker.
  Modeline "640x480"     25.175 640  664  760  800   480  491  493  525 #60Hz
  Modeline "800x600"     40.12  800  848  968 1056   600  601  605  628 #60Hz
  Modeline "1024x768"    75    1024 1048 1184 1328   768  771  777  806 -hsync -vsync
  Modeline "1024x768"    85    1024 1056 1152 1360   768  784  787  823
  ModeLine "1152x864"    65    1152 1168 1384 1480   864  865  875  985 Interlace
  Modeline "1152x864"    92    1152 1208 1368 1474   864  865  875  895
  Modeline "1152x864"   110    1152 1240 1324 1552   864  864  876  908
  Modeline "1152x864"   135    1152 1464 1592 1776   864  864  876  908
  Modeline "1152x864"   137.65 1152 1184 1312 1536   864  866  885  902 -HSync -VSync
  Modeline "1280x768"    80.14 1280 1344 1480 1680   768  769  772  795
  ModeLine "1280x800"    80.58 1280 1344 1480 1680   800  801  804  827 -HSync -VSync
  Modeline "1280x1024"   80    1280 1296 1512 1568  1024 1025 1037 1165 Interlace
  Modeline "1280x1024"  110    1280 1328 1512 1712  1024 1025 1028 1054
  Modeline "1280x1024"  126.5  1280 1312 1472 1696  1024 1032 1040 1068 -HSync -VSync
  Modeline "1280x1024"  135    1280 1312 1456 1712  1024 1027 1030 1064
  Modeline "1280x1024"  135    1280 1312 1416 1664  1024 1027 1030 1064
  Modeline "1280x1024"  157.5  1280 1344 1504 1728  1024 1025 1028 1072 +HSync +VSync
  Modeline "1280x1024"  181.75 1280 1312 1440 1696  1024 1031 1046 1072 -HSync -VSync
  Modeline "1440x900"   106.47 1440 1520 1672 1904   900  901  904  932 +HSync +VSync
  Modeline "1400x1050"  129    1400 1464 1656 1960  1050 1051 1054 1100 +HSync +VSync
  Modeline "1600x1200"  162    1600 1664 1856 2160  1200 1201 1204 1250 +HSync +VSync
  Modeline "1600x1200"  189    1600 1664 1856 2160  1200 1201 1204 1250 -HSync -VSync
  Modeline "1600x1200"  202.5  1600 1664 1856 2160  1200 1201 1204 1250 +HSync +VSync
  Modeline "1600x1200"  220    1600 1616 1808 2080  1200 1204 1207 1244 +HSync +VSync
  Modeline "1680x1050"  147.14 1680 1784 1968 2256  1050 1051 1054 1087
  ModeLine "1800x1440"  230    1800 1896 2088 2392  1440 1441 1444 1490 +HSync +VSync
  ModeLine "1800x1440"  250    1800 1896 2088 2392  1440 1441 1444 1490 +HSync +VSync
  Modeline "1920x1200"  230    1920 1936 2096 2528  1200 1201 1204 1250 +HSync +VSync
EndSection

Section "Monitor"
  Identifier  "ATIMonitor"
  VendorName "unknown"
  ModelName "unknown"
 #Option "DPMS" "true"
  HorizSync    30.0 - 75.0 # Warning: This may fry old Monitors
  VertRefresh  50.0 - 70.0 # Very conservative. May flicker.
EndSection

Section "Device"
  Identifier  "Card0"
  Driver "i810"
  BoardName "unknown"

 #BusID  "PCI:1:0:0"
 #Option "sw_cursor" # needed for some ati cards
 #Option "hw_cursor"
 #Option "NoAccel"
 #Option "ShowCache"
 #Option "ShadowFB"
 #Option "UseFBDev"
 #Option "Rotate"
  Option "UseInternalAGPGART" "no"

# savage special options, use with care
 #Option "NoUseBios"
 #Option "BusType" "PCI"
  Option "DmaMode" "None"

# nvidia special options, use with care
  Option "CursorShadow" "1"
  Option "CursorShadowAlpha" "63"
  Option "CursorShadowYOffset" "2"
  Option "CursorShadowXOffset" "4"
  Option "FlatPanelProperties" "Scaling = native"
  Option "NoLogo" "false"
  Option "IgnoreEdid" "true" # needs to be true for some nvidia cards
EndSection

Section "Screen"
  Identifier "Screen0"
  Device "Card0"
  Monitor "Monitor0"
  DefaultColorDepth 16
  
  SubSection "Display"
  Depth 8
  Modes "1280x800" "1024x768"
  EndSubSection
  SubSection "Display"
  Depth 15
  Modes "1280x800" "1024x768"
  EndSubSection
  SubSection "Display"
  Depth 16
  Modes "1280x800" "1024x768"
  EndSubSection
  SubSection "Display"
  Depth 24
  Modes "1280x800" "1024x768"
  EndSubSection
  SubSection "Display"
  Depth 32
  Modes "1280x800" "1024x768"
  EndSubSection
  
  # Only the official NVIDIA driver supports twinview
  # these setting are an example
  Option "TwinView" "false"
  Option "SecondMonitorVendorName" "unknown"
  Option "SecondMonitorModelName" "unknown"
  Option "SecondMonitorHorizSync" "30-75"
  Option "SecondMonitorVertRefresh" "50-70"
 #Option "MetaModes" "1024x768, 1024x768"
  Option "TwinViewOrientation" "RightOf"
  Option "ConnectedMonitor" "dfp,dfp"
EndSection

Section "Screen"
  Identifier "ATIScreen"
  Device "Card0"
  Monitor "ATIMonitor"
  DefaultColorDepth 24
  
  SubSection "Display"
  Depth 24
  Modes "1280x800" "1024x768"
  EndSubSection
EndSection

Section "DRI"
  Mode 0666
EndSection
hopefully this is the info needed to see the problem,

thanks
ron
 
Old 11-09-2006, 10:04 AM   #2
Caeda
Senior Member
 
Registered: Jul 2003
Location: Indiana
Distribution: Suse 6.0+, Mandrake 5.0-10.0, Redhat 6.0-9.0, Gentoo 1.2+, Gnoppix, Knoppix, Sabayon, Ubuntu 5.04+
Posts: 1,811

Rep: Reputation: 45
You have an intel video card. It' using the i810 drive. You need to install either 855 or 915 resolution that's mentioned in several hundred posts identical to yours already on this forum...
 
Old 11-09-2006, 08:14 PM   #3
wabbalee
Member
 
Registered: Oct 2006
Location: brisbane - australia
Distribution: ubuntu
Posts: 335

Original Poster
Rep: Reputation: 38
ok i will look for the hundreds of other threads then, it is just when i clicked on 'find similar threads' i couldn't see any that could help me. sorry for not being so smart, i just came here for a little help.

thanks
ron
 
Old 11-09-2006, 08:25 PM   #4
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
If that doesn't help, try using the gft program: "gtf 1280 800 56 -x" for example will produce a modeline for 1280x800 at 56 Hz. Compare it with what you have or even add it to your modelines.
 
Old 11-10-2006, 08:53 AM   #5
Caeda
Senior Member
 
Registered: Jul 2003
Location: Indiana
Distribution: Suse 6.0+, Mandrake 5.0-10.0, Redhat 6.0-9.0, Gentoo 1.2+, Gnoppix, Knoppix, Sabayon, Ubuntu 5.04+
Posts: 1,811

Rep: Reputation: 45
http://www.linuxquestions.org/questi...d.php?t=496953

http://www.linuxquestions.org/questi...d.php?t=461583

http://www.linuxquestions.org/questi...d.php?t=461901


Here's 3 threads out of 95 pages of threads on widescreen resolution. Coming for help is one thing, not bothering to check that it's been helped already doesn't make other people "smart."

The only search terms needed to find these were "i810 widescreen" and "intel graphics widescreen"
 
Old 11-10-2006, 09:33 AM   #6
wabbalee
Member
 
Registered: Oct 2006
Location: brisbane - australia
Distribution: ubuntu
Posts: 335

Original Poster
Rep: Reputation: 38
Thanks ehsan_expert, it worked for me, after two days of intensive searching and reading long stories, you gave the simple answer i was looking for. in my case dm.sh file was kdm.sh and it would be handy to say where it is located: /etc/init.d/kdm

installing 915resolution was a piece of cake and adding that line 915resolution 38 1280 800 24 (after doing the right pick (58 in my case) from the list generated by '915resolution -l') to the top of the kdm.sh file is easy enough too.

just ctrl+alt+bckspc wasn't enough but a reboot did the trick

thanks
ron

see: http://www.linuxquestions.org/questi...d.php?t=496953
 
Old 11-10-2006, 09:46 AM   #7
wabbalee
Member
 
Registered: Oct 2006
Location: brisbane - australia
Distribution: ubuntu
Posts: 335

Original Poster
Rep: Reputation: 38
and to Caeda, thanks too for your help, i eventually came accross a link that you also put in your 2nd reply to this thread. i would just like to use this opportunity to say that yes, there are many threads covering this issue, some of them very long, explaining all things that are just way over my head. i was hoping for a solution that i can understand without being a rocket scientist, and i got it. mind you, living a life with three kids and all responsibilities that come with that don't always make it easier for the average house father to find time (lots of it) to browse the web and read long stories. i know, it is only my problem (and joy!) and not that of the linux community, doesn't mean that it doesn't play part in my linux life. i have said it before and i will say it again now: there is life outside the (linux) box! enjoy it, while you still can!

regards
ron
 
Old 11-10-2006, 09:59 PM   #8
wabbalee
Member
 
Registered: Oct 2006
Location: brisbane - australia
Distribution: ubuntu
Posts: 335

Original Poster
Rep: Reputation: 38
May be I have been cheering to early because now when I switch to a VT i can't read a thing! everything looks garbled, not even random characters, just unreadable jibberish. now x looks perfect but the VT have become useless in the process.
 
Old 11-13-2006, 10:31 AM   #9
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
Try a vga setting in your kernel parameters in Lilo or grub. It could also be a matter of the video driver itself. With an earlier nvidia driver I had the same problem.
 
Old 11-14-2006, 08:48 AM   #10
wabbalee
Member
 
Registered: Oct 2006
Location: brisbane - australia
Distribution: ubuntu
Posts: 335

Original Poster
Rep: Reputation: 38
after putting that 915 resolution in I got a refresh rate of 58hz, then I did that gft thing (i forgot what exactly) and i added the generated line in xorg.conf which in combination with the 915 resolution produces a 1280x800@60hz resolution (which is what i want) instead of the 58hz. without the 915 resolution, but with that gft line still in xorg.conf, it is all back to 1024x768@70hz, which is pretty standard for Mepis and no options to change it to 1280x800@60hz. but now you, jschiwal, have said to try and do this in the kernel parameters. er, how does one do this? it sounds like something worth trying but i don't know how. this 915 resolution is more a compromise than a true solution for the problem as it stuffs up the VT's (after X has loaded and 915 res. is applied by the script)

thanks
ron
 
Old 11-15-2006, 12:16 AM   #11
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
You mentioned that the virtual terminals wouldn't show up. Look in your /boot/grub/menu.lst or /etc/lilo.conf file. You can change the resolution of the VT by adding an option like vga=791 to the end of the line that selects the kernel.

On my 1280x800 Laptop, I need to use 1280x800 at 56 hz. Only 4 hz shouldn't be very noticable, and if it works it works. You can add the modeline instead of replacing it. Use the names 1280x800_56 and 1280x800_60. In my experience X Server doesn't seem to like the ".00" part that gtf produces. Then in the "Display" section, use the line:
Modes "1280x800_56" "1280x800_60" "1024x768". If one of them works you can get rid of the other.
 
Old 11-17-2006, 09:08 AM   #12
wabbalee
Member
 
Registered: Oct 2006
Location: brisbane - australia
Distribution: ubuntu
Posts: 335

Original Poster
Rep: Reputation: 38
I have also checked out this thread:

http://www.linuxquestions.org/questi...54#post2503154

and learned a few things there too, all works fine now.

Mepis already has that line with the option 'vga=791' added by default. i found out how to use the 915resolution in a better way. it is a workaround but when applied properly, it works like a charm. quiet happy with the result.
 
  


Reply



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
Changing Refresh Rate and Screen Resolution under Solaris 10 Basel Solaris / OpenSolaris 9 12-05-2007 09:05 AM
Screen resolution & Refresh rate dement SUSE / openSUSE 7 11-17-2006 12:57 PM
Screen Resolution / Refresh Rate FC4 ZeroIdea Linux - Hardware 1 12-04-2005 11:34 AM
Changing screen resolution to 1024x768..refresh rate cannot change too stays 60hz Niceman2005 Linux - General 4 11-03-2005 10:00 AM
resolution and refresh rate... Decepticon22 Linux - Newbie 6 02-03-2005 03:51 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 04:18 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
Open Source Consulting | Domain Registration