Bug 409069 - Black window
Summary: Black window
Status: RESOLVED FIXED
Alias: None
Product: kubrick
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Arch Linux Linux
: NOR grave
Target Milestone: ---
Assignee: Ian Wadham
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-06-23 09:46 UTC by Rober
Modified: 2019-07-04 22:57 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
App shows a black window (20.30 KB, image/png)
2019-06-23 09:46 UTC, Rober
Details
glxgears (488.53 KB, video/x-matroska)
2019-06-23 16:53 UTC, Rober
Details
glxinfo (38.38 KB, text/plain)
2019-06-23 16:53 UTC, Rober
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Rober 2019-06-23 09:46:32 UTC
Created attachment 121089 [details]
App shows a black window

SUMMARY


STEPS TO REPRODUCE
1. Launch Kubrick
2. 
3. 

OBSERVED RESULT
Kubrick shows a black windows. I can't see any cube


EXPECTED RESULT
App shows kubrick play


SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 
(available in About System)
Operating System: Arch Linux 
KDE Plasma Version: 5.16.1
KDE Frameworks Version: 5.59.0
Qt Version: 5.12.4
Kernel Version: 5.1.12-arch1-1-ARCH
OS Type: 64-bit

ADDITIONAL INFORMATION
Comment 1 Albert Astals Cid 2019-06-23 10:38:28 UTC
is there any output if you start it from a shell?
Comment 2 Rober 2019-06-23 16:21:01 UTC
• [18:20:11] ~ » kubrick 
Icon theme "gnome" not found.
qt.glx: qglx_findConfig: Failed to finding matching FBConfig (8 8 8 1)
qt.glx: qglx_findConfig: Failed to finding matching FBConfig (1 8 8 1)
qt.glx: qglx_findConfig: Failed to finding matching FBConfig (1 1 8 1)
qt.glx: qglx_findConfig: Failed to finding matching FBConfig (1 1 1 1)
qt.glx: qglx_findConfig: Failed to finding matching FBConfig (1 1 1 1)
qt.glx: qglx_findConfig: Failed to finding matching FBConfig (1 1 1 1)
qt.glx: qglx_findConfig: Failed to finding matching FBConfig (8 8 8 1)
qt.glx: qglx_findConfig: Failed to finding matching FBConfig (1 8 8 1)
qt.glx: qglx_findConfig: Failed to finding matching FBConfig (1 1 8 1)
qt.glx: qglx_findConfig: Failed to finding matching FBConfig (1 1 1 1)
qt.glx: qglx_findConfig: Failed to finding matching FBConfig (1 1 1 1)
qt.glx: qglx_findConfig: Failed to finding matching FBConfig (1 1 1 1)
GL Version (null)
Comment 3 Albert Astals Cid 2019-06-23 16:34:27 UTC
yeah your opengl stuff seems broken, not much that we can do here :/

can you install/run glxgears? Does it work?

Can you attach the output of glxinfo?
Comment 4 Antonio Rojas 2019-06-23 16:37:41 UTC
I can reproduce it and my opengl is certainly working - but it seems to be some general Qt issue, not specific to kubrick: the molecular editor in kalzium also doesn't display.
Comment 5 Albert Astals Cid 2019-06-23 16:41:43 UTC
oh yeah i get the same ^_^
Comment 6 Antonio Rojas 2019-06-23 16:45:35 UTC
FWIW, I've tested some 3d stuff from qtexamples and it all works fine - not sure what's different with KDE apps.
Comment 7 Rober 2019-06-23 16:53:15 UTC
Created attachment 121101 [details]
glxgears

• [18:49:41] ~/Descargas » glxgears              
Running synchronized to the vertical refresh.  The framerate should be
approximately the same as the monitor refresh rate.
312 frames in 5.0 seconds = 62.244 FPS
301 frames in 5.0 seconds = 60.058 FPS
300 frames in 5.0 seconds = 60.000 FPS
300 frames in 5.0 seconds = 59.998 FPS
300 frames in 5.0 seconds = 59.993 FPS
X connection to :0 broken (explicit kill or server shutdown).
Comment 8 Rober 2019-06-23 16:53:56 UTC
Created attachment 121102 [details]
glxinfo

glxinfo
Comment 9 Albert Astals Cid 2019-07-04 22:57:32 UTC
Git commit c60972ee29ca0e3eb16fdffd28a3de3da4b32da6 by Albert Astals Cid.
Committed on 04/07/2019 at 22:57.
Pushed by aacid into branch 'Applications/19.04'.

Fix black screen in kubrick

Thet Qt opengl format fallback algorithm seems to have changed recently
and now asking for multisampling causes black screens on some
configurations (i.e. mine), so comment out the code for now, better some
jagged lines that blackness

M  +2    -0    src/kubrick.cpp

https://commits.kde.org/kubrick/c60972ee29ca0e3eb16fdffd28a3de3da4b32da6