Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 607300 - x11-misc/bumblebee-3.2.1_p20170123 crash with kdenlive : QXcbIntegration: Cannot create platform OpenGL context, neither GLX nor EGL are enabled
Summary: x11-misc/bumblebee-3.2.1_p20170123 crash with kdenlive : QXcbIntegration: Can...
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Adam Feldman
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-01-26 12:59 UTC by tman
Modified: 2020-06-04 20:24 UTC (History)
3 users (show)

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


Attachments
glxinfo (glxinfo.txt,24.89 KB, text/plain)
2017-02-08 20:23 UTC, tman
Details
optirun_glxinfo (optirun_glxinfo.txt,47.11 KB, text/plain)
2017-02-08 20:23 UTC, tman
Details

Note You need to log in before you can comment on or make changes to this bug.
Description tman 2017-01-26 12:59:22 UTC
$ optirun kdenlive
QXcbIntegration: Cannot create platform OpenGL context, neither GLX nor EGL are enabled
Failed to create OpenGL context for format QSurfaceFormat(version 2.0, options QFlags(), depthBufferSize 24, redBufferSize -1, greenBufferSize -1, blueBufferSize -1, alphaBufferSize -1, stencilBufferSize 8, samples -1, swapBehavior 2, swapInterval 1, profile  0) 
KCrash: Application 'kdenlive' crashing...
KCrash: Attempting to start /usr/lib64/libexec/drkonqi from kdeinit
sock_file=/run/user/1000/kdeinit5__0
QSocketNotifier: Invalid socket 17 and type 'Read', disabling...
QSocketNotifier: Invalid socket 20 and type 'Read', disabling...
Unable to start Dr. Konqi
Re-raising signal for core dump handling.
[ 5116.214688] [ERROR]waitpid(4240) failed with Interrupted system call


Reproducible: Always




Portage 2.3.3 (python 3.5.2-final-0, default/linux/amd64/13.0/desktop/plasma/systemd, gcc-5.4.0, glibc-2.23-r3, 4.9.5-gentoo x86_64)
=================================================================
System uname: Linux-4.9.5-gentoo-x86_64-Intel-R-_Core-TM-_i7-3740QM_CPU_@_2.70GHz-with-gentoo-2.3
KiB Mem:    24626196 total,  21216476 free
KiB Swap:   26488828 total,  26488828 free
Timestamp of repository gentoo: Thu, 26 Jan 2017 09:30:01 +0000
Timestamp of repository poly-c: Thu, 26 Jan 2017 07:45:12 +0000
sh bash 4.4_p11
ld GNU ld (Gentoo 2.27 p1.0) 2.27
app-shells/bash:          4.4_p11::gentoo
dev-java/java-config:     2.2.0-r3::gentoo
dev-lang/perl:            5.24.1_rc4::gentoo
dev-lang/python:          2.7.12::gentoo, 3.4.5::gentoo, 3.5.2::gentoo
dev-util/cmake:           3.7.2::gentoo
dev-util/pkgconfig:       0.29.1::gentoo
sys-apps/baselayout:      2.3::gentoo
sys-apps/openrc:          0.23.1::gentoo
sys-apps/sandbox:         2.10-r3::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69-r2::gentoo
sys-devel/automake:       1.13.4-r1::gentoo, 1.14.1-r1::gentoo, 1.15-r2::gentoo
sys-devel/binutils:       2.27::gentoo
sys-devel/gcc:            5.4.0-r2::gentoo
sys-devel/gcc-config:     1.8-r1::gentoo
sys-devel/libtool:        2.4.6-r2::gentoo
sys-devel/make:           4.2.1::gentoo
sys-kernel/linux-headers: 4.9::gentoo (virtual/os-headers)
sys-libs/glibc:           2.23-r3::gentoo
Repositories:
Comment 1 Adam Feldman gentoo-dev 2017-02-01 21:29:57 UTC
Was this working on the previous version of bumblebee?

