LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook
User Name
Password
Linux - Laptop and Netbook Having a problem installing or configuring Linux on your laptop? Need help running Linux on your netbook? This forum is for you. This forum is for any topics relating to Linux and either traditional laptops or netbooks (such as the Asus EEE PC, Everex CloudBook or MSI Wind).

Notices


Reply
  Search this Thread
Old 06-20-2005, 11:08 PM   #1
shamgar03
Member
 
Registered: Jul 2004
Distribution: Gentoo, CentOS
Posts: 92

Rep: Reputation: 15
Pixel Stretching, and panning


I have a dell D800 with a wuxga monitor. Being widescreen, the monitor needs to run at 1900x1200 rather than 1600x1200. When I installed linux the first time everything looked normal in X, but today I installed the nvidia drivers for my geforce 4200go and now it ALWAYS stretches the pixels. If I do 1600x1200 it stretches them, because it of course has to to fit that actual 1900x1200 pixels. However when I put X in 1900x1200 mode, the monitor still stretches the pixels, but when I move my mouse to the side it pans the desktop over the extra 300 pixels, and of course if I then move the mouse all the way to the left it pans back. It is really irritating and I can't figure out what happend. I only changed 1 setting in xorg.conf - driver from "nv" to "nvidia". Had anyone had a problem like this before?
 
Old 06-20-2005, 11:55 PM   #2
edong23
Member
 
Registered: Apr 2005
Distribution: Slackware
Posts: 350

Rep: Reputation: 30
damn that is a bad ass computer. anyway. print your xorg.conf file and name and brand of monitor and ill give er a shot.
 
Old 06-21-2005, 12:01 PM   #3
shamgar03
Member
 
Registered: Jul 2004
Distribution: Gentoo, CentOS
Posts: 92

Original Poster
Rep: Reputation: 15
Alright here it is: (by the way I am a noob, and I let XFdrake write my config file)


# File generated by XFdrake.

# **********************************************************************
# Refer to the XF86Config man page for details about the format of
# this file.
# **********************************************************************

Section "Files"
# Multiple FontPath entries are allowed (they are concatenated together)
# By default, Mandrake 6.0 and later now use a font server independent of
# the X server to render fonts.
FontPath "unix/:-1"
EndSection

Section "ServerFlags"
#DontZap # disable <Crtl><Alt><BS> (server abort)
#DontZoom # disable <Crtl><Alt><KP_+>/<KP_-> (resolution switching)
AllowMouseOpenFail # allows the server to start up even if the mouse does not work
EndSection

Section "Module"
Load "dbe" # Double-Buffering Extension
Load "v4l" # Video for Linux
Load "extmod"
Load "type1"
Load "freetype"
Load "synaptics"
Load "glx" # 3D layer
EndSection

Section "InputDevice"
Identifier "Keyboard1"
Driver "keyboard"
Option "XkbModel" "pc105"
Option "XkbLayout" "en_US"
Option "XkbOptions" "compose:rwin"
EndSection

Section "InputDevice"
Identifier "SynapticsMouse1"
Driver "synaptics"
Option "Protocol" "auto-dev"
Option "Device" "/dev/input/mice"
Option "EdgeMotionMinSpeed" "200"
Option "MinSpeed" "0.8"
Option "MaxSpeed" "1.00"
Option "BottomEdge" "650"
Option "EdgeMotionMaxSpeed" "200"
Option "UpDownScrolling" "0"
Option "CircScrollTrigger" "2"
Option "SHMConfig" "on"
Option "EmulateMidButtonTime" "75"
Option "CircScrollDelta" "0.1"
Option "LeftEdge" "120"
Option "FingerLow" "14"
Option "HorizScrollDelta" "20"
Option "MaxTapMove" "110"
Option "MaxTapTime" "180"
Option "FingerHigh" "15"
Option "VertScrollDelta" "20"
Option "CircularScrolling" "1"
Option "AccelFactor" "0.015"
Option "RightEdge" "830"
Option "TopEdge" "120"
EndSection

Section "Monitor"
Identifier "monitor1"
HorizSync 31.5-90
VertRefresh 60

# modeline generated by gtf(1) [handled by XFdrake]
ModeLine "1920x1200_120" 412.34 1920 2080 2296 2672 1200 1201 1204 1286 -HSync +Vsync

# modeline generated by gtf(1) [handled by XFdrake]
ModeLine "1920x1200_100" 337.58 1920 2072 2288 2656 1200 1201 1204 1271 -HSync +Vsync

