You are not logged in.

#1 2015-07-15 09:53:39

led
Member
Registered: 2015-07-15
Posts: 2

CS GO disable screen scaling

Hello, I am having a problem with cs go config in arch.
My monitor native resolution is 1680x1050 (16:10), but in cs go I get used to play with 1024x768(4:3) with black bars.
The thing is that when I set 1024x768(4:3) in game, it is streching to fill the entire screen(no black bars at all) and I don't need that. Is there any option or config setting to prevent streching keeping black bars and retain aspect ratio?
Any help is appreciated.

[led@ledpc ~]$ lspci -v -s `lspci | awk '/VGA/{print $1}'`
01:00.0 VGA compatible controller: NVIDIA Corporation GK106 [GeForce GTX 650 Ti] (rev a1) (prog-if 00 [VGA controller])
        Subsystem: CardExpert Technology Device 11c6
        Flags: bus master, fast devsel, latency 0, IRQ 30
        Memory at f6000000 (32-bit, non-prefetchable) [size=16M]
        Memory at e8000000 (64-bit, prefetchable) [size=128M]
        Memory at f0000000 (64-bit, prefetchable) [size=32M]
        I/O ports at e000 [size=128]
        [virtual] Expansion ROM at f7000000 [disabled] [size=512K]
        Capabilities: <access denied>
        Kernel driver in use: nvidia
        Kernel modules: nouveau, nvidia
[led@ledpc ~]$ xrandr --prop
Screen 0: minimum 8 x 8, current 1680 x 1050, maximum 16384 x 16384
VGA-0 disconnected primary (normal left inverted right x axis y axis)
        BorderDimensions: 4 
                supported: 4
        Border: 0 0 0 0 
                range: (0, 65535)
        SignalFormat: VGA 
                supported: VGA
        ConnectorType: VGA 
        ConnectorNumber: 0 
        _ConnectorLocation: 0 
HDMI-0 disconnected (normal left inverted right x axis y axis)
        BorderDimensions: 4 
                supported: 4
        Border: 0 0 0 0 
                range: (0, 65535)
        SignalFormat: TMDS 
                supported: TMDS
        ConnectorType: HDMI 
        ConnectorNumber: 2 
        _ConnectorLocation: 2 
DVI-D-0 connected 1680x1050+0+0 (normal left inverted right x axis y axis) 478mm x 296mm
        EDID: 
                00ffffffffffff004c2dea0432324d43
                0d14010380301e782a78f1a655489b26
                12505400000001010101010101010101
                0101010101017c2e90a0601a1e403020
                3600de2c1100001a000000fd00387d1e
                be21000a202020202020000000fc0053
                796e634d61737465720a2020000000ff
                0048564d5a3430303331320a202001f5
                02010400265d90a0601a1e4030203600
                de281100001e635590a0601a1e403020
                3600de281100001ea04d90a0601a1e40
                30203600de281100001e000000000000
                00000000000000000000000000000000
                00000000000000000000000000000000
                00000000000000000000000000000000
                00000000000000000000000000000088
        BorderDimensions: 4 
                supported: 4
        Border: 0 0 0 0 
                range: (0, 65535)
        SignalFormat: TMDS 
                supported: TMDS
        ConnectorType: DVI-D 
        ConnectorNumber: 1 
        _ConnectorLocation: 1 
   1680x1050     59.88 + 120.00*  110.00   100.00

I was trying add

 Option         "FlatPanelProperties" "Scaling=Centered"

to xorg.conf, but no effect.

Removed Flat Panel Scaling configurability in nvidia-settings. Any desired scaling can be configured through the new "ViewPortIn" and "ViewPortOut" MetaMode attributes.

Last edited by led (2015-07-15 13:18:11)

Offline

#2 2015-07-15 11:33:28

Awebb
Member
Registered: 2010-05-06
Posts: 6,688

Re: CS GO disable screen scaling

We require more information about your system.
1. gfx card, chip model, drivers you use.
2. Check the scaling mode with xrandr --prop.

Depending on your setup, you will either have to configure the scaling mode in a file in /etc/X11/xorg.conf.d/ or use xset to set the scaling mode. Google: xset "scaling mode".

Offline

#3 2015-07-15 14:30:40

led
Member
Registered: 2015-07-15
Posts: 2

Re: CS GO disable screen scaling

Get it working launching in terminal by hand.
This for desktop:

nvidia-settings --assign CurrentMetaMode="DFP-1: 1680x1050_120 +0+0"

This when playing cs go:

nvidia-settings --assign CurrentMetaMode="DFP-1: 1680x1050_120+0+0 { ViewPortIn=1024x768, ViewPortOut=1400x1050+120+0}"

Not comfortable, but can't find more suitable solution atm.

Offline

Board footer

Powered by FluxBB