You are not logged in.

#1 2025-04-18 13:15:26

gato_7908
Member
Registered: 2025-04-06
Posts: 7

Freak xrandr scaling mode bug (tiktok aspect ratio)

I'm trying to play some old games in 4:3 in my laptop, but when i run this command for preserve 4:3 aspect ratio...
xrandr --output eDP-1 --set "scaling mode" "Full aspect"

My games and my display(1024x768) looks like a tiktok video non like 4:3 aspect ratio

My original display is 1366x768, I'm using Arch Linux , amdgpu open source.

P.d: I'm trying to fix this puzzle and this bug is related with the monitor, when I use my laptop monitor with Center scaling mode it crash, and when use full scaling mode in my external monitor it works properly.
Is very strange

Offline

#2 2025-04-18 13:28:01

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 75,081

Re: Freak xrandr scaling mode bug (tiktok aspect ratio)

xrandr --props
xrandr --verbose

looks like a tiktok video

There're weirdly dancing influencers on your monitor?

You mean its getting letterboxed? Or pivoted?
Linking a photo might help to understand what you think is a tiktok video (other than the end of of human civilization)
Also document the states using "xrandr -q"

I assume just running the output on XGA (xrandr --output eDP-1 --mode 1024x768) gets you a stretched display?
Can you control the output via https://wiki.archlinux.org/title/Xrandr … -transform


I'm using Arch Linux , amdgpu open source.

And please post your Xorg log, https://wiki.archlinux.org/title/Xorg#General - xf86-video-amdgpu ./. modesetting might have a huge impact here.

Offline

#3 2025-04-18 13:31:40

gato_7908
Member
Registered: 2025-04-06
Posts: 7

Re: Freak xrandr scaling mode bug (tiktok aspect ratio)

xrandr --props
Screen 0: minimum 320 x 200, current 1366 x 768, maximum 16384 x 16384
eDP-1 connected primary 1366x768+0+0 (normal left inverted right x axis y axis) 344mm x 193mm
    EDID:
        00ffffffffffff0006afec4500000000
        0f15010490221378020bb59757548c26
        23505400000001010101010101010101
        010101010101ce1d56e250001e302616
        360058c110000018df1356e250001e30
        2616360058c110000018000000000000
        00000000000000000000000000000002
        000d48ff0a3c64140e1a68202020003a
    scaling mode: Full
        supported: None, Full, Center, Full aspect
    link-status: Good
        supported: Good, Bad
    CONNECTOR_ID: 51
        supported: 51
    non-desktop: 0
        range: (0, 1)
   1366x768      60.06*+  40.04 
   1280x720      60.00    59.99    59.97    59.86    59.74 
   1152x768      59.95 
   1024x768      60.04    60.00    59.95 
   960x720       60.00 
   928x696       60.05 
   896x672       60.01 
   1024x576      59.95    59.96    59.90    59.82 
   960x600       59.93    60.00 
   960x540       59.96    59.99    59.63    59.82 
   800x600       60.00    60.32    59.96    56.25 
   840x525       60.01    59.88 
   864x486       59.92    59.57 
   848x480       59.94 
   700x525       59.98 
   800x450       59.95    59.82 
   720x480       59.94 
   640x512       60.02 
   700x450       59.96    59.88 
   640x480       60.00    59.94    59.94 
   720x405       59.51    58.99 
   684x384       59.88    59.85 
   640x400       59.88    59.98 
   640x360       59.86    59.83    59.84    59.32 
   512x384       60.00 
   512x288       60.00    59.92 
   480x270       59.63    59.82 
   400x300       60.32    56.34 
   432x243       59.92    59.57 
   320x240       60.05 
   360x202       59.51    59.13 
   320x180       59.84    59.32 
VGA-1 disconnected (normal left inverted right x axis y axis)
    output_csc: bypass
        supported: bypass, tvrgb, ycbcr601, ycbcr709
    scaling mode: None
        supported: None, Full, Center, Full aspect
    load detection: 1
        range: (0, 1)
    link-status: Good
        supported: Good, Bad
    CONNECTOR_ID: 54
        supported: 54
    non-desktop: 0
        range: (0, 1)
HDMI-1 disconnected (normal left inverted right x axis y axis)
    output_csc: bypass
        supported: bypass, tvrgb, ycbcr601, ycbcr709
    audio: auto
        supported: off, on, auto
    scaling mode: None
        supported: None, Full, Center, Full aspect
    dither: off
        supported: off, on
    underscan vborder: 0
        range: (0, 128)
    underscan hborder: 0
        range: (0, 128)
    underscan: off
        supported: off, on, auto
    coherent: 1
        range: (0, 1)
    link-status: Good
        supported: Good, Bad
    CONNECTOR_ID: 56
        supported: 56
    non-desktop: 0
        range: (0, 1)

Offline

#4 2025-04-18 13:39:45

gato_7908
Member
Registered: 2025-04-06
Posts: 7

Re: Freak xrandr scaling mode bug (tiktok aspect ratio)

When I said it looks like a tiktok videos is becouse the 4:3 aspect ratio compress vertically, i can see all just all is strech like a tiktok video

Offline

#5 2025-04-18 13:55:14

gato_7908
Member
Registered: 2025-04-06
Posts: 7

Re: Freak xrandr scaling mode bug (tiktok aspect ratio)

I assume just running the output on XGA (xrandr --output eDP-1 --mode 1024x768) gets you a stretched display?

Only when i use
xrandr --output eDP-1 --set "scaling mode" "None"

Offline

Board footer

Powered by FluxBB