# modeline generated by gtf(1) [handled by XFdrake]
ModeLine "1920x1200_85" 282.74 1920 2072 2280 2640 1200 1201 1204 1260 -HSync +Vsync

# modeline generated by gtf(1) [handled by XFdrake]
ModeLine "1920x1200_75" 246.59 1920 2064 2272 2624 1200 1201 1204 1253 -HSync +Vsync

# modeline generated by gtf(1) [handled by XFdrake]
ModeLine "1920x1200_60" 193.16 1920 2048 2256 2592 1200 1201 1204 1242 -HSync +Vsync

# modeline generated by gtf(1) [handled by XFdrake]
ModeLine "1920x1200_50" 158.08 1920 2032 2240 2560 1200 1201 1204 1235 -HSync +Vsync

# modeline generated by the wise "Micah" <noob>

EndSection

Section "Device"
Identifier "device1"
VendorName "nVidia"
BoardName "NVIDIA GeForce4 (generic)"
Driver "nvidia"
Option "DPMS"
EndSection

Section "Screen"
Identifier "screen1"
Device "device1"
Monitor "monitor1"
DefaultColorDepth 24

Subsection "Display"
Depth 8
Virtual 1920 1200
EndSubsection

Subsection "Display"
Depth 15
Virtual 1920 1200
EndSubsection

Subsection "Display"
Depth 16
Virtual 1920 1200
EndSubsection

Subsection "Display"
Depth 24
Virtual 1920 1200
EndSubsection
EndSection

Section "ServerLayout"
Identifier "layout1"
InputDevice "Keyboard1" "CoreKeyboard"
InputDevice "SynapticsMouse1" "CorePointer"
Screen "screen1"
EndSection
 
Old 06-21-2005, 02:22 PM   #4
slithy
Member
 
Registered: Jun 2005
Distribution: Debian "Etch"
Posts: 48

Rep: Reputation: 15
I believe that this
Code:
 Virtual 1920 1200
is what is cauing your desktop to pan instead of change resolution. I am not sure what changes need to be made the your xorg file though.
 
Old 06-21-2005, 10:06 PM   #5
shamgar03
Member
 
Registered: Jul 2004
Distribution: Gentoo, CentOS
Posts: 92

Original Poster
Rep: Reputation: 15
Real Maybe? I looked in the xorg.conf information section though and nothing seems to fit there. http://www.die.net/doc/linux/man/man5/xorg.conf.5.html I commented out all of the virtual lines and it stopped recognizing 1900x1200 as a valid resolution. It only goes up to 1600x1200 now. I am going to put it back and see what happens...
 
Old 06-21-2005, 10:12 PM   #6
edong23
Member
 
Registered: Apr 2005
Distribution: Slackware
Posts: 350

Rep: Reputation: 30
hm the modlines look right to me. can you print the xorg log file. it is huge and can be found in /var/log/Xorg.0.log i think it is in /var/log for sure.
 
Old 06-21-2005, 10:13 PM   #7
slithy
Member
 
Registered: Jun 2005
Distribution: Debian "Etch"
Posts: 48

Rep: Reputation: 15
This is part of my x config file and I don't know why yours looks so wierd, maybe add the modes command like I have in mine
Code:
Section "Screen"
        Identifier      "Default Screen"
        Device          "Generic Video Card"
        Monitor         "SAMTRON"
        DefaultDepth    24
        SubSection "Display"
                Depth           1
                Modes           "1024x768" "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Depth           4
                Modes           "1024x768" "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Depth           8
                Modes           "1024x768" "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Depth           15
                Modes           "1024x768" "800x600" "640x480"
        EndSubSection
        SubSection "Display"

Last edited by slithy; 06-21-2005 at 10:14 PM.
 
Old 06-22-2005, 10:25 AM   #8
shamgar03
Member
 
Registered: Jul 2004
Distribution: Gentoo, CentOS
Posts: 92

Original Poster
Rep: Reputation: 15
Heres the wierd thing, when I run the computer at any other 16:10 ratio it doesnt scroll to the side. It only occurs with 1920x1200. I am thinking it is probobly a monitor driver issue, so im going to try and find a monitor driver for a laptop =/ We'll see. I dont think very many people opted for wuxga on their laptops so this is probobly a rare problem. I tried mode instead of virtual and it does the same thing. Here is my log: actually I need to be in root, so next one will have log.

Last edited by shamgar03; 06-22-2005 at 10:33 AM.
 
Old 06-22-2005, 04:44 PM   #9
shamgar03
Member
 
Registered: Jul 2004
Distribution: Gentoo, CentOS
Posts: 92

