nV News Forums

 
 

nV News Forums (http://www.nvnews.net/vbulletin/index.php)
-   NVIDIA Linux (http://www.nvnews.net/vbulletin/forumdisplay.php?f=14)
-   -   GPU Scaling (http://www.nvnews.net/vbulletin/showthread.php?t=185171)

Enverex 06-26-12 06:34 AM

GPU Scaling
 
I need GPU scaling enabled for all modes on my card because it seems the AV Amp I'm connected to doesn't support 800x600 or 1024x768 which I need (trying to output them just results in a black screen) - therefore with GPU scaling I'd be able to use these modes (as far as applications are concerned) whilst the actual output resolution would remain 1080p, keeping the AV Amp happy.

Can someone please explain how exactly to do this now that nVidia have removed the GPU scaling options? I tried setting up metamodes but this had no effect at all, the TV was still switching modes proving that it's not sticking to 1080p.

johnc 06-26-12 10:12 AM

Re: GPU Scaling
 
You used ViewPortIn / ViewPortOut in your MetaModes? Can you post them?

Enverex 06-26-12 10:23 AM

Re: GPU Scaling
 
I've deleted it now, but this is what I had (ignore typos, I'm writing it off the top of my head. It was accepted because XOrg showed the metamodes parsed correctly in the XOrg log).

Option "MetaModes" "nvidia-auto-select, nvidia-auto-select { ViewPortIn: 1680x1024 }, nvidia-auto-select { ViewPortIn: 1600x1200 }, nvidia-auto-select { ViewPortIn: 1440x800 }, nvidia-auto-select { ViewPortIn: 1280x1024 }, nvidia-auto-select { ViewPortIn: 1280x800 }, nvidia-auto-select { ViewPortIn: 1024x768 }, nvidia-auto-select { ViewPortIn: 800x600 }, nvidia-auto-select { ViewPortIn: 640x480 }, nvidia-auto-select { ViewPortIn: 320x240 }"

AaronP 06-26-12 11:53 AM

Re: GPU Scaling
 
http://us.download.nvidia.com/XFree8...html#metamodes

Separate MetaModes are separated by semicolons, not commas. As written, that MetaModes string tries to create a single MetaMode with ten display devices.

Enverex 06-26-12 12:16 PM

Re: GPU Scaling
 
Aaaaaahhh. That probably won't help. I'll try the correct one when I get back to the machine. Surprised it didn't complain though.

Is there any way of condensing what I'm trying to do? That gigantic line looks a little unweildly...

AaronP 06-26-12 01:01 PM

Re: GPU Scaling
 
Unfortunately, no. The X server's configuration file syntax doesn't make it easy to split that sort of thing up into multiple lines or separate options.

Enverex 06-26-12 01:47 PM

Re: GPU Scaling
 
Still didn't work. XOrg shows it during initialisation:

Code:

[ 86493.726] (II) NVIDIA(0): Validated modes:
[ 86493.726] (II) NVIDIA(0):    "HDMI-0:1920x1080{ViewPortIn=1920x1080}"
[ 86493.726] (II) NVIDIA(0):    "1920x1080{ViewPortIn=1680x1050}"
[ 86493.726] (II) NVIDIA(0):    "1920x1080{ViewPortIn=1600x900}"
[ 86493.726] (II) NVIDIA(0):    "1920x1080{ViewPortIn=1440x900}"
[ 86493.726] (II) NVIDIA(0):    "1920x1080{ViewPortIn=1400x1050}"
[ 86493.726] (II) NVIDIA(0):    "1920x1080{ViewPortIn=1360x768}"
[ 86493.726] (II) NVIDIA(0):    "1920x1080{ViewPortIn=1280x1024}"
[ 86493.726] (II) NVIDIA(0):    "1920x1080{ViewPortIn=1280x800}"
[ 86493.726] (II) NVIDIA(0):    "1920x1080{ViewPortIn=1280x720}"
[ 86493.726] (II) NVIDIA(0):    "1920x1080{ViewPortIn=1152x864}"
[ 86493.726] (II) NVIDIA(0):    "1920x1080{ViewPortIn=1024x768}"
[ 86493.726] (II) NVIDIA(0):    "1920x1080{ViewPortIn=800x600}"
[ 86493.726] (II) NVIDIA(0):    "1920x1080{ViewPortIn=720x576}"
[ 86493.726] (II) NVIDIA(0):    "1920x1080{ViewPortIn=720x480}"
[ 86493.726] (II) NVIDIA(0):    "1920x1080{ViewPortIn=640x480}"
[ 86493.726] (II) NVIDIA(0):    "1920x1080{ViewPortIn=320x240}"
[ 86493.726] (II) NVIDIA(0):    "1920x1080{ViewPortIn=320x200}
[ 86493.726] (II) NVIDIA(0): Virtual screen size determined to be 1920 x 1080

But when I do xrandr I still only see a few modes and if I do xrandr -s 1 it's still changing modes to the actual res anot not scaling it, X also shows:

Code:

[ 86506.771] (II) NVIDIA(0): Setting mode "HDMI-0: 1280x720 @1280x720 +0+0"
Am I missing something else here?

AaronP 06-26-12 04:21 PM

Re: GPU Scaling
 
Quote:

Originally Posted by Enverex (Post 2567056)
But when I do xrandr I still only see a few modes and if I do xrandr -s 1 it's still changing modes to the actual res anot not scaling it, X also shows:

Code:

[ 86506.771] (II) NVIDIA(0): Setting mode "HDMI-0: 1280x720 @1280x720 +0+0"
Am I missing something else here?

This is supposed to be wired up via the RandR 1.1 protocol, which you can force xrandr to query by passing the --q1 option. Unfortunately, that's apparently not wired up properly right now so you current have to use nvidia-settings -a CurrentMetaMode to modify the current MetaMode, or xvidtune -next to cycle through them.

A future driver release should list the MetaModes through the RandR 1.1 interface the way 295.* and earlier did.

Enverex 06-26-12 07:18 PM

Re: GPU Scaling
 
Just typed out a massive response and lost it so this is going to be terse.

Wine is still changing screenmodes as normal, my TV is reporting 640x480 so clearly GPU scaling isn't working.

XRandr shows this after the mode gets changed (however Linux apps normally change res)

Code:

Screen 0: minimum 8 x 8, current 640 x 480, maximum 16384 x 16384
DVI-I-0 disconnected (normal left inverted right x axis y axis)
DVI-I-1 disconnected (normal left inverted right x axis y axis)
DP-0 disconnected (normal left inverted right x axis y axis)
HDMI-0 connected 640x480+0+0 (normal left inverted right x axis y axis) 160mm x 90mm
  1920x1080      60.0 +  59.9    50.0    24.0    30.0    30.0    25.0 
  1280x720      59.9    50.0 
  720x576        50.0 
  720x480        59.9 
  640x480        59.9*    59.9 
DP-1 disconnected (normal left inverted right x axis y axis)

Why is this so hard to achieve?

Gusar 06-27-12 06:02 AM

Re: GPU Scaling
 
Because, as AaronP said, this stuff isn't fully implemented yet.

Enverex 06-27-12 06:10 AM

Re: GPU Scaling
 
Quote:

Originally Posted by Gusar (Post 2567164)
Because, as AaronP said, this stuff isn't fully implemented yet.

But surely removing the old functionality entirely before implementing the new functionality leaves everyone a bit screwed?

Gusar 06-27-12 06:40 AM

Re: GPU Scaling
 
There is a long-lived branch. If the bleeding edge is too much for you (and it's fully understandable that it is, considering the big shift in functionality), use that.


All times are GMT -5. The time now is 06:29 PM.

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