Kodi Community Forum
XBMC Linux port questions and answers... - Printable Version

+- Kodi Community Forum (http://forum.kodi.tv)
+-- Forum: Help and Support (/forumdisplay.php?fid=33)
+--- Forum: Kodi General Help and Support (/forumdisplay.php?fid=111)
+---- Forum: Linux and Live support (/forumdisplay.php?fid=52)
+---- Thread: XBMC Linux port questions and answers... (/showthread.php?tid=26097)

Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26


Solved my problem - riker77 - 2007-05-17 14:16

Hi yuvalt,

I checked my mesa version. It is 6.5.2. Although it is new enough I reinstalled it. Guess what. Compilation now works. Thank you for pointing me into the right direction.

Regards,
riker


- Geeba - 2007-05-17 15:01

Not sure if this is relivent but if anyone watches DL.TV (great script on XBMC of course) then you would of seen them open up a ATV and fit a bigger HDD in... its well on the way to being the modders platform of choice I think Nod thinking of getting one and trying a few bits on it....


SVN works on ATI too - mace - 2007-05-17 20:10

I decided to see if i could get XBMC/Linux to run of ATI hardware, and yes it does.
Ubuntu 7.04, ATIConfused own driver and XBMC code from svn plus T3CHConfused compile works.


- ashlar - 2007-05-18 12:08

Gamester17 Wrote:@ashlar, FYI; not all DVI ports (chips) support HDCP (in fact most do not), but you can connect a HDMI=>DVI adapter on any HDMI ports converting it into a DVI port, so in that respect HDMI is prefered over DVI if you can not have both, (plus the fact that HDMI features digital video and audio in the same cable).

Wikipedia is you friend:
http://en.wikipedia.org/wiki/DVI
http://en.wikipedia.org/wiki/High-Definition_Multimedia_Interface
Hi! I know about DVI and HDCP, for that matter not all HDMI port that were put on the market in the earlier days supported HDCP properly. I'm just saying there's many DVI solution with HDCP support *and* they offer a better connector.

Plus, so far no computing solution has come out with support for the high res audio formats so... one might as well go through the classic SPDIF interface (furthermore, I really think the new audio formats are more marketing food than anything else, you need very, very expensive systems to tell the difference between full bitrate DTS and this new stuff).


- seaweed - 2007-05-18 12:34

If xbmc gets released for a certain hardware-box it should at least be one with hdcp support, no matter what the connector interface is. (DVI or HDMI)


- ashlar - 2007-05-18 13:14

seaweed Wrote:If xbmc gets released for a certain hardware-box it should at least be one with hdcp support, no matter what the connector interface is. (DVI or HDMI)
The only reason for hdcp support is if you'd want that box to be able to play unhacked HD-DVD or BD content.

In what is just my humble opinion, I feel that Apple TV would not be the right platform for this. To switch hardware platform by going to something that's underpowered *from day one* I feel would be a huge mistake.

Sure, Apple TV could be one of the unsupported hardware units that are capable of running XBMC Linux, and it could be good at that up to certain tasks. But as far as I understand it, it's severely limited even at 720p when decoding h.264 (notwithstanding the fact that when I read about reverse engineering to get h.264 acceleration working under Linux... well, is this worth the effort? Or does this apply to all nVidia solutions under Linux).

Major kudos to whoever suggested supporting the 360 wireless pad as a possible interface.

And pike... you asked "are we excited?". Hell, YEEEEEAAAAAAAH!!!!!! Big GrinShockedNod


- seaweed - 2007-05-18 14:04

ashlar Wrote:The only reason for hdcp support is if you'd want that box to be able to play unhacked HD-DVD or BD content.

Indeed, from external usb hd-dvd/blueray players Smile

But of course playing *264 stuff is just as important, so we need to have a high performance hardware platform to use xbmc on.


- ultrabrutal - 2007-05-18 22:57

ashlar Wrote:Plus, so far no computing solution has come out with support for the high res audio formats so... one might as well go through the classic SPDIF interface (furthermore, I really think the new audio formats are more marketing food than anything else, you need very, very expensive systems to tell the difference between full bitrate DTS and this new stuff).

Let's not rule those of us one day willing to spend the cash on a HD audio capable hdmi 1.3 receiver. lets go for hardware that covers even the stuff we know is coming! hdcp hdmi 1.3/1.3a is a must

and thanks for the kudos btw Wink


- gav1577 - 2007-05-19 01:03

hey guys i just think it should be ported to something a majority of us can afford
and still be able to use a normal tv as well as hd not everyone can afford all the expensive hardware and most people i know still dont have an hd tv although in a year or two i suppose they will. and just to boot i dont think many pepole will want a big bulky system sitting under their tv buzzing away in the background. hey but thats just my view guess we will just have to wait and see Smile


- aegzorz - 2007-05-19 02:57

I know a perfect system you can afford if you don't have a HDTV, it's called xbox Wink


- ultrabrutal - 2007-05-19 10:12

gav1577, dude... a port does not mean that the old xbox is abandoned. it still has it purpose like you describe. the port is for content which you have no use for anyways on your tv, so stay with the xbox.
the only problem when writing new source is that developer in some cases has to do special things for either xbox, linux or pc for it work on all supported platforms


- stickman - 2007-05-20 02:56

I just built the latest SVN with no problems and deployed the executable in the latest T3CH build directory, but there is no xbmc windows created at all.

I can't find any relevant info on the logfile on what the problem could be.
Maybe someone could help with that.

By the way. I'm on Feisty, gfx is GMA950 and direct rendering is working.

Quote:
02:39:02 M: 58179584 NOTICE: -----------------------------------------------------------------------
02:39:02 M: 58179584 NOTICE: Starting XBoxMediaCenter. Built on May 19 2007
02:39:02 M: 58179584 NOTICE: Q is mapped to: /home/stickman/dev/XBMC
02:39:02 M: 58179584 NOTICE: The executeable running is: /home/stickman/dev/XBMC/XboxMediaCenter
02:39:02 M: 58179584 NOTICE: Log File is located: /home/stickman/dev/XBMC/xbmc.log
02:39:02 M: 58179584 NOTICE: -----------------------------------------------------------------------
02:39:02 M: 58179584 NOTICE: Setup SDL
02:39:02 M: 56655872 NOTICE: load settings...
02:39:02 M: 56655872 NOTICE: loading /home/stickman/dev/XBMC/UserData/guisettings.xml
02:39:02 M: 56528896 NOTICE: Getting hardware information now...
02:39:02 M: 56528896 NOTICE: Checking resolution 10
02:39:02 M: 56528896 NOTICE: Setting autoresolution mode 6
02:39:02 M: 56528896 NOTICE: Per AV pack settings are on
02:39:02 M: 56528896 NOTICE: Unknown found : loading /home/stickman/dev/XBMC/UserData/avpacksettings.xml
02:39:02 M: 56528896 NOTICE: Getting hardware information now...
02:39:02 M: 56528896 NOTICE: Checking resolution 10
02:39:02 M: 56528896 NOTICE: Setting autoresolution mode 6
02:39:02 M: 56528896 NOTICE: /home/stickman/dev/XBMC/UserData/sources.xml
02:39:02 M: 56528896 ERROR: Load Error loading /home/stickman/dev/XBMC/UserData/sources.xml: Line 0, Failed to open file
02:39:02 M: 56528896 INFO: Checking skinpath existance, and existence of keymap.xml:Q:\skin...
02:39:02 M: 56528896 INFO: load language info file:/home/stickman/dev/XBMC/language/English/langinfo.xml
02:39:02 M: 55894016 INFO: load language file:/home/stickman/dev/XBMC/language/English/strings.xml
02:39:02 M: 55513088 INFO: load keymapping
02:39:02 M: 55513088 INFO: Loading /home/stickman/dev/XBMC/UserData/Keymap.xml
02:39:02 M: 55513088 INFO: Checking skin version of: Project Mayhem III
02:39:02 M: 55513088 INFO: Skin version is: 2.1
02:39:02 M: 55513088 INFO: GUI format 720x576 PAL 4:3
02:39:02 M: 55513088 INFO: install unhandled exception filter
02:39:02 M: 55513088 INFO: creating subdirectories
02:39:02 M: 55513088 INFO: userdata folder: /home/stickman/dev/XBMC/UserData
02:39:02 M: 55513088 INFO: recording folder:
02:39:02 M: 55513088 INFO: screenshots folder:
02:39:02 M: 55513088 INFO: thumbnails folder:/home/stickman/dev/XBMC/UserData/Thumbnails
02:39:02 M: 55513088 NOTICE: Checking the Date!
02:39:02 M: 55513088 INFO: - Current Date is: 20-5-2007
02:39:02 M: 55513088 NOTICE: start dvd mediatype detection
02:39:02 M: 55513088 NOTICE: initializing playlistplayer
02:39:02 M: 55513088 NOTICE: DONE initializing playlistplayer
02:39:02 M: 55513088 NOTICE: load default skin:[Project Mayhem III]
02:39:02 M: 55513088 INFO: load skin from:/home/stickman/dev/XBMC/skin/Project Mayhem III
02:39:02 M: 55513088 INFO: delete old skin...
02:39:02 M: 55513088 INFO: Default 4:3 resolution directory is /home/stickman/dev/XBMC/skin/Project Mayhem III/PAL
02:39:02 M: 55513088 INFO: Default 16:9 resolution directory is /home/stickman/dev/XBMC/skin/Project Mayhem III/PAL16x9
02:39:02 M: 55513088 INFO: Skin version is: 2.1
02:39:02 M: 55513088 INFO: Loading skin includes from /home/stickman/dev/XBMC/skin/Project Mayhem III/PAL/includes.xml
02:39:02 M: 55386112 INFO: load fonts for skin...
02:39:02 M: 55386112 INFO: Loading fonts from /home/stickman/dev/XBMC/skin/Project Mayhem III/PAL/Font.xml
02:39:02 M: 55386112 DEBUG: Load Scaled size of font /home/stickman/dev/XBMC/media/Fonts/Arial.ttf (14): width = 38, height = 20
02:39:02 M: 55324672 DEBUG: Load Scaled size of font /home/stickman/dev/XBMC/media/Fonts/Arial.ttf (14): width = 38, height = 20
02:39:02 M: 55324672 DEBUG: Load Scaled size of font /home/stickman/dev/XBMC/media/Fonts/Arial.ttf (15): width = 41, height = 21
02:39:02 M: 55324672 DEBUG: Load Scaled size of font /home/stickman/dev/XBMC/media/Fonts/Arial.ttf (16): width = 44, height = 23
02:39:02 M: 55324672 DEBUG: Load Scaled size of font /home/stickman/dev/XBMC/media/Fonts/Arial.ttf (16): width = 44, height = 23
02:39:02 M: 55324672 INFO: load new skin...
02:39:02 M: 55324672 INFO: Skin version is: 2.1
02:39:02 M: 55324672 INFO: Loading skin file: Home.xml
02:39:02 M: 55324672 INFO: WEATHER: Downloading weather
02:39:02 M: 55324672 INFO: Get URL: http://xoap.weather.com/weather/local/GMXX0154?cc=*&unit=m&dayf=4&prod=xoap&par=1004124588&key=079f2
4145f208494
02:39:02 M: 55070720 DEBUG: Load Home.xml: 0.00ms (-0.06 ms xml load)
02:39:02 M: 55070720 INFO: Loading user windows, path /home/stickman/dev/XBMC/skin/Project Mayhem III/PAL
02:39:02 M: 55070720 INFO: Loading skin file: /home/stickman/dev/XBMC/skin/Project Mayhem III/PAL/custom2_SkinSettings.xml
02:39:02 M: 55070720 DEBUG: Load Skin XML: 36.00ms
02:39:02 M: 55070720 INFO: initialize new skin...
02:39:02 M: 55070720 INFO: Loading skin file: Pointer.xml
02:39:02 M: 55070720 DEBUG: Load Pointer.xml: 0.00ms (-0.06 ms xml load)
02:39:02 M: 55070720 DEBUG: Alloc resources: 0.00ms (0.00 ms skin load, 0.00 ms preload)
02:39:02 M: 55070720 INFO: Loading skin file: DialogVolumeBar.xml
02:39:02 M: 55070720 DEBUG: Load DialogVolumeBar.xml: 0.00ms (-0.06 ms xml load)
02:39:02 M: 55070720 DEBUG: Alloc resources: 0.00ms (0.00 ms skin load, 0.00 ms preload)
02:39:02 M: 55070720 INFO: Loading skin file: DialogSeekbar.xml
02:39:02 M: 55070720 ERROR: unable to load:/home/stickman/dev/XBMC/skin/Project Mayhem III/PAL/DialogSeekbar.xml, Line 0
Failed to open file
02:39:02 M: 55070720 DEBUG: Alloc resources: 0.00ms (0.00 ms skin load, 0.00 ms preload)
02:39:02 M: 55070720 INFO: Loading skin file: DialogKaiToast.xml
02:39:02 M: 55070720 DEBUG: Load DialogKaiToast.xml: 0.00ms (-0.06 ms xml load)
02:39:02 M: 55070720 DEBUG: Alloc resources: 0.00ms (0.00 ms skin load, 0.00 ms preload)
02:39:02 M: 55070720 INFO: Loading skin file: DialogMuteBug.xml
02:39:02 M: 55070720 DEBUG: Load DialogMuteBug.xml: 0.00ms (-0.06 ms xml load)
02:39:02 M: 55070720 DEBUG: Alloc resources: 0.00ms (0.00 ms skin load, 0.00 ms preload)
02:39:02 M: 54943744 INFO: Loading /home/stickman/dev/XBMC/skin/Project Mayhem III/sounds/sounds.xml
02:39:02 M: 54943744 INFO: skin loaded...
02:39:02 M: 54943744 DEBUG: host name = xml.weather.com
02:39:02 M: 54943744 DEBUG: Activating window ID: 10000
02:39:02 M: 54943744 DEBUG: Checking if window ID 10000 is locked.
02:39:02 M: 54181888 DEBUG: Alloc resources: 0.00ms (0.00 ms skin load, 0.00 ms preload)
02:39:02 M: 54181888 INFO: removing tempfiles
02:39:02 M: 54181888 NOTICE: initialize done
02:39:02 M: 54181888 NOTICE: Running the application...
02:39:02 M: 54181888 DEBUG: NetworkMessage - Starting network services
02:39:02 M: 56098816 INFO: Get URL: http://feeds.feedburner.com/XboxScene
02:39:02 M: 54702080 DEBUG: host name = http://www.l.google.com
02:39:02 M: 55336960 DEBUG: host name = feeds.feedburner.com
02:39:02 M: 55083008 INFO: 302 Redirected: http://www.google.es/
02:39:02 M: 55083008 INFO: WEATHER: Weather download successful
02:39:02 M: 54419456 DEBUG: host name = http://www.l.google.com
02:39:05 M: 58093568 DEBUG: Got rss feed: http://feeds.feedburner.com/XboxScene
02:39:05 M: 58093568 DEBUG: RSS feed encoding: UTF-8
02:39:05 M: 58093568 DEBUG: Parsed rss feed: http://feeds.feedburner.com/XboxScene
02:39:15 M: 58228736 NOTICE: Storing total System Uptime
02:39:15 M: 58228736 NOTICE: Saving settings
02:39:15 M: 58228736 NOTICE: Saving Unknown settings in /home/stickman/dev/XBMC/UserData/avpacksettings.xml
02:39:15 M: 58228736 NOTICE: stop all
02:39:15 M: 58228736 DEBUG: NetworkMessage - Stopping network services
02:39:15 M: 58228736 NOTICE: stop dvd detect media
02:39:15 M: 58228736 NOTICE: stop daap clients
02:39:15 M: 58228736 NOTICE: stop python
02:39:15 M: 58228736 NOTICE: clean cached files!
02:39:15 M: 58228736 NOTICE: unload skin
02:39:15 M: 58228736 WARNING: Attempted to remove window 10115 from the window manager when it didn't exist
02:39:15 M: 58228736 NOTICE: unload sections
02:39:15 M: 58228736 NOTICE: destroy
02:39:15 M: 58228736 NOTICE: stopped



- jmarshall - 2007-05-20 04:21

Does glxgears work? What about some SDL apps (eg just download some simple SDL demos)


Mac/VM? - cullman - 2007-05-20 12:22

I'm a long time Linux/Windows/Xbox-xbmc user/programmer, and I have owned many shuttles and have tried to use them as HTPCs. I have switched over to Apple as my primary computing platform this year. My personal preference would be mac mini support. It has many benefits over most off the shelf shuttle type boxes. Built in IR, Bluetooth, WLAN, it's whisper quiet, small and likely to be a pretty static platform. I appreciate the fact AppleTv is cheaper but it's a somewhat closed platform, one of my main frustrations with the current Xbox as a platform is that it is a hack. It really limits the audience and the ability for your average users to get themselves out of a mess.

Even though I think the ideal platform would be mac mini. I do think that the Linux port should be the primary first effort. I think that a port from a well written linux port to os x would not be that difficult.

Another reason Linux is ideal is virtualization. I notice there is a lot of talk about what hardware this should run on, video cards, etc. I see the benefit of having a limited target platform. I think that one of the target platforms, if not the target platform should be VMWare or Parallels. This would not have been an option 6 months ago, but now both VMWare and Parallels are promising DirectX and OpenGL support (with Parallels OpenGL support already in Beta). If we fast forward to 12 or 18 months now and we have a flawless xmbc that uses a virtual target platform - both Parallels and VMWare will have pass through 3d support, off the shelf computing power even when taking the hit of virtualization will be much more powerful than the original Xbox's hardware. The end result is we get the advantage of a commercial enterprise doing the heavy lifting of hardware compatibility support, and now we have an XBMC that will run on Linux, Windows, and OSX.

Lastly, I think even if we did end up preferring a native version of xbmc (be it on linux or osx), there is an advantage to developing in a VM. Beyond the debugging, snapshotting and rollback advantages, it would allow us to all work on one hardware set on day one.


- stickman - 2007-05-20 13:55

jmarshall Wrote:Does glxgears work? What about some SDL apps (eg just download some simple SDL demos)

Yes, glxgears works just fine.

Previous builds used to work, at least on the first ones I tried. It was before the new GL2 renderer was used.

For testing purposes I've tried mplayer with -vo gl2 and it works. Here it's the relevant output:

Quote:Starting playback...
VDec: vo config request - 720 x 576 (preferred colorspace: Planar YV12)
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.25:1 - prescaling to correct movie aspect.
SwScaler: using unscaled yuv420p -> bgr24 special converter
VO: [gl2] 720x576 => 720x576 BGR 24-bit
[gl2] You have OpenGL >= 1.2 capable drivers, GOOD (16bpp and BGR is ok!)
[gl2] antialiasing off
[gl2] bilinear linear
A: 15.1 V: 15.0 A-V: 0.022 ct: 0.022 377/377 12% 47% 1.2% 0 0

I tested several of these SDL OpenGL demos and they worked just fine (except the last one, which is an OpenGL2 demo)

Maybe it would be useful to throw some SDL debug info in the logfile: used videodriver for example or videocard capabilities...