I recently bought a plasma TV and I’m trying to get my HTPC configured properly for it. Its native resolution is 1920x1080, but without tweaking the screen is too big and too far up and to the left. So I tried the NVIDIA Xserver settings tool, since I’m running NVIDIA drivers rather than the nouveau drivers. I can get the screen to fit correctly using that tool, but after lots and lots of searching, I cannot figure out how to convert those settings to a modeline. So I’m looking for a bit of help.
In the NVIDIA tool, under X Server Display Configuration, Advanced, I have the following:
Selection: Panasonic TV (DFP-1)
Configuration: X screen 0
Resolution: Auto (refresh is grayed out as Auto)
Mode name: nvidia-auto-select (can’t be changed)
Orientation: No Rotation No Reflection
ViewPortIn: 1840x1032
ViewPortOut: 1840x1032+43+21
Panning: 1840x1032
This gives me the desktop centered, using maximum screen real estate, without anything cut off. That’s great, but I have to redo that every time I start a new session. My /etc/x11/xorg.conf.d/xorg.conf has this line in it:
However, when I reboot the PC, those settings aren’t in effect. The screen is positioned correctly, and is the right size vertically and horizontally, but if I scoll the mouse off the right side of the screen, the screen pans to the right and I get a white band down the right side of the screen. I have trouble with text when the screen is like this too. If I used the NVIDIA X server settings tool again, and reset those values, the screen is back to normal and text looks great again.
Can anybody tell me what I’m doing wrong?
Can anybody help me find a resource for properly building a modeline from that NVIDIA X server settings tool? The only stuff I’ve found is stuff that assumes that you have all of the technical specs on the monitor, but I don’t have (and can’t find) any of those.
When the screen pans and gives me that white bar on the side, I can go into the NVIDIA X server settings application and the settings are all listed correctly. If I change and apply them, then change them back to those settings listed above (I usually just change the vertical dims by 8), it’s fine again.
Are you using KDE?
I guess the “problem” is kscreen then. It disregards the X configuration and sets its own configured resolution.
So enter “Configure Desktop”->“Display and Monitor”->“Configure Display” and set the resolution there.
If that’s not possible as you would like it, go into “Configure Desktop”->“Startup and Shutdown”->“Service Management” and disable the KScreen2 service there. Your xorg.conf should work then.
Well, I don’t know how this works in GNOME, but there are similar settings in gnome-control-center.
So maybe try to change the resolution there as well. It may override your system-wide X resolution settings.
“Gnome settings” allows me to change the resolution for my display, but the only options it gives me are:
1920x1080
1280x1024
1280x720
1024x768
800x600.
There is no way to enter custom values. I’ve found that if I change the settings in the NVIDIA X server settings application to fix the problem, as soon as I mess with that resolution in gnome settings, the panning comes back. Regardless of the resolution selected in gnome settings, the white bar is the same relative size. I don’t think that is where the problem lies.
I’ve also looked in the GNOME Tweak Tool, but didn’t find anything for changing screen resolution.
I think it’s strange that something as minor as going into Gnome settings will revert it to panning. I’ve tested it and if the screen saver kicks in, it does not revert. However, once the screen shuts off (after a long time of being idle), it does revert to panning.
Well, maybe it applies its own (saved) settings as soon as you enter it?
Can you try a minimal desktop session like “IceWM” or “twm”? (you should be able to select those at the login screen. if you have auto-login enabled, logout to get there)
Is the resolution ok there?
Then it must be GNOME that overrides Xorg’s resolution.
You could also try with a new user. Maybe GNOME would take Xorg’s settings then as default.
Please upload the /var/log/Xorg.0.log to http://susepaste.org and post a link. Maybe there’s some obvious error message regarding the xorg.conf in there.
Strangely, I fixed the problem, though I don’t know how.
I decided to figure out if the problem was with GNOME or NVIDIA, so I installed KDE. I had the same problem with KDE, and the screen was acting weird. So I switched back to GNOME, and now it’s working fine. I don’t know why that would fix it, but it did.