LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (http://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   small screen size when using newest nvidia driver (http://www.linuxquestions.org/questions/linux-hardware-18/small-screen-size-when-using-newest-nvidia-driver-283522/)

BigCdaAnswer3 01-28-2005 07:53 PM

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:rolleyes: :rolleyes: :rolleyes:

Tuttle 01-28-2005 08:07 PM

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.

mAineAc 01-28-2005 08:13 PM

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

#Section "DRI"
# Mode 0666
#EndSection

Tuttle 01-28-2005 08:42 PM

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!

BigCdaAnswer3 01-28-2005 11:48 PM

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?

Tuttle 01-29-2005 06:51 AM

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.

BigCdaAnswer3 01-29-2005 02:35 PM

wow...actually no i never looked at that before but you kinda lost me w/ that, can I get a clarification?

Tuttle 01-29-2005 09:58 PM

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.

BigCdaAnswer3 01-30-2005 03:04 AM

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?

Tuttle 01-30-2005 01:06 PM

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?

BigCdaAnswer3 01-30-2005 01:39 PM

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 :p

I tried changing the resolution in my config file to 1024x768 but it still gives me the same thing!
How crappy is that?

BigCdaAnswer3 01-30-2005 01:40 PM

wow nm about the diagram, i guess it doesn't like that blank space :rolleyes:

BigCdaAnswer3 01-30-2005 01:47 PM

---------------screen continues
___________________ _v_______
|--actual screen-|b|------|--b--|
|--------is-----------|l|------|---l--|
|-------here--------|a|------|--a--|
|---------------------|c|-------|--c--|
|---------------------|k|------|--k--|
___distorted space_________|

Tuttle 01-30-2005 01:57 PM

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.


All times are GMT -5. The time now is 03:14 PM.