LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 01-28-2005, 06:53 PM   #1
BigCdaAnswer3
Member
 
Registered: Apr 2004
Distribution: Ubuntu Hoary
Posts: 56

Rep: Reputation: 15
Angry small screen size when using newest nvidia driver


Hey everyone, I just recently installed Ubuntu on my hp pavilion zv5000 and I am very happy I can get 3d support at all for my nvidia card. My graphics card is a GeForce 440 Go Nvidia. The standard "nv" driver worked perfectly, but whenever I used apt-get to get the "nvidia" driver and put that in my xorg.conf file, It works, but the screen shows up on the left hand side at about 1024x768 (my screen size is actually 1200x800) and it is filled with black space on the right. I really don't think I'm doing anything wrong in the config file but if someone could just check it out I would appreciate it. I think it's just a problem with the driver.

I have two pictures to show what it looks like if this would help anyone, but it looks like I'm not allowed to add attachments...

Oh and If anyone is familiar with Ubuntu I am running hoary development branch and the
2.6.10-2-amd64-generic kernel


Section "Files"
FontPath "unix/:7100" # local font server
# if the local font server has problems, we can fall back on these
FontPath "/usr/lib/X11/fonts/misc"
FontPath "/usr/lib/X11/fonts/cyrillic"
FontPath "/usr/lib/X11/fonts/100dpi/:unscaled"
FontPath "/usr/lib/X11/fonts/75dpi/:unscaled"
FontPath "/usr/lib/X11/fonts/Type1"
FontPath "/usr/lib/X11/fonts/CID"
FontPath "/usr/lib/X11/fonts/Speedo"
FontPath "/usr/lib/X11/fonts/100dpi"
FontPath "/usr/lib/X11/fonts/75dpi"
# paths to defoma fonts
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 "speedo"
Load "type1"
Load "v4l"
Load "vbe"
Load "xtt"
Load "synaptics"
EndSection

Section "InputDevice"
Identifier "Generic Keyboard"
Driver "keyboard"
Option "CoreKeyboard"
Option "XkbRules" "xfree86"
Option "XkbModel" "pc104"
Option "XkbLayout" "us"
EndSection

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

Section "InputDevice"
Identifier "Synaptics 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/ps2mouse"
EndSection

#Section "InputDevice"
# Identifier "Synaptics Touchpad"
# Driver "synaptics"
# Option "SendCoreEvents" "true"
# Option "Device" "/dev/psaux"
# Option "Protocol" "auto-dev"
#EndSection

Section "Device"
Identifier "NVIDIA Corporation NV17 [GeForce4 440 Mac/GeForce 440 Go 64M]"
Driver "nvidia"
BusID "PCI:1:0:0"
Option "RenderAccel" "true"
Option "NvAGP" "1"
EndSection

Section "Monitor"
Identifier "Generic Monitor"
HorizSync 28-64
VertRefresh 43-60
Option "DPMS"
# Modeline "1280x800@60" 83.91 1280 1312 1624 1656 800 816 824 841
Modeline "1280x800_60.00" 83.46 1280 1344 1480 1680 800 801 804 828 -HSync +Vsync
EndSection

Section "Screen"
Identifier "Default Screen"
Device "NVIDIA Corporation NV17 [GeForce4 440 Mac/GeForce 440 Go 64M]"
Monitor "Generic Monitor"
DefaultDepth 24
SubSection "Display"
# Depth 1
Modes "1280x800"
EndSubSection
SubSection "Display"
Depth 4
Modes "1280x800"
EndSubSection
SubSection "Display"
Depth 8
Modes "1280x800"
EndSubSection
SubSection "Display"
Depth 15
Modes "1280x800"
EndSubSection
SubSection "Display"
Depth 16
Modes "1280x800"
EndSubSection
SubSection "Display"
Depth 24
Modes "1280x800"
EndSubSection
EndSection

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

#Section "DRI"
# Mode 0666
#EndSection
 
Old 01-28-2005, 07:07 PM   #2
Tuttle
Senior Member
 
Registered: Jul 2003
Location: Wellington, NZ
Distribution: mainly slackware
Posts: 1,289

