jmc200
September 23rd, 2009, 01:36 AM
Hi,
I've got an m9765uk PC from HP - it's 64-bit and contains a GT220 graphics card. On booting ubuntu 9.04 for the first time, the resolution was rubbish and the graphics card was clearly not being used. I had to go get a proprietary driver (from ftp://download.nvidia.com/XFree86/Linux-x86_64/190.32/) to make use of my card, and all is now good, except... When I start up, the resolution resets back to the pre-driver state, and all of my icons have moved about. The login screen appears to be at the correct resolution, but for some reason the resolution changes while the screen is black after entering my password (you can see the cursor change size).
I used "gksudo nvidia-settings" to set the correct resolution, 1920x1080, and save this config to Xorg.conf, but this has no effect. Any ideas, please? This is obviously not the end of the world but is a bit annoying, and moreover it is fast becoming ammunition for my anti-linux friends! ;)
Xorg.conf:
-----
Section "ServerLayout"
Identifier "Layout0"
Screen 0 "Screen0" 0 0
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "Mouse0" "CorePointer"
EndSection
Section "Files"
EndSection
Section "ServerFlags"
Option "Xinerama" "0"
EndSection
Section "InputDevice"
# generated from default
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/psaux"
Option "Emulate3Buttons" "no"
Option "ZAxisMapping" "4 5"
EndSection
Section "InputDevice"
# generated from default
Identifier "Keyboard0"
Driver "kbd"
EndSection
Section "Monitor"
Identifier "Monitor0"
VendorName "Unknown"
ModelName "Samsung SyncMaster"
HorizSync 30.0 - 81.0
VertRefresh 56.0 - 60.0
Option "DPMS"
EndSection
Section "Device"
Identifier "Device0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BoardName "GeForce GT 220"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Device0"
Monitor "Monitor0"
DefaultDepth 24
Option "TwinView" "0"
Option "metamodes" "1920x1080 +0+0"
SubSection "Display"
Depth 24
# Modes "1920x1080" (tried adding this but to no effect)
EndSubSection
EndSection
I've got an m9765uk PC from HP - it's 64-bit and contains a GT220 graphics card. On booting ubuntu 9.04 for the first time, the resolution was rubbish and the graphics card was clearly not being used. I had to go get a proprietary driver (from ftp://download.nvidia.com/XFree86/Linux-x86_64/190.32/) to make use of my card, and all is now good, except... When I start up, the resolution resets back to the pre-driver state, and all of my icons have moved about. The login screen appears to be at the correct resolution, but for some reason the resolution changes while the screen is black after entering my password (you can see the cursor change size).
I used "gksudo nvidia-settings" to set the correct resolution, 1920x1080, and save this config to Xorg.conf, but this has no effect. Any ideas, please? This is obviously not the end of the world but is a bit annoying, and moreover it is fast becoming ammunition for my anti-linux friends! ;)
Xorg.conf:
-----
Section "ServerLayout"
Identifier "Layout0"
Screen 0 "Screen0" 0 0
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "Mouse0" "CorePointer"
EndSection
Section "Files"
EndSection
Section "ServerFlags"
Option "Xinerama" "0"
EndSection
Section "InputDevice"
# generated from default
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/psaux"
Option "Emulate3Buttons" "no"
Option "ZAxisMapping" "4 5"
EndSection
Section "InputDevice"
# generated from default
Identifier "Keyboard0"
Driver "kbd"
EndSection
Section "Monitor"
Identifier "Monitor0"
VendorName "Unknown"
ModelName "Samsung SyncMaster"
HorizSync 30.0 - 81.0
VertRefresh 56.0 - 60.0
Option "DPMS"
EndSection
Section "Device"
Identifier "Device0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BoardName "GeForce GT 220"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Device0"
Monitor "Monitor0"
DefaultDepth 24
Option "TwinView" "0"
Option "metamodes" "1920x1080 +0+0"
SubSection "Display"
Depth 24
# Modes "1920x1080" (tried adding this but to no effect)
EndSubSection
EndSection