DDS-Fanart supported on Raspberry Pi?
#1
Hi,

i found various references for dds fanart on raspberry pi. The xbmc wiki says that dds fanart isn't working on arm/atv2/ios devices. Some guy in the raspberry pi forums asserts that it is working.

So can i get an official answer?

Also it would be great to know if the dds rendering benefits from a overclocked gpu.

Thank you in advance

Best regards

regnets
Reply
#2
Technical dds fanarts work on the PI.
Reply
#3
The only thing I see on the wiki is a mention specifically about the ATV2, but not about other ARM devices.
Reply
#4
...but there are some problems?

And i can assume that it contribute to a speedier gui on the raspberry because the cpu don't have to do the jpeg/png uncompression?

Thank you for the fast answer!

@ned: I was sure there was a reference to arm devices. But you are right there is no reference to arm devices.
Reply
#5
Stay with jpeg files, those are well tested. I'm unsure if DDS fanarts have a negative memory impact on the GPU side.
Reply
#6
I've got a 512 MB Raspberry Pi and will use a 256/256 split, so i think the larger mermory footprint could be negligible. Or do you think the impact will be really great?
Reply
#7
(2012-10-25, 10:01)regnets Wrote: I've got a 512 MB Raspberry Pi and will use a 256/256 split, so i think the larger mermory footprint could be negligible. Or do you think the impact will be really great?

My advise is not using dds fanarts.
Reply
#8
Ok if you say so, i have nothing to riposte. You are the expert! Thank you!
Reply
#9
@gimli: Does the GPU even support DXTn compression? I was under the assumption that most of these SoCs don't?
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.


Image
Reply
#10
@jmarshall: don't know. At least it worked when i enmabled it.
Reply
#11
The GPU has no hardware support for compressed textures. At best it will decompress them when texture is uploaded then use the full size version.
I'd expect dds is best disabled, but it would be useful if someone can try it each way and report which is faster or more stable.
Reply
#12
i did some testing with dds fanart yesterday. imo the gui seems a little bit faster (tried the fanart view in the video lib), also i didn't look at the cpu usage. i'll do it this evening.
Reply
#13
(2012-10-25, 13:56)j4nu5 Wrote: i did some testing with dds fanart yesterday. imo the gui seems a little bit faster (tried the fanart view in the video lib), also i didn't look at the cpu usage. i'll do it this evening.

Also check "vcdbg reloc" to see the GPU usage.
Reply
#14
(2012-10-25, 11:23)jmarshall Wrote: @gimli: Does the GPU even support DXTn compression? I was under the assumption that most of these SoCs don't?

IIRC no SoC afaik support it, they have different algorithms but not DXTn. My memory is rather fuzzy but s3tc is usually supported on linux with gles and is (if my memory serve me right) DXT1. Another more common, since its used in android, is ETC1-3 (unsure on the number, might be ETC2). Not sure if ETC2 is available on pure linux gles.

(2012-10-25, 09:42)gimli Wrote: Stay with jpeg files, those are well tested. I'm unsure if DDS fanarts have a negative memory impact on the GPU side.

In general DDS, or more importantly the texture and its compression inside it has good memory impact. Usually adds a bit on the processing (needs to decompress at render) but thats usually done in hw so usually almost a noop. Not sure which compression algorithms the PI supports though? S3TC? ETC2?
If you have problems please read this before posting

Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.

Image

"Well Im gonna download the code and look at it a bit but I'm certainly not a really good C/C++ programer but I'd help as much as I can, I mostly write in C#."
Reply
#15
I've found out that the R-Pi does support ETC1 in hardware, and that is 4bpp (so 1/8 size).
It's lossy, so will have some effect on quality. I don't think xbmc supports that though.

Enabling dds means we load the compressed file (which is smaller), but the ARM decodes it to 32bpp before uploading to GPU. I'd be surprised if this is faster.
Reply

Logout Mark Read Team Forum Stats Members Help
DDS-Fanart supported on Raspberry Pi?0