Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 909381 - www-client/vivaldi-6.1.3035.84 with ffmpeg-chromium-114 green screen on youtube if vulkan is enabled. Intel hardware
Summary: www-client/vivaldi-6.1.3035.84 with ffmpeg-chromium-114 green screen on yout...
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: James Le Cuirot
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-06-29 18:49 UTC by pogosyan
Modified: 2023-07-02 00:02 UTC (History)
0 users

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 pogosyan 2023-06-29 18:49:49 UTC
After upgrade to Vivaldi-6.1.3035.84 with ffmpeg-chromium-114   youtube gives green screen unless vulkan config flag is not enabled in vivaldi. Previous combination of vivaldi-6.0 and ffmpeg-chromium-106 worked with vulkan all right.

Hardware: Lenovo Thinkpad X1 Carbon (2017) with 
older intel GPU that supports Vulkan-1.2

00:02.0 VGA compatible controller: Intel Corporation HD Graphics 620 (rev 02) (prog-if 00 [VGA controller])
        Subsystem: Lenovo ThinkPad X1 Carbon 5th Gen
        Flags: bus master, fast devsel, latency 0, IRQ 120
        Memory at eb000000 (64-bit, non-prefetchable) [size=16M]
        Memory at 60000000 (64-bit, prefetchable) [size=256M]
        I/O ports at e000 [size=64]
        Expansion ROM at 000c0000 [virtual] [disabled] [size=128K]
        Capabilities: [40] Vendor Specific Information: Len=0c <?>
        Capabilities: [70] Express Root Complex Integrated Endpoint, MSI 00
        Capabilities: [ac] MSI: Enable+ Count=1/1 Maskable- 64bit-
        Capabilities: [d0] Power Management version 2
        Capabilities: [100] Process Address Space ID (PASID)
        Capabilities: [200] Address Translation Service (ATS)
        Capabilities: [300] Page Request Interface (PRI)
        Kernel driver in use: i915

It is to be said that I still use 4.19 kernel.


emerge --info
Portage 3.0.46 (python 3.11.4-final-0, default/linux/amd64/17.1/desktop/plasma, gcc-12, glibc-2.37-r3, 4.19.160-gentoo x86_64)
=================================================================
System uname: Linux-4.19.160-gentoo-x86_64-Intel-R-_Core-TM-_i7-7600U_CPU_@_2.80GHz-with-glibc2.37
KiB Mem:    16147180 total,   3701180 free
KiB Swap:   18874364 total,  18348572 free
Timestamp of repository gentoo: Thu, 29 Jun 2023 18:00:01 +0000
Head commit of repository gentoo: 3aeea5d87883f7afbc1b89ed555d4815e82508d9
sh bash 5.1_p16-r6
ld GNU ld (Gentoo 2.39 p6) 2.39.0
app-misc/pax-utils:        1.3.5::gentoo
app-shells/bash:           5.1_p16-r6::gentoo
dev-lang/perl:             5.36.1-r2::gentoo
dev-lang/python:           3.11.4::gentoo
dev-lang/rust-bin:         1.69.0::gentoo
dev-util/cmake:            3.26.4-r1::gentoo
dev-util/meson:            1.1.1::gentoo
sys-apps/baselayout:       2.13-r1::gentoo
sys-apps/openrc:           0.46::gentoo
sys-apps/sandbox:          2.32::gentoo
sys-devel/autoconf:        2.71-r6::gentoo
sys-devel/automake:        1.16.5::gentoo
sys-devel/binutils:        2.39-r5::gentoo
sys-devel/binutils-config: 5.5::gentoo
sys-devel/gcc:             12.3.1_p20230526::gentoo
sys-devel/gcc-config:      2.11::gentoo
sys-devel/libtool:         2.4.7-r1::gentoo
sys-devel/llvm:            16.0.5::gentoo
sys-devel/make:            4.4.1-r1::gentoo
sys-kernel/linux-headers:  6.1::gentoo (virtual/os-headers)
sys-libs/glibc:            2.37-r3::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000
    volatile: True
    sync-rsync-verify-max-age: 24
    sync-rsync-verify-metamanifest: no
    sync-rsync-extra-opts: 
    sync-rsync-verify-jobs: 1

