Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 658738 - x11-misc/bumblebee-3.2.1_p20170123 with bridge=primus is not compatible with xorg-server-1.20.0
Summary: x11-misc/bumblebee-3.2.1_p20170123 with bridge=primus is not compatible with ...
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Adam Feldman
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-06-22 10:11 UTC by Anton Gubarkov
Modified: 2020-05-31 13:46 UTC (History)
7 users (show)

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


Attachments
xorg log (Xorg.8.log.old,14.40 KB, application/x-trash)
2018-06-22 10:11 UTC, Anton Gubarkov
Details
xorg log (Xorg.8.log,14.42 KB, text/x-log)
2018-06-29 20:04 UTC, Anton Gubarkov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Anton Gubarkov 2018-06-22 10:11:14 UTC
Created attachment 536770 [details]
xorg log

The whole thing doesn't work anymore. The X server is started but the application  segfaults.

I tested with steam game Civ V, glxspheres, glxinfo. 
I masked xorg-server-1.20.0 and did a @world refresh. Everything returned to normal.

I attach the Xorg.log for unsuccessful run.
Comment 1 Anton Gubarkov 2018-06-22 10:14:11 UTC
I understand that fixes for this must come from upstream. 
I suggest that bumblebee-3.2.1 should RDEPEND "<xorg-drivers-1.20"
Comment 2 Jonas Stein gentoo-dev 2018-06-28 19:33:16 UTC
"The whole thing doesn't work anymore." Does not help a lot.

Please recompile and *attach* the logfiles and 
paste the emerge info as described on
https://wiki.gentoo.org/wiki/Attach_the_logs_to_the_bug_ticket
Please reopen this ticket (Status:unconfirmed) afterwards.
Comment 3 Anton Gubarkov 2018-06-29 20:03:11 UTC
anton@r9-008cln ~/.local/share/xorg $ emerge --info xorg-server
Portage 2.3.41 (python 3.5.5-final-0, default/linux/amd64/17.0/desktop/gnome/systemd, gcc-7.3.0, glibc-2.27-r5, 4.16.13-gentoo-zfs x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-4.16.13-gentoo-zfs-x86_64-Intel-R-_Core-TM-_i7-4700MQ_CPU_@_2.40GHz-with-gentoo-2.6
KiB Mem:    16300428 total,   3107896 free
KiB Swap:   20971516 total,  20906848 free
Timestamp of repository gentoo: Fri, 29 Jun 2018 16:46:18 +0000
Head commit of repository gentoo: b1aa3a261d1aafb6ed96be814cb09a07f90fb170

sh bash 4.4_p23
ld GNU ld (Gentoo 2.30 p3) 2.30.0
app-shells/bash:          4.4_p23::gentoo
dev-java/java-config:     2.2.0-r4::gentoo
dev-lang/perl:            5.26.2::gentoo
dev-lang/python:          2.7.15::gentoo, 3.5.5-r1::gentoo, 3.6.5-r1::gentoo
dev-util/cmake:           3.11.4::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.6::gentoo
sys-apps/sandbox:         2.13::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69-r4::gentoo
sys-devel/automake:       1.11.6-r3::gentoo, 1.15.1-r2::gentoo, 1.16.1-r1::gentoo
sys-devel/binutils:       2.30-r3::gentoo
sys-devel/gcc:            5.4.0-r3::gentoo, 6.4.0-r1::gentoo, 7.3.0-r3::gentoo
sys-devel/gcc-config:     1.9.1::gentoo
sys-devel/libtool:        2.4.6-r5::gentoo
sys-devel/make:           4.2.1-r3::gentoo
sys-kernel/linux-headers: 4.17::gentoo (virtual/os-headers)
sys-libs/glibc:           2.27-r5::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/gentoo
    priority: -1000

rugubara
    location: /home/anton/devel/rugubara
    masters: gentoo
    priority: 0

bumblebee
    location: /var/lib/layman/bumblebee
    masters: gentoo
    priority: 50

cg
    location: /var/lib/layman/cg
    masters: gentoo
    priority: 50

dlang
    location: /var/lib/layman/dlang
    sync-type: laymansync
    sync-uri: https://github.com/gentoo/dlang.git
    masters: gentoo
    priority: 50

eclipse
    location: /var/lib/layman/eclipse
    masters: gentoo
    priority: 50

jorgicio
    location: /var/lib/layman/jorgicio
    masters: gentoo
    priority: 50

kde
    location: /var/lib/layman/kde
    masters: gentoo
    priority: 50

proaudio
    location: /var/lib/layman/pro-audio
    masters: gentoo
    priority: 50

sabayon
    location: /var/lib/layman/sabayon
    masters: gentoo
    priority: 50

steam-overlay
    location: /var/lib/layman/steam
    masters: gentoo
    priority: 50

sunrise
    location: /var/lib/layman/sunrise
    masters: gentoo
    priority: 50

tlp
    location: /var/lib/layman/tlp
    masters: gentoo
    priority: 50

x11
    location: /var/lib/layman/x11
    masters: gentoo
    priority: 50

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=haswell -mmmx -msse -msse2 -msse3 -mssse3 -mcx16 -msahf -mmovbe -maes -mpclmul -mpopcnt -mabm -mfma -mbmi -mbmi2 -mavx -mavx2 -msse4.2 -msse4.1 -mlzcnt -mrdrnd -mf16c -mfsgsbase -mfxsr -mxsave -mxsaveopt --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=6144 -mtune=haswell -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"
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 -pipe -march=haswell -mmmx -msse -msse2 -msse3 -mssse3 -mcx16 -msahf -mmovbe -maes -mpclmul -mpopcnt -mabm -mfma -mbmi -mbmi2 -mavx -mavx2 -msse4.2 -msse4.1 -mlzcnt -mrdrnd -mf16c -mfsgsbase -mfxsr -mxsave -mxsaveopt --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=6144 -mtune=haswell -fstack-protector-strong"
DISTDIR="/usr/portage/distfiles"
ENV_UNSET="DBUS_SESSION_BUS_ADDRESS DISPLAY 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-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync multilib-strict news parallel-fetch preserve-libs protect-owned 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="ru_RU.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en ru"
MAKEOPTS="-j6"
PKGDIR="/usr/portage/etersoft"
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 aes alsa amd64 archive avahi avx avx2 bash-completion berkdb bluetooth bluray branding bzip2 cacert cairo cdda cdr cli cloudprint colord crypt cups cxx cycles dbus dhcpcd djvu dri dri3 dts dvd dvdr eds egl emboss encode equalizer evdev evo exif extras faac fam ffmpeg fftw flac fma3 fortran fprint frei0r g711 g722 g7221 gbm gdbm gif gimp gnome gnome-keyring gnome-online-accounts gpm gstreamer gtk gtk3 http iconv idn ieee1394 introspection ipv6 jack javafx jpeg jpeg2k kms lcms ldap libnotify libsecret libtirpc linguas_en linguas_ru lv2 lxc mad midi mmx mmxext mng modules mp3 mp4 mpeg mtp multilib native-headset nautilus ncurses networkmanager nls nptl nsplugin nvenc ogg opengl openimageio openmp opus overlay pam pango pcre pdf png policykit popcnt postproc ppds pulseaudio qt3support qt5 rar raw readline realtime samba sdl sdl2 seccomp sendto sftp smp speex spell sse sse2 sse3 sse4_1 sse4_2 ssl ssse3 startup-notification steamruntime svg sync-plugin-portage systemd tcpd theora threads tiff tracker truetype udev udisks unicode upower usb user-session v4l vaapi vdpau virgl vlc vnc vorbis vpx vulkan wavpack wayland winbind wxwidgets x264 x265 xa xattr xcb xinerama xml xv xvid xvmc zeroconf zlib" ABI_X86="64" 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" APACHE2_MPMS="prefork" CALLIGRA_FEATURES="karbon plan sheets stage words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx avx2 fma3 mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" CURL_SSL="gnutls" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="multiboot efi-64 pc" INPUT_DEVICES="libinput" KERNEL="linux" L10N="en ru en_GB" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="nlpsolver" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6 php7-0" POSTGRES_TARGETS="postgres9_5 postgres10" PYTHON_SINGLE_TARGET="python3_5" PYTHON_TARGETS="python2_7 python3_5" RUBY_TARGETS="ruby24 ruby23 ruby25" USERLAND="GNU" VIDEO_CARDS="intel i965 nvidia" XFCE_PLUGINS="brightness clock trash battery power" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

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

x11-base/xorg-server-1.20.0::gentoo was built with the following:
USE="glamor ipv6 systemd udev wayland xorg -debug -dmx -doc -kdrive -libressl -minimal (-selinux) -static-libs -unwind -xcsecurity -xephyr -xnest -xvfb" ABI_X86="(64)"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-z,lazy"
Comment 4 Anton Gubarkov 2018-06-29 20:04:59 UTC
Created attachment 537804 [details]
xorg log
Comment 5 Anton Gubarkov 2018-06-29 20:07:24 UTC
I'm lost at what logs I need to attach. The package(s) related to xorg-server-1.20.0 were built successfully - thus portage has cleaned up the logs.

Here is the debug output from optirun:

anton@r9-008cln ~/.local/share/xorg $ optirun -vvv glxspheres64
[509287.066907] [DEBUG]Reading file: /etc/bumblebee/bumblebee.conf
[509287.067055] [INFO]Configured driver: nvidia
[509287.067167] [DEBUG]optirun version 3.2.1-2016-11-07-Format:%h$ starting...
[509287.067173] [DEBUG]Active configuration:
[509287.067176] [DEBUG] bumblebeed config file: /etc/bumblebee/bumblebee.conf
[509287.067181] [DEBUG] X display: :8
[509287.067183] [DEBUG] LD_LIBRARY_PATH: /usr/lib64/opengl/nvidia/lib:/usr/lib32/opengl/nvidia/lib:/usr/lib/opengl/nvidia/lib
[509287.067186] [DEBUG] Socket path: /var/run/bumblebee.socket
[509287.067189] [DEBUG] Accel/display bridge: primus
[509287.067191] [DEBUG] VGL Compression: proxy
[509287.067194] [DEBUG] VGLrun extra options:
[509287.067197] [DEBUG] Primus LD Path: /usr/lib64/primus:/usr/lib32/primus
[509287.424171] [INFO]Response: Yes. X is active.

[509287.424185] [INFO]Running application using primus.
[509287.424293] [DEBUG]Process glxspheres64 started, PID 22857.
Polygons in scene: 62464 (61 spheres * 1024 polys/spheres)
Visual ID of window: 0x11e
Context is Direct
OpenGL Renderer: GeForce GT 730M/PCIe/SSE2
[509287.829471] [DEBUG]SIGCHILD received, but wait failed with No child processes
[509287.829494] [DEBUG]Socket closed.
[509287.829509] [DEBUG]Killing all remaining processes.
Comment 6 Anton Gubarkov 2018-06-29 20:11:00 UTC
optirun -b virtualgl runs ok.
Comment 7 Marco Genasci 2018-07-12 16:38:48 UTC
Also with
$ PRIMUS_UPLOAD=2 primusrun glxgears
works fine.

Reference
https://github.com/amonakov/primus/issues/201
Comment 8 Pacho Ramos gentoo-dev 2020-05-22 22:31:19 UTC
As I read in the bug report, this was fixed in mesa side
Comment 9 Pacho Ramos gentoo-dev 2020-05-31 13:46:06 UTC
please recheck with a fully updated system