Unable to Cycle Wallpapers Correctly

For topics which do not fit in other specific forums.
MrBoydee
Posts: 13
Joined: Thu Aug 05, 2021 11:02 pm
Has thanked: 3 times

Unable to Cycle Wallpapers Correctly

Unread post by MrBoydee »

Hi Im having a really basic issue I can seem to solve? When ever I put any amount of images in wallpapers folder even if its just 1.

Sometimes the image will cycle correctly other times a grey checkered pattern appears instead of the actual picture or pictures

Pictures are formatted .png or .jpg and are 1,920 x 1,080.

fb_terminal=1

It doesn't seem to matter what photo I use the failure will happen.

The only time it's stable is if I use a menu.png/jpg

Ive tried resetting ini to default

Attachments
IMG_5026.jpeg
IMG_5026.jpeg (1.3 MiB) Viewed 1181 times
gameboyhomeboy
Posts: 14
Joined: Wed Jan 19, 2022 6:21 pm

Re: Unable to Cycle Wallpapers Correctly

Unread post by gameboyhomeboy »

I have the same issue and was unable to find a solution. I'll be watching this thread.

User avatar
Arbitrary Function
Posts: 13
Joined: Wed Nov 09, 2022 7:13 am
Has thanked: 5 times

Re: Unable to Cycle Wallpapers Correctly

Unread post by Arbitrary Function »

I also have the same issue. I assumed there was something corrupt with one or more of my image files, but that wasn’t the case because it still happens when I only have one image in the folder, and it doesn’t matter which one.

markpaterson
Posts: 35
Joined: Thu Jan 13, 2022 8:13 pm
Has thanked: 3 times

Re: Unable to Cycle Wallpapers Correctly

Unread post by markpaterson »

Same problem

markpaterson
Posts: 35
Joined: Thu Jan 13, 2022 8:13 pm
Has thanked: 3 times

Re: Unable to Cycle Wallpapers Correctly

Unread post by markpaterson »

HOLY SHIT!! I figured it out like two mins after posting that comment LOL. I'm guessing you're all on a Mac like me??????? The problem is that MiSTer is trying to load those damn invisible Apple metadata dot files and thinking they are images!!! This fails, and it reverts to the checkerboard default.

For example, lets say you drag a bunch of files from your Mac to your SD card (or USB or SMB share)…

Code: Select all

Wallpaper1.png
Cool Picture.jpg
Background 4.jpg

macOS will detect that the files are going to a non-Apple file system and therefor will generate metadata files along side them…

Code: Select all

._Wallpaper1.png
._Cool Picture.jpg
._Background 4.jpg

You need to delete these! You can Google various ways to do this, but my preferred method is a great utility called BlueHarvest which can scan your MiSTer volume (SD, USB, or SMB) and recursively delete ALL dot files. Or you can target just the wallpaper folder. http://www.zeroonetwenty.com/blueharvest

User avatar
limi
Top Contributor
Posts: 776
Joined: Sun May 24, 2020 6:53 pm
Has thanked: 180 times
Been thanked: 570 times

Re: Unable to Cycle Wallpapers Correctly

Unread post by limi »

MiSTer’s code should definitely not attempt to load files starting with a .dot (independent of Apple’s silly behavior here — it should ignore hidden Linux dot files too), file a bug?

And thanks for the tip about BlueHarvest! I guess I need to fork out $15 to fix something Apple refuses to fix 😜

markpaterson
Posts: 35
Joined: Thu Jan 13, 2022 8:13 pm
Has thanked: 3 times

Re: Unable to Cycle Wallpapers Correctly

Unread post by markpaterson »

It's 100% what is going on here. Let's say I have 5 images in the wallpaper folder. I noticed that the checkerboard background would show with a high probability, on average 5 times every 10 restarts, which makes sense because each file has a corresponding dot underscore file. Delete these dot files and you never see the problem again!

Where do I file a bug report?

BlueHarvest is great. In addition to the dot files it also cleans a whole bunch of Mac specific crap you don't need on non Mac volumes. It sits in your menu bar, ready to "Clean and Eject" a drive, etc. I totally agree though that an Apple fix would be nice. Even if it was just a command to switch it off in the com.apple.desktopservices plist.

User avatar
limi
Top Contributor
Posts: 776
Joined: Sun May 24, 2020 6:53 pm
Has thanked: 180 times
Been thanked: 570 times

Re: Unable to Cycle Wallpapers Correctly

Unread post by limi »

markpaterson wrote: Tue Nov 26, 2024 10:39 am

Where do I file a bug report?

https://github.com/MiSTer-devel/Main_MiSTer/issues

I totally agree though that an Apple fix would be nice. Even if it was just a command to switch it off in the com.apple.desktopservices plist.

They do let you turn it off (well, most of them) for network drives, but sadly not for locally connected drives.

markpaterson
Posts: 35
Joined: Thu Jan 13, 2022 8:13 pm
Has thanked: 3 times

Re: Unable to Cycle Wallpapers Correctly

Unread post by markpaterson »

Thanks for the link.

I actually have the "DSDontWriteNetworkStores" set to true already, but it made no difference to my SMB share. Perhaps that does not turn off the dot underscore generation but instead just prevents creation of .ds_store?

markpaterson
Posts: 35
Joined: Thu Jan 13, 2022 8:13 pm
Has thanked: 3 times

Re: Unable to Cycle Wallpapers Correctly

Unread post by markpaterson »

User avatar
RealLarry
Top Contributor
Posts: 883
Joined: Mon May 25, 2020 4:04 am
Location: San Junipero/DE/Earth
Has thanked: 120 times
Been thanked: 386 times

Re: Unable to Cycle Wallpapers Correctly

Unread post by RealLarry »

markpaterson wrote: Tue Nov 26, 2024 11:05 am

Filed a bug report https://github.com/MiSTer-devel/Main_MiSTer/issues/935

Hint added to the bug report. Add a line

Code: Select all

hide files = /.*/

to MiSTer's /etc/samba/smb.conf to your used share(s) and problem is gone.
For now the bad thing is that after a MiSTer update (Main/Linux) smb.conf will be overwritten with a default one w/o this fix.

Contributor of tty2oled, author of tty2tft, tty2rpi and update_tty2xxx
Post Reply