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?
|
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.
|
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 |
I believe that this
Code:
Virtual 1920 1200 |
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...
|
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.
|
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" |
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.
|
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 |
That makes sense, glad you got it fixed! :)
|
yeah.... i didnt even notice that your config file had virtual 1920x.... hmm i need to learn to read huh.
|
All times are GMT -5. The time now is 04:49 AM. |