Go Back   nV News Forums > Linux Support Forums > NVIDIA Linux

Newegg Daily Deals

Reply
 
Thread Tools
Old 06-25-12, 04:43 PM   #1
C-J
Registered User
 
Join Date: Jun 2007
Posts: 12
Default [SOLVED] ViewPortOut instead of Overscan comp. I need help!

My distro (PCLOS) upgraded to 302.17, and found Overscan Compensation no longer available; having to use ViewPortOut in MetaModes instead.

I am having no luck trying to implement it, so if someone could set me on the right path, I would appreciate it.

Geforce GTS 250EN -> Samsung LCD 1280x720
GPU-0 -> DFP-1
Overscan = 80 (in prior versions)

My line in xorg.conf, Screen section:
Code:
Option "metamodes" "DFP-1: 1280x720 { ViewPortOut=1280x720+20+20 }"
(I do not know if +20+20 is the right figure for me, I have tried different figures.)

... then reboot. This has no effect at all.

I have also tried setting it 'directly' with:
Code:
nvidia-settings --assign 0/CurrentMetaMode="DFP-0: 1280x720 { ViewPortOut=1280x720+20+20 }"
No effect whatever.

If someone could point out what I am doing wrong, it might save me a few hairs.

Cheers!
CJ

Last edited by C-J; 06-26-12 at 04:58 PM. Reason: Solved
C-J is offline   Reply With Quote
Old 06-26-12, 12:47 PM   #2
AaronP
NVIDIA Corporation
 
AaronP's Avatar
 
Join Date: Mar 2005
Posts: 2,487
Default Re: ViewPortOut instead of Overscan comp. I need help!

Your configuration of "1280x720 { ViewPortOut=1280x720+20+20 }" doesn't make sense because the bottom 20 lines and rightmost 20 columns would extend outside the physical 1280x720 region of the screen. Check /var/log/Xorg.0.log for errors. For example, on my system if I try something similar, I get this:
Code:
[  2557.636] (WW) NVIDIA(0): custom viewPortOut, 1920 x 1200 +20 +20, does not fit within
[  2557.636] (WW) NVIDIA(0):     rasterSize, 1920x1200; ignoring custom viewPortOut
[  2557.673] (II) NVIDIA(0): Setting mode "GPU-0.DP-2:1920x1200{ViewPortOut=1920x1200+20+20}"
To get, e.g., 20 pixels of border around the whole image, shrink the dimensions by 40:
Code:
nvidia-settings --assign 0/CurrentMetaMode="DFP-0: 1280x720 { ViewPortOut=1240x680+20+20 }"
This will shrink your desktop to 1240x680 and center it within the physical screen.

If you want to achieve the scaling that the old overscan compensation slider used, you can specify ViewPortIn as well:
Code:
nvidia-settings --assign 0/CurrentMetaMode="DFP-0: 1280x720 { ViewPortOut=1240x680+20+20, ViewPortIn=1280x720 }"
AaronP is offline   Reply With Quote
Old 06-26-12, 01:36 PM   #3
C-J
Registered User
 
Join Date: Jun 2007
Posts: 12
Default Re: ViewPortOut instead of Overscan comp. I need help!

I was beginning to suspect that - and my tired eyes did not notice the different figures in README, so thank you for putting me straight.

Can you just confirm the probably-obvious:

The first method (on my system):
Code:
nvidia-settings --assign 0/CurrentMetaMode="DFP-1: 1280x720 { ViewPortOut=1206x672+37+24 }"
... is pixel-perfect,

while the second one:
Code:
nvidia-settings --assign 0/CurrentMetaMode="DFP-1: 1280x720 { ViewPortOut=1206x672+37+24, ViewPortIn=1280x720 }"
... is 'squeezed', i.e. is not pixel-perfect.

In other words, I am choosing between a smaller, sharp display - contra - bigger, blurry display, pixel-wise?

Cheers!
CJ
C-J is offline   Reply With Quote
Old 06-26-12, 04:02 PM   #4
AaronP
NVIDIA Corporation
 
AaronP's Avatar
 
Join Date: Mar 2005
Posts: 2,487
Default Re: ViewPortOut instead of Overscan comp. I need help!

Quote:
Originally Posted by C-J View Post
In other words, I am choosing between a smaller, sharp display - contra - bigger, blurry display, pixel-wise?
Right. In theory, the "pixel-perfect" configuration is better because you won't get the blurring that occurs with scaling. However, some applications might have trouble with such a configuration. For example, another poster complained in a different thread that MythTV (IIRC) only works correctly when the desktop is actually 1920x1080, and that chopping off parts of it for overscan compensation causes some sort of really slow UI resize operation that results in worse blurring than GPU scaling does. I'd consider that a bug in the application, but a scaling configuration is an easy way to work around it.

I guess the moral of the story is that which method you use depends on what you want to do with it, but you at least have the choice now.
AaronP is offline   Reply With Quote
Old 06-26-12, 04:57 PM   #5
C-J
Registered User
 
Join Date: Jun 2007
Posts: 12
Default Re: ViewPortOut instead of Overscan comp. I need help!

Yes, I did come across the thread with Myth-TV; though this is for a simple internet/movie-watching PC, so I opted for sharpness; so far I have had no adverse effect (bar a shorcut on the Desktop that all of a sudden is nowhere visible but still in the Desktop folder, but alas, that's a small matter).

I appreciate you taking the time to explain this to me, and helping me out in the first place. Thank you kindly!

I have another issue with a dual screen setup, but I shall start another thread for this.

Cheers!
CJ
C-J is offline   Reply With Quote
Old 06-27-12, 11:41 AM   #6
C-J
Registered User
 
Join Date: Jun 2007
Posts: 12
Default Re: ViewPortOut instead of Overscan comp. I need help!

Quote:
Originally Posted by C-J View Post
so far I have had no adverse effects
Just for the record: without scaling, youtube fullscreen is confused and loses borders; to avoid this, scaling seems the only way.

Cheers!
CJ
C-J is offline   Reply With Quote
Reply


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


Similar Threads
Thread Thread Starter Forum Replies Last Post
Removal of overscan options in 302.07... hikaricore NVIDIA Linux 12 01-05-13 04:30 PM
ViewPortIn and ViewPortOut in 302.07 Licaon NVIDIA Linux 14 08-05-12 05:32 AM
Upgrade from 290.10 to 295.49 on GeForce 8300 = no hdmi audio + overscan tbubel NVIDIA Linux 2 06-15-12 03:55 AM
HDMI overscan fix for multiple resolutions + Zod Engine Problem. cheechr1 NVIDIA Linux 0 06-11-12 02:27 PM

All times are GMT -5. The time now is 10:42 PM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Copyright 1998 - 2014, nV News.