Migration to linux-xbmc

  Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
gsohler Offline
Junior Member
Posts: 15
Joined: Dec 2007
Reputation: -10
Post: #1
I decided to migrate to linux-xbmc because

* i miss some functionality in xbmc and having linux as a development enviroment i feel quite confortable
* i feel more secure putting my music in an ext2 filesystem instead of fatx Smile
* i am able to run other linux programs next to xbmc
* i'd like to utilize xbmc, because it already has much functionality

I would like to code the features i am missing about xbmc by myself and offer them, once they are implemented. However i need some start point
today I have download the linux trunk and after some minor "library adaptions" it compiled.
When I start it i get a black window, which is resized to full screen quite immeditaely.
But then nothing happens anymore. The content of the window is not updated and moving the window i see lots of artefacts of the windowmanager.

Is there something i generally do wrong ?

Thank you for your hints!
find quote
sheratan Offline
Junior Member
Posts: 19
Joined: Sep 2006
Reputation: 0
Location: Antwerp, Belgium
Post: #2
posting your xbmc.log could be a good start.

What's your video card?

Which drivers do you use?

Did you compile with ./build.sh ?

etc
find quote
gsohler Offline
Junior Member
Posts: 15
Joined: Dec 2007
Reputation: -10
Post: #3
Hallo!

Thanx for the fast reply!

Please find my logs at

https://sohler.homelinux/net/xbmc.log

There are some errors inside i was not able to resolve/not understand

https://sohler.homelinux.net/sources.xml


What's your video card?
lspci tells me

01:00.0 VGA compatible controller: Matrox Graphics, Inc. MGA G200 AGP (rev 03)

Which drivers do you use?

I suppose no specials

video 21065 0

Did you compile with ./build.sh ?

yes, finally. before i used ./configure and make

Do i have to care/compile Project MayhemIII ?
I did not do anything yet

Thank your for your reply
etc[/quote]
find quote
topfs2 Offline
Team-XBMC Developer
Posts: 3,825
Joined: Dec 2007
Reputation: 8
Post: #4
I think you need a stronger videocard. It needs to suport OpenGL 2.0 and Pixel Shader 3.0. If you don't configure it with --disable-gl and make it with make -sdl_2d

It might be this atleast Smile You can call "gl-info | grep GL_VERSION" in the terminal. And you should see your OpenGL version.

http://www.xboxmediacenter.com/wiki/HOW-...ource_code
If you run config and make first don't forget to run the build.sh with NOUPDATE NOCOMPILE
find quote
d4rk Offline
Team-XBMC Developer
Posts: 500
Joined: May 2007
Reputation: 1
Location: Albuquerque
Post: #5
Quote:If you don't configure it with --disable-gl and make it with make -sdl_2d
Any h/w OpenGL is better than SDL 2D, so I wouldn't recommend --disable-gl unless the OpenGL drivers are downright unusable.

gsohler, the black screen you got is because you ran the executable from the source tree. Please read the README and follow the build instructions.

Always read the XBMC online-manual, FAQ and search the forum before posting.
Please read and follow the forum rules.
For troubleshooting and bug reporting, please make sure you read this first.


[Image: badge.gif]
find quote
gsohler Offline
Junior Member
Posts: 15
Joined: Dec 2007
Reputation: -10
Post: #6
Thank you for the fast answer. I still exserience some problems.

I tried configure --disable-gl for a test

make '-sdl_2d' did not work out, so i just typed make

Now it bails quite soon telling me

GraphicContext.cpp:359:2: warning: #warning CGraphicContext::ClipToViewWindow not implemented
GraphicContext.cpp:549:2: warning: #warning Need to implement GraphicContext::SetVideoResolution
GraphicContext.cpp: In member function ‘void CGraphicContext::SetFullScreenRoot(bool)’:
GraphicContext.cpp:1334: error: ‘glViewport’ was not declared in this scope
GraphicContext.cpp:1335: error: ‘glScissor’ was not declared in this scope
GraphicContext.cpp:1342: error: ‘glViewport’ was not declared in this scope
GraphicContext.cpp:1343: error: ‘glScissor’ was not declared in this scope

I use fedora core7 and it seems OPENGL is missing but i dont get the package name Sad

however, neither gl-info seems to exist

I dont mind if the graphics card is bad in my pc. finally i intend to run this app in the xbox with linux installed. I supposse it has apropriate hardware Smile

thanx in advance
find quote
rodalpho Offline
Fan
Posts: 546
Joined: Nov 2006
Reputation: 16
Post: #7
Disable-gl has been broken for weeks now. I've never gotten it to successfully compile with that flag. Someone submitted a patch to fix it, but I assume it hasn't been committed.
find quote
rodalpho Offline
Fan
Posts: 546
Joined: Nov 2006
Reputation: 16
Post: #8
Also (no edit on this forum!) I think he meant "glxinfo", not gl-info.
find quote
d4rk Offline
Team-XBMC Developer
Posts: 500
Joined: May 2007
Reputation: 1
Location: Albuquerque
Post: #9
Quote:finally i intend to run this app in the xbox with linux installed.
The Linux port is not meant to be run in xbox's linux. Why would you when there's already XBMC that runs on the xbox natively? The intended target of the Linux port is a Linux PC with OpenGL support.

Always read the XBMC online-manual, FAQ and search the forum before posting.
Please read and follow the forum rules.
For troubleshooting and bug reporting, please make sure you read this first.


[Image: badge.gif]
find quote
gsohler Offline
Junior Member
Posts: 15
Joined: Dec 2007
Reputation: -10
Post: #10
d4rk Wrote:The Linux port is not meant to be run in xbox's linux. Why would you when there's already XBMC that runs on the xbox natively? The intended target of the Linux port is a Linux PC with OpenGL support.

I would prefer the linux version of xbmc on xbox linux over the original one because:

* I trust ext2fs more than fatx
* i could run some programs parallel to xbmc (like a media server), on the same hardware
find quote
Post Reply