localrepo
    location: /usr/local/portage
    masters: gentoo
    volatile: True

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /etc/stunnel/stunnel.conf /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GDK_PIXBUF_MODULE_FILE GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR XDG_STATE_HOME"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs buildpkg-live config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_CA.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LEX="flex"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/dev/shm"
SHELL="/bin/bash"
USE="X a52 aac acl acpi alsa amd64 bluetooth branding bzip2 cairo cdda cdr cjk cli crypt cups dbus declarative djvu dri dts dvdr elogind encode exif flac fortran gdbm gif gpm gui iconv icu jpeg kde kwallet lcms libnotify libtirpc lm_sensors mad mng mp3 mp4 mpeg multilib ncurses nls nptl nss ogg opengl openmp pam pango pcre pdf pipewire plasma pm-utils png policykit postscript ppds pulseaudio qml qt5 readline sdl seccomp sound spell split-usr sqlite ssl startup-notification svg test-rust tiff touchpad truetype udev udisks unicode upower usb vaapi vorbis vulkan widgets wxwidgets x264 xattr xcb xetex xft xml xv xvid zlib" ABI_X86="64" ADA_TARGET="gnat_2021" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx avx2 f16c fma3 mmx mmxext pclmul popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="evdev synaptics wacom" KERNEL="linux" L10N="en en-US en-CA ru" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php8-1" POSTGRES_TARGETS="postgres12 postgres13" PYTHON_SINGLE_TARGET="python3_11" PYTHON_TARGETS="python3_11" RUBY_TARGETS="ruby31" SANE_BACKENDS="canon genesys" VIDEO_CARDS="intel" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq proto steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  ADDR2LINE, AR, ARFLAGS, AS, ASFLAGS, CC, CCLD, CONFIG_SHELL, CPP, CPPFLAGS, CTARGET, CXX, CXXFILT, ELFEDIT, EMERGE_DEFAULT_OPTS, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, INSTALL_MASK, LC_ALL, LD, LFLAGS, LIBTOOL, LINGUAS, MAKE, MAKEFLAGS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, RANLIB, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS
Comment 1 James Le Cuirot gentoo-dev 2023-07-01 22:09:08 UTC
I could probably just drop that USE flag. Chrome doesn't enable Vulkan in its ffmpeg build, but I figured it wouldn't hurt, and there was maybe a chance it could improve performance in some cases. Given that it's had an effect here, albeit a negative one, perhaps there was some merit to that. You're running quite an old kernel though. Have you tried upgrading? How about your version of Mesa?
Comment 2 pogosyan 2023-07-02 00:02:33 UTC
(In reply to James Le Cuirot from comment #1)
> I could probably just drop that USE flag. Chrome doesn't enable Vulkan in
> its ffmpeg build, but I figured it wouldn't hurt, and there was maybe a
> chance it could improve performance in some cases. Given that it's had an
> effect here, albeit a negative one, perhaps there was some merit to that.
> You're running quite an old kernel though. Have you tried upgrading? How
> about your version of Mesa?

Mesa is the latest, 23.0.3-r1

 * Found these USE flags for media-libs/mesa-23.0.3-r1:
 U I
 + + X                    : Add support for X11
 - - abi_x86_32           : 32-bit (x86) libraries
 + + cpu_flags_x86_sse2   : Use the SSE2 instruction set
 - - d3d9                 : Enable Direct 3D9 API through Nine state tracker.
                            Can be used together with patched wine.
 - - debug                : Enable extra debug codepaths, like asserts and
                            extra output. If you want to get meaningful
                            backtraces see https://wiki.gentoo.org/wiki/Project
                            :Quality_Assurance/Backtraces
 - - gles1                : Enable GLESv1 support.
 + + gles2                : Enable GLESv2 support.
 + + llvm                 : Enable LLVM backend for Gallium3D.
 + + lm-sensors           : Enable Gallium HUD lm-sensors support.
 - - opencl               : Enable the Rusticl Gallium OpenCL state tracker.
 - - osmesa               : Build the Mesa library for off-screen rendering.
 + + proprietary-codecs   : Enable codecs for patent-encumbered audio and video
                            formats.
 - - test                 : Enable dependencies and/or preparations necessary
                            to run tests (usually controlled by FEATURES=test
                            but can be toggled independently)
 - - unwind               : Add support for call stack unwinding and function
                            name resolution
 + + vaapi                : Enable Video Acceleration API for hardware decoding
 - - valgrind             : Enable annotations for accuracy. May slow down
                            runtime slightly. Safe to use even if not currently
                            using dev-util/valgrind
 - - vdpau                : Enable the VDPAU acceleration interface for the
                            Gallium3D Video Layer.
 
.....
 + + video_cards_intel    : VIDEO_CARDS setting to build driver for Intel video
                            cards
....
 + + vulkan               : Add support for 3D graphics and computing via the
                            Vulkan cross-platform API
 - - vulkan-overlay       : Build vulkan-overlay-layer which displays Frames
                            Per Second and other statistics
 + + wayland              : Enable support for dev-libs/wayland
 - - xa                   : Enable the XA (X Acceleration) API for Gallium3D.
 - - zink                 : Enable the Zink OpenGL-over-Vulkan Gallium driver
 + + zstd                 : Enable support for ZSTD compression

vulkaninfo gives

==========
VULKANINFO
==========

Vulkan Instance Version: 1.3.246



Kernel yes, old,  I may look into newer own, though with hesitation on work laptop where everything is working.   What surprised me is that previous combination of vivaldi/ffmpeg,  worked with enabled vulkan config (unless it just ignored it :) )