XBMC Community Forum  

Go Back   XBMC Community Forum > Help and Support > XBMC General Help and Support > XBMC for Linux and XBMC Live Specific Support

XBMC for Linux and XBMC Live Specific Support Need help with XBMC for Linux or XBMC Live, or think you've found a bug? Discuss it here.

Reply
 
Thread Tools Search this Thread Display Modes
Old 2007-10-01, 05:50   #1
Mrfingers
Junior Member
 
Join Date: Oct 2007
Posts: 4
Mrfingers is on a distinguished road
Default Green screen on video playback

When trying to playback any type of video I get a green screen. The overlays are there and the time remaining shows that the file is playing. I'm using an older nvidia fx5200. It appears it supports opengl 2.0. Anyone have any ideas? Thanks in advance.
Mrfingers is offline   Reply With Quote
Old 2007-10-01, 14:18   #2
slash
Member
 
Join Date: Sep 2007
Posts: 89
slash is on a distinguished road
Default

Did you install the nvidia drivers using envy ?

are you able to play videos outside xbmc (using mplayer for example) ?
slash is offline   Reply With Quote
Old 2007-10-02, 01:04   #3
Mrfingers
Junior Member
 
Join Date: Oct 2007
Posts: 4
Mrfingers is on a distinguished road
Default

Sorry I forgot to say what I've tried so far. Ubuntu 7.04 is installed. Yes I used Envy to install the Nvidia drivers. This did get rid of the flickering problem stated by others. The videos play fine in Movie Player but I get the following error when trying to open any video with mplayer: Error opening/initializing the selected video_out (-vo) device. Also, Linux is still pretty new to me.
Mrfingers is offline   Reply With Quote
Old 2007-10-02, 01:12   #4
Mrfingers
Junior Member
 
Join Date: Oct 2007
Posts: 4
Mrfingers is on a distinguished road
Default

Just got the videos to play in Mplayer.
Mrfingers is offline   Reply With Quote
Old 2007-10-02, 06:00   #5
slash
Member
 
Join Date: Sep 2007
Posts: 89
slash is on a distinguished road
Default

did you compile xbmc with debug enabled ? (no --disable-debug).

The log in that case can help determine what is the source of the problem.
slash is offline   Reply With Quote
Old 2007-10-03, 22:58   #6
HenrikDK
Junior Member
 
Join Date: Jul 2007
Posts: 10
HenrikDK is on a distinguished road
Default

Hi, This isnt a problem with drivers or any setup related issues, but can instead be traced back to this thread:
http://xbmc.org/forum/showthread.php?t=27366&page=2

In short: FX5200 is lying it doesnt support OpenGL 2.0 and mostly just offloads everything to the CPU. When using shadermodel 2.0 (which XBMC does) it just seems to render a green screen. D4rk fixed a simmilar problem like this one once but has since then coded a new rendering path that uses shaders to achive a number of fancy features (I think, I didnt have the time to get my head completely around the code). This can be observed by checking out svn rev 10133 which will compile and render fine (I think, cant remember if i made som modifications on my own, it may jump to 100% cpu usage).

Some notes of interest, nVidia recomends agains using the OpenGL version string to determine manufacture:
"OpenGL developers should not query and parse the GL_RENDERER string returned by glGetString to determine if a given GPU supports NV3x-based or NV4x-based functionality and performance. Instead, query the GL_EXTENSIONS string and look for the GL_NV_fragment_program2 and/or GL_NV_vertex_program3 substrings. These extensions imply the functional feature set of NV4x-based GPUs."

I have tried this and it works reliably on my machine, but the code has changed so much since then that I wouldnt know where to start on a fix for the current render path. Im also unsure if Team XBMC is interested in supporting Geforce FX and older cards, im sure it would be possible to write a video rendere based on OpenGl 1.5 specs, but not wether its worth the effort.
HenrikDK is offline   Reply With Quote
Old 2007-10-04, 03:28   #7
Mrfingers
Junior Member
 
Join Date: Oct 2007
Posts: 4
Mrfingers is on a distinguished road
Default

Thanks for the info. I planned on getting a newer card at some point, this may speed this purchase up. I love xbmc on my xbox and am looking forward to using the linux port.
Mrfingers is offline   Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 23:10.


Protected by Akismet, We recommend WordPress blogs
Copyright © 2008, XBMC Project