[LINUX] Problems compiling crystalhd branch

  Thread Rating:
  • 2 Votes - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
dan1son Offline
Fan
Posts: 608
Joined: Dec 2008
Reputation: 0
Post: #11
OK. I just want to make sure this is still the case. I need to go through the steps on the bootloader to get sound working even on 8.04? I'm not getting any sound right now (I really want optical AC3 pass-through to work). Is that a possibility at all?

I should clarify I'm only trying sound playback in totem right now. Can't get anything to play through HDMI or optical. (assuming those use the same output on the card?)
(This post was last modified: 2009-11-28 07:26 by dan1son.)
find quote
davilla Online
Team-XBMC Developer
Posts: 10,399
Joined: Feb 2008
Reputation: 58
Post: #12
dan1son Wrote:OK. I just want to make sure this is still the case. I need to go through the steps on the bootloader to get sound working even on 8.04? I'm not getting any sound right now (I really want optical AC3 pass-through to work). Is that a possibility at all?

I should clarify I'm only trying sound playback in totem right now. Can't get anything to play through HDMI or optical. (assuming those use the same output on the card?)

yes.

I'm also running nvidia 185.18.14 but analog out. Not sure if audio over hdmi works with this version.

Other hints, install cpufreq as Ubuntu 8.04 will cycle down to 600MHz when CPU drops below 20 percent.

sudo cpufreq-set -d 1000MHz -u 1000MHz

will stop that silliness.

Add "processor.max_cstate=2" to the kernel boot args in menu.1st to keep out of C3.


MediaInfo : http://mediainfo.sourceforge.net/
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
find quote
dan1son Offline
Fan
Posts: 608
Joined: Dec 2008
Reputation: 0
Post: #13
Upon further investigation it seems as though sound works fine in Gnome, but not in XFCE without manually starting ESD... even then it's just stereo...

I followed the steps here http://code.google.com/p/atv-bootloader/...buntuHardy
find quote
motd2k Offline
Team-XBMC Developer
Posts: 666
Joined: Dec 2008
Reputation: 0
Location: England
Post: #14
gimli, that makes this much less sporting!
find quote
davilla Online
Team-XBMC Developer
Posts: 10,399
Joined: Feb 2008
Reputation: 58
Post: #15
crystalhd branch is safe now, I highly recommend enabling pixel buffer objects in settings -> system -> video Smile


MediaInfo : http://mediainfo.sourceforge.net/
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
(This post was last modified: 2009-11-28 10:17 by davilla.)
find quote
Jaken Offline
Senior Member
Posts: 156
Joined: Nov 2009
Reputation: 0
Post: #16
will ubuntu 8.04.3 work?
find quote
Evinyatar Offline
Member
Posts: 58
Joined: Feb 2008
Reputation: 0
Location: Belgium
Post: #17
Thanks for the tip, gimli Smile Finally decided to shrink my media partition and do a proper Hardy install. Totem with CrystalHD works fine now.
Got XBMC with CrystalHD running now and at first glance I'm quite impressed by how much smoother the GUI is compared to ATV and the XBMC Live experiment I did a while back! Unfortunately the video itself is a bit screwed up. It appears frames are not being played in the right order and often there's a black frame in there somewhere too. I'm blaming the driver version. dmesg tells me:
Code:
[ 6638.011135] Opening new user[0] handle
[ 6638.011145] Starting BCM70012 Device
[ 6638.210393] CInitializing Dio pool 10 1024 505c c4410780
[ 6639.876794] Firmware Downloaded Successfully
[ 6640.027597] DelQAddr:4fd60 RelQAddr:4fe64
[ 6640.452435] App PIB:0 0 420 2 1f 220 220 0 0 0
[ 6640.455900] [b]*ERR*:/usr/src/modules/bcm70012kmod/mpclink/bc_link_cmds.c:464: RX->Invalid Arg 00000000 0[/b]
[ 6641.873356] list_index:1 rx[1] Y:10 UV:10 Int:2800 YDnSz:0 UVDnSz:0
[ 6670.414421] list_index:1 rx[2] Y:10 UV:10 Int:2800 YDnSz:0 UVDnSz:0
[ 6687.613096] list_index:1 rx[3] Y:10 UV:10 Int:2800 YDnSz:0 UVDnSz:0
[ 6718.849019] list_index:1 rx[4] Y:10 UV:10 Int:2800 YDnSz:0 UVDnSz:0
find quote
davilla Online
Team-XBMC Developer
Posts: 10,399
Joined: Feb 2008
Reputation: 58
Post: #18
Evinyatar Wrote:Thanks for the tip, gimli Smile Finally decided to shrink my media partition and do a proper Hardy install. Totem with CrystalHD works fine now.
Got XBMC with CrystalHD running now and at first glance I'm quite impressed by how much smoother the GUI is compared to ATV and the XBMC Live experiment I did a while back! Unfortunately the video itself is a bit screwed up. It appears frames are not being played in the right order and often there's a black frame in there somewhere too. I'm blaming the driver version. dmesg tells me:
Code:
[ 6638.011135] Opening new user[0] handle
[ 6638.011145] Starting BCM70012 Device
[ 6638.210393] CInitializing Dio pool 10 1024 505c c4410780
[ 6639.876794] Firmware Downloaded Successfully
[ 6640.027597] DelQAddr:4fd60 RelQAddr:4fe64
[ 6640.452435] App PIB:0 0 420 2 1f 220 220 0 0 0
[ 6640.455900] [b]*ERR*:/usr/src/modules/bcm70012kmod/mpclink/bc_link_cmds.c:464: RX->Invalid Arg 00000000 0[/b]
[ 6641.873356] list_index:1 rx[1] Y:10 UV:10 Int:2800 YDnSz:0 UVDnSz:0
[ 6670.414421] list_index:1 rx[2] Y:10 UV:10 Int:2800 YDnSz:0 UVDnSz:0
[ 6687.613096] list_index:1 rx[3] Y:10 UV:10 Int:2800 YDnSz:0 UVDnSz:0
[ 6718.849019] list_index:1 rx[4] Y:10 UV:10 Int:2800 YDnSz:0 UVDnSz:0

That ERR is normal, we have not tracked it down. Two things, 1) svn version of the crystalhd branch you a building, 2) md5 checksum of bcmFilePlayFw.bin.

Remember, this is a development branch. It's not perfect but is complete enough to demonstrate proof-of-principal. There are demuxer feed issues and picture retrieval issues still being worked out.


MediaInfo : http://mediainfo.sourceforge.net/
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
find quote
davilla Online
Team-XBMC Developer
Posts: 10,399
Joined: Feb 2008
Reputation: 58
Post: #19
Jaken Wrote:will ubuntu 8.04.3 work?

yes, any 8.04 flavor is fine.


MediaInfo : http://mediainfo.sourceforge.net/
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
find quote
Evinyatar Offline
Member
Posts: 58
Joined: Feb 2008
Reputation: 0
Location: Belgium
Post: #20
This was SVN revision 25101. MD5 checksum: aa7b6bec69bd1ec9515718c4eb776b40
Not every video I tried has this problem. I'll see if I can find what the ones that do have in common.
find quote
Post Reply