Rep: Reputation: 52
try running "gtf 1280 800 60" and comparing it to the modeline in your config. I can't see anything else that may be a problem.
 
Old 01-28-2005, 07:13 PM   #3
mAineAc
Member
 
Registered: Nov 2000
Location: Hermon, ME
Distribution: slackware
Posts: 201

Rep: Reputation: 30
I am pretty sure to get 3d support you need to uncomment this section:

#Section "DRI"
# Mode 0666
#EndSection
 
Old 01-28-2005, 07:42 PM   #4
Tuttle
Senior Member
 
Registered: Jul 2003
Location: Wellington, NZ
Distribution: mainly slackware
Posts: 1,289

Rep: Reputation: 52
Quote:
Originally posted by mAineAc
I am pretty sure to get 3d support you need to uncomment this section:

#Section "DRI"
# Mode 0666
#EndSection
Not with NVidia cards.

edit: have you installed the nvidia accellerated driver from their website? I think you have the correct module or "nvidia" would crash the Xserver... Try that if all else fails!

Last edited by Tuttle; 01-28-2005 at 07:48 PM.
 
Old 01-28-2005, 10:48 PM   #5
BigCdaAnswer3
Member
 
Registered: Apr 2004
Distribution: Ubuntu Hoary
Posts: 56

Original Poster
Rep: Reputation: 15
yes, tuttle unfortunately i am running the correct driver from nvidia, and i tried the gtf command and i got the same thing thats in my config file...If this is a bug w/ the driver then how do I report it?
 
Old 01-29-2005, 05:51 AM   #6
Tuttle
Senior Member
 
Registered: Jul 2003
Location: Wellington, NZ
Distribution: mainly slackware
Posts: 1,289

Rep: Reputation: 52
try using some other resolutions, I think X is trying to draw everything at a 4x3 aspect ratio, instead of 15x9 (if you haven't already). I'm not sure if you have read this already (from the NVidia README):
Quote:
Option "FlatPanelProperties" "string"
Requests particular properties of any connected flat
panels as a comma-separated list of property=value pairs.
Currently, the only two available properties are 'Scaling'
and 'Dithering'. The possible values for 'Scaling' are:
'default' (the driver will use whatever scaling state
is current), 'native' (the driver will use the flat
panel's scaler, if it has one), 'scaled' (the driver
will use the NVIDIA scaler, if possible), 'centered'
(the driver will center the image, if possible),
and 'aspect-scaled' (the driver will scale with the
NVIDIA scaler, but keep the aspect ratio correct).
The possible values for 'Dithering' are: 'default'
(the driver will decide when to dither), 'enabled' (the
driver will always dither when possible), and 'disabled'
(the driver will never dither). If any property is not
specified, it's value shall be 'default'. An example
properties string might look like

"Scaling = centered, Dithering = enabled":
Fiddle around with that to see if you can get the correct aspect that way.
 
Old 01-29-2005, 01:35 PM   #7
BigCdaAnswer3
Member
 
Registered: Apr 2004
Distribution: Ubuntu Hoary
Posts: 56

Original Poster
Rep: Reputation: 15
wow...actually no i never looked at that before but you kinda lost me w/ that, can I get a clarification?
 
Old 01-29-2005, 08:58 PM   #8
Tuttle
Senior Member
 
Registered: Jul 2003
Location: Wellington, NZ
Distribution: mainly slackware
Posts: 1,289

Rep: Reputation: 52
Quote:
Originally posted by BigCdaAnswer3
wow...actually no i never looked at that before but you kinda lost me w/ that, can I get a clarification?
try playing with this option:
Code:
Option "FlatPanelProperties" "Scaling=[option-name]"
Quote:
The possible values for 'Scaling' are:
'default' (the driver will use whatever scaling state
is current), 'native' (the driver will use the flat
panel's scaler, if it has one), 'scaled' (the driver
will use the NVIDIA scaler, if possible), 'centered'
(the driver will center the image, if possible),
and 'aspect-scaled' (the driver will scale with the
NVIDIA scaler, but keep the aspect ratio correct).
Add that option to your xorg.conf file here:
Quote:
Originally posted by BigCdaAnswer3
Section "Device"
Identifier "NVIDIA Corporation NV17 [GeForce4 440 Mac/GeForce 440 Go 64M]"
Driver "nvidia"
BusID "PCI:1:0:0"
Option "RenderAccel" "true"
Option "NvAGP" "1"
Option "FlatPanelProperties" "Scaling=aspect-scaled"
EndSection
The "aspect-scaled" option looks favourite.
 
Old 01-30-2005, 02:04 AM   #9
BigCdaAnswer3
Member
 
Registered: Apr 2004
Distribution: Ubuntu Hoary
Posts: 56

Original Poster
Rep: Reputation: 15
Nope, no luck...i really don't know what else to try. I really think it might just be a problem w/ the driver. Tuttle can I email you the two pics I have to see if you have any ideas?
 
Old 01-30-2005, 12:06 PM   #10
Tuttle
Senior Member
 
Registered: Jul 2003
Location: Wellington, NZ
Distribution: mainly slackware
Posts: 1,289

Rep: Reputation: 52
Sure, I just added the button!
edit: oops, no attachments... can you just try to describe in more detail what it looks like?
is there a gap at the top and bottom? If you try using a resolution of 1024x768 what happens? Have you tried the other scaling options I mentioned earlier?

Last edited by Tuttle; 01-30-2005 at 12:11 PM.
 
Old 01-30-2005, 12:39 PM   #11
BigCdaAnswer3
Member
 
Registered: Apr 2004
Distribution: Ubuntu Hoary
Posts: 56

Original Poster
Rep: Reputation: 15
ok i'll give it a shot...

1) There is no gap at the top, the gaps are on the bottom and right sides.
2) The gap at the bottom is more fuzzy than a total gap (i.e. the mouse blurs when it goes into this area)
3) There is two black lines on the right the first black line is right next to where the screen cuts off, and inbetween the two lines there is about a half-inch where the background continues before the other black line goes to the end of the screen


