Skip to content

Instantly share code, notes, and snippets.

View Sakura286's full-sized avatar
🌠
Bullshiting

Sakura286 Sakura286

🌠
Bullshiting
View GitHub Profile
#!/bin/bash
# remove updator deps
curl -sL https://gist.githubusercontent.com/Sakura286/ffa60b9e81556c96ba060be6cb62ee11/raw/7b18e81500c998f51e5c6a5283d563dcb851c00c/disable-updator.patch | patch -p1
# add esbuild tool
cd third_party/devtools-frontend/src/third_party && rm -rf esbuild
git clone --depth=1 --branch=v0.14.13 https://github.com/evanw/esbuild.git
cd esbuild && make
diff --git a/chrome/updater/BUILD.gn b/chrome/updater/BUILD.gn
index b480e86d4a..893e9e5ccc 100644
--- a/chrome/updater/BUILD.gn
+++ b/chrome/updater/BUILD.gn
@@ -1125,10 +1125,10 @@ if (is_win || is_mac || is_linux) {
"//third_party/updater:old_updater",
]
}
- if (is_linux) {
- data_deps = [ "//chrome/updater/linux:updater_test" ]
分辨率 码率 编码 P550 chromium ESMPP软解 X86 chromium(AV1 硬解,H264软解)
1280 x 720 30fps h264 播放流畅;视频标签切到后台后ffmpeg无log,视频时间辍暂停 播放流畅;视频标签切到后台后,视频时间辍暂停
1440 x 1080 60fps h264 播放流畅;视频标签切到后台后ffmpeg无log,视频时间辍暂停 播放流畅;视频标签切到后台后,视频时间辍暂停
3840 x 2160 60fps h264 播放不流畅;视频标签切到后台后ffmpeg无log,视频时间辍不暂停;大约10~20s后切回,视频卡住,拖动进度条无反应关掉此标签页后,打开新的视频,无法播放 播放不流畅;切后台后视频时间辍不暂停,10~20s后切回,视频卡住,拖动进度条的话,视频会从头开始播放
3840 x 2160 60fps av1 流畅播放;视频标签切到后台后,视频时间辍暂停
dwz: Too few files for multifile optimization
dh_dwz: warning: No dwz multifile created, but not explicitly requested either so ignoring it.
dh_dwz: warning: Common issues include no debug information at all (missing -g) and
dh_dwz: warning: compressed debug information (#931891).
rmdir -p --ignore-fail-on-non-empty debian/rocm-rocblas/usr/lib/debug/.dwz/riscv64-linux-gnu
dh_strip -a
dh_strip: warning: Could not find the BuildID in debian/rocm-rocblas/opt/rocm-6.2.4/lib/librocblas.so.4.2
strip --remove-section=.comment --remove-section=.note --strip-unneeded debian/rocm-rocblas/opt/rocm-6.2.4/lib/librocblas.so.4.2
install -m0755 -d debian/.debhelper/rocm-rocblas/dbgsym-root/usr/lib/debug/.build-id/11
objcopy --only-keep-debug --compress-debug-sections debian/rocm-rocblas/opt/rocm-6.2.4/lib/rocblas/library/TensileLibrary_Type_SS_Contraction_l_Ailk_Bjlk_Cijk_Dijk_fallback_gfx1100.hsaco debian/.debhelper/rocm-rocblas/dbgsym-root/usr/lib/debug/.build-id/11/53908034d72eb2.debug
ac_add_options --enable-release
ac_add_options --enable-default-toolkit=cairo-gtk3-wayland
ac_add_options --with-google-location-service-api-keyfile=@TOPSRCDIR@/debian/google.key
ac_add_options --with-google-safebrowsing-api-keyfile=@TOPSRCDIR@/debian/google.key
ac_add_options --with-mozilla-api-keyfile=@TOPSRCDIR@/debian/mls.key
ac_add_options --with-system-zlib
ac_add_options --disable-strip
ac_add_options --disable-install-strip
ac_add_options --enable-system-ffi
ac_add_options --with-system-libevent
diff --git a/dom/media/platforms/ffmpeg/FFmpegVideoFramePool.cpp b/dom/media/platforms/ffmpeg/FFmpegVideoFramePool.cpp
index 5f179f26ab..22e7f4044f 100644
--- a/dom/media/platforms/ffmpeg/FFmpegVideoFramePool.cpp
+++ b/dom/media/platforms/ffmpeg/FFmpegVideoFramePool.cpp
@@ -276,17 +276,11 @@ static Maybe<VADRMPRIMESurfaceDescriptor> FFmpegDescToVA(
vaDesc.width = aAVFrame->width;
vaDesc.height = aAVFrame->height - aAVFrame->crop_bottom;
- // Native width and height before crop is applied
- unsigned int uncrop_width = aDesc.layers[0].planes[0].pitch;
Crash Annotation GraphicsCriticalError: |[0][GFX1-]: glxtest: DRM render node not clearly detectable. Falling back to using the only one that was found. (t=2.65188) [GFX1-]: glxtest: DRM render node not clearly detectable. Falling back to using the only one that was found.
Crash Annotation GraphicsCriticalError: |[0][GFX1-]: glxtest: DRM render node not clearly detectable. Falling back to using the only one that was found. (t=2.65188) |[1][GFX1-]: No GPUs detected via PCI
(t=2.65188) [GFX1-]: No GPUs detected via PCI
[Parent 21731: Main Thread]: D/Dmabuf DMABufDevice::Configure()
[Parent 21731: Main Thread]: D/Dmabuf Loading DMABuf system library libgbm.so.1 ...
[Parent 21731: Main Thread]: D/Dmabuf Using DRM device /dev/dri/renderD128
[Parent 21731: Main Thread]: D/Dmabuf DMABuf is enabled
Crash Annotation GraphicsCriticalError: |[0][GFX1-]: glxtest: DRM render node not clearly detectable. Falling back to using the only one that was found. (t=2.65188) |[1][GFX1-]: No GPUs detected via PCI
(t=2.65188) |[2]
#!/bin/bash
for i in $(ls *.so)
do
mv /usr/lib/$i /usr/lib/$i.bak
mv $i /usr/lib/
done
From 3a3a58ff7bfe5027164425eba79f7feac98666a2 Mon Sep 17 00:00:00 2001
From: Your Name <you@example.com>
Date: Thu, 24 Apr 2025 02:46:01 +0000
Subject: [PATCH 1/2] add hw decode detect logic
---
.../platforms/ffmpeg/FFmpegVideoDecoder.cpp | 2 +-
widget/gtk/GfxInfo.cpp | 34 +++++++++++++++++--
widget/gtk/GfxInfo.h | 3 ++
3 files changed, 36 insertions(+), 3 deletions(-)
WARNING: Some incorrect rendering might occur because the selected Vulkan device (PowerVR A-Series AXM-8-256) doesn't support base Zink requirements: feats.features.fillModeNonSolid
[3486:3486:0417/184023.901821:ERROR:device_event_log_impl.cc(201)] [18:40:23.901] USB: usb_service_linux.cc:260 Got duplicate add event for path: /dev/bus/usb/003/023
[3538:3538:0417/184031.243228:ERROR:gl_utils.cc(422)] [.WebGL-0xc022ba300] GL_INVALID_OPERATION: EGL image internal format is not supported as a texture.
[3538:3538:0417/184031.243637:ERROR:gl_utils.cc(422)] [.WebGL-0xc022ba300] GL_INVALID_FRAMEBUFFER_OPERATION: Framebuffer is incomplete: Attachment has zero size.
[3538:3538:0417/184031.253451:ERROR:gl_utils.cc(422)] [.WebGL-0xc022ba300] GL_INVALID_OPERATION: EGL image internal format is not supported as a texture.
[3538:3538:0417/184031.253785:ERROR:gl_utils.cc(422)] [.WebGL-0xc022ba300] GL_INVALID_FRAMEBUFFER_OPERATION: Framebuffer is incomplete: Attachment has zero size.
[3538:3538:0417/184031.259526:ERROR:gl_uti