I’m having problems with playing video’s in XBMC.
When I try to play a video as a normal user I get a scrambled screen and XBMC locks up after a few seconds. When I do the same as root user everything works fine.
So I think the problem has something to do with rights. I already made my user a member of the video group but that didn’t make any difference.
Does anyone know the solution to this problem?
I’m running version 12.2-1.5 of XBMC on OpenSuse 12.3.
I found out today that when I run XBMC from console as user I get the message
“NVIDIA: failed to load the NVIDIA kernel module.”
When I run XBMC as root I don’t get this message.
I tried running
sudo /sbin/modprobe nvidia
as suggested here: Chapter
but it didn’t make any difference and google doesn’t give me any other solution.
How do you start XBMC exactly when you get that error message?
Did you logout/login or reboot after adding your user to the “video” group and before trying XBMC again?
Normally I just launch XBMC from the Application Launcher in KDE. To get the NVIDIA error message I open konsole in KDE and just type the command xbmc.
A kernel module can only be loaded with root permissions.
But why is xbmc trying to load the module? I can’t find code that does that anywhere. It would be senseless anyway since the module is loaded at boot, otherwise the nvidia driver doesn’t work and you end up using a different driver. And then loading the module would make even less sense and wouldn’t even be possible if the nouveau driver is already loaded.
What do you see in XBMC->System->System Information?
Not necessarily, i.e. the output states it’s working, yet the user may not have the permission to use the device.
At OP: make your user a member of the “video” group, reboot and try xbmc again.
BTW: how was xbmc installed?
He already did that.
Also if he would not have permissions “glxinfo” would report:
NVIDIA: could not open the device file /dev/nvidia0 (Permission denied).
direct rendering: No (If you want to find out why, try setting LIBGL_DEBUG=verbose)
@OP: If you’re using KDE you could try to disable desktop effects by pressing Shift+Alt+F12.
If that helps, please check that “Composite Type” is set to “OpenGL” and “Qt graphics system” is set to “Raster” in KDE’s “Configure Desktop”->“Desktop Effects”->Advanced.
Did some testing: used optirun and primusrun to run XBMC on the NVIDIA in my laptop. An absolute no. Whilst XBMC runs fine on the Intel GPU, and other programs, like Google Earth ( I use that as sort of a reference app, since it’s quite picky about the0 proper functioning of the NVIDIA card) run fine with optirun/primusrun. But XBMC doesn’t even start OK.
Despite the link provide by the OP to the xmbc forums, I think it is a bug in xbmc.
According to that xmbc forums thread, it is already fixed in xbmc git. See http://forum.xbmc.org/showthread.php?tid=164436&pid=1425997#pid1425997 and onwards.
So I guess it is just a matter of time until the fix is in the Packman package.
But maybe somebody should report that on the Packman mailinglist?
And it wasn’t the OP who provided the link. Or did I miss something?