Skip to content

xv: change FOURCC_RGBA32 to AMD one#2128

Open
stefan11111 wants to merge 1 commit intoX11Libre:masterfrom
stefan11111:xorg-1321
Open

xv: change FOURCC_RGBA32 to AMD one#2128
stefan11111 wants to merge 1 commit intoX11Libre:masterfrom
stefan11111:xorg-1321

Conversation

@stefan11111
Copy link
Copy Markdown
Contributor

Initally we used value of DRM_FORMAT_ARGB8888, but it seems than xf86-video-ati has established other value for years. So, change it to well established one.

Because we define a different values, this breaks compilation of xf86-video-ati. I am unsure, who is right in this situation, but I guess better to use an established value, to make AMD xorg driver compile.

I do not aware about any of the side effects of this change.

Fixes: https://gitlab.freedesktop.org/xorg/xserver/-/commit/15412e78c83bf3d15bcd343ccc40afda072d3f9e - glamor: xv: add rgba32 format

Part-of: https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1321

Initally we used value of DRM_FORMAT_ARGB8888, but it seems than
xf86-video-ati has established other value for years. So, change it to
well established one.

Because we define a different values, this breaks compilation of xf86-video-ati.
I am unsure, who is right in this situation, but I guess better to use
an established value, to make AMD xorg driver compile.

I do not aware about any of the side effects of this change.

Fixes: https://gitlab.freedesktop.org/xorg/xserver/-/commit/15412e78c83bf3d15bcd343ccc40afda072d3f9e - glamor: xv: add rgba32 format
Signed-off-by: Konstantin <ria.freelander@gmail.com>
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1321>
@cepelinas9000
Copy link
Copy Markdown
Contributor

0x34325241 -> FOURCC('A','R','2','4')
0x41424752 -> FOURCC('R','G','B','A') nowhere defined ( mean no in drm_fourcc.h and gbm.h), found using search engine at http://ultra.sdk.free.fr/docs/Image-Processing/Colors/Format/RGB_fichiers/fccrgb.htm

I think in our case we can fix change at ati driver (looks it is doable without side effects: https://github.com/X11Libre/xf86-video-ati/blob/e192d6a87495e3b91a1c85c3a2243def23abecd7/src/radeon_textured_video.c#L791 )

@stefan11111
Copy link
Copy Markdown
Contributor Author

@josephcrowell ping

@metux
Copy link
Copy Markdown
Contributor

metux commented Apr 13, 2026

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants