LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices


Reply
  Search this Thread
Old 04-28-2008, 12:47 AM   #1
pietruszewski
Member
 
Registered: Jul 2007
Location: London, Ontario, Canada
Distribution: Debian
Posts: 79

Rep: Reputation: 15
1680x1050 resolution being finicky - Acer x203w


Hi yall, just recently I realized my resolution in linux was a little less than the resolution when I'm in Windows (I have to dual boot for school). I did some research, and low and behold I have a max resolution of 1680x1050!

I added the "1680x1050" to the 24 bit depth line of my xorg.conf file and switched the resolution, but one problem remains. It appears my screen is shifted to the left - I have a 1/4 inch black bar on the right and my desktop is cut off on the left.

Can anybody offer any advice? I'm using a 20 inch Acer x203w Monitor and a NVIDIA Geforce Video card.
 
Old 04-28-2008, 02:21 AM   #2
Smedley
Registered User
 
Registered: Apr 2008
Distribution: Slackware
Posts: 74

Rep: Reputation: 15
I found this:

Code:
Section "Monitor"
	Identifier "Laptop Monitor"
	Option "DPMS" "true"
	#HorizSync    28.0 - 96.0 # Warning: This may fry old Monitors
	#VertRefresh  50.0 - 75.0 # Very conservative. May flicker.
    #VertRefresh  50.0 - 62.0 # Extreme conservative. Will flicker. TFT default.
    
	ModeLine "1400x1050"  122.61  1400 1488 1640 1880  1050 1051 1054 1087  -HSync +Vsync

	# 1400x1050 @ 72.00 Hz (GTF) hsync: 78.77 kHz; pclk: 149.34 MHz
	ModeLine "1400x1050"  149.34  1400 1496 1648 1896  1050 1051 1054 1094  -HSync +Vsync

	# 1400x1050 @ 75.00 Hz (GTF) hsync: 82.20 kHz; pclk: 155.85 MHz
#	ModeLine "1400x1050"  155.85  1400 1496 1648 1896  1050 1051 1054 1096  -HSync +Vsync

	# 1400x1050 @ 85.00 Hz (GTF) hsync: 93.76 kHz; pclk: 179.26 MHz
#	ModeLine "1400x1050"  179.26  1400 1504 1656 1912  1050 1051 1054 1103  -HSync +Vsync

	# 1400x1050 @ 100.00 Hz (GTF) hsync: 111.20 kHz; pclk: 214.39 MHz
#	ModeLine "1400x1050"  214.39  1400 1512 1664 1928  1050 1051 1054 1112  -HSync +Vsync
	DisplaySize 370  277 #1400x1050 96dpi
EndSection

Section "Monitor"
	Identifier "ACER Monitor"
	VendorName "Acer"
	ModelName "X203W"
	#HorizSync 30-83
	#VertRefresh 55-75
	Option "DPMS"
EndSection
http://wiki.archlinux.org/index.php/...D600#Xorg.conf

The settings look similar to yours?
 
Old 04-28-2008, 08:02 AM   #3
pietruszewski
Member
 
Registered: Jul 2007
Location: London, Ontario, Canada
Distribution: Debian
Posts: 79

Original Poster
Rep: Reputation: 15
No, my xorg.conf recognizes my monitor as 'Generic Monitor' e.g.:

Code:
# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig:  version 1.0  (buildmeister@builder26)  Wed Sep 12 14:29:17 PDT 2007

# /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 "ServerLayout"
    Identifier     "Default Layout"
    Screen         "Default Screen" 0 0
    InputDevice    "Generic Keyboard"
    InputDevice    "Configured Mouse"
EndSection

Section "Files"

	# path to defoma fonts
    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"
    FontPath        "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
EndSection

Section "Module"
    Load           "bitmap"
    Load           "ddc"
    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" "pc104"
    Option         "XkbLayout" "us"
EndSection

Section "InputDevice"
    Identifier     "Configured Mouse"
    Driver         "mouse"
    Option         "CorePointer"
    Option         "Device" "/dev/psaux"
#    Option         "Protocol" "PS/2"
    Option         "Protocol" "IMPS/2"
    Option         "Buttons" "5"
    Option         "ZAxisMapping" "4 5"
    Option         "Emulate3Buttons" "true"
EndSection

Section "Monitor"
    Identifier     "Generic Monitor"
    HorizSync       60.0 - 100.0
    VertRefresh     75.0
    Option         "DPMS"
    DisplaySize     1680 1050
EndSection

Section "Device"
    Identifier     "NVIDIA GeForce 6100"
    Driver         "nvidia"
EndSection

Section "Screen"
    Identifier     "Default Screen"
    Device         "NVIDIA GeForce 6100"
    Monitor        "Generic Monitor"
    DefaultDepth    24
    Option         "AddARGBGLXVisuals" "True"
    Option         "AllowGLXWithComposite" "True"
    SubSection     "Display"
        Depth       1
        Modes      "1680x1050" "1024x768" "800x600" "640x480"
    EndSubSection
    SubSection     "Display"
        Depth       4
        Modes      "1680x1050" "1024x768" "800x600" "640x480"
    EndSubSection
    SubSection     "Display"
        Depth       8
        Modes      "1680x1050" "1024x768" "800x600" "640x480"
    EndSubSection
    SubSection     "Display"
        Depth       15
        Modes      "1680x1050" "1024x768" "800x600" "640x480"
    EndSubSection
    SubSection     "Display"
        Depth       16
        Modes      "1680x1050" "1024x768" "800x600" "640x480"
    EndSubSection
    SubSection     "Display"
        Depth       24
        Modes      "1680x1050" "1024x768" "800x600" "640x480"
    EndSubSection
EndSection

Section "Extensions"
    Option         "Composite" "Enable"
EndSection
 
Old 04-28-2008, 08:08 AM   #4
pietruszewski
Member
 
Registered: Jul 2007
Location: London, Ontario, Canada
Distribution: Debian
Posts: 79

Original Poster
Rep: Reputation: 15
I'm using a very unholy Nvidia display driver which I think might be the problem. My xorg.conf looks like this:

Code:
# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig:  version 1.0  (buildmeister@builder26)  Wed Sep 12 14:29:17 PDT 2007

# /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 "ServerLayout"
    Identifier     "Default Layout"
    Screen         "Default Screen" 0 0
    InputDevice    "Generic Keyboard"
    InputDevice    "Configured Mouse"
EndSection

Section "Files"

	# path to defoma fonts
    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"
    FontPath        "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
EndSection

Section "Module"
    Load           "bitmap"
    Load           "ddc"
    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" "pc104"
    Option         "XkbLayout" "us"
EndSection

Section "InputDevice"
    Identifier     "Configured Mouse"
    Driver         "mouse"
    Option         "CorePointer"
    Option         "Device" "/dev/psaux"
#    Option         "Protocol" "PS/2"
    Option         "Protocol" "IMPS/2"
    Option         "Buttons" "5"
    Option         "ZAxisMapping" "4 5"
    Option         "Emulate3Buttons" "true"
EndSection

Section "Monitor"
    Identifier     "Generic Monitor"
    HorizSync       60.0 - 100.0
    VertRefresh     75.0
    Option         "DPMS"
    DisplaySize     1680 1050
EndSection

Section "Device"
    Identifier     "NVIDIA GeForce 6100"
    Driver         "nvidia"
EndSection

Section "Screen"
    Identifier     "Default Screen"
    Device         "NVIDIA GeForce 6100"
    Monitor        "Generic Monitor"
    DefaultDepth    24
    Option         "AddARGBGLXVisuals" "True"
    Option         "AllowGLXWithComposite" "True"
    SubSection     "Display"
        Depth       1
        Modes      "1680x1050" "1024x768" "800x600" "640x480"
    EndSubSection
    SubSection     "Display"
        Depth       4
        Modes      "1680x1050" "1024x768" "800x600" "640x480"
    EndSubSection
    SubSection     "Display"
        Depth       8
        Modes      "1680x1050" "1024x768" "800x600" "640x480"
    EndSubSection
    SubSection     "Display"
        Depth       15
        Modes      "1680x1050" "1024x768" "800x600" "640x480"
    EndSubSection
    SubSection     "Display"
        Depth       16
        Modes      "1680x1050" "1024x768" "800x600" "640x480"
    EndSubSection
    SubSection     "Display"
        Depth       24
        Modes      "1680x1050" "1024x768" "800x600" "640x480"
    EndSubSection
