EpWoody
Posts: 14
Joined: Tue Mar 27, 2012 12:56 pm

Re: 24 bits display

Fri Apr 20, 2012 7:52 am

I've compiled XBMC for the Debian image, but it won't start since it requires a 24 bit display. Does anyone have a clue how to change that? The framebuffer is at 16 bit colordepth at the moment.

dom
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 5370
Joined: Wed Aug 17, 2011 7:41 pm
Location: Cambridge

Re: 24 bits display

Fri Apr 20, 2012 9:24 am

Where did you get the source code from?
It should be here:
https://github.com/xbmc/xbmc-rbp

EpWoody
Posts: 14
Joined: Tue Mar 27, 2012 12:56 pm

Re: 24 bits display

Fri Apr 20, 2012 9:58 am

That's the source I used. Got quite a few issues, but after I'd fixed those I got a bin. When I run that, it says it needs 24 bits colordepth. As far as I can tell, the colordepth is 16 bits on the Debian6 distro.

liamfraser280
Posts: 354
Joined: Tue Oct 04, 2011 6:53 pm
Contact: Website

Re: 24 bits display

Fri Apr 20, 2012 2:46 pm

I second this, fbset won't change it also. Same issue on Arch. Also, I get a device not found when trying to run straight from a framebuffer. I don't know if this is supposed to be possible or not or if it's designed to run on X.

Have you got XBMC running Dom? Would be great to get it going so I can show off a video. It's the thing everyone wants to see after Quake 3

Going to try updating to a newer kernel - thankfully it's compiled already because I'm on arch!

EpWoody
Posts: 14
Joined: Tue Mar 27, 2012 12:56 pm

Re: 24 bits display

Fri Apr 20, 2012 2:54 pm

With a bit of luck, I'll be able to start xbmc in a few minutes...

BCM2708FB: start = c8900000,49384000 width=720, height=480, bpp=24, pitch=2160 size=1036800 success=0

Will report in a bit

liamfraser280
Posts: 354
Joined: Tue Oct 04, 2011 6:53 pm
Contact: Website

Re: 24 bits display

Fri Apr 20, 2012 3:14 pm

Tell us how to change the bpp !

EpWoody
Posts: 14
Joined: Tue Mar 27, 2012 12:56 pm

Re: 24 bits display

Fri Apr 20, 2012 3:56 pm

Compile your own kernel... It's not that hard, but somehow my desktop is now yellow instead of blue.

XBMC didn't start, said Illegal Operation. Don't know why yet. Happens with a version build by debian-multimedia, as well as build by me.

liamfraser280
Posts: 354
Joined: Tue Oct 04, 2011 6:53 pm
Contact: Website

Re: 24 bits display

Fri Apr 20, 2012 4:03 pm

We need to try and bully OpenELEC into getting their image out

liamfraser280
Posts: 354
Joined: Tue Oct 04, 2011 6:53 pm
Contact: Website

Re: 24 bits display

Fri Apr 20, 2012 4:03 pm

Out of curiosity, how do you set the fb?

dom
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 5370
Joined: Wed Aug 17, 2011 7:41 pm
Location: Cambridge

Re: 24 bits display

Fri Apr 20, 2012 4:51 pm

@liam presumably with fbset

Yes, I have working xbmc. It's great!

It's only been tested by a handful of people, so it's obviously going to have issues, but it's pretty good for alpha software.

The build procedure is quite complicated, so I'll try and rebuild it from scratch and post my notes here this weekend.

What I really need is someone who knows about packaging who can build it and produce a deb file everyone can use. Any volunteers?

liamfraser280
Posts: 354
Joined: Tue Oct 04, 2011 6:53 pm
Contact: Website

Re: 24 bits display

Fri Apr 20, 2012 5:01 pm

I tried fbset -depth 24 and it returns a success message. Nothing changes though and running fbset again just says its running at 16 bit. Do I need to pass it during boot at some point? This is on arch.

Any chance of sharing your build of xbmc? I'll understand if not but I'd love to show it off over the weekend as my email for the RasperryPiTutorials channel is spammed with xbmc comments!

Sadly I don't know anything about packaging deb files and have exams coming up so it would take too much time from me. Something I could look into over summer because I'll have the time to be a package maintainer from then on

Cheers,

Liam.

P.S Thanks for your work on the kernel and everything else

dom
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 5370
Joined: Wed Aug 17, 2011 7:41 pm
Location: Cambridge

Re: 24 bits display

Fri Apr 20, 2012 5:01 pm

Liam Fraser said:


We need to try and bully OpenELEC into getting their image out


Yes. To be fair the OpenELEC guy, Stephan doesn't have a R-Pi board, so it's tricky for him to release an image. (Liz! Eben! get him a board!).

He did produce a working image some weeks back, but that is a little out of date, and his rebuild didn't immediately work.

dom
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 5370
Joined: Wed Aug 17, 2011 7:41 pm
Location: Cambridge

Re: 24 bits display

Fri Apr 20, 2012 5:08 pm

Liam Fraser said:

Any chance of sharing your build of xbmc? I'll understand if not but I'd love to show it off over the weekend as my email for the RasperryPiTutorials channel is spammed with xbmc comments!
That's why I need to get my notes together. It doesn't currently run self contained. There's a long list of packages that need installing first, and then there's some copying and symbolic linking as the run time libs from toolchain are newer than the debian image...

liamfraser280
Posts: 354
Joined: Tue Oct 04, 2011 6:53 pm
Contact: Website

Re: 24 bits display

Fri Apr 20, 2012 5:13 pm

Ahh okay. It's been a bit of a nightmare - god knows how many times I've tried to compile it. I'd very much appreciate it if you could let me know when you've got your notes down

Thanks,

Liam.

texy
Forum Moderator
Forum Moderator
Posts: 5160
Joined: Sat Mar 03, 2012 10:59 am
Location: Berkshire, England

Re: 24 bits display

Fri Apr 20, 2012 5:25 pm

"Spammed" is a bit harsh Liam
Texy
Various male/female 40- and 26-way GPIO header for sale here ( IDEAL FOR YOUR PiZero ):
https://www.raspberrypi.org/forums/viewtopic.php?f=93&t=147682#p971555

User avatar
walney
Posts: 233
Joined: Wed Nov 30, 2011 6:57 pm
Contact: Website

Re: 24 bits display

Fri Apr 20, 2012 6:26 pm

Liam Fraser said:


Sadly I don't know anything about packaging deb files and have exams coming up so it would take too much time from me.



That's a shame... but I live quite close to you, so I could pop over and borrow your pi to remove any temptation when you should be studying. (You can have it back in July.)

dom
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 5370
Joined: Wed Aug 17, 2011 7:41 pm
Location: Cambridge

Re: 24 bits display

Sat Apr 21, 2012 12:29 am


Return to “Troubleshooting”