Skip to content
This repository was archived by the owner on Apr 29, 2026. It is now read-only.
This repository was archived by the owner on Apr 29, 2026. It is now read-only.

Bug Report: Video rotation brake the video #1346

@camohub

Description

@camohub

Hi there, I have the following stack:
Model: ROC-RK3588S-PC V12 (Linux)
SoC: Rockchip RK3588
GPU: Mali-G610 (Panfrost/Panfork)
Kernel: 6.1.0-1025-rockchip
OS: Ubuntu 24.04.1 LTS (Joshua-Riek image v2.4.0)
Mesa: Panfork 23.0.5 (git221210 — December 2022)
Chromium: 114.0.5735.35 (rkmpp7 from jjriek/rockchip-multimedia PPA)
Display: HDMI-1, 1920x1080@60Hz
The problem:
I'm running a kiosk application in Chromium that plays video fullscreen. The display is physically mounted in portrait mode (9:16), so I need to rotate the output 270°. When rotation is applied, a visible vertical line artifact appears running from top to bottom, approximately 5cm from the right edge of the screen. Without rotation, the image is perfectly clean — no artifacts at all.
What I've tried (all failed to fix the issue):

  1. CSS rotation (current method):
    Using transform: rotate(270deg) on the body element. The line artifact appears consistently.
  2. xrandr rotation:
    xrandr --output HDMI-1 --rotate left — same vertical line artifact appears.
  3. Kernel DRM rotation:
    Added video=HDMI-A-1:1920x1080@60,rotate=270 to kernel cmdline in extlinux.conf. Parameter is visible in /proc/cmdline but has no effect — Rockchip DRM driver does not support the rotate parameter.
  4. Chromium flags (tested individually and in combinations):

--disable-gpu-compositing — moved the line to the center of the screen
--disable-gpu-rasterization / --disable-gpu-vsync — made it worse
--use-gl=egl — no effect
--enable-gpu-rasterization --enable-zero-copy — no effect
--default-tile-width=1920 --default-tile-height=1080 — no effect
--gpu-rasterization-msaa-sample-count=0 — no effect
--force-device-scale-factor=1 — no effect
--use-gl=angle --use-angle=gles-egl --use-cmd-decoder=passthrough — crashed Chromium

  1. CSS GPU optimization properties:
    Tested translateZ(0), backface-visibility: hidden, will-change: transform on the rotation container — no effect on the artifact.
  2. Chromium 132 upgrade:
    Installed chromium 132.0.6834.159-1~deb12u1+rkmpp from liujianfeng1994/chromium PPA. The vertical line remained, and video playback became unstable (freezing). Reverted to Chromium 114.
  3. Mesa upgrade to Ubuntu noble-updates 25.2.8:
    Removed Panfork PPA and installed standard Ubuntu Mesa 25.2.8. GPU fell back to llvmpipe (software rendering) — no Panfrost support for Mali-G610 in standard Mesa. Display showed tearing in the center. Reverted to Panfork 23.0.5.
    Conclusion:
    The artifact appears with any rotation method (CSS, xrandr, kernel) and persists across Chromium versions and various GPU flags. This strongly suggests the issue is in the Panfork Mesa / Panfrost compositing layer when handling rotated output on Mali-G610.
    Has anyone encountered this issue? Is there a known fix or workaround? Would upgrading to Panthor (with kernel 6.10+ or the 6.1 backport) potentially resolve this?
    Any help would be greatly appreciated.

Kernel version

6.1.0-1025-rockchip

SBC model

ROC-RK3588S-PC V12(Linux)

What operating system are you seeing this problem on?

Ubuntu 24.04 LTS (Noble Nombat)

Relevant logs

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions