KDE boots with 1024x768 and always have to change manually to 1440x900
UbuntuThis forum is for the discussion of Ubuntu Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
KDE boots with 1024x768 and always have to change manually to 1440x900
I can not get Kubuntu Feisty to start on 1440x900 resolution and always have to change it manually from nvidia-settings. I have tried various things, including:
- nvidia-settings -> save to xorg
- sudo nvidia-settings -> save to xorg
- both auto resolution and 1440x900
- creating a modeline myself for 1440x900
- removing all other modelines from xorg.conf
When I boot, the nvidia splash screen shows before kdm, the login screen is probably 1024 (or 1440, not sure because the screen goes black for a second after I hit enter as if it changes resolution) and from there it just keeps on going with 1024. After the black screen it's definately 1024.
I have a strong suggestion that KDE's own settings prevent 1440x900 on boot because when I go to system settings -> monitor the resolution bar seems to be all the way to the right after I change the resolution from nvidia-settings and the refresh rate is 52Hz, other choises for refresh rate is given 50, 51, 53, 54 Hz. Also the Hardware tab shows that the driver in use is "nv", there is no "nvidia" on the list of drivers and I dont know how to set it manually.
My monitor is Samsing SyncMaster 940BW 19" widescreen with native 1440x900@60hz and it's connected to the vga port of my geforce 3 (dvi seemed to be burning the colors and I could not get that fixed so I turned back to vga)
Here is my xorg.conf before I changed the resolution manually:
In the Display section of the KDE control center (periphals > display, I think, I'm on a German version, so I have to translate, it's were you adjust the resolution), there's a checkbox to apply these settings when KDE starts up. Have you checked this?
In the Display section of the KDE control center (periphals > display, I think, I'm on a German version, so I have to translate, it's were you adjust the resolution), there's a checkbox to apply these settings when KDE starts up. Have you checked this?
I can't see any checkbox in there.. I'm using Finnish version, but still the should be in the same section. Here is my route to what I think you just ment: K-menu > System configuration then a control center appears, from there I go to Monitor and display. And here we are. Here I can see the resolution is 1440x900 (because I changed it from nvidia-settings at startup), the resolution bar is at its highest point at 1440x900, the refresh rate is 52Hz (but it's actually 70Hz as set from nvidia-settings), other resos in the drop-down menu are between 50 and 54 Hz. So KDE display settings seem to be displaying these all wrong.
As I take a look around the tabs showing above (Size, Orientation & Positioning | Color & Gamma | Hardware | Power Saving), I still cant find this checkbox anywhere. My monitor (Samsung SyncMasterg 940BW) is not on the manufacturers list, when I press detect display, it suggest Plug & Play and shows "Unknown (Widescreen)". And one more thing, still in the Hardware tab, Graphics card is identified properly (NVIDIA GeForce 3) but the Driver is "nv", and as I have come to terms with, it should be "nvidia" but there is no such thing on the drivers list.
I find myself in a very annoying situation.. etc..
I would recommend deleting the ".00" characters from the Modeline names. The Xorg server doesn't seem to parse the lines correctly with them.
Change these lines to:
I uploaded a screenshot I took after I found out how to set KDE to English... Just to make sure we're talking about the same configuration window: http://home.arcor.de/penguin/kcontrol.png
tpetri1807: I was indeed looking at the wrong control center, but as I open kcontrol from the command line and try to go to the display section in peripherals it doesn't show that kind of menu that you get, in fact it shows the same context as if I clicked the peripherals -text. On Konsole it prints:
Traceback (most recent call last):
File "<string>", line 8, in kcontrol_bridge_create_displayconfig
File "/var/lib/python-support/python2.5/displayconfig.py", line 1698, in create_displayconfig
return DisplayApp(parent, name)
File "/var/lib/python-support/python2.5/displayconfig.py", line 437, in __init__
self.xf86server = xf86misc.XF86Server()
File "/var/lib/python-support/python2.5/xf86misc.py", line 133, in __init__
raise XF86Error, "Couldn't connect to X server."
xf86misc.XF86Error: Couldn't connect to X server.
error: *** runFunction failure
There is a handy utility for changing the resolution on the fly, called "krandrtray".
It the resolution you want isn't listed, then you need to edit your xorg.conf file.
It seems like a handy little program but it really doesn't solve the problem itself, there is the resolution I desire but the refresh rates are all wrong and no 60 Hz or 70 Hz is available...
Thanks anyway for pointing out the program, I just wish it would be automatically right at startup..
Distribution: Ubuntu 9.04 (Jaunty), Arch Linux 2009.08
Posts: 83
Rep:
As for the refresh rates, it's a bug in the last few X.org releases. It just starts from 50 and goes counting up for each refresh rate it finds, so the second refresh rate on the list will be listed as 51 (even if it is in fact e.g. 70 Hz), the third as 52 and so on. You'll have to find out which number X.org assigned to the refresh rate you want (experimentation) then set it. Earlier versions (pre-7.0) didn't have this problem.
Also, you may have to change Driver "nv" to Driver "nvidia" by hand (editing the xorg.conf file). If after doing this X doesn't start up, you don't have NVIDIA's driver installed. Edit the file on console (using vi or nano or your text editor of choice) and revert the change; then install NVIDIA's driver through Adept or Synaptic or command-line apt-get.
And... well, I have a similar problem. I want 1024x768 and my monitor is perfectly capable of it; I have a NVIDIA Geforce FX 5500 running driver version 97.55 (AMD64) with a Philips 17" analog monitor (H 30-71 kHz, V 50-160 Hz, max progressive res. 1280x1024 @ 68 Hz). However, it won't go any higher than 640x480. I've already tried all sensible xorg.conf edits and nothing. Worth noting is that yesterday, last time I shut down my computer my desktop was at 1024x768 and now it won't even show up if I type xrandr on console. Any ideas?
[Update] I think I have solved the problem. I got 1024x768 now. I believe the NVIDIA driver is somehow misinterpreting the EDID info it probes from the monitor when it validates modes, so adding
Option "ModeValidation" "NoEdidModes"
in the corresponding Device section of xorg.conf, which might look like this before the edit:
As for the refresh rates, it's a bug in the last few X.org releases. It just starts from 50 and goes counting up for each refresh rate it finds, so the second refresh rate on the list will be listed as 51 (even if it is in fact e.g. 70 Hz), the third as 52 and so on. You'll have to find out which number X.org assigned to the refresh rate you want (experimentation) then set it. Earlier versions (pre-7.0) didn't have this problem.
Also, you may have to change Driver "nv" to Driver "nvidia" by hand (editing the xorg.conf file). If after doing this X doesn't start up, you don't have NVIDIA's driver installed. Edit the file on console (using vi or nano or your text editor of choice) and revert the change; then install NVIDIA's driver through Adept or Synaptic or command-line apt-get.
Thank you for the resolution tip, I have never read that this was a bug.
I installed nvidia driver with Envy, so there is "nvidia" as a driver in xorg.conf, but kde control center displays the driver to be "nv".
I can't open the monitor section in kcontrol, which seems quite odd to me.. As i start it from the command line, it prints (when going to peripherals > monitor and display) this:
Code:
Pythonize constructor -- pid = 5723
Python interpreter initialized!
Pythonize constructor -- pid = 5723
Traceback (most recent call last):
File "<string>", line 8, in kcontrol_bridge_create_displayconfig
File "/var/lib/python-support/python2.5/displayconfig.py", line 1698, in create_displayconfig
return DisplayApp(parent, name)
File "/var/lib/python-support/python2.5/displayconfig.py", line 441, in __init__
self.xsetup = XSetup(self.xconfigpath)
File "/var/lib/python-support/python2.5/displayconfigabstraction.py", line 72, in __init__
self.xorg_config = xorgconfig.readConfig(xorg_config_filename)
File "/var/lib/python-support/python2.5/xorgconfig.py", line 657, in readConfig
raise ParseException,"Unknown line type '%s' on line %i" % (first,line)
xorgconfig.ParseException: Unknown line type 'modevalidation' on line 55
Error in sys.excepthook:
Traceback (most recent call last):
File "/var/lib/python-support/python2.5/apport_python_hook.py", line 44, in apport_excepthook
binary = os.path.realpath(os.path.join(os.getcwdu(), sys.argv[0]))
AttributeError: 'module' object has no attribute 'argv'
Original exception was:
Traceback (most recent call last):
File "<string>", line 8, in kcontrol_bridge_create_displayconfig
File "/var/lib/python-support/python2.5/displayconfig.py", line 1698, in create_displayconfig
return DisplayApp(parent, name)
File "/var/lib/python-support/python2.5/displayconfig.py", line 441, in __init__
self.xsetup = XSetup(self.xconfigpath)
File "/var/lib/python-support/python2.5/displayconfigabstraction.py", line 72, in __init__
self.xorg_config = xorgconfig.readConfig(xorg_config_filename)
File "/var/lib/python-support/python2.5/xorgconfig.py", line 657, in readConfig
raise ParseException,"Unknown line type '%s' on line %i" % (first,line)
xorgconfig.ParseException: Unknown line type 'modevalidation' on line 55
error: *** runFunction failure
;
I just got kcontrol to display the monitor section correctly, but its not like this http://home.arcor.de/penguin/kcontrol.png
It is the same screen when you go to kcontrol > monitor or system settings > monitor. So it does not have that checkbox that I'm looking for...
I'm having the exact same problem (also with a desired resolution of 1440x900). I'm thinking the problem is in nvidia-settings loading the saved .nvidia-settings-rc file. I attempt to run nvidia-settings -l, as well as nvidia-settings --load-config-only, and fail to get these settings to apply. Furthermore I am unable to find the resolution setting in the .nvidia-settings-rc file. Perhaps that is my only issue, any thoughts?
Another development: nvidia-settings does not automatically restore previous video settings to allow the user to choose the settings. To make this automatic one must add "nvidia-settings -l" to the xinit.rc file. Every time a user closes nvidia-settings, a new .nvidia-settings-rc file is saved in the home directory. I have determined that when I manipulate gamma settings, save these values by closing nvidia-settings, and restart KDE, KDE starts up with original gamma settings. By running nvidia-settings -l, the saved gamma settings are automatically applied. As a result I think that nvidia-settings is failing to properly save the resolution changes I make. Any sample nvidia-settings-rc files with valid resolution settings available? My only remaining idea is that in my xorg.conf, 1440x900 is only listed as a metamode, perhaps this conflicts with nvidia-settings and forces it to default to a resolution listed as a mode.
Don't know if there has been another solution posted yet, but I had the same problem with my nvidia driver and 1440x900 screen. It always went to a virtual 1440 X 1024 display. I specified the virtual screen size to be the same as the native resolution, and this fixed things.
Don't know if there has been another solution posted yet, but I had the same problem with my nvidia driver and 1440x900 screen. It always went to a virtual 1440 X 1024 display. I specified the virtual screen size to be the same as the native resolution, and this fixed things.
Actually I do not know how I did it but I got the resolution to stay in 1440x900....
I uninstalled the new driver and switched back to nv, with nv my resolution has worked ok. Then I got frustrated with the lag of every graphical application so it was time to install the glx driver again... I did it with Envy program and chose manual installation since I know for sure that the newer drivers just wont work on geforce 3, amazingly the resolution was fine... I still haven't found the kcontrol menu that was mentioned earlier - but for now it's ok, for I have 1440x900 at startup... Hopefully someone will figure out what is "just the thing" to get this problem solved for good, for everyone.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.