Thread View: linux.debian.bugs.dist
1 messages
1 total messages
Started by Sebastian Ramacher
Wed, 11 Nov 2026 18:40
Bug#1142258: mpv: vo=x11 wrongly swaps colors on big-endian
Author: Sebastian Ramacher
Date: Wed, 11 Nov 2026 18:40
Date: Wed, 11 Nov 2026 18:40
113 lines
5505 bytes
5505 bytes
On 2026-07-16 22:21:11 +0200, John Ogness wrote: > Package: mpv > Version: 0.41.0-2+b2 > Severity: important > X-Debbugs-Cc: john.ogness@linutronix.de > > Dear Maintainer, > > I am on a big-endian architecture. When playing video using x11 video output > backend, the colors are swapped (even for the OSD controls). I tracked this > down to the function: > > video/out/vo_x11.c:resize() > > In the "MP_SELECT_LE_BE(0, 1) block", the colors are being swapped. > > By commenting out this block, the colors are correct! > > I am guessing that the assumption in the comment above that block is wrong: > > // desc.comps[] uses little endian bit offsets > > I am happy to take this upstream, if you could point me in the right > direction. Please do. You can file upstream issues at https://github.com/mpv-player/mpv. Cheers > > Thanks! > > John Ogness > > > > -- System Information: > Debian Release: forky/sid > APT prefers unreleased > APT policy: (500, 'unreleased'), (500, 'unstable') > Architecture: ppc64 > > Kernel: Linux 7.2.0-rc3+ (SMP w/2 CPU threads; PREEMPT) > Kernel taint flags: TAINT_WARN > Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US:en > Shell: /bin/sh linked to /usr/bin/dash > Init: systemd (via /run/systemd/system) > > Versions of packages mpv depends on: > ii libarchive13t64 3.8.8-2 > ii libasound2t64 1.2.16.1-1 > ii libass9 1:0.17.5-1 > ii libavcodec62 7:8.1.2-2+b1 > ii libavdevice62 7:8.1.2-2+b1 > ii libavfilter11 7:8.1.2-2+b1 > ii libavformat62 7:8.1.2-2+b1 > ii libavutil60 7:8.1.2-2+b1 > ii libbluray3 1:1.4.1-2 > ii libc6 2.42-17 > ii libcdio-cdda2t64 10.2+2.0.2-2+b2 > ii libcdio-paranoia2t64 10.2+2.0.2-2+b2 > ii libcdio19t64 2.2.0-4.1 > ii libdisplay-info3 0.3.0-1+b1 > ii libdrm2 2.4.134-3 > ii libdvdnav4 7.0.0-2+b1 > ii libegl1 1.7.0-3+b1 > ii libgbm1 25.0.7-2 > ii libjack0 [libjack-0.125] 1:0.126.0-6 > ii libjpeg62-turbo 1:3.1.3-4 > ii liblcms2-2 2.19.1-1 > ii liblua5.2-0 5.2.4-4 > ii libmujs3 1.3.9-1 > ii libpipewire-0.3-0t64 1.6.8-1 > ii libplacebo360 7.360.1-1 > ii libpulse0 17.0+dfsg1-2.1+b1 > ii librubberband3 4.0.0+dfsg-2 > ii libsixel1 1:1.8.7-r2-1 > ii libsndio7.0 1.10.0-0.2+b2 > ii libswresample6 7:8.1.2-2+b1 > ii libswscale9 7:8.1.2-2+b1 > ii libuchardet0 0.0.8-2+b2 > ii libva-drm2 2.24.1-2 > ii libva-wayland2 2.24.1-2 > ii libva-x11-2 2.24.1-2 > ii libva2 2.24.1-2 > ii libvdpau1 1.5-4+b1 > ii libvulkan1 1.4.341.0-1 > ii libwayland-client0 1.25.0-2 > ii libwayland-cursor0 1.25.0-2 > ii libwayland-egl1 1.25.0-2 > ii libx11-6 2:1.8.13-1 > ii libxext6 2:1.3.4-1+b4 > ii libxfixes3 1:6.0.0-2+b4 > ii libxkbcommon0 1.13.1-1 > ii libxpresent1 1.0.1-1+b3 > ii libxrandr2 2:1.5.4-1+b4 > ii libxss1 1:1.2.3-1+b3 > ii libxv1 2:1.0.13-1+b1 > ii libzimg2 3.0.6+ds1-2 > ii zlib1g 1:1.3.dfsg+really1.3.2-3 > > Versions of packages mpv recommends: > ii xdg-utils 1.2.1-2 > ii yt-dlp 2026.07.04-1 > > mpv suggests no packages. > > -- no debconf information > -- Sebastian Ramacher
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads