LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 05-31-2018, 02:16 AM   #1
mmarousek
LQ Newbie
 
Registered: May 2018
Posts: 4

Rep: Reputation: Disabled
VLC QXcbConnection: XCB error


Hi, after some update cannot open VLC. i get this :
Widget::setMinimumSize: (/FirstRun) Negative sizes (-492131588,-492131668) are not possible
QXcbConnection: XCB error: 2 (BadValue), sequence: 419, resource id: 0, major code: 1 (CreateWindow), minor code: 0
QXcbConnection: XCB error: 3 (BadWindow), sequence: 420, resource id: 18874373, major code: 2 (ChangeWindowAttributes), minor code: 0
QXcbConnection: XCB error: 3 (BadWindow), sequence: 421, resource id: 18874373, major code: 18 (ChangeProperty), minor code: 0
QXcbConnection: XCB error: 3 (BadWindow), sequence: 422, resource id: 18874373, major code: 18 (ChangeProperty), minor code: 0

Do you know how to fix it?
 
Old 05-31-2018, 07:37 AM   #2
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,849

Rep: Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309
what was that "some update" exactly?
 
Old 05-31-2018, 09:07 AM   #3
mmarousek
LQ Newbie
 
Registered: May 2018
Posts: 4

Original Poster
Rep: Reputation: Disabled
I dont know maybe VLC. I can open VLC only under vnc connection. I tried update nvidia driver but still doesnt work.
 
Old 06-06-2018, 03:11 PM   #4
TTL_2
LQ Newbie
 
Registered: Jul 2004
Location: Germany
Posts: 26

Rep: Reputation: 15
Hi,
I am having the same issue with VLC since some recent updates in Debian.
What I discovered so far:
The bug is only triggered, when there is a second monitor connected to my system.
Can you verify this?
1. Disconnect a second monitor
2. Start VLC
3. Enable the second monitor again should work.
Some others seem to have the same issue:
https://github.com/Studio3T/robomongo/issues/1289
Its the same error message, so I guess the bug is somewhere in QT.
 
Old 06-17-2018, 09:08 AM   #5
mmarousek
LQ Newbie
 
Registered: May 2018
Posts: 4

Original Poster
Rep: Reputation: Disabled
Only back to version 2 help me to solve this problem

sudo apt remove vlc
sudo apt clean
sudo apt autoremove
sudo dpkg --list | grep ^rc
sudo dpkg --purge `dpkg --get-selections | awk '/deinstall/ {print $1}'`
cd ~/.config
rm -rf vlc

sudo apt-get install vlc=2.2.7-1~deb9u1 vlc-bin=2.2.7-1~deb9u1 vlc-plugin-base=2.2.7-1~deb9u1 vlc-plugin-qt=2.2.7-1~deb9u1 vlc-plugin-video-output=2.2.7-1~deb9u1 vlc-l10n=2.2.7-1~deb9u1 vlc-plugin-notify=2.2.7-1~deb9u1 vlc-plugin-samba=2.2.7-1~deb9u1 vlc-plugin-skins2=2.2.7-1~deb9u1 vlc-plugin-video-splitter=2.2.7-1~deb9u1 vlc-plugin-visualization=2.2.7-1~deb9u1 libvlc-bin=2.2.7-1~deb9u1 vlc-data=2.2.7-1~deb9u1 libvlc5=2.2.7-1~deb9u1
 
Old 06-17-2018, 09:35 AM   #6
AwesomeMachine
LQ Guru
 
Registered: Jan 2005
Location: USA and Italy
Distribution: Debian testing/sid; OpenSuSE; Fedora; Mint
Posts: 5,524

Rep: Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015
I don't think removing and reinstalling is going to work. It seems to be a problem with one of the qt5 packages needing to be updated. I would report it as a bug.
 
Old 06-18-2018, 12:30 AM   #7
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
^ yes, there's been various reports about Qt related problems with VLC.

thankfully, on Linux there's excellent native alternatives so no harm. you can still watch your movies.
 
Old 07-21-2018, 04:32 PM   #8
TTL_2
LQ Newbie
 
Registered: Jul 2004
Location: Germany
Posts: 26

Rep: Reputation: 15
I have tried everything trying to get VLC 3 to work properly:
Under Debian, 3.0.3 wont start with QT and a second monitor enabled at the startup. The ncurses version works, however.
Once DVD playback starts, the video starts to stall at some random position (slideshow) and can only get to play proper again, when selecting a slightly different position after the problematic position with the mouse. Not very comfortable when you wand to just watch a DVD...
On the video output filters:
XVideo -> works with the problems described above.
X11 Video -> works with the problems described above.
Open GL -> works, but the menu has some serious overlay errors, so you cant be sure which menu item is currently selected.
Video memory output -> not working
Flaschen-Taschen -> not working
Ascii -> not working
Wayland -> not working
GNU/Linux framebuffer -> not working
YUV -> not working
My graphic card is a Radeon using open source drivers and games like Civilization 6 work well with it.

The 2.2.8 version wont compile under Debian as the libavutil versions 55 (found in Debian) is not supported (too new).
The 3.0.3 Windows 64bit version with WINE wont show any video regardless of the selected video output.
The 2.2.8 windows 64bit version with WINE shows a video when selecting Windows GDI as output. For me, this version seems to work best. Could laugh about it if it would not be soo sad...
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
VLC QXcbConnection: XCB error mmarousek Linux - Software 0 06-01-2018 09:45 AM
QXcbConnection: Could not connect to display Quakeboy02 Debian 1 05-11-2017 12:34 PM
Installing VLC using vlc-0.9.9a-4.el5.rf.i386.rpm--Error relating to Dependencies redhat5 Linux - Newbie 1 12-17-2009 04:23 PM
VLC error: VLC could not open the file "/usr/share/vlc/skins2/text.bmp". brjoon1021 Ubuntu 1 01-14-2009 10:48 PM
xcb error prashant.kumar Linux - General 0 02-15-2008 07:01 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 08:16 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration