VLC closes immediately when using "OpenGL Video Output" option

Bug #223762 reported by choowie
56
This bug affects 4 people
Affects Status Importance Assigned to Milestone
VLC media player
Fix Released
Unknown
vlc (Ubuntu)
Fix Released
Undecided
Unassigned
Nominated for Jaunty by Julian Alarcon

Bug Description

Binary package hint: vlc

When opening a Video, VLC then comes with:
VLC media player 0.8.6e Janus
[00000351] main private error: option glx-shm does not exist
libGL error: drmGetMagic failed
libGL error: reverting to (slow) indirect rendering
X Error of failed request: BadMatch (invalid parameter attributes)
  Major opcode of failed request: 161 (GLX)
  Minor opcode of failed request: 5 (X_GLXMakeCurrent)
  Serial number of failed request: 58
  Current serial number in output stream: 58

Revision history for this message
addysdddy (addysdddy) wrote :

Same problem here. Nothing constructive to add.

Revision history for this message
addysdddy (addysdddy) wrote :

The Debian bug report may have a possible solution.
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=462715

Revision history for this message
Stephen Eilert (outworlder) wrote :

As a workaround, try disabling "overlay video output".

Revision history for this message
addysdddy (addysdddy) wrote : Re: [Bug 223762] Re: VLC closes immediately when using "OpenGL Video Output" option
  • unnamed Edit (791 bytes, text/html; charset=ISO-8859-1)

VLC continues to crash with "overlay video output" disabled.

On Sat, May 31, 2008 at 4:47 PM, Stephen Eilert <email address hidden> wrote:

> As a workaround, try disabling "overlay video output".
>
> --
> VLC closes immediately when using "OpenGL Video Output" option
> https://bugs.launchpad.net/bugs/223762
> You received this bug notification because you are a direct subscriber
> of the bug.
>

Revision history for this message
choowie (choowie) wrote :

Hi, Thanks for the advice. However disabling "overlay output video" it didn't fix the issue.

Console output is the exactly the same.

VLC media player 0.8.6e Janus
[00000351] main private error: option glx-shm does not exist
libGL error: drmGetMagic failed
libGL error: reverting to (slow) indirect rendering
X Error of failed request: BadMatch (invalid parameter attributes)
  Major opcode of failed request: 161 (GLX)
  Minor opcode of failed request: 5 (X_GLXMakeCurrent)
  Serial number of failed request: 58
  Current serial number in output stream: 58

Revision history for this message
Marios Christoulakis (marioshrist) wrote :

Hello i also have the same issue. vlc crashed when opengl is selected.
In the previous version 7.10 everything was fine.

Does anyone have any news on a fix of this bug? I see that it is reported for some months

Revision history for this message
Matthew M MacLennan (mattmarq) wrote :

I have the same problem too. I am running Hardy Heron and I get this error when opening a .avi file with vlc:

[00000345] main private error: option glx-shm does not exist
libGL error: drmGetMagic failed
libGL error: reverting to (slow) indirect rendering
X Error of failed request: BadMatch (invalid parameter attributes)
  Major opcode of failed request: 162 (GLX)
  Minor opcode of failed request: 5 (X_GLXMakeCurrent)
  Serial number of failed request: 58
  Current serial number in output stream: 58

Does anyone have any updated or additional insight into this issue? Everything was working fine with Gutsy Gibbon.

Revision history for this message
gerben (gerben-rotman) wrote :

Same problem here.

Ubuntu 8.04 Hardy Heron
ATI Mobility Radeon X700

VLC media player 0.8.6e Janus
[00000349] main private error: option glx-shm does not exist
libGL error: drmGetMagic failed
libGL error: reverting to (slow) indirect rendering
X Error of failed request: BadMatch (invalid parameter attributes)
  Major opcode of failed request: 143 (GLX)
  Minor opcode of failed request: 5 (X_GLXMakeCurrent)
  Serial number of failed request: 58
  Current serial number in output stream: 58

Revision history for this message
Brian Murray (brian-murray) wrote :

Is this with the radeon driver or the fglrx driver? How exactly do you configure "OpenGL Video Output" or is it on by default?

Changed in vlc:
status: New → Incomplete
Revision history for this message
Nicola S. (strambinico) wrote :

hi, i also had the same problem, vlc on hardy closes if I try to use openGl. I have Ati as well and with other configurations video quality is poor. I managed to solve (partially) the problem installing latest proprietary drivers from http://ati.amd.com/support/driver.html
Quality is now good as in windows, but videos can be viewed only in full screen mode. if in window mode, image is bad/black...

Revision history for this message
spacefight (spacefight) wrote :

Same here on 8.04 with the proprietary ATI driver. When will this be fixed? I have issues on mplayer too since the upgrade to 8.04.

Revision history for this message
John Dong (jdong) wrote :

Well... the problem is I'm not sure how we'd go about "fixing" this. It seems like the mysterious magical solution is to add the new fglrx release to Hardy, but that approach might equally cause other things that used to work to fail.

Can we confirm that this is an OpenGL + fglrx bug?

Revision history for this message
spacefight (spacefight) wrote :

Looks like. I deactivated the proprietary ATI driver and have no issue since the reboot playing videos with vlc. I see a regular flare of the screen now though...

Revision history for this message
yarly (ih8junkmai1) wrote :

Ubuntu 8.10
Nvidia 8800 GTS

I'm experiencing this bug too. When OpenGL video output module is selected vlc will crash

Reproducible with VLC Ubuntu packages

0.8.6.release.h-1ubuntu1
0.9.4-1ubuntu3

Reproducible with the following nvidia drivers

173.14.12
177.80
177.82

Bug is the same as this thread
http://forum.videolan.org/viewtopic.php?f=13&t=47080

Output from "vlc -vvv"

[00000459] main video output debug: looking for video output module: 6 candidates
[00000460] main private debug: Registering subpicture channel, ID: 2
[00000460] main private debug: Registering subpicture channel, ID: 3
[00000460] main private debug: Registering subpicture channel, ID: 4
[00000460] main private debug: Registering subpicture channel, ID: 5
[00000459] opengl video output debug: Texture size: 1024x512
[00000462] main private debug: looking for opengl provider module: 1 candidate
[00000462] glx private debug: using GLX 1.3 API
[00000462] main private debug: window size: 624x352
[00000462] main private error: option glx-shm does not exist
[00000462] glx private debug: XShm video extension v1.1 (with pixmaps, opcode: 147)
[00000462] glx private debug: Window manager supports NetWM
[00000462] glx private debug: Window manager supports _NET_WM_STATE_FULLSCREEN
[00000462] glx private debug: Window manager supports _NET_WM_STATE_ABOVE
[00000462] glx private debug: Window manager supports _NET_WM_STATE_BELOW
[00000462] main private debug: using opengl provider module "glx"
[00000459] main video output debug: using video output module "opengl"
[00000459] main video output warning: couldn't set thread priority (video_output/video_output.c:421): Operation not permitted
[00000459] main video output debug: waiting for thread completion
X Error of failed request: BadMatch (invalid parameter attributes)
  Major opcode of failed request: 128 (GLX)
  Minor opcode of failed request: 31 (X_GLXCreateWindow)
  Serial number of failed request: 51
  Current serial number in output stream: 52
Locking assertion failure. Backtrace:
#0 /usr/lib/libxcb-xlib.so.0 [0x7f159cc689fc]
#1 /usr/lib/libxcb-xlib.so.0(xcb_xlib_lock+0x17) [0x7f159cc68b77]
#2 /usr/lib/libX11.so.6 [0x7f159d7538c0]
#3 /usr/lib/libX11.so.6(XESetCloseDisplay+0x43) [0x7f159d735903]
#4 /usr/lib/libGL.so.1 [0x7f158a58a7b2]

Revision history for this message
yarly (ih8junkmai1) wrote :

Looks like this bug was reported to trac.videolan.org several months ago.

VLC devs don't appear to interested to fix it..

https://trac.videolan.org/vlc/ticket/1672

Changed in vlc:
status: Unknown → New
Changed in vlc:
status: New → Confirmed
Revision history for this message
Nicholas Xenakis (xnicholas) wrote :

still happens with the latest vlc and ubuntu on a fresh install using the latest nvidia drivers.

disabling overlay does not help.

i am downgrading nvidia drivers 2 see if this resolves issue

Changed in vlc:
status: Confirmed → Fix Released
Revision history for this message
Nicholas Xenakis (xnicholas) wrote :

I built vlc on unbutu using::

http://repo.or.cz/w/vlc.git?a=snapshot;h=195597f3f71f0dc37a50f05ac4dbaa1fee603a5c;sf=tgz

apt-get build-dep vlc
./configure
make
./vlc

i can now confirm that the crashing on opengl output mode has been fixed...

Revision history for this message
Julian Alarcon (julian-alarcon) wrote :

Using the vlc from this ppa:

https://launchpad.net/~c-korn/+archive/vlc

Work the OpenGL output, the version that fix this bug is 0.9.9.

Can it be uploaded to Jaunty??

Revision history for this message
Julian Alarcon (julian-alarcon) wrote :

Today I updated VLC from official repos to 0.9.9c version, and I still have this problem.. So, what happened here?

Revision history for this message
Julian Alarcon (julian-alarcon) wrote :

Ups, wrong bug, I really mean bug #314038. This bug is fixed in last release (0.9.9c) of VLC, in Jaunty Jackalope (perhaps the quality is not excellent, but, don't crash anymore)

Revision history for this message
Julian Alarcon (julian-alarcon) wrote :

I am closing it because the bug has been fixed in the latest development version of Ubuntu - the Jaunty Jackalope. It won't be fixed in previous versions of Ubuntu because the package doesn't fit the requirements for backporting. See https://help.ubuntu.com/community/UbuntuBackports for more information.

Changed in vlc (Ubuntu):
status: Incomplete → Fix Released
description: updated
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Bug attachments

Remote bug watches

Bug watches keep track of this bug in other bug trackers.