Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Chromium programs not working
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
orsetto
n00b
n00b


Joined: 26 Sep 2023
Posts: 7
Location: Italy

PostPosted: Mon Feb 24, 2025 1:14 pm    Post subject: Chromium programs not working Reply with quote

Hi, since I installed gentoo I had a problem with chromium and any oher program based on it (i'm looking at you, electron). I can install those program with flatpack and they work fairly well, but the other day I discovered that using vscodium flatpak is not exactly the best setup.

I'm using flatpak's versions of signal, telegram, vscodium, and chromium itself, but i'd like to use the gentoo versions, at least for vscodium. If I try to install those from the gentoo repos, I only get a blank screen, or no screen at all for chrome and chromium, and no useful output (chromium was the most verbose until now, but it's a pain to compile so let me know if you'll need it).

I don't relly know how to start debugging this, but if any of you has any idea, or has exeperienced a similar issue, I'd be grateful.
Below is the otput of emerge --info. I'm running on an i5-6500 and no graphic card, on kde-plasma.

Code:

Portage 3.0.66.1 (python 3.12.8-final-0, default/linux/amd64/23.0/desktop/plasma, gcc-14, glibc-2.40-r8, 6.6.74-gentoo-orsetto x86_64)
=================================================================
System uname: Linux-6.6.74-gentoo-orsetto-x86_64-Intel-R-_Core-TM-_i5-6500_CPU_@_3.20GHz-with-glibc2.40
KiB Mem:     7985100 total,    696288 free
KiB Swap:   16777212 total,  16777212 free
Timestamp of repository gentoo: Sun, 16 Feb 2025 17:45:00 +0000
Head commit of repository gentoo: 276d8e75a1710808645c4b130e6c3b80ed4968c0
sh bash 5.2_p37
ld GNU ld (Gentoo 2.43 p3) 2.43.1
app-misc/pax-utils:        1.3.8::gentoo
app-shells/bash:           5.2_p37::gentoo
dev-build/autoconf:        2.13-r8::gentoo, 2.72-r1::gentoo
dev-build/automake:        1.16.5-r2::gentoo
dev-build/cmake:           3.30.6::gentoo
dev-build/libtool:         2.5.4::gentoo
dev-build/make:            4.4.1-r100::gentoo
dev-build/meson:           1.6.1::gentoo
dev-java/java-config:      2.3.4::gentoo
dev-lang/perl:             5.40.0-r1::gentoo
dev-lang/python:           3.12.8_p1::gentoo, 3.13.1_p1::gentoo
dev-lang/rust-bin:         1.83.0-r1::gentoo
llvm-core/clang:           19.1.7::gentoo
llvm-core/lld:             19.1.7::gentoo
llvm-core/llvm:            19.1.7::gentoo
sys-apps/baselayout:       2.17::gentoo
sys-apps/openrc:           0.55.1::gentoo
sys-apps/sandbox:          2.39::gentoo
sys-devel/binutils:        2.43-r2::gentoo
sys-devel/binutils-config: 5.5.2::gentoo
sys-devel/gcc:             14.2.1_p20241221::gentoo
sys-devel/gcc-config:      2.12.1::gentoo
sys-kernel/linux-headers:  6.6-r1::gentoo (virtual/os-headers)
sys-libs/glibc:            2.40-r8::gentoo
Repositories:

gentoo
    location: /var/db/repos/gentoo
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000
    volatile: False
    sync-rsync-verify-metamanifest: yes
    sync-rsync-verify-max-age: 3
    sync-rsync-verify-jobs: 1
    sync-rsync-extra-opts:

Binary Repositories:

gentoobinhost
    priority: 1
    sync-uri: https://gentoo.mirror.garr.it/releases/amd64/binpackages/23.0/x86-64

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="@FREE"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe -D_GLIBCXX_ASSERTIONS -fcf-protection -fstack-clash-protection -fstack-protector-strong"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/gnupg/qualified.txt /var/bind"
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"
CXXFLAGS="-march=native -O2 -pipe -D_GLIBCXX_ASSERTIONS -fcf-protection -fstack-clash-protection -fstack-protector-strong"
DISTDIR="/var/cache/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="-march=native -O2 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance buildpkg-live config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync merge-wait multilib-strict network-sandbox news parallel-fetch pid-sandbox pkgdir-index-trusted preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-march=native -O2 -pipe"
GENTOO_MIRRORS="https://mirror.eu.oneandone.net/linux/distributions/gentoo/gentoo/     https://ftp.agdsn.de/gentoo     https://ftp.spline.inf.fu-berlin.de/mirrors/gentoo/     https://ftp.gwdg.de/pub/linux/gentoo/     https://ftp.uni-hannover.de/gentoo/     https://mirror.netcologne.de/gentoo/     https://mirror.netzwerge.de/gentoo/     https://packages.hs-regensburg.de/gentoo-distfiles/     https://gentoo.mirror.garr.it/     https://mirror.init7.net/gentoo/"
LANG="C.utf8"
LDFLAGS="-Wl,-z,now -Wl,-z,relro"
LEX="flex"
MAKEOPTS="-j3 -l5"
PKGDIR="/var/cache/binpkgs"
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="/var/tmp"
RUSTFLAGS="-C target-cpu=native -C link-arg=-Wl,-z,pack-relative-relocs -C opt-level=3"
SHELL="/bin/bash"
USE="X a52 aac acl acpi activities alsa amd64 bluetooth branding bzip2 cairo cdda cdr cet crypt cups dbus declarative dri dts dvd dvdr elogind encode exif flac gdbm gif gpm grub gtk gui hardened iconv icu ipv6 jpeg kde kf6compat kwallet lcms libnotify libtirpc mad mng modules-sign mp3 mp4 mpeg multilib ncurses nls ogg opengl openmp pam pango pcre pdf pipewire plasma png policykit ppds pulseaudio qml qt5 qt6 readline screencast sdl seccomp semantic-desktop sound spell ssl startup-notification svg test-rust tiff truetype udev udisks unicode upower usb verify-sig vorbis vulkan wayland widgets wxwidgets x264 xattr xcb xft xml xv xvid zlib" ABI_X86="64" ADA_TARGET="gcc_13" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_anon authn_dbm authn_file authz_dbm authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir env expires ext_filter file_cache filter headers include info log_config logio 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="mmx mmxext sse sse2 aes avx avx2 f16c fma3 pclmul popcnt rdrand sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax navcom oceanserver oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 tsip tripmate tnt ublox" GUILE_SINGLE_TARGET="3-0" GUILE_TARGETS="3-0" INPUT_DEVICES="libinput" KERNEL="linux" L10N="it en en-US" LCD_DEVICES="bayrad cfontz glk hd44780 lb216 lcdm001 mtxorb text" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php8-2" POSTGRES_TARGETS="postgres16" PYTHON_SINGLE_TARGET="python3_12" PYTHON_TARGETS="python3_12" RUBY_TARGETS="ruby32" VIDEO_CARDS="intel" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipp2p iface geoip fuzzy condition tarpit sysrq proto 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, PYTHONPATH, RANLIB, READELF, SIZE, STRINGS, STRIP, YACC, YFLAGS
Back to top
View user's profile Send private message
cwc
Veteran
Veteran


Joined: 20 Mar 2006
Posts: 1406
Location: Tri-Cities, WA USA

PostPosted: Mon Feb 24, 2025 2:57 pm    Post subject: Reply with quote

I have been using chromium ebuild for years now. I used to use gnome now I stick with xfce.
I have never used flatpak . I might have to because prusaslicer changed from appimage to flatpak
https://github.com/prusa3d/PrusaSlicer/wiki/PrusaSlicer-on-Linux---binary-distributions

I have always been advised to use gentoo packages. Having indicated that I do use the Blender binary and I use the firefox-dev binary (developer) and fritzing appimage
Here is my firefox-dev install https://gitlab.com/icebowl/firefox/-/raw/main/firefox-dev-gentoo.sh?ref_type=heads It needs a directory at /opt/firefox-dev
I've tested non ebuild apps and if they don't work I don't use them.

Is your video card referenced in make.conf
Here is mine:
VIDEO_CARDS="amdgpu radeonsi" on my machine with a video card.
I have nothing on my test machine with an intel integrated video card.

Good luck.


Code:

flatpak install flathub com.prusa3d.PrusaSlicer
Run
flatpak run com.prusa3d.PrusaSlicer

I have two gentoo machines now and i might try flatpak on my test machine.

It takes me about 36 hours to compile chromium now and I really do not know why.
I noticed "MAKEOPTS="-j3 -l5" " I have an i7 with 12 cores and I use -j10
https://forums.gentoo.org/viewtopic-t-1173097-highlight-.html

Here is my ldd for chormium

Code:


ldd /usr/lib64/chromium-browser/chrome
   linux-vdso.so.1 (0x00007ffd1d7bc000)
   libgobject-2.0.so.0 => /usr/lib64/libgobject-2.0.so.0 (0x00007f2e94b87000)
   libglib-2.0.so.0 => /usr/lib64/libglib-2.0.so.0 (0x00007f2e94a3d000)
   libsmime3.so => /usr/lib64/libsmime3.so (0x00007f2e94a0f000)
   libnss3.so => /usr/lib64/libnss3.so (0x00007f2e948d1000)
   libnssutil3.so => /usr/lib64/libnssutil3.so (0x00007f2e948a3000)
   libnspr4.so => /usr/lib64/libnspr4.so (0x00007f2e94862000)
   libdbus-1.so.3 => /usr/lib64/libdbus-1.so.3 (0x00007f2e94810000)
   libatk-bridge-2.0.so.0 => /usr/lib64/libatk-bridge-2.0.so.0 (0x00007f2e947d2000)
   libatk-1.0.so.0 => /usr/lib64/libatk-1.0.so.0 (0x00007f2e947ab000)
   libcups.so.2 => /usr/lib64/libcups.so.2 (0x00007f2e9471d000)
   libgio-2.0.so.0 => /usr/lib64/libgio-2.0.so.0 (0x00007f2e94535000)
   libfontconfig.so.1 => /usr/lib64/libfontconfig.so.1 (0x00007f2e944e9000)
   libz.so.1 => /usr/lib64/libz.so.1 (0x00007f2e944cd000)
   libzstd.so.1 => /usr/lib64/libzstd.so.1 (0x00007f2e94405000)
   libexpat.so.1 => /usr/lib64/libexpat.so.1 (0x00007f2e943dc000)
   libpng16.so.16 => /usr/lib64/libpng16.so.16 (0x00007f2e943a4000)
   libwebpdemux.so.2 => /usr/lib64/libwebpdemux.so.2 (0x00007f2e9439d000)
   libwebpmux.so.3 => /usr/lib64/libwebpmux.so.3 (0x00007f2e94390000)
   libwebp.so.7 => /usr/lib64/libwebp.so.7 (0x00007f2e9431d000)
   libfreetype.so.6 => /usr/lib64/libfreetype.so.6 (0x00007f2e94257000)
   libjpeg.so.62 => /usr/lib64/libjpeg.so.62 (0x00007f2e941b9000)
   libharfbuzz-subset.so.0 => /usr/lib64/libharfbuzz-subset.so.0 (0x00007f2e9404e000)
   libharfbuzz.so.0 => /usr/lib64/libharfbuzz.so.0 (0x00007f2e93f0f000)
   libopenh264.so.7 => /usr/lib64/libopenh264.so.7 (0x00007f2e93e11000)
   libm.so.6 => /lib64/libm.so.6 (0x00007f2e93d2a000)
   libX11.so.6 => /usr/lib64/libX11.so.6 (0x00007f2e93be3000)
   libXcomposite.so.1 => /usr/lib64/libXcomposite.so.1 (0x00007f2e93bde000)
   libXdamage.so.1 => /usr/lib64/libXdamage.so.1 (0x00007f2e93bd9000)
   libXext.so.6 => /usr/lib64/libXext.so.6 (0x00007f2e93bc4000)
   libXfixes.so.3 => /usr/lib64/libXfixes.so.3 (0x00007f2e93bbc000)
   libXrandr.so.2 => /usr/lib64/libXrandr.so.2 (0x00007f2e93bad000)
   libXtst.so.6 => /usr/lib64/libXtst.so.6 (0x00007f2e93ba5000)
   libgbm.so.1 => /usr/lib64/libgbm.so.1 (0x00007f2e93b9e000)
   libxcb.so.1 => /usr/lib64/libxcb.so.1 (0x00007f2e93b73000)
   libxkbcommon.so.0 => /usr/lib64/libxkbcommon.so.0 (0x00007f2e93b2b000)
   libffi.so.8 => /usr/lib64/libffi.so.8 (0x00007f2e93b1e000)
   libpango-1.0.so.0 => /usr/lib64/libpango-1.0.so.0 (0x00007f2e93ab4000)
   libcairo.so.2 => /usr/lib64/libcairo.so.2 (0x00007f2e93972000)
   libudev.so.1 => /usr/lib64/libudev.so.1 (0x00007f2e9392f000)
   libasound.so.2 => /usr/lib64/libasound.so.2 (0x00007f2e93842000)
   libpulse.so.0 => /usr/lib64/libpulse.so.0 (0x00007f2e937ec000)
   libFLAC.so.12 => /usr/lib64/libFLAC.so.12 (0x00007f2e93789000)
   libxml2.so.2 => /usr/lib64/libxml2.so.2 (0x00007f2e9362e000)
   libatspi.so.0 => /usr/lib64/libatspi.so.0 (0x00007f2e935f5000)
   libminizip.so.1 => /usr/lib64/libminizip.so.1 (0x00007f2e935e8000)
   libxslt.so.1 => /usr/lib64/libxslt.so.1 (0x00007f2e935a7000)
   libgcc_s.so.1 => /usr/lib/gcc/x86_64-pc-linux-gnu/14/libgcc_s.so.1 (0x00007f2e93579000)
   libc.so.6 => /lib64/libc.so.6 (0x00007f2e9338d000)
   /lib64/ld-linux-x86-64.so.2 (0x00007f2ea5309000)
   libpcre2-8.so.0 => /usr/lib64/libpcre2-8.so.0 (0x00007f2e932ed000)
   libplc4.so => /usr/lib64/libplc4.so (0x00007f2e932e6000)
   libplds4.so => /usr/lib64/libplds4.so (0x00007f2e932e1000)
   libgnutls.so.30 => /usr/lib64/libgnutls.so.30 (0x00007f2e930ce000)
   libgmodule-2.0.so.0 => /usr/lib64/libgmodule-2.0.so.0 (0x00007f2e930c7000)
   libmount.so.1 => /usr/lib64/libmount.so.1 (0x00007f2e93052000)
   libsharpyuv.so.0 => /usr/lib64/libsharpyuv.so.0 (0x00007f2e93049000)
   libbz2.so.1 => /usr/lib64/libbz2.so.1 (0x00007f2e93036000)
   libgraphite2.so.3 => /usr/lib64/libgraphite2.so.3 (0x00007f2e93011000)
   libstdc++.so.6 => /usr/lib/gcc/x86_64-pc-linux-gnu/14/libstdc++.so.6 (0x00007f2e92d9a000)
   libXrender.so.1 => /usr/lib64/libXrender.so.1 (0x00007f2e92d8b000)
   libdrm.so.2 => /usr/lib64/libdrm.so.2 (0x00007f2e92d74000)
   libXau.so.6 => /usr/lib64/libXau.so.6 (0x00007f2e92d6e000)
   libXdmcp.so.6 => /usr/lib64/libXdmcp.so.6 (0x00007f2e92d66000)
   libfribidi.so.0 => /usr/lib64/libfribidi.so.0 (0x00007f2e92d46000)
   libxcb-render.so.0 => /usr/lib64/libxcb-render.so.0 (0x00007f2e92d35000)
   libxcb-shm.so.0 => /usr/lib64/libxcb-shm.so.0 (0x00007f2e92d30000)
   libpixman-1.so.0 => /usr/lib64/libpixman-1.so.0 (0x00007f2e92c8a000)
   libcap.so.2 => /usr/lib64/libcap.so.2 (0x00007f2e92c7d000)
   libpulsecommon-17.0.so => /usr/lib64/pulseaudio/libpulsecommon-17.0.so (0x00007f2e92bf3000)
   libogg.so.0 => /usr/lib64/libogg.so.0 (0x00007f2e92be7000)
   libicui18n.so.76 => /usr/lib64/libicui18n.so.76 (0x00007f2e928ba000)
   libicuuc.so.76 => /usr/lib64/libicuuc.so.76 (0x00007f2e926bb000)
   libXi.so.6 => /usr/lib64/libXi.so.6 (0x00007f2e926a7000)
   libp11-kit.so.0 => /usr/lib64/libp11-kit.so.0 (0x00007f2e92543000)
   libidn2.so.0 => /usr/lib64/libidn2.so.0 (0x00007f2e9250e000)
   libunistring.so.5 => /usr/lib64/libunistring.so.5 (0x00007f2e9235b000)
   libtasn1.so.6 => /usr/lib64/libtasn1.so.6 (0x00007f2e92346000)
   libhogweed.so.6 => /usr/lib64/libhogweed.so.6 (0x00007f2e922f9000)
   libnettle.so.8 => /usr/lib64/libnettle.so.8 (0x00007f2e922a6000)
   libgmp.so.10 => /usr/lib64/libgmp.so.10 (0x00007f2e92200000)
   libblkid.so.1 => /usr/lib64/libblkid.so.1 (0x00007f2e921a2000)
   libsndfile.so.1 => /usr/lib64/libsndfile.so.1 (0x00007f2e92119000)
   libasyncns.so.0 => /usr/lib64/libasyncns.so.0 (0x00007f2e92113000)
   libicudata.so.76 => /usr/lib64/libicudata.so.76 (0x00007f2e902ae000)
   libvorbis.so.0 => /usr/lib64/libvorbis.so.0 (0x00007f2e9027f000)
   libvorbisenc.so.2 => /usr/lib64/libvorbisenc.so.2 (0x00007f2e901e7000)
   libopus.so.0 => /usr/lib64/libopus.so.0 (0x00007f2e90187000)
   libmpg123.so.0 => /usr/lib64/libmpg123.so.0 (0x00007f2e9013d000)
   libmp3lame.so.0 => /usr/lib64/libmp3lame.so.0 (0x00007f2e900c6000)


_________________
Without diversity there can be no evolution:)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum