Rendering image in one resolution and output this image in another

In Nvidia settings i can change ViewPortIn and ViewPortIn (For example ViewPortIn=2880x1620, ViewPortOut=1920x1080+60+0,so GPU rendering on 2880x1620 resolution,but output image on monitor in 1920x1080),can i do the same with AMDGPU?

Hello @Drive :wink:

Just search the manual of xorg.conf:

man xorg.conf

Nividia has a special parameter for this although the normal approach works there as well. Similar like this:

Section "Device"
    Identifier "amd"
    Driver "modesetting" #or "amdgpu"
    #BusID "PCI:0:1:0" #only necessary if you have more than one gpu

Section "Monitor"
    Identifier "Monitor0"
     # "Monitor-<output-name>" "identifier"; use xrandr to find the output-name
    Option "Monitor-DP-0" "DisplayPort monitor" # get

Section "Screen"
    Identifier "Screen0"
    Device "amd"
    Monitor "Monitor0"
    SubSection "Display"
        Depth "24"
        Virtual "2880 1620" #<-- ViewPortIn
        ViewPort "1920 1080" #<-- ViewPortOut

That is just a bare example. Test it yourself.

Thanks for help,but its not work (maybe i make something wrong and Depth,Virtual and ViewPort must be without " " unlike in your example,because xorg dont start with it).If someone need - i found solution with xrandr commands:
Set your monitor resolution:

xrandr --output HDMI-A-0 --panning 1920x1080

And set scale value:

xrandr --output HDMI-A-0 --scale 2.00x2.00

It will render image in 3840x2160 and panning it to 1920x1080 resolution
Output name (in my case HDMI-A-0) you can find with command xrandr

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.