Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 943008 - media-libs/x265-4.1 version bump, patch rebase
Summary: media-libs/x265-4.1 version bump, patch rebase
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-11-08 01:42 UTC by jospezial
Modified: 2025-04-21 12:17 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description jospezial 2024-11-08 01:42:05 UTC
Please bump to latest release.
At least x265-9999-test-ns.patch needs rebase.
Check for latest build number/slot!
Comment 1 soundbastlerlive 2025-02-19 04:44:44 UTC
yes please, i second that! i tried the usual of simply modifying the ebuild, but all the patches are now incompatible, so this breaks the multi-bit variants (8bit+10bit) and i only managed to get one (either 8 or 10 bit, not both) working etc.
I'm not good enough with ebuilds/patches to do the multi-bit patches for v4.1 :(
Comment 2 jospezial 2025-04-21 10:34:29 UTC
At least I was able to rebuild it without the failing patches.

-       "${FILESDIR}/${PN}-9999-test-ns.patch"
-       "${FILESDIR}/${PN}-3.6-cmake-cleanup.patch"
-       "${FILESDIR}/${PN}-3.6-code-cleanup.patch"

media-libs/x265-9999::gentoo was built with the following:
USE="10bit 12bit -numa -test" ABI_X86="(64) -32 (-x32)"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance buildpkg-live ccache config-protect-if-modified distlocks ebuild-locks export-pms-vars fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox pkgdir-index-trusted preserve-libs protect-owned qa-unresolved-soname-deps sandbox strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"


media-video/ffmpeg-7.1.1::gentoo was built with the following:
USE="alsa bluray bzip2 cdio dav1d drm dvd fdk fontconfig gnutls gpl jack jpeg2k jpegxl ladspa lame lcms libaom libass libplacebo librtmp lv2 lzma modplug openal opencl opengl openh264 openssl opus postproc pulseaudio qrcode quirc rubberband sdl speex ssh svg theora truetype twolame v4l vaapi vorbis vpx vulkan webp x264 xml xvid zlib zvbi -X -amf -amr -amrenc (-appkit) -bs2b -chromaprint -chromium -codec2 -cuda -doc -flite -frei0r -fribidi -gcrypt -gme -gmp -gsm -iec61883 -ieee1394 -kvazaar -libaribb24 -libcaca -libilbc -liblc3 -libsoxr -libtesseract -npp -nvenc -openmpt -qsv -rabbitmq -rav1e -samba -shaderc -snappy -sndio -soc -srt -svt-av1 -vdpau -verify-sig -vidstab -vmaf -x265 -zeromq -zimg" ABI_X86="32 (64) (-x32)"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance buildpkg-live ccache config-protect-if-modified distlocks ebuild-locks export-pms-vars fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox pkgdir-index-trusted preserve-libs protect-owned qa-unresolved-soname-deps sandbox strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"


dev-build/cmake-3.31.7::gentoo was built with the following:
USE="gui ncurses -dap -doc -test -verify-sig" ABI_X86="(64)"

Where can I see the multi-bit problem? Did you mean 10bit 12bit?
Comment 3 soundbastlerlive 2025-04-21 11:59:58 UTC
without those 3 patches x265-9999 builds today with 8+10bit and my ffmpeg config, however i think the test-ns does the namespacing for 8+10+12bit, so this silently dropped will result in an 8bit build for me:

[ebuild   R   *] media-libs/x265-9999:0/212::gentoo  USE="10bit -12bit -numa -test" ABI_X86="(64) -32 (-x32)" 0 KiB

however:

x265 [info]: HEVC encoder version 4.1+140-9ee146fb2
x265 [info]: build info [Linux][GCC 14.2.1][64 bit] 8bit
x265 [info]: using cpu capabilities: MMX2 SSE2Fast LZCNT SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2
Comment 4 soundbastlerlive 2025-04-21 12:01:35 UTC
i meant that dropping those patches allows to build, but breaks 8+10bit (+12bit, any version with more than one bit depth, but 8bit is always enabled) like i mentioned earlier.
Comment 5 jospezial 2025-04-21 12:17:27 UTC
265 --help
x265 [info]: HEVC encoder version 4.1+140-9ee146fb2
x265 [info]: build info [Linux][GCC 14.2.1][64 bit] 8bit+10bit+12bit