Bug 306050

Summary: kaffeine can't configure xine video driver
Product: [openSUSE] openSUSE 11.1 Reporter: Christopher Stender <cstender>
Component: X11 ApplicationsAssignee: Dirk Mueller <dmueller>
Status: RESOLVED WONTFIX QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P4 - Low CC: dmueller, sndirsch
Version: FinalKeywords: Built
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Christopher Stender 2007-08-29 17:15:10 UTC
Because the auto detection of a video driver kills my X server (#280957) I want to configure opengl as the default output driver. If you start kaffeine, click on settings, -> xine-parameter, -> video and choose opengl and click on save you get an error dialog which says something like "Error: new video driver could not be set -auto is used!"
Comment 1 Christopher Stender 2007-09-10 17:02:14 UTC
Dirk, did you already looked at this?
Comment 2 Christopher Stender 2007-09-11 20:12:44 UTC
Matthias, do you have any idea what is going wrong here?
Comment 3 Dirk Mueller 2007-09-11 23:17:40 UTC
I've had a short look but I can set the mode to opengl. I cannot set it to other modes however which are not available with my hardware. 

the question is why it thinks opengl is not available for you. does opengl output work for you with plain xine ui?
Comment 4 Christopher Stender 2007-09-12 07:24:32 UTC
Yes, xine -V opengl works fine.
Comment 5 Christopher Stender 2007-09-12 11:57:11 UTC
AI: I'll test if I can configure a default xine video output driver in xine-ui.
Comment 6 Dirk Mueller 2007-09-13 10:26:31 UTC
bug is that opengl driver doesn't work with xine's XCB support, only with X11. kaffeine tries XCB first and aborts if it doesn't work, xine-ui only tries X11. 

if its difficult/impossible to add XCB support to opengl then I have to add a local hack, but this should really be fixed in xine. 
Comment 7 Christopher Stender 2007-09-14 11:28:19 UTC
Matthias, can you fix this in xine or do we need this workaround in kaffeine?
Comment 8 Stephan Kulow 2007-10-11 11:14:32 UTC
Matthias?
Comment 9 Matthias Hopf 2007-10-12 14:39:37 UTC
Still swamped from vacation...

It's nontrivial to add OpenGL support to XCB, as the extension support for XCB is not available in OpenGL yet. So loading OpenGL will implicitly need X11 as well ATM. This is (theoretically) known and being worked on upstream, but so far nobody bothered.

We're too busy with radeonhd and other stuff to do any work here.
Comment 10 Christopher Stender 2008-04-25 14:41:14 UTC
Bug is still valid.
Comment 11 Matthias Hopf 2008-05-14 17:14:20 UTC
Good news: There is a Google SoC project now to get a working xcb-opengl layer. We'll see how well this will turn out.
Comment 12 Dirk Mueller 2010-03-04 14:48:00 UTC
is it solved in newer incarnations of Xorg?
Comment 13 Christopher Stender 2010-03-04 17:42:09 UTC
I'm still using openSUSE 11.1 where I'm able to reproduce this bug.
Comment 15 Stefan Dirsch 2010-09-18 12:54:03 UTC
Christopher, is that still an issue with openSUSE 11.3?
Comment 16 Stefan Dirsch 2010-09-26 04:22:50 UTC
Guys, are you talking about that one in Mesa's configure?

  --enable-xcb            use XCB for GLX [default=disabled]

I don't know anything about the status, I mean whether it's already usable at all and how stable it is considered.

On the other side GLX extension is included in libxcb.

  --enable-glx            Build XCB GLX Extension (default: "yes")

/usr/lib64/libxcb-glx.so.0
/usr/lib64/libxcb-glx.so.0.0.0
Comment 17 Stefan Dirsch 2010-09-26 04:47:55 UTC
Also with KDE4's kaffeine these xine parameters are no longer available in the menu at all. At least not on openSUSE 11.3. Is this becoming a WONTFIX once 11.1 is no longer supported since KDE3 has been dropped with openSUSE 11.2?
Comment 18 Christopher Stender 2010-09-27 17:44:19 UTC
You're right, kaffeine from KDE4.4/4.5 is lacking the menu to configure xine. Not sure if it will be added again.

Since I have stopped using broken fglrx drivers I don't need to reconfigure the kaffeine/xine parts. Feel free to close this on as WONTFIX.
Comment 19 Dirk Mueller 2010-09-30 07:23:12 UTC
thanks,closing for now lacking time to debug it.