Do you have issues with using optirun on any other applications?  Can you optirun glxspheres?

Also, can you post the output of glxinfo and optirun glxinfo?
Comment 2 tman 2017-02-08 20:22:38 UTC
(In reply to NP-Hardass from comment #1)
> Was this working on the previous version of bumblebee?
> 

i was not use it before so i can only say it does not work yet.

with this error :



~ $ optirun kdenlive
klauncher not running... launching kdeinit
QXcbIntegration: Cannot create platform OpenGL context, neither GLX nor EGL are enabled
Failed to create OpenGL context for format QSurfaceFormat(version 2.0, options QFlags(), depthBufferSize 24, redBufferSize -1, greenBufferSize -1, blueBufferSize -1, alphaBufferSize -1, stencilBufferSize 8, samples -1, swapBehavior 2, swapInterval 1, profile  0) 
KCrash: Application 'kdenlive' crashing...
KCrash: Attempting to start /usr/lib64/libexec/drkonqi from kdeinit
sock_file=/run/user/1000/kdeinit5__0

QSocketNotifier: Invalid socket 17 and type 'Read', disabling...
QSocketNotifier: Invalid socket 20 and type 'Read', disabling...
Unable to start Dr. Konqi
Re-raising signal for core dump handling.
[ 6187.243043] [ERROR]waitpid(18410) failed with Interrupted system call




> Do you have issues with using optirun on any other applications?  Can you
> optirun glxspheres?

with other programm i dont have any problem yet. and with "optirun glxspheres" it works too.


~ $ optirun glxspheres
Polygons in scene: 62464 (61 spheres * 1024 polys/spheres)
Visual ID of window: 0xb4
Context is Direct
OpenGL Renderer: GeForce GTX 660M/PCIe/SSE2
61.723226 frames/sec - 123.357325 Mpixels/sec
60.399208 frames/sec - 120.711199 Mpixels/sec
59.829988 frames/sec - 119.573581 Mpixels/sec
59.810877 frames/sec - 119.535386 Mpixels/sec
60.279275 frames/sec - 120.471506 Mpixels/sec
60.371534 frames/sec - 120.655892 Mpixels/sec
59.833277 frames/sec - 119.580155 Mpixels/sec
59.818559 frames/sec - 119.550741 Mpixels/sec
59.815515 frames/sec - 119.544656 Mpixels/sec




> Also, can you post the output of glxinfo 

see attachments


>and optirun glxinfo?

see attachments
Comment 3 tman 2017-02-08 20:23:09 UTC
Created attachment 462900 [details]
glxinfo
Comment 4 tman 2017-02-08 20:23:37 UTC
Created attachment 462902 [details]
optirun_glxinfo
Comment 5 Adam Feldman gentoo-dev 2017-02-08 21:36:30 UTC
(In reply to tman from comment #2)
> (In reply to NP-Hardass from comment #1)
> > Was this working on the previous version of bumblebee?
> > 
> 
> i was not use it before so i can only say it does not work yet.
>
 
Can you try =bumblebee-3.2.1 just so I can make sure this isn't an issue specifically with the new release of bumblebee?

> > Do you have issues with using optirun on any other applications?  Can you
> > optirun glxspheres?
> 
> with other programm i dont have any problem yet. and with "optirun
> glxspheres" it works too.
> 
>

That's good, so you have functioning bumblebee otherwise...

I'm wondering if a qt related package might be missing a USE flag somewhere.  I don't run KDE, so might take a little bit for me to be able to try to reproduce over here.  Please bear with me.
Comment 6 tman 2017-02-10 00:04:36 UTC
>  
> Can you try =bumblebee-3.2.1 just so I can make sure this isn't an issue
> specifically with the new release of bumblebee?

i tried bumblebee-3.2.1 and also version  ~3.2.1_p2017012 from bumblebee overlay, both crash at start of kdenlive.

i am using awesome wm and start kdenlive in awesome wm. with "optirun kdenlive" i got the crash but with "primusrun kdenlive", it works.

so it must besomething wrong with optirun, which is include in bumblebee, right?

> >
> 
> That's good, so you have functioning bumblebee otherwise...
> 
> I'm wondering if a qt related package might be missing a USE flag somewhere.
> I don't run KDE, so might take a little bit for me to be able to try to
> reproduce over here.  Please bear with me.

i wonder too, because with primusrun, it dont cause such call for any qt stuff.

 ~ $ primusrun kdenlive
OpenGL vendor:  "Intel Open Source Technology Center"
OpenGL renderer:  "Mesa DRI Intel(R) Ivybridge Mobile "
OpenGL Threaded:  true
OpenGL ARG_SYNC:  false
OpenGL OpenGLES:  true
OpenGL vendor:  "Intel Open Source Technology Center"
OpenGL renderer:  "Mesa DRI Intel(R) Ivybridge Mobile "
OpenGL Threaded:  true
OpenGL ARG_SYNC:  false
OpenGL OpenGLES:  true
Comment 7 Adam Feldman gentoo-dev 2017-02-10 00:14:43 UTC
(In reply to tman from comment #6)
> >  
> > Can you try =bumblebee-3.2.1 just so I can make sure this isn't an issue
> > specifically with the new release of bumblebee?
> 
> i tried bumblebee-3.2.1 and also version  ~3.2.1_p2017012 from bumblebee
> overlay, both crash at start of kdenlive.
> 
> i am using awesome wm and start kdenlive in awesome wm. with "optirun
> kdenlive" i got the crash but with "primusrun kdenlive", it works.
> 
> so it must besomething wrong with optirun, which is include in bumblebee,
> right?
> 

And does `optirun -b primus kdenlive` work?  (optirun supports multiple backends)
Comment 8 tman 2017-02-10 00:55:33 UTC
(In reply to NP-Hardass from comment #7)
> (In reply to tman from comment #6)
> > >  
> > > Can you try =bumblebee-3.2.1 just so I can make sure this isn't an issue
> > > specifically with the new release of bumblebee?
> > 
> > i tried bumblebee-3.2.1 and also version  ~3.2.1_p2017012 from bumblebee
> > overlay, both crash at start of kdenlive.
> > 
> > i am using awesome wm and start kdenlive in awesome wm. with "optirun
> > kdenlive" i got the crash but with "primusrun kdenlive", it works.
> > 
> > so it must besomething wrong with optirun, which is include in bumblebee,
> > right?
> > 
> 
> And does `optirun -b primus kdenlive` work?  (optirun supports multiple
> backends)

 $ optirun -b primus kdenlive
QXcbIntegration: Cannot create platform OpenGL context, neither GLX nor EGL are enabled
QXcbIntegration: Cannot create platform OpenGL context, neither GLX nor EGL are enabled
Failed to create OpenGL context for format QSurfaceFormat(version 2.0, options QFlags(), depthBufferSize 24, redBufferSize -1, greenBufferSize -1, blueBufferSize -1, alphaBufferSize -1, stencilBufferSize 8, samples -1, swapBehavior 2, swapInterval 1, profile  0) 
KCrash: Application 'kdenlive' crashing...
KCrash: Attempting to start /usr/lib64/libexec/drkonqi from kdeinit
sock_file=/run/user/1000/kdeinit5__0


so crashed again
Comment 9 Andreas Sturmlechner gentoo-dev 2017-02-11 00:44:28 UTC
Unfortunately you didn't provide full emerge --info. Please do that.
Comment 10 tman 2017-02-16 23:06:23 UTC
(In reply to Andreas Sturmlechner from comment #9)
> Unfortunately you didn't provide full emerge --info. Please do that.

Portage 2.3.3 (python 3.5.2-final-0, default/linux/amd64/13.0/desktop/plasma/systemd, gcc-5.4.0, glibc-2.24-r1, 4.9.9-gentoo x86_64)
=================================================================
System uname: Linux-4.9.9-gentoo-x86_64-Intel-R-_Core-TM-_i7-3740QM_CPU_@_2.70GHz-with-gentoo-2.3
KiB Mem:    24626192 total,  19266208 free
KiB Swap:   26488828 total,  26488828 free
Timestamp of repository gentoo: Thu, 16 Feb 2017 21:00:01 +0000
Timestamp of repository poly-c: Thu, 16 Feb 2017 10:17:19 +0000
sh bash 4.4_p12
ld GNU ld (Gentoo 2.27 p1.0) 2.27
app-shells/bash:          4.4_p12::gentoo
dev-java/java-config:     2.2.0-r3::gentoo
dev-lang/perl:            5.24.1::gentoo
dev-lang/python:          2.7.12::gentoo, 3.4.5::gentoo, 3.5.2::gentoo
dev-util/cmake:           3.7.2::gentoo
dev-util/pkgconfig:       0.29.1::gentoo
sys-apps/baselayout:      2.3::gentoo
sys-apps/openrc:          0.23.2::gentoo
sys-apps/sandbox:         2.10-r3::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69-r2::gentoo
sys-devel/automake:       1.13.4-r1::gentoo, 1.15-r2::gentoo
sys-devel/binutils:       2.27::gentoo
sys-devel/gcc:            5.4.0-r3::gentoo
sys-devel/gcc-config:     1.8-r1::gentoo
sys-devel/libtool:        2.4.6-r2::gentoo
sys-devel/make:           4.2.1::gentoo
sys-kernel/linux-headers: 4.9::gentoo (virtual/os-headers)
sys-libs/glibc:           2.24-r1::gentoo
Repositories:

gentoo
    location: /mnt/portage
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000

lokal
    location: /mnt/portage/local/local-overlay
    masters: gentoo
    priority: 0

bitcoin
    location: /mnt/portage/local/layman/bitcoin
    sync-type: laymansync
    sync-uri: https://gitlab.com/bitcoin/gentoo.git
    masters: gentoo
    priority: 50

brother-overlay
    location: /mnt/portage/local/layman/brother-overlay
    sync-type: laymansync
    sync-uri: git://github.com/stefan-langenmaier/brother-overlay.git
    masters: gentoo
    priority: 50

bumblebee
    location: /mnt/portage/local/layman/bumblebee
    sync-type: laymansync
    sync-uri: git://github.com/Bumblebee-Project/bumblebee-gentoo
    masters: gentoo
    priority: 50

dotnet
    location: /mnt/portage/local/layman/dotnet
    sync-type: laymansync
    sync-uri: git://anongit.gentoo.org/proj/dotnet.git
    masters: gentoo
    priority: 50

dr
    location: /mnt/portage/local/layman/dr
    sync-type: laymansync
    sync-uri: git://github.com/cerebrum/dr.git
    masters: gentoo
    priority: 50

hamper-overlay
    location: /mnt/portage/local/layman/hamper-overlay
    sync-type: laymansync
    sync-uri: git://github.com/hamper/hamper-overlay.git
    masters: gentoo
    priority: 50

ixit
    location: /mnt/portage/local/layman/ixit
    sync-type: laymansync
    sync-uri: git://github.com/okias/ixit.git
    masters: gentoo
    priority: 50

media-overlay
    location: /mnt/portage/local/layman/media-overlay
    sync-type: laymansync
    sync-uri: git://github.com/hasufell/media-overlay.git
    masters: gentoo
    priority: 50

poly-c
    location: /mnt/portage/local/layman/poly-c
    sync-type: laymansync
    sync-uri: rsync://rsync.gentoofan.org/poly-c
    masters: gentoo
    priority: 50

qt
    location: /mnt/portage/local/layman/qt
    sync-type: laymansync
    sync-uri: git://anongit.gentoo.org/proj/qt.git
    masters: gentoo
    priority: 50

steam-overlay
    location: /mnt/portage/local/layman/steam-overlay
    sync-type: laymansync
    sync-uri: git://github.com/anyc/steam-overlay.git
    masters: gentoo
    priority: 50

xmw
    location: /mnt/portage/local/layman/xmw
    sync-type: laymansync
    sync-uri: git://anongit.gentoo.org/dev/xmw.git
    masters: gentoo
    priority: 50

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=core-avx-i -O2 -pipe"
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/php/apache2-php7.1/ext-active/ /etc/php/cgi-php7.1/ext-active/ /etc/php/cli-php7.1/ext-active/ /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=core-avx-i -O2 -pipe"
DISTDIR="/mnt/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks fail-clean fixlafiles merge-sync news nodoc noinfo parallel-fetch parallel-install 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="C"
LC_ALL=""
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j9"
PKGDIR="/mnt/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="/var/tmp"
USE="X a52 aac aalib acl acpi aim alsa amd64 apache2 bazaar berkdb bluetooth branding bzip2 cairo caps cdda cdr cgi cli cracklib crypt cups cvs cxx darcs dbus declarative dri dts dvb dvd dvdr emboss encode exif expat fam ffmpeg firefox flac fontconfig fortran gadu gd gdbm gif gimp glamor gles2 gnutls gphoto2 gpm gstreamer gtk gtk3 iconv icq icu imagemagick ipv6 jack java jpeg jpeg2k kde kipi lame latex lcms ldap libass libnotify lua mad mercurial mng modules mp3 mp4 mpeg msn multilib ncurses networkmanager nfs nls nptl nsplugin ogg opengl openmp orc oss pam pango pcre pdf perl phonon php plasma png policykit postscript ppds pulseaudio python qml qt3support qt5 quicktime rar rdesktop readline ruby sdl seccomp semantic-desktop session smp spell sqlite sse3 ssl ssse3 startup-notification subversion svg systemd tcl tcpd theora tidy tiff tk truetype udev udisks unicode upower usb vcd vnc vorbis wav wavpack wayland webkit webrtc-aec widgets wifi win32codecs wma wmf wxwidgets x264 xattr xcb xcomposite xft xinerama xinetd xml xmp xpm xscreensaver xv xvid yahoo zlib" ABI_X86="64 32" ALSA_CARDS="hda_intel" 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="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="adc65 agfa_cl20 aox ax203 barbie casio_qv clicksmart310 digigr8 digita dimagev dimera3500 directory enigma13 fuji gsmart300 hp215 iclick jamcam jd11 jl2005a jl2005c kodak_dc120 kodak_dc210 kodak_dc240 kodak_dc3200 kodak_ez200 konica konica_qm150 largan lg_gsm mars mustek panasonic_coolshot panasonic_dc1000 panasonic_dc1580 panasonic_l859 pccam300 pccam600 pentax polaroid_pdc320 polaroid_pdc640 polaroid_pdc700 ptp2 ricoh ricoh_g3 samsung sierra sipix_blink2 sipix_web2 smal sonix sony_dscf1 sony_dscf55 soundvision spca50x sq905 st2205 stv0674 stv0680 sx330z topfield toshiba_pdrm11 tp6801" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx sse sse2 ssse3 sse3" 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="pc efi-64" INPUT_DEVICES="keyboard synaptics evdev" KERNEL="linux" L10N="de en vi" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="nlpsolver scripting-beanshell scripting-javascript wiki-publisher" LINGUAS="de en vi" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_4 python3_5" RUBY_TARGETS="ruby21 ruby22 ruby23 ruby24" USERLAND="GNU" VIDEO_CARDS="intel nvidia" 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"
USE_PYTHON="2.7 3.4 3.5"
Unset:  CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 11 xdev52 2017-03-09 14:28:55 UTC
Execute with debug info to know what's going on with bumblebee:

optirun -vv glxinfo -B

and if there will be ok, then 'optirun -vv kdenlive'
Comment 12 Pacho Ramos gentoo-dev 2020-06-04 20:24:49 UTC
Also retry with latest bumblebee-3.2.1_p20190421

Thanks