View Full Version : [MAC] Pictures glitches over SMB in XBMC for Mac on PPC (PowerPC)?
Has anyone seen a situation where pictures served over SMB are all corrupt? What I mean by corrupt is they just look like random garbage. However the odd thing is that the thumbnails are all correct. It doesn't matter what file type, they are all like that.
The source is a symbolic link to the "Originals" folder within my iPhoto library.
I also noticed that on two skins there is a similar situation with some of the GUI background images. Could my XBMC install have got corrupted some how? I just installed it fresh a couple days ago before I started trying to set it up.
Edit: also, XBMC doesn't ever WRITE to the files that it has access to over the network, right? I mean it's not writing thumbnails for instance to the original files, correct?
jmarshall
2009-07-23, 01:35
Correct - XBMC does not write to your folder. Which revision of XBMC are your running?
Also, are the skin images loading over SMB? Does the same problem happen if the images are local?
Cheers,
Jonathan
Thanks very much for replying.
>> Correct - XBMC does not write to your folder.
Whew
>> Which revision of XBMC are your running?
version 9.04.1 for PPC. Downloaded fresh just a few days ago.
>> Also, are the skin images loading over SMB?
No. They are local.
> Does the same problem happen if the images are local?
Except for the skin issue above, I'm not sure yet. I would check but I don't want to interrupt the (very long, maybe days) scan of my music collection. (you replied in other thread, i have other questions there too. thanks).
Anyway I will check this ASAP and report back.
Edit: local files are doing the same thing as well. the skin that works is Project Mayhem III. The other 2 default skins are having the same image problem with background images.
The-Boxhead
2009-07-24, 00:33
You didnt mention what plattform you are on.
But this sounds like a memory issue, maybe you are running out of memory ?
If you enable debugmode you can see on the top of the screen the status of your memory...
I did mention the platform. It says [MAC] in the title and I mention PPC (PowerPC) in the above post. I suppose it COULD be a memory issue but I did two things:
1. defragged my disk
2. downloaded and installed fresh copy of XBMC 9.04.1 (repackaged) for PPC
3. rebooted fresh and ran nothing except small background daemons and XBMC.
4. did nothing in XBMC except open a local picture file.
Same thing. Would be immensely surprised if it were memory.
edit: i am running on a an older machine which isn't exactly a supercomputer, but 1 GB of RAM should be ok to show a picture.
The-Boxhead
2009-07-24, 01:25
Okay then so prolly not a memory issue.
Could you post a COMPLETE debug log with a session where you try to watch pictures ?
use pastebin or similar sites. (you could clean the logfile first so it's not so large)
jmarshall
2009-07-24, 02:51
The problem with the skins is probably that the textures were packed little endian and you're PPC version is expecting big endian.
I'll let our PPC dev know.
Cheers,
Jonathan
well i'm happy to report that for now at least the problem fixed itself -- apparently by shutting down the computer for a few hours (after it being on for a few days). maybe overheated processor? still it doesn't make total sense that it was just images that did that and not movies or most of the interface or anything outside of XBMC. so just odd i guess. the only other factor was turning ON the debug log haha. as for the big endian encoding, i saw this message after shutting down the puter and can't test that theory with another skin right now. will report next time.
The problem with the skins is probably that the textures were packed little endian and you're PPC version is expecting big endian.
I'll let our PPC dev know.
Cheers,
Jonathan
This happened again -- on a relatively fresh restart. So it's not the processor heat I suppose after all.
Interesting finding: I was using Rowmote and the pictures are sent correctly to the iPhone, while displaying as garabage on the Panasonic monitor. So I would guess it's not a decoding problem? Or maybe the iPhone is doing the decoding separately?
I have the same problem with my PPC Mac Mini. Windows version works just great.
Could you describe how to reproduce the problem?
Is it systematic? Always with the same pictures?
Please pastebin the xbmc.log when the problem occurs (don't forget to enable debug logging).
Thanks
I can't narrow down how to reproduce it. all i know is once it starts happening it doesn't stop on that launch, and it is by no means certain that a relaunch will cure it. on the PPC it happens about 90% of the time. ie, it sometimes but rarely works. I posted a log already in this thread (http://www.xbmc.org/forum/showthread.php?t=55321) -- in that session I also looked at pictures, I'm fairly certain, because I was testing all the issues I was having. But nothing noticeable there. Unfortunately today I gave up on the PPC & XBMC. Will return to it hopefully later down the development line. I offered to retest a new build though especially with regards to the USB to Digital audio output issue. Will test this again at that time.
The debug logging was not enabled in the log you posted...
Really need that to investigate.
So far I haven't managed to reproduce the problem on my mac mini G4.
StillSchweiger
2009-10-28, 00:48
Hi,
I'm experiencing the exact same problem as ctawn.
I'm running XBMC 9.04.1 on my Mac Mini (PPC) 1,25 Ghz 1GB Ram and ATI Radeon 9200 with 32MB (most PPC mac minis have 64MB). It is a pretty old Mac mini.
If you are intetrested to find out more about this problem, I'm happy to post some logs. Just let me know what you need from me.
Kind regards Still
BTW: Thank you for all your hard work . This is the best "open source" product I know. Never believed "Open Source" can be such professional.
Sure, pastebin xbmc.log when the problem occurs (activate debug logging before).
With what kind of pictures do you have the problem? Type? Size?
The more details you can give, the better.
StillSchweiger
2009-11-05, 15:39
thx for willing to look into it.
when I get back home tonight I'll try to collect the information.
I'll also try it with Camelot to see whether it may have changed between the two releases.
Regards Still
StillSchweiger
2009-11-08, 23:08
Hi Beenje,
coming back to the problem with the corrupt output when displaying jpegs
in XBMC on a Mac Mini. Ok here are the facts
I'm running XBMC 9.04.1 on my Mac Mini (PPC) 1,25 Ghz 1GB Ram and ATI Radeon 9200 with 32MB (newer PPC mac minis have 64MB).
My Pictures are all JPEGS and are stored on a Network Drive. I created a SMB source in XBMC which points to the picture folder on the NAS.
When I go to pictures in XBMC and select a picture from the list, the preview is ok. (See attachment). If I now display this picture by double clicking on the entry I get following corrupt output (see attachment).
The Output that you see is not static, some pixels change when I move the mouse, so I think it doesn't have to do anything with the JPEG File itself , but it is rather some issue with the graphic card.
Earlier this day I was able to see a different picture correctly but I couldn't reporduce it.
Here are the attachments:
http://pastebin.com/m3406cc7e
Screenshot when displaying a picture (I took the screenshot via VNC from a another machine)
http://www.fotos-hochladen.net/xbmcjpegproblemsd4tfnk8.jpg
Here you can see the preview
http://www.fotos-hochladen.net/xbmcjpegproblem2rp8c7xan.jpg
And here are the media information
http://www.fotos-hochladen.net/xbmcjpegproblem3rtif7bxj.jpg
Would be great If you can have a look at this.
Thx again for all your work and time you spent already for this prodcut.
Regards Still
Thanks for all the info Still.
I reproduced the problem (I have the same mac mini btw :))...
Not linked to smb (pictures were on my local drive).
It seems to happen with "high" resolution pictures.
Can't say more for now... Doesn't look like it's gonna be easy to solve.
Any idea is welcome ;)
StillSchweiger
2009-11-12, 13:54
Hi Beenje,
nice to hear you have an early mac mini too ... I was feeling like Wall-e .. but now :)
Thx for having time to investigate this.
2 things that are for me somehow suspicious and may give you a hint
- The corrupt output looks pretty terrible, but I think I can recognize that actually it doesn't display the image itself but the screen from where you initially triggered the display of the picture. In my case it would be this screen: Image List with preview.
http://www.fotos-hochladen.net/xbmcj...m2rp8c7xan.jpg
When moving around the mouse you can recognize that the mouse pointer is is also displayed too, but also very corrupt and duplicated. -> doesn't this point to a low-level interface-problem with the display driver ?
- The other thing is that the display of pictures is sometimes working. But the next time I start XBMC the exact same picture doesn't work.
I doesn't look like it has to do something with Skins as I experienced this issue already with several other Skins.
Hope this helps you a little bit. In the meantime I will try to find out, how you can reproduce a working picture and a wrong picture.
Thx, Still
BTW: I like Camelot very much, it looks like a lot of things have been improved. There are still some bugs which I experienced, will post them soon. I'm looking forward to contribute here.
No luck so far. I've created a trac ticket: http://xbmc.org/trac/ticket/7724
StillSchweiger
2009-11-18, 00:48
ok, let's see, If some body will pick it up. :;):
Fixed in svn r24846
Should be fine on mac with ATI Radeon 9200 or ATI Radeon X1600 (where I saw the problem).
A beta with that fix should be out soon, so test please :)
Thanks to jmarshall and elupus for helping me on that!