screen continues
___________________ _v_______
| actual screen |b| | b |
| is |l| | l |
| here |a| | a |
| |c| | c |
|_________________|k|_ |___k_|
___distorted space_________|


Hope my diagram is helpful

I tried changing the resolution in my config file to 1024x768 but it still gives me the same thing!
How crappy is that?
 
Old 01-30-2005, 12:40 PM   #12
BigCdaAnswer3
Member
 
Registered: Apr 2004
Distribution: Ubuntu Hoary
Posts: 56

Original Poster
Rep: Reputation: 15
wow nm about the diagram, i guess it doesn't like that blank space
 
Old 01-30-2005, 12:47 PM   #13
BigCdaAnswer3
Member
 
Registered: Apr 2004
Distribution: Ubuntu Hoary
Posts: 56

Original Poster
Rep: Reputation: 15
---------------screen continues
___________________ _v_______
|--actual screen-|b|------|--b--|
|--------is-----------|l|------|---l--|
|-------here--------|a|------|--a--|
|---------------------|c|-------|--c--|
|---------------------|k|------|--k--|
___distorted space_________|
 
Old 01-30-2005, 12:57 PM   #14
Tuttle
Senior Member
 
Registered: Jul 2003
Location: Wellington, NZ
Distribution: mainly slackware
Posts: 1,289

Rep: Reputation: 52
It's ok, I get the picture.. you may want to go over to the nvidia forums as I have no experience of this kind of problem. Try some more options as well just to see if something simple fixes it.
 
  


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
nVidia driver causing small screen SchadeBoy Suse/Novell 6 09-16-2005 07:57 PM
Nvidia 1.0-6629-driver (newest) install problem on slack 10 huf Slackware 7 02-04-2005 01:59 PM
Installing newest NVIDIA driver help <to play ET> kkj Linux - Newbie 6 04-07-2004 04:15 PM
Newest Nvidia Driver Problem Final Linux - General 2 05-18-2003 06:16 PM
Anyone having problems with newest nvidia driver? nakkaya Linux - Hardware 2 04-26-2003 07:45 PM


All times are GMT -5. The time now is 09:39 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration