View Full Version : [kubuntu] NVIDIA resolution issue on login
jtappin
June 29th, 2008, 11:48 PM
I've been having the following problem with screen resolution:
When kdm starts up it shows as it should in 1920x1200 resolution but when I login it falls back to 1280x1024.
The Graphics card is an MSI with an nVidia chipset:
03:00.0 VGA compatible controller: nVidia Corporation G72 [GeForce 7300 LE] (rev a1) (prog-if 00 [VGA controller])
Subsystem: Micro-Star International Co., Ltd. Unknown device 0275
Flags: bus master, fast devsel, latency 0, IRQ 16
Memory at fa000000 (32-bit, non-prefetchable) [size=16M]
Memory at e0000000 (64-bit, prefetchable) [size=256M]
Memory at fb000000 (64-bit, non-prefetchable) [size=16M]
[virtual] Expansion ROM at fcfe0000 [disabled] [size=128K]
Capabilities: <access denied>
The monitor is a KDS 24" widescreen that reports as a Proview to nvidia-settings. (The previous monitor was a 1280x1024 LCD).
The xorg.conf doesn't have any resolution info in it, nor does my .nvidia-settings-rc
I've tried sudo nvidia-settings and saving but to no avail.
The same problem also occurs with the "nv" drivers.
I am running Hardy, x86-64 with the nvidia drivers from the restricted repository nvidia-glx-new is version 162.12...
Does anyone have any idea where to look next.
upchucky
June 29th, 2008, 11:58 PM
copy paste your xorg.conf here.
it is located in /etc/X11
I suspect that you do not have extra modes set up.
I am posting mine for comparison, but do not use it, it will be different that what you need, but the basic settings will be the same namely the resolution and modes.
# /etc/X11/xorg.conf (xorg X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the xorg.conf(5) manual page.
# (Type "man xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
# sudo dpkg-reconfigure -phigh xserver-xorg
Section "Files"
FontPath "/usr/share/fonts/X11/misc"
FontPath "/usr/share/fonts/X11/cyrillic"
FontPath "/usr/share/fonts/X11/100dpi/:unscaled"
FontPath "/usr/share/fonts/X11/75dpi/:unscaled"
FontPath "/usr/share/fonts/X11/Type1"
FontPath "/usr/share/fonts/X11/100dpi"
FontPath "/usr/share/fonts/X11/75dpi"
# path to defoma fonts
FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
EndSection
Section "Module"
Load "bitmap"
Load "dbe"
Load "ddc"
Load "dri"
Load "extmod"
Load "freetype"
Load "glx"
Load "int10"
Load "vbe"
EndSection
Section "InputDevice"
Identifier "Generic Keyboard"
Driver "kbd"
Option "CoreKeyboard"
Option "XkbRules" "xorg"
Option "XkbModel" "pc105"
Option "XkbLayout" "us"
EndSection
Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/input/mice"
Option "Protocol" "ExplorerPS/2"
Option "Emulate3Buttons" "false"
Option "Buttons" "7"
Option "ButtonMapping" "1 2 3 6 7"
Option "ZAxisMapping" "4 5"
EndSection
Section "InputDevice"
Identifier "Synaptics Touchpad"
Driver "synaptics"
Option "SendCoreEvents" "true"
Option "Device" "/dev/psaux"
Option "Protocol" "auto-dev"
Option "HorizScrollDelta" "0"
EndSection
Section "InputDevice"
Driver "wacom"
Identifier "stylus"
Option "Device" "/dev/input/wacom"
Option "Type" "stylus"
Option "ForceDevice" "ISDV4" # Tablet PC ONLY
EndSection
Section "InputDevice"
Driver "wacom"
Identifier "eraser"
Option "Device" "/dev/input/wacom"
Option "Type" "eraser"
Option "ForceDevice" "ISDV4" # Tablet PC ONLY
EndSection
Section "InputDevice"
Driver "wacom"
Identifier "cursor"
Option "Device" "/dev/input/wacom"
Option "Type" "cursor"
Option "ForceDevice" "ISDV4" # Tablet PC ONLY
EndSection
Section "Device"
Identifier "NVIDIA 6800 ULTRA"
Driver "nvidia"
BusID "PCI:1:0:0"
Option "UseFBDev" "true"
Option "RenderAccel" "true"
Option "AllowGLXWithComposite" "true"
Option "backingstore" "true"
Option "AddARGBGLXVisuals" "true"
Option "TripleBuffer" "true"
EndSection
Section "Monitor"
Identifier "Generic Monitor"
Option "DPMS"
HorizSync 28-49
VertRefresh 43-72
EndSection
Section "Screen"
Identifier "Default Screen"
Device "NVIDIA 6800 ULTRA"
Monitor "Generic Monitor"
DefaultDepth 24
SubSection "Display"
Depth 24
Modes "1920x1200" "1280x960" "1024x678" "960x600" "840x600" "800x600" "800x525" "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"
Depth 16
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 24
Modes "1024x768" "800x600" "640x480"
EndSubSection
EndSection
Section "ServerLayout"
Identifier "Default Layout"
Screen "Default Screen"
InputDevice "Generic Keyboard"
InputDevice "Configured Mouse"
InputDevice "stylus" "SendCoreEvents"
InputDevice "cursor" "SendCoreEvents"
InputDevice "eraser" "SendCoreEvents"
InputDevice "Synaptics Touchpad"
EndSection
Section "DRI"
Mode 0666
EndSection
jtappin
June 30th, 2008, 12:10 AM
As I said in the original posting there is no mode info in xorg.conf, but here it is:
james@xena:/etc/X11$ cat xorg.conf
# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig: version 1.0 (buildmeister@builder26) Thu Feb 14 18:13:41 PST 2008
Section "ServerLayout"
Identifier "Layout0"
Screen 0 "Screen0"
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "Mouse0" "CorePointer"
EndSection
Section "Files"
RgbPath "/usr/X11R6/lib/X11/rgb"
EndSection
Section "Module"
Load "dbe"
Load "extmod"
Load "type1"
Load "freetype"
Load "glx"
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 "Unknown"
HorizSync 30.0 - 110.0
VertRefresh 50.0 - 150.0
Option "DPMS"
EndSection
Section "Device"
Identifier "Device0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Device0"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Depth 24
EndSubSection
EndSection
james@xena:/etc/X11$
I'll try adding a mode list to the screen section, but I don't see why if that were the problem, the login manager would be OK but not my session.
upchucky
June 30th, 2008, 12:34 AM
hope it works
without my modes my login manager defaults to 640x480 but i have a smaller screen than you.
and i also had a bit of confusion as to whether it was supposed to be screen 0 or screen 1. trial and error got it working for me.
jtappin
June 30th, 2008, 01:54 AM
Unfortunately no-go.
jtappin
July 1st, 2008, 12:23 AM
Update: Definitely NOT an xorg.conf problem.
I just installed the XFCE4 desktop (couldn't do it last night as the network was bogglingly slow -- high winds affect the alignment of the microwave links down the mountain!), and logged into that and get a perfectly good 1920x1200 desktop, so it has to be a KDE issue -- now to track it down.
I guess step 1 is rename my .kde and Desktop directories (or create a new user).
jtappin
July 1st, 2008, 01:03 AM
After a bit of fiddling about I've got the solution.
Even though the KDE settings manager would not raise the resolution on initial login the trick was as follows:
1) Set the resolution to 1920x1200 with nvidia-settings
2) Enter the KDE settings manager - monitor and display (NOT in administrator mode)
3) Move the resolution down to (say) 1680x1050, then apply
4) Return it to 1920x1200 and apply again.
Powered by vBulletin® Version 4.2.2 Copyright © 2024 vBulletin Solutions, Inc. All rights reserved.