Bug 399525

Summary: KDevelop doesn't start
Product: [Applications] kdevelop Reporter: Alexander Wilms <f.alexander.wilms>
Component: generalAssignee: kdevelop-bugs-null
Status: RESOLVED LATER    
Severity: normal CC: aleixpol
Priority: NOR    
Version First Reported In: git master   
Target Milestone: ---   
Platform: Flatpak   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Alexander Wilms 2018-10-08 19:48:52 UTC
SUMMARY
Starting KDevelop via the command line shows that it gets stuck and doesn't crash. But no GUI is ever shown.

STEPS TO REPRODUCE
1. Install KDevelop from https://distribute.kde.org/kdeapps.flatpakrepo
2. Try to launch it

OBSERVED RESULT
It doesn't launch, but gets stuck here:
---
flatpak run org.kde.kdevelop
libGL error: MESA-LOADER: failed to retrieve device information
libGL error: Version 4 or later of flush extension not found
libGL error: failed to load driver: i915
libGL error: failed to open drm device: No such file or directory
libGL error: failed to load driver: i965
Qt: Session management error: Could not open network socket
---

EXPECTED RESULT
It launches.

SOFTWARE VERSIONS
(available in About System)
KDE Plasma Version: 5.13.4
KDE Frameworks Version: 5.48.0
Qt Version: 5.11.1

ADDITIONAL INFORMATION
The warnings can be avoided by using --share=network and --device=dri
Comment 1 Aleix Pol 2018-10-09 10:58:12 UTC
I don't think the warnings are related. A patch with both arguments would be welcome though.

At the moment we're not considering flatpak a viable platform, if you want to look into it that would be very very welcome but we don't really have the resources at the moment.