Original Poster
Rep: Reputation: 15
Fixed! OK so I read online at a guys webpage how he had his Xfree file setup. I took all the parts that looked applicable and added them to mine. What I ended up with is this file. Which works. My guess at the key that fixed it was the statement:
Option "FlatPanelProperties" "aspect-scaled". So anyway, in case this happens to someone else here is my file, hope it helps.
# File generated by XFdrake.

# **********************************************************************
# Refer to the XF86Config man page for details about the format of
# this file.
# **********************************************************************

Section "Files"
# Multiple FontPath entries are allowed (they are concatenated together)
# By default, Mandrake 6.0 and later now use a font server independent of
# the X server to render fonts.
FontPath "unix/:-1"
EndSection

Section "ServerFlags"
#DontZap # disable <Crtl><Alt><BS> (server abort)
#DontZoom # disable <Crtl><Alt><KP_+>/<KP_-> (resolution switching)
AllowMouseOpenFail # allows the server to start up even if the mouse does not work
EndSection

Section "Module"
Load "dbe" # Double-Buffering Extension
Load "v4l" # Video for Linux
Load "extmod"
Load "type1"
Load "freetype"
Load "synaptics"
Load "glx" # 3D layer
EndSection

Section "InputDevice"
Identifier "Keyboard1"
Driver "keyboard"
Option "XkbModel" "pc105"
Option "XkbLayout" "en_US"
Option "XkbOptions" "compose:rwin"
EndSection

Section "InputDevice"
Identifier "SynapticsMouse1"
Driver "synaptics"
Option "Protocol" "auto-dev"
Option "Device" "/dev/input/mice"
Option "EdgeMotionMinSpeed" "200"
Option "MinSpeed" "0.8"
Option "MaxSpeed" "1.00"
Option "BottomEdge" "650"
Option "EdgeMotionMaxSpeed" "200"
Option "UpDownScrolling" "0"
Option "CircScrollTrigger" "2"
Option "SHMConfig" "on"
Option "EmulateMidButtonTime" "75"
Option "CircScrollDelta" "0.1"
Option "LeftEdge" "120"
Option "FingerLow" "14"
Option "HorizScrollDelta" "20"
Option "MaxTapMove" "110"
Option "MaxTapTime" "180"
Option "FingerHigh" "15"
Option "VertScrollDelta" "20"
Option "CircularScrolling" "1"
Option "AccelFactor" "0.015"
Option "RightEdge" "830"
Option "TopEdge" "120"
EndSection

Section "Monitor"
Identifier "WUXGA"
VendorName "Generic"
ModelName "Flat Panel 1920x1200"
HorizSync 28-110
VertRefresh 43-90
Option "DPMS"
Modeline "1920x1200" 162 1920 1984 2176 2480 1200 1201 1204 1250 +hsync +vsync

EndSection

Section "Device"
Identifier "GeForce4 4200 Go"
VendorName "nVidia"
BoardName "NVIDIA GeForce4 4200 Go"
Driver "nvidia"
Option "DPMS"
Option "NoLogo" "1"
Option "FlatPanelProperties" "aspect-scaled"
EndSection

Section "Screen"
Identifier "Single Panel"
Device "GeForce4 4200 Go"
Monitor "WUXGA"
DefaultColorDepth 24
Subsection "Display"
Depth 24
Modes "1920x1200"
EndSubsection
EndSection

Section "ServerLayout"
Identifier "layout1"
InputDevice "Keyboard1" "CoreKeyboard"
InputDevice "SynapticsMouse1" "CorePointer"
Screen "Single Panel"
EndSection
 
Old 06-22-2005, 05:51 PM   #10
slithy
Member
 
Registered: Jun 2005
Distribution: Debian "Etch"
Posts: 48

Rep: Reputation: 15
That makes sense, glad you got it fixed!
 
Old 06-23-2005, 12:13 AM   #11
edong23
Member
 
Registered: Apr 2005
Distribution: Slackware
Posts: 350

Rep: Reputation: 30
yeah.... i didnt even notice that your config file had virtual 1920x.... hmm i need to learn to read huh.
 
  


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
mp3 player with time stretching for guitarist? munkie_poo Linux - Software 1 11-12-2005 09:53 PM
stretching a table in LaTeX trutnev Linux - Software 1 08-01-2005 06:42 PM
stretching the screen(not the resolution fredorpaul Linux - Newbie 10 06-14-2005 09:20 PM
Panning with middle mouse button dotancohen Linux - Newbie 2 02-18-2005 05:02 PM
Panning with middle mouse button dotancohen Linux - Newbie 0 02-01-2005 07:02 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook

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