Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Libreoffice broken
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
Ralphred
Guru
Guru


Joined: 31 Dec 2013
Posts: 501

PostPosted: Sat Jul 17, 2021 5:11 am    Post subject: Libreoffice broken Reply with quote

I'm seeing very odd and broken behaviour from Libreoffice.
On startup, from any source (open a valid mime type, running from terminal or desktop menu), it pushes my GPU usage to 100% (specifically the shader interpolator) and wattage up to around 110.
The usage stays even after killing the program and X refuses to shutdown.
The only way to get a clean shutdown is to switch to a VT console before trying to shut down X, initiate a reboot, then wait for the drives to be unmounted before doing a hardware reset.
I've tried both the -bin and source versions, and both stable and testing source versions.
emerge --info libreoffice:
Portage 3.0.20 (python 3.9.5-final-0, default/linux/amd64/17.1/desktop/plasma, gcc-10.3.0, glibc-2.33-r1, 5.12.9-gentoo x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-5.12.9-gentoo-x86_64-AMD_Ryzen_5_2600X_Six-Core_Processor-with-glibc2.33
KiB Mem:    16375428 total,   8270768 free
KiB Swap:   16777212 total,  16023548 free
Timestamp of repository gentoo: Fri, 16 Jul 2021 22:52:55 +0000
Head commit of repository gentoo: 85b537ae32ba90350cc04ecc3cb4d5874318f791

sh bash 5.1_p8
ld GNU ld (Gentoo 2.35.2 p1) 2.35.2
distcc 3.4 x86_64-pc-linux-gnu [disabled]
app-shells/bash:          5.1_p8::gentoo
dev-java/java-config:     2.3.1::gentoo
dev-lang/perl:            5.32.1::gentoo
dev-lang/python:          2.7.18_p10::gentoo, 3.8.10_p2::gentoo, 3.9.5_p2::gentoo
dev-lang/rust:            1.52.1::gentoo
dev-util/cmake:           3.18.5::gentoo
sys-apps/baselayout:      2.7::gentoo
sys-apps/openrc:          0.42.1-r1::gentoo
sys-apps/sandbox:         2.24::gentoo
sys-devel/autoconf:       2.13-r1::gentoo, 2.69-r5::gentoo
sys-devel/automake:       1.16.3-r1::gentoo
sys-devel/binutils:       2.35.2::gentoo
sys-devel/gcc:            10.3.0::gentoo
sys-devel/gcc-config:     2.4::gentoo
sys-devel/libtool:        2.4.6-r6::gentoo
sys-devel/make:           4.3::gentoo
sys-kernel/linux-headers: 5.10::gentoo (virtual/os-headers)
sys-libs/glibc:           2.33-r1::gentoo
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=znver1 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/themes/oxygen-gtk/gtk-2.0 /usr/share/themes/oxygen-gtk/gtk-3.0"
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"
CXXFLAGS="-O2 -march=znver1 -pipe"
DISTDIR="/var/cache/distfiles"
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY 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"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs 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"
LANG="en_GB.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j13"
PKGDIR="/var/cache/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="/var/tmp"
USE="X \ a52 aac acl acpi activities adb alsa amd64 berkdb bluetooth branding bzip2 cairo caps cdda cdr cli crypt cups cxx d3d9 dbus declarative dri dts dvd dvdr elogind emboss encode exif fam flac fortran gdbm gif glamor gles2 gpm gstreamer gtk gui huseflag iconv icu ipv6 jack jpeg kde kdenlive kipi kwallet lcms libglvnd libnotify libsamplerate libtirpc mad mariadb mbox mng modules mount mp3 mp4 mpeg mtp multilib ncurses nls nptl ogg opencl opengl openmp opus pam pango pcre pdf phonon plasma png policykit ppds pulseaudio qml qt3support qt5 readline sdl seccomp semantic-desktop spell split-usr sqlite ssl staging startup-notification steamruntime tcpd theora tiff truetype udev udisks unicode upower usb vdpau vorbis vulkan wayland widevine widgets wxwidgets x264 x265 xattr xcb xcomposite xinerama xml xv xvid yuseflag zlib" ABI_X86="64" ADA_TARGET="gnat_2018" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" 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 sse4a 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="libinput keyboard mouse" KERNEL="linux" L10N="en en-GB" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LLVM_TARGETS="AMDGPU X86 BPF" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-3 php7-4" POSTGRES_TARGETS="postgres10 postgres11" PYTHON_SINGLE_TARGET="python3_9" PYTHON_TARGETS="python3_9" QEMU_SOFTMMU_TARGETS="x86_64 aarch64" QEMU_USER_TARGETS="x86_64 aarch64" RUBY_TARGETS="ruby26" USERLAND="GNU" VIDEO_CARDS="amdgpu radeonsi radeon" 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:  CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, RUSTFLAGS

=================================================================
                        Package Settings
=================================================================

app-office/libreoffice-7.1.4.2::gentoo was built with the following:
USE="bluetooth branding cups dbus gstreamer gtk kde mariadb pdfimport vulkan -accessibility -base -clang -coinmp -custom-cflags -debug -eds -firebird -googledrive -java -ldap -odk -postgres -test" ABI_X86="(64)" LIBREOFFICE_EXTENSIONS="-nlpsolver -scripting-beanshell -scripting-javascript -wiki-publisher" PYTHON_SINGLE_TARGET="python3_9 -python3_8"
FEATURES="sandbox distlocks binpkg-dostrip strict config-protect-if-modified merge-sync network-sandbox ipc-sandbox userfetch userpriv protect-owned assume-digests unknown-features-warn ebuild-locks unmerge-logs usersync qa-unresolved-soname-deps fixlafiles pid-sandbox xattr preserve-libs binpkg-logs sfperms usersandbox multilib-strict unmerge-orphans news binpkg-docompress parallel-fetch"
Back to top
View user's profile Send private message
Jaglover
Watchman
Watchman


Joined: 29 May 2005
Posts: 8291
Location: Saint Amant, Acadiana

PostPosted: Sat Jul 17, 2021 3:48 pm    Post subject: Reply with quote

What have you tried. I'd try and disable vulkan. Does -bin also come with vulkan enabled?
_________________
My Gentoo installation notes.
Please learn how to denote units correctly!
Back to top
View user's profile Send private message
Ralphred
Guru
Guru


Joined: 31 Dec 2013
Posts: 501

PostPosted: Sat Jul 17, 2021 4:38 pm    Post subject: Reply with quote

Jaglover wrote:
What have you tried.

Just standard stuff, blank 'testuser' to exclude existing config problems, running in a bare Xsession to exclude DE factors.
There was a lot of gtk stuff in the wrapper files so 'testuser' was to work around any gtkrc issues too.

I'm compiling without vulkan now, I was so "WTF, this looks like a coin-miner" it threw me a bit off kilter, along with concerns about hard rebooting with drives spinning, USE="vulkan" went totally over my head.
I'll report back in 45 minutes :P

EDIT: I turned off everything apart from kde and pdfimport, now I get the exact same behaviour only with an ugly splash instead of a pretty gentoo one.
I've had to install Calligra as a stand in. I might try and find an OO ebuild later, or an older version of Libreoffice.
I can't help but think this is GTK related, somehow, but as a QT guy don't really know where to start looking, what's the GTK equivalent of qtopengl, cairo is in my head for some reason but I'm just not sure why.
Back to top
View user's profile Send private message
mike155
Advocate
Advocate


Joined: 17 Sep 2010
Posts: 4438
Location: Frankfurt, Germany

PostPosted: Sat Jul 17, 2021 9:04 pm    Post subject: Reply with quote

Do you start LibreOffice in Wayland mode? Or in X mode?

If you start it in Wayland mode: try to start it in X mode:
Code:
WAYLAND_DISPLAY='' /usr/bin/libreoffice --nologo
Back to top
View user's profile Send private message
Ralphred
Guru
Guru


Joined: 31 Dec 2013
Posts: 501

PostPosted: Sun Jul 18, 2021 1:13 pm    Post subject: Reply with quote

Originally just in X mode (export|grep WAY returned nothing).
But I've tried it in both modes now (in a 'Wayland' session for Wayland), same result.
In my mind this removes X and Wayland from the suspect list.
I'm off to try an older kernel, to remove amdgpu from that list. I swear this machine has never been rebooted so often since I started running windows in a VM.

EDIT: Older kernel/firmware didn't work, as much as I don't want to, off to downgrade mesa from ~ to stable.
Back to top
View user's profile Send private message
figueroa
Advocate
Advocate


Joined: 14 Aug 2005
Posts: 2963
Location: Edge of marsh USA

PostPosted: Sun Jul 18, 2021 4:16 pm    Post subject: Reply with quote

If it's any help, virtualbox is working well here, under X with OpenBox:
Code:
$ emerge --info virtualbox
Portage 3.0.20 (python 3.9.5-final-0, default/linux/amd64/17.1/desktop, gcc-10.3.0, glibc-2.33-r1, 5.4.131-gentoo x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-5.4.131-gentoo-x86_64-Intel-R-_Core-TM-_i7-2600_CPU_@_3.40GHz-with-glibc2.33
KiB Mem:    16380148 total,   4753356 free
KiB Swap:    8919764 total,   8917448 free
Timestamp of repository gentoo: Sun, 18 Jul 2021 10:00:01 +0000
Head commit of repository gentoo: de5530983b6c1e7fa9bbaade0d924671123c1466
sh bash 5.1_p8
ld GNU ld (Gentoo 2.35.2 p1) 2.35.2
app-shells/bash:          5.1_p8::gentoo
dev-lang/perl:            5.32.1::gentoo
dev-lang/python:          3.9.5_p2::gentoo
dev-lang/rust-bin:        1.52.1::gentoo
dev-util/cmake:           3.18.5::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.7::gentoo
sys-apps/openrc:          0.42.1-r1::gentoo
sys-apps/sandbox:         2.24::gentoo
sys-devel/autoconf:       2.13-r1::gentoo, 2.69-r5::gentoo
sys-devel/automake:       1.13.4-r2::gentoo, 1.16.3-r1::gentoo
sys-devel/binutils:       2.35.2::gentoo
sys-devel/gcc:            10.3.0-r2::gentoo
sys-devel/gcc-config:     2.4::gentoo
sys-devel/libtool:        2.4.6-r6::gentoo
sys-devel/make:           4.3::gentoo
sys-kernel/linux-headers: 5.10::gentoo (virtual/os-headers)
sys-libs/glibc:           2.33-r1::gentoo
Repositories:

gentoo
    location: /var/db/repos/gentoo
    sync-type: rsync
    sync-uri: rsync://192.168.0.105/gentoo-portage
    priority: -1000
    sync-rsync-verify-max-age: 24
    sync-rsync-verify-metamanifest: yes
    sync-rsync-extra-opts:
    sync-rsync-verify-jobs: 1

bethel
    location: /var/db/repos/localrepo
    masters: gentoo
    priority: 0

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=native -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /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/php/apache2-php7.4/ext-active/ /etc/php/cgi-php7.4/ext-active/ /etc/php/cli-php7.4/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -march=native -pipe"
DISTDIR="/var/cache/distfiles"
EMERGE_DEFAULT_OPTS=" --autounmask=n"
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY 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"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs 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://gentoo.osuosl.org/ http://mirrors.rit.edu/gentoo/ https://gentoo.osuosl.org/ https://mirrors.rit.edu/gentoo/ http://gentoo.mirrors.easynews.com/linux/gentoo/"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en_US en"
MAKEOPTS="-j9"
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"
USE="X a52 aac acl acpi alsa amd64 apache2 branding bzip2 cairo cdda cdr cli crypt cups dbus directfb dri dts dv dvd dvdr elogind emboss encode exif flac fortran gdbm gif gimp gpm gtk gui iconv icu ipv6 jpeg lcms libglvnd libnotify libtirpc linguas_en linguas_en_US live mad mng mozilla mp3 mp4 mpeg mplayer multilib nas ncurses nls nptl ogg opengl openmp oss pam pango pcre pdf png policykit postscript ppds qt5 readline rtc scanner sdl seccomp spell split-usr ssl startup-notification subtitles svg tcpd tiff truetype udev udisks unicode upower usb v4l vorbis wxwidgets x264 xattr xcb xine xml xscreensaver xv xvid zlib" ABI_X86="64" ADA_TARGET="gnat_2018" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi dav dav_fs dav_lock dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias slotmem_shm authn_core authz_core unixd socache_shmcb lbmethod_byrequests lbmethod_bytraffic lbmethod_bybusyness lbmethod_heartbeat" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx 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 libinput" KERNEL="linux" L10N="en_US en" 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="php7-4" POSTGRES_TARGETS="postgres10 postgres11" PYTHON_SINGLE_TARGET="python3_9" PYTHON_TARGETS="python3_9" RUBY_TARGETS="ruby26" USERLAND="GNU" VIDEO_CARDS="radeon modesetting ati" 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:  CC, CPPFLAGS, CTARGET, CXX, INSTALL_MASK, LC_ALL, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, RUSTFLAGS

=================================================================
                        Package Settings
=================================================================

app-emulation/virtualbox-6.1.20-r1::gentoo was built with the following:
USE="alsa opengl opus pam qt5 sdk udev -debug -doc -dtrace -headless -java -lvm -pax-kernel -pulseaudio -python -vboxwebsrv -vnc" ABI_X86="(64)" PYTHON_SINGLE_TARGET="python3_9 -python3_8"

_________________
Andy Figueroa
hp pavilion hpe h8-1260t/2AB5; spinning rust x3
i7-2600 @ 3.40GHz; 16 gb; Radeon HD 7570
amd64/23.0/split-usr/desktop (stable), OpenRC, -systemd -pulseaudio -uefi
Back to top
View user's profile Send private message
mv
Watchman
Watchman


Joined: 20 Apr 2005
Posts: 6747

PostPosted: Sun Jul 18, 2021 4:27 pm    Post subject: Reply with quote

Ralphred wrote:
Originally just in X mode (export|grep WAY returned nothing).

grep -i WAY is needed...
Back to top
View user's profile Send private message
Ralphred
Guru
Guru


Joined: 31 Dec 2013
Posts: 501

PostPosted: Sun Jul 18, 2021 4:50 pm    Post subject: Reply with quote

Still returns nothing.
I'm compiling mesa-21.1.5 right now. My whole plan of only using =cat/pkg-vers in accept_keywords worked perfectly, and the ~version of mesa I needed when I set ~ has fallen out of use, so I had to knock up a 21.1.5 local ebuild.

The biggest problem I have diagnosing this is I so rarely use the spreadsheet software, and never use the others parts really, there is no way of telling when it broke, so the potential breaker list grows with every update back to Jan 2020 (the last time I know I saved a spreadsheet from a working program)
figueroa wrote:
If it's any help, virtualbox is working well here, under X with OpenBox:

I don't know if you got the wrong end of the stick, or are telling me to run it in a windows VM, but yeah, VM is a definite possibility at this stage, or maybe just wine...

Oh, this is really interesting, while waiting for mesa to compile I dl'd a win64 version and installed it in wine. It behaves exactly the same way, 100% GPU usage that continues even when wine is dead. I'm amused and annoyed at the same time...
Back to top
View user's profile Send private message
figueroa
Advocate
Advocate


Joined: 14 Aug 2005
Posts: 2963
Location: Edge of marsh USA

PostPosted: Sun Jul 18, 2021 6:32 pm    Post subject: Reply with quote

Sorry, @Ralphred. I've had VirtualBox on my brain. Here is is for LibreOffice: :oops:
Code:
$ emerge --info libreoffice
Portage 3.0.20 (python 3.9.5-final-0, default/linux/amd64/17.1/desktop, gcc-10.3.0, glibc-2.33-r1, 5.4.131-gentoo x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-5.4.131-gentoo-x86_64-Intel-R-_Core-TM-_i7-2600_CPU_@_3.40GHz-with-glibc2.33
KiB Mem:    16380148 total,   7448192 free
KiB Swap:    8919764 total,   8917448 free
Timestamp of repository gentoo: Sun, 18 Jul 2021 10:00:01 +0000
Head commit of repository gentoo: de5530983b6c1e7fa9bbaade0d924671123c1466
sh bash 5.1_p8
ld GNU ld (Gentoo 2.35.2 p1) 2.35.2
app-shells/bash:          5.1_p8::gentoo
dev-lang/perl:            5.32.1::gentoo
dev-lang/python:          3.9.5_p2::gentoo
dev-lang/rust-bin:        1.52.1::gentoo
dev-util/cmake:           3.18.5::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.7::gentoo
sys-apps/openrc:          0.42.1-r1::gentoo
sys-apps/sandbox:         2.24::gentoo
sys-devel/autoconf:       2.13-r1::gentoo, 2.69-r5::gentoo
sys-devel/automake:       1.13.4-r2::gentoo, 1.16.3-r1::gentoo
sys-devel/binutils:       2.35.2::gentoo
sys-devel/gcc:            10.3.0-r2::gentoo
sys-devel/gcc-config:     2.4::gentoo
sys-devel/libtool:        2.4.6-r6::gentoo
sys-devel/make:           4.3::gentoo
sys-kernel/linux-headers: 5.10::gentoo (virtual/os-headers)
sys-libs/glibc:           2.33-r1::gentoo
Repositories:

gentoo
    location: /var/db/repos/gentoo
    sync-type: rsync
    sync-uri: rsync://192.168.0.105/gentoo-portage
    priority: -1000
    sync-rsync-verify-metamanifest: yes
    sync-rsync-extra-opts:
    sync-rsync-verify-max-age: 24
    sync-rsync-verify-jobs: 1

bethel
    location: /var/db/repos/localrepo
    masters: gentoo
    priority: 0

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=native -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /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/php/apache2-php7.4/ext-active/ /etc/php/cgi-php7.4/ext-active/ /etc/php/cli-php7.4/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -march=native -pipe"
DISTDIR="/var/cache/distfiles"
EMERGE_DEFAULT_OPTS=" --autounmask=n"
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY 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"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs 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://gentoo.osuosl.org/ http://mirrors.rit.edu/gentoo/ https://gentoo.osuosl.org/ https://mirrors.rit.edu/gentoo/ http://gentoo.mirrors.easynews.com/linux/gentoo/"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en_US en"
MAKEOPTS="-j9"
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"
USE="X a52 aac acl acpi alsa amd64 apache2 branding bzip2 cairo cdda cdr cli crypt cups dbus directfb dri dts dv dvd dvdr elogind emboss encode exif flac fortran gdbm gif gimp gpm gtk gui iconv icu ipv6 jpeg lcms libglvnd libnotify libtirpc linguas_en linguas_en_US live mad mng mozilla mp3 mp4 mpeg mplayer multilib nas ncurses nls nptl ogg opengl openmp oss pam pango pcre pdf png policykit postscript ppds qt5 readline rtc scanner sdl seccomp spell split-usr ssl startup-notification subtitles svg tcpd tiff truetype udev udisks unicode upower usb v4l vorbis wxwidgets x264 xattr xcb xine xml xscreensaver xv xvid zlib" ABI_X86="64" ADA_TARGET="gnat_2018" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi dav dav_fs dav_lock dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias slotmem_shm authn_core authz_core unixd socache_shmcb lbmethod_byrequests lbmethod_bytraffic lbmethod_bybusyness lbmethod_heartbeat" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx 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 libinput" KERNEL="linux" L10N="en_US en" 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="php7-4" POSTGRES_TARGETS="postgres10 postgres11" PYTHON_SINGLE_TARGET="python3_9" PYTHON_TARGETS="python3_9" RUBY_TARGETS="ruby26" USERLAND="GNU" VIDEO_CARDS="radeon modesetting ati" 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:  CC, CPPFLAGS, CTARGET, CXX, INSTALL_MASK, LC_ALL, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, RUSTFLAGS

=================================================================
                        Package Settings
=================================================================

app-office/libreoffice-7.1.3.2::gentoo was built with the following:
USE="branding cups dbus gtk mariadb pdfimport -accessibility (-base) -bluetooth -clang (-coinmp) -custom-cflags -debug -eds (-firebird) -googledrive -gstreamer -java -kde -ldap -odk -postgres -test -vulkan" ABI_X86="(64)" LIBREOFFICE_EXTENSIONS="-nlpsolver -scripting-beanshell -scripting-javascript -wiki-publisher" PYTHON_SINGLE_TARGET="python3_9 -python3_8"
FEATURES="news sfperms binpkg-dostrip usersync merge-sync usersandbox multilib-strict distlocks ebuild-locks parallel-fetch protect-owned qa-unresolved-soname-deps unmerge-logs userpriv binpkg-logs strict userfetch config-protect-if-modified unmerge-orphans xattr ipc-sandbox assume-digests sandbox binpkg-docompress fixlafiles unknown-features-warn network-sandbox preserve-libs pid-sandbox"

_________________
Andy Figueroa
hp pavilion hpe h8-1260t/2AB5; spinning rust x3
i7-2600 @ 3.40GHz; 16 gb; Radeon HD 7570
amd64/23.0/split-usr/desktop (stable), OpenRC, -systemd -pulseaudio -uefi
Back to top
View user's profile Send private message
Ralphred
Guru
Guru


Joined: 31 Dec 2013
Posts: 501

PostPosted: Sun Jul 18, 2021 6:52 pm    Post subject: Reply with quote

figueroa wrote:
:oops:

Not at all Andy, finding out that it still breaks when run in wine just cut down on the focus of the investigation considerably, a happy accident :)

The list continues, currently broken with:
  • Old kernel (5.9.x)
  • Current kernel (5.10.27?)
  • New Kernel (5.13.2)
  • Current mesa (21.1.4)
  • New mesa (21.1.5)
  • With/without wayland
  • With/without vulkan.


The 6.x version I can get a -bin version of has dependency issues, and 7.0.6 doesn't configure without ebuild tinkering (a job for later if the windows 7.0.6 version doesn't break in wine)

LLVM *was* on my suspect list, but version 11 is being pulled in by mesa-20.x, which is currently compiling, so this will be interesting...
Back to top
View user's profile Send private message
figueroa
Advocate
Advocate


Joined: 14 Aug 2005
Posts: 2963
Location: Edge of marsh USA

PostPosted: Sun Jul 18, 2021 7:04 pm    Post subject: Reply with quote

You can get an official appimage here: https://www.libreoffice.org/download/appimage/

ADDED: On a flash drive I have multiple (now 3) versions of LibreOffice appimage, two versions of OnlyOffice desktop editor appimage, and a portable version of FreeOffice (from an MX-Linux-18.3 installation), all that work well and that together only occupy @ 1.6 GB.

Below is my README.TXT I maintain on that flash drive (yes, the flash drive is also backed up):

OnlyOffice:
https://www.onlyoffice.com/en/download-desktop.aspx

LibreOffice:
https://www.libreoffice.org/download/appimage/

FreeOffice:
https://www.freeoffice.com/en/
https://www.freeoffice.com/en/tips-and-tricks-portable-installation

FreeOffice for Linux can also be installed on a USB flash drive. Here's how it works:

Install FreeOffice on the built-in hard drive of your Linux PC. This lets you work with FreeOffice as usual, even without a USB flash drive.
Create a folder on the USB flash drive and copy the entire contents of the FreeOffice application folder (usually /usr/share/freeoffice2018) to this folder:

mkdir /media/disk/freeoffice (replace /media/disk with the path of your USB flash drive)
cd /usr/share/freeoffice2018
cp -Rv * /media/disk/freeoffice (replace /media/disk with the path of your USB flash drive)

In the new folder on the USB flash drive, create a file with the name portable.txt. Its content is irrelevant:

cd /media/disk/freeoffice (replace /media/disk with the path of your USB flash drive)
touch portable.txt

The portable.txt file is just a "marker file" that informs FreeOffice that it should run in portable mode and not leave any configuration files on the host operating system.

Launch TextMaker:

textmaker

TextMaker then creates the folder /media/disk/freeoffice/SoftMaker for your documents, templates and settings. Next, TextMaker copies its default document templates and configuration files into this folder. Once the installation is complete, TextMaker starts.

If you want, you can now copy additional documents and templates to the flash drive. Put documents in /media/disk/freeoffice/SoftMaker and templates in /media/disk/freeoffice/SoftMaker/Templates 2018.

To launch one of the programs, open the FreeOffice folder on the USB flash drive and double-click on the program you want to launch.


I use symlinks and shell scripts on the flash drive to make the applications easy to access from the flash drive's root directory. For example, to run FreeOffice's PlanMaker, I have an executable script named PlanMaker that contains:
Code:
#!/bin/sh
cd freeoffice
exec ./planmaker


The truth is, I don't really USE these, it was just a nifty project to undertake and then to have in an emergency.
_________________
Andy Figueroa
hp pavilion hpe h8-1260t/2AB5; spinning rust x3
i7-2600 @ 3.40GHz; 16 gb; Radeon HD 7570
amd64/23.0/split-usr/desktop (stable), OpenRC, -systemd -pulseaudio -uefi
Back to top
View user's profile Send private message
mike155
Advocate
Advocate


Joined: 17 Sep 2010
Posts: 4438
Location: Frankfurt, Germany

PostPosted: Sun Jul 18, 2021 8:24 pm    Post subject: Reply with quote

@Ralphred: I see two lines in your output of 'emerge --info' that could lead to trouble:
Code:
distcc 3.4 x86_64-pc-linux-gnu [disabled]

I have seen multiple threads in this forum where distcc caused strange problems.
Code:
KiB Mem: 16375428 total
MAKEOPTS="-j13"

Those entries don't match. Huge packages written in C++ or Rust need up to 2 GB RAM per job. "-j13" is probably too much for 16 GB of RAM.

I must admit that the most common issues people experience when they configure too many jobs are extensive swapping, long emerge times and OOM killer errors. But who knows what else can happen...
Back to top
View user's profile Send private message
Ralphred
Guru
Guru


Joined: 31 Dec 2013
Posts: 501

PostPosted: Sun Jul 18, 2021 8:28 pm    Post subject: Reply with quote

figueroa wrote:
You can get an official appimage here: https://www.libreoffice.org/download/appimage/

Ahh, these are great, saved a lot of time on compiling.
I d/l'd 6 various version from 5.4x - 7.1x and they all fail in the same way.

So I've tried regressing/progressing the following packages, all to no avail: mesa, kernel, llvm, libreoffice. I've tried icedtea-bin and openjdk-bin (I'm gonna test them with minecraft in a minute).

I'm running out of places to look :roll:
Back to top
View user's profile Send private message
figueroa
Advocate
Advocate


Joined: 14 Aug 2005
Posts: 2963
Location: Edge of marsh USA

PostPosted: Sun Jul 18, 2021 8:54 pm    Post subject: Reply with quote

Maybe you have some horrible hardware problem. Swap video cards?
_________________
Andy Figueroa
hp pavilion hpe h8-1260t/2AB5; spinning rust x3
i7-2600 @ 3.40GHz; 16 gb; Radeon HD 7570
amd64/23.0/split-usr/desktop (stable), OpenRC, -systemd -pulseaudio -uefi
Back to top
View user's profile Send private message
Ralphred
Guru
Guru


Joined: 31 Dec 2013
Posts: 501

PostPosted: Sun Jul 18, 2021 9:06 pm    Post subject: Reply with quote

mike155 wrote:
@Ralphred: I see two lines in your output of 'emerge --info' that could lead to trouble:
Code:
distcc 3.4 x86_64-pc-linux-gnu [disabled]

I have seen multiple threads in this forum where distcc caused strange problems.
Distcc is disabled on this machine, it's just a host
Code:
KiB Mem: 16375428 total
MAKEOPTS="-j13"

Those entries don't match.[/quote]
Anything that uses for than 16gig combined disk/ram space is taken care of in package.env/* as /var/tmp/portage is a ramdisk. Some build in a different location, some use less threads. Anytime there is more than 4g of swap in use I get a desktop notification, it's odd most stuff builds faster on tmpfs even with swapping than on an HDD, but I really shouldn't use swap like that as it's nvram, kinda defeats the object of using tmpfs in the first place. Mind you, I can always shrink my storage partition and create a new swap partition on the end if this one dies, still better than killing a whole nvme with /var/tmp/portage technically free to write anywhere on the root partition.

Anyway, the pre-compiled stuff fails too, all of it. Minecraft is fine in both JVM's so the java vector is OK for now. I'm going to uninstall libreoffice and keep some of the .appimages around just in case someone comes up with good ideas for further tests.
Right now, if layman doesn't moan at me I might send a pull-req for the mesa-21.1.5.ebuild, then I'm going to --depclean, play some games and come to terms with Calligra's UI.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo 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