I have the same problem... tried to start video from file manager or from terminal and I can hear the audio but no gui. This happened to me on:
Debian 9
CPU: AMD FX-6300 (6) @ 3.500GHz
GPU: NVIDIA GeForce GT 630
Vlc had been working before. Then at some point I had this problem. Then dual-booted MX-linux (based on Debian stable) to try it out. On the newly installed mx-linux, vlc was working initially. I use vlc in the terminal as well to listen to radio streams. I was listening to something from the terminal and I tried to start a video file from my file manager while I already had the audio stream (radio) playing in the terminal. The video/vlc would attempt to play (the audio stream would stop), the audio for the video would play, but no gui. I think maybe this bug would be reproducible. Here's some of the output in the terminal when playing the video fails:
Code: Select all
QPainter::pen: Painter not active
QPainter::setPen: Painter not active
QPainter::setOpacity: Painter not active
QPainter::drawPath: Painter not active
QPainter::setPen: Painter not active
QPainter::setOpacity: Painter not active
QPainter::setBrush: Painter not active
QPainter::drawPath: Painter not active
QPainter::setBrush: Painter not active
QPainter::setOpacity: Painter not active
QPainter::setBrush: Painter not active
QPainter::setPen: Painter not active
QPainter::setWorldTransform: Painter not active
QPainter::restore: Unbalanced save/restore
QPainter::end: Painter not active, aborted
QXcbConnection: XCB error: 3 (BadWindow), sequence: 870, resource id: 113246259, major code: 4 (DestroyWindow), minor code: 0
QXcbConnection: XCB error: 3 (BadWindow), sequence: 871, resource id: 113246240, major code: 4 (DestroyWindow), minor code: 0
QXcbConnection: XCB error: 3 (BadWindow), sequence: 873, resource id: 113246237, major code: 78 (CreateColormap), minor code: 0
On mx-linux, vlc --version :
VLC media player 3.0.3 Vetinari (revision 3.0.3-1-0-gc2bb759264)
After the bug initially appears, videos fail (audio but no video/gui) whether or not I'm playing an audio stream in the terminal.
For now I'll just use mpv for video. I can use nvlc/cvlc for playing my audio stream in the terminal.
On a side note: here's a command for listening to and recording an audio stream (where 'stream-url' is the link to the stream and 'user' is your login name):
nvlc --no-color stream-url --sout "#duplicate{dst=display,dst=std{access=file,mux=mp3,dst=/home/user/Desktop/"$(date +%Y-%m-%d_%H%M%S).mp3"}}"