EndSection

Section "Extensions"
    Option         "Composite" "Enable"
EndSection
 
Old 04-28-2008, 08:17 AM   #5
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
What do you mean by "unholy" driver? the "nvidia" driver is indeed the one to use.

the only thing that looks funny to me is this:
Quote:
DisplaySize 1680 1050
I would take that out.

The other thing to try is to make sure the Horiz and Vertical scan rates are correct for your monitor.

I all else fails, try a modeline. You can generate it using the "gtf" utility. Smedley's post shows how it is used.
 
Old 04-28-2008, 11:07 AM   #6
tredegar
LQ 5k Club
 
Registered: May 2003
Location: London, UK
Distribution: Fedora38
Posts: 6,147

Rep: Reputation: 435Reputation: 435Reputation: 435Reputation: 435Reputation: 435
Quote:
The other thing to try is to make sure the Horiz and Vertical scan rates are correct for your monitor.
If you leave these lines out completely (or, just comment them out) modern distros will query your monitor with EDID for the correct values.
pixellany is right about, DisplaySize width height
This optional entry gives the width and height, in millimetres, of the picture area of the monitor. If
given this is used to calculate the horizontal and vertical pitch (DPI) of the screen.
 
Old 04-28-2008, 06:08 PM   #7
pietruszewski
Member
 
Registered: Jul 2007
Location: London, Ontario, Canada
Distribution: Debian
Posts: 79

Original Poster
Rep: Reputation: 15
Thank you Pixellany, that worked.

I found out that if I push the 'Auto' button on the front of my monitor, the black bar goes away. BUT if I reboot into windows, the bar appears at the left - as if the two operating systems aren't aligned. So it's just an annoyance of pushing the 'Auto' button everytime I switch OS's. Any thoughts?
 
Old 04-29-2008, 04:10 AM   #8
tredegar
LQ 5k Club
 
Registered: May 2003
Location: London, UK
Distribution: Fedora38
Posts: 6,147

Rep: Reputation: 435Reputation: 435Reputation: 435Reputation: 435Reputation: 435
I think you'll have to set up a modeline, either with gtf as pixellany suggested, or xvidtune which allows changes to the timings to be seen as you adjust them. Start it from a terminal. Make adjustments. When you click on "show", it prints the modeline to the terminal and closes. Then you need to copy that modeline to your xorg.conf and restart X
 
Old 05-01-2008, 01:44 PM   #9
pietruszewski
Member
 
Registered: Jul 2007
Location: London, Ontario, Canada
Distribution: Debian
Posts: 79

Original Poster
Rep: Reputation: 15
I copied the modelines, and my screen still shifts when I switch operating systems. Any other ideas? or could it be an issue with the Gates OS?
 
Old 05-01-2008, 02:01 PM   #10
tredegar
LQ 5k Club
 
Registered: May 2003
Location: London, UK
Distribution: Fedora38
Posts: 6,147

Rep: Reputation: 435Reputation: 435Reputation: 435Reputation: 435Reputation: 435
Did you use gtf or xvidtune to generate the modeline?
I hope you used the latter. If so, please post your xorg.conf (we do not need to see touchpad, mouse or font entries).
Quote:
could it be an issue with the Gates OS?
I don't know, but I'm not messing with windows - too frustrating, and I no longer know what I am talking about (I quit at win98).
I think the best way to fix this is to boot to win, press the "Auto" button, then boot to linux and use xvidtune to generate the modeline you need to enable linux to work with the settings windows requires.
Then we just need to check that you have put the correct entries in the right places in xorg.conf
 
Old 05-01-2008, 02:12 PM   #11
pietruszewski
Member
 
Registered: Jul 2007
Location: London, Ontario, Canada
Distribution: Debian
Posts: 79

Original Poster
Rep: Reputation: 15
Code:
Section "Monitor"
    Identifier     "Generic Monitor"
    HorizSync       60.0 - 100.0
    VertRefresh     75.0
    Option         "DPMS"

    Modeline       "1680x1050"   147.14   1680 1784 1968 2256   1050 1051 1054 1 087 +hsync +vsync

EndSection

Section "Device"
    Identifier     "NVIDIA GeForce 6100"
    Driver         "nvidia"
EndSection

Section "Screen"
    Identifier     "Default Screen"
    Device         "NVIDIA GeForce 6100"
    Monitor        "Generic Monitor"
    DefaultDepth    24
    Option         "AddARGBGLXVisuals" "True"
    Option         "AllowGLXWithComposite" "True"
    SubSection     "Display"
        Depth       1
        Modes      "1680x1050" "1024x768" "800x600" "640x480"
    EndSubSection
    SubSection     "Display"
        Depth       4
        Modes      "1680x1050" "1024x768" "800x600" "640x480"
    EndSubSection
    SubSection     "Display"
        Depth       8
        Modes      "1680x1050" "1024x768" "800x600" "640x480"
    EndSubSection
    SubSection     "Display"
        Depth       15
        Modes      "1680x1050" "1024x768" "800x600" "640x480"
    EndSubSection
    SubSection     "Display"
        Depth       16
        Modes      "1680x1050" "1024x768" "800x600" "640x480"
    EndSubSection
    SubSection     "Display"
        Depth       24
        Modes      "1680x1050" "1024x768" "800x600" "640x480"
    EndSubSection
 
Old 05-01-2008, 03:32 PM   #12
tredegar
LQ 5k Club
 
Registered: May 2003
Location: London, UK
Distribution: Fedora38
Posts: 6,147

Rep: Reputation: 435Reputation: 435Reputation: 435Reputation: 435Reputation: 435
Quote:
Did you use gtf or xvidtune to generate the modeline?
[1]You haven't answered my question

I have searched the acer site:
http://csd.acer.com.tw/acer/URMUL1.N...=50&Expand=4#4
for your monitor, which you said in your first post is a "x203w" - it doesn't seem to exist so I cannot check its manual - [2] do you have a link to it?

But (from your xorg.conf)
Code:
    HorizSync       60.0 - 100.0
    VertRefresh     75.0
Does not look right for an LCD display.
[3] Where did you get these numbers from?

As I said before, if you take these lines out, X will try to ask your monitor for the correct values, and use them to work out the timings.
Some monitors do not reply correctly, but we will find out ...

So, for now, we'll try and let X sort it all out:

Remove
the HorizSync and VertRefresh lines from your xorg.conf
Also remove all modeline lines.

Then restart X with a <CTRL-ALT-Backspace>

[4]Any better?

If this fails we'll go back to generating modelines, but this should not be necessary.

The red bits need answers
 
Old 05-01-2008, 04:07 PM   #13
pietruszewski
Member
 
Registered: Jul 2007
Location: London, Ontario, Canada
Distribution: Debian
Posts: 79

Original Poster
Rep: Reputation: 15
1)Oh sorry! I used xvidtune
2)
3) I'm not sure I think they might've been there by default
 
Old 05-01-2008, 04:12 PM   #14
tredegar
LQ 5k Club
 
Registered: May 2003
Location: London, UK
Distribution: Fedora38
Posts: 6,147

Rep: Reputation: 435Reputation: 435Reputation: 435Reputation: 435Reputation: 435
[2] ?
[4] ?
Test it out, then report back.
 
Old 05-01-2008, 04:17 PM   #15
pietruszewski
Member
 
Registered: Jul 2007
Location: London, Ontario, Canada
Distribution: Debian
Posts: 79

Original Poster
Rep: Reputation: 15
oh wow! i posted a url I guess it didn't work :-S

http://www.acer.ca/public/page4.do?l...crc=2680593467
 
  


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
The (Un-)common Widescreen resolution problem (1680x1050) faberoo Linux - Newbie 2 11-05-2007 11:35 PM
Can't get 1680x1050 resolution on Ubuntu 7.04 dsuratman Linux - Hardware 3 06-12-2007 02:11 PM
1680x1050 screen resolution under sarge lixy Linux - Laptop and Netbook 3 04-26-2006 01:00 AM
1680x1050 screen resolution with ubuntu? bert.baeck Linux - Laptop and Netbook 1 04-21-2006 01:54 PM
framebuffer + 1680x1050 resolution SVN Linux - General 5 04-01-2005 08:09 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop

All times are GMT -5. The time now is 09:26 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