rpcs3 icon indicating copy to clipboard operation
rpcs3 copied to clipboard

[BUG] .appimage icon missing

Open juanpc2018 opened this issue 1 year ago • 7 comments

Quick summary

.appimage icon missing, if i manually force .appimage to select an icon, also changes other .appimage that have missing icon, but does Not affect .appimage that have icons.

Details

No response

Attach a log file

NA

Attach capture files for visual issues

No response

System configuration

Kubuntu 22.04.4 LTS

Other details

No response

juanpc2018 avatar Jan 07 '25 23:01 juanpc2018

@juanpc2018 What libfuse version is installed in your OS ? 2 or 3 ? You installed Steam ? Steam installation does changes in libfuse.

Augusto7743 avatar Jan 08 '25 01:01 Augusto7743

$ sudo apt list libfuse*
Listing... Done
libfuse-dev/jammy 2.9.9-5ubuntu3 amd64
libfuse-dev/jammy 2.9.9-5ubuntu3 i386
libfuse-perl/jammy 0.16.1+20180422git6becd92d7fce3fc411d7c-5build1 amd64
libfuse2/jammy,now 2.9.9-5ubuntu3 amd64 [installed,automatic]<--------------
libfuse2/jammy 2.9.9-5ubuntu3 i386
libfuse3-3/jammy,now 3.10.5-1build1 amd64 [installed,automatic]<--------------
libfuse3-3/jammy 3.10.5-1build1 i386
libfuse3-dev/jammy 3.10.5-1build1 amd64
libfuse3-dev/jammy 3.10.5-1build1 i386

$ sudo apt list steam*
Listing... Done
steam-devices/jammy,jammy,now 1:1.0.0.74-1ubuntu2 all [installed,automatic]<--------------
steam-installer/jammy,jammy 1.0.0.74-1ubuntu2 all
steam/jammy,now 1:1.0.0.74-1ubuntu2 i386 [installed,automatic]<--------------
steamcmd/jammy 0~20180105-4 i386

juanpc2018 avatar Jan 08 '25 15:01 juanpc2018

I have no idea what this ticket is about. You need to provide repro steps and show what is not working exactly.

AniLeo avatar Apr 08 '25 03:04 AniLeo

.appimage icons do Not show in 20.04 LTS 0% 50% .appimage icons show in 22.04 LTS 50% dont.

juanpc2018 avatar Apr 08 '25 03:04 juanpc2018

What icons? Game list icons? Provide a screenshot

AniLeo avatar Apr 08 '25 03:04 AniLeo

its working on 20.04 .4

but i have tested many other distros using ventoy... almost all distros. seems problem is related to Nvidia propietary driver...

shows ok using Nouveau driver NV137 in 20.04 but last time i tested clean install did Not work. 0% Now icon works.

this distro also has i386 installed, maybe could be that.

im also testing on a different CPU & Board AMD last time i was testing i3 12100

when IOMMU is activated on the Bios, Linux has problems, but... intel board dont has IOMMU option on the UEFI. same GPU GTX 1050 Ti

Image

juanpc2018 avatar Apr 08 '25 03:04 juanpc2018

Install Bleachbit and select in section System all less disk space and section Thumbnails too. The issue was fixed ? Perhaps not is related with RPCS3.

Augusto7743 avatar Apr 16 '25 11:04 Augusto7743

For me, using the Plasma the desktop the RPCS3 appimage icon is missing on Dolphin

Image

KawaiiDinosaur avatar May 12 '25 22:05 KawaiiDinosaur

@AniLeo Providing actionable information here:

Quick summary

TL;DR: The AppImage is missing a .DirIcon symlink in the root of the AppImage, pointing to rpcs3.svg.

Details

Somewhere between the build v0.0.36-17733 and v0.0.36-17791 (that is between 1st and 18th of April, according to my files' modification dates) the .DirIcon symlink went missing. As per the specification, said file is meant to be used by system thumbnailers to provide a pretty icon for the AppImage file. KDE's Dolphin is one of Linux file explorers, which generate thumbnails for AppImages by default. A notable example of a file explorer that does not support AppImage thumbnailing is Gnome's Nautilus (as per https://github.com/ppy/osu/issues/30759#issuecomment-2484082386).

As the result of the .DirIcon symlink going missing, since somewhere in April new builds of RPCS3 miss the emulator's icon in Dolphin.

I would love to track down the problematic release further, but the releases page is completely out of order and therefore unusable. Judging by the screenshot in https://github.com/RPCS3/rpcs3/issues/16526#issuecomment-2785134175 it seems the breaking change has been introduced after v0.0.36-17765.

Attach a log file

Comparison of contents of AppImages v0.0.36-17733 and v0.0.36-17791: note the .DirIcon file

❯ ./rpcs3-v0.0.36-17733-5526c33d_linux64.AppImage --appimage-mount &
[1] 289277
/tmp/.mount_rpcs3-ILmnHL
❯ ls -na /tmp/.mount_rpcs3-ILmnHL/
total 0
lrwxrwxrwx 1 0 0   9 Mar 31 18:50 .DirIcon -> rpcs3.svg
-rwxr-xr-x 1 0 0 342 Mar 31 18:50 AppRun
lrwxrwxrwx 1 0 0  13 Mar 31 18:50 AppRun.wrapped -> usr/bin/rpcs3
drwxr-xr-x 2 0 0   0 Mar 31 18:50 apprun-hooks
drwxr-xr-x 4 0 0   0 Mar 31 18:50 checkrt
-rw-r--r-- 1 0 0 306 Mar 31 18:50 rpcs3.desktop
lrwxrwxrwx 1 0 0  47 Mar 31 18:50 rpcs3.svg -> usr/share/icons/hicolor/scalable/apps/rpcs3.svg
drwxr-xr-x 7 0 0   0 Mar 31 18:50 usr
❯ ./rpcs3-v0.0.36-17791-b8d1d7cd_linux64.AppImage --appimage-mount &
[2] 289391
/tmp/.mount_dXsCKJnX
❯ ls -na /tmp/.mount_dXsCKJnX/
total 4
drwxr-xr-x  1 1000 1000    7 Apr 17 12:27 .
drwxrwxrwt 37    0    0 1760 Sep  4 13:08 ..
-rwxr-xr-x  1 1000 1000  342 Apr 17 12:27 AppRun
lrwxrwxrwx  1 1000 1000   13 Apr 17 12:27 AppRun.wrapped -> usr/bin/rpcs3
drwxr-xr-x  1 1000 1000    2 Apr 17 12:27 apprun-hooks
drwxr-xr-x  1 1000 1000    9 Apr 17 12:27 checkrt
lrwxrwxrwx  1 1000 1000   36 Apr 17 12:27 rpcs3.desktop -> usr/share/applications/rpcs3.desktop
lrwxrwxrwx  1 1000 1000   47 Apr 17 12:27 rpcs3.svg -> usr/share/icons/hicolor/scalable/apps/rpcs3.svg
drwxr-xr-x  1 1000 1000    5 Apr 17 12:27 usr

Attach capture files for visual issues

Image

System configuration

Operating System: Arch Linux KDE Plasma Version: 6.4.4 KDE Frameworks Version: 6.17.0 Qt Version: 6.9.2 Kernel Version: 6.16.4-zen1-1-zen (64-bit) Graphics Platform: Wayland Processors: 16 × AMD Ryzen 7 5700G with Radeon Graphics Memory: 16 GiB of RAM (14.5 GiB usable) Graphics Processor: NVIDIA GeForce RTX 2070 Product Name: B450 Steel Legend

Other details

https://github.com/ppy/osu/issues/30759 is an example of another piece of software suffering from the same issue, which can be used as a reference point here.

As for the original report https://github.com/RPCS3/rpcs3/issues/16526#issue-2773911738 which was made in January, the issue was most likely on the side of that user. Since their system is Kubuntu, it's probably safe to assume they're using Dolphin. Therefore it's probable that they've mistakenly disabled the thumbnailing functionality in "Dolphin -> Configure -> Configure Dolphin... -> Interface -> Previews -> Show previews in the view for: [ ] AppImage" (or otherwise uninstalled the thumbnailing functionality).

TechniKris avatar Sep 04 '25 11:09 TechniKris

@TechniKris thanks for the details

I have previews enabled for AppImage on my Manjaro install and on Dolphin I don't get of the icon previews on any of the AppImage as you've shown, but .DirIcon is clearly missing on the newer builds so the issue is clear enough even if I can't repro

Image Image

By the way, the builds page is not the one you linked, it's https://rpcs3.net/builds

AniLeo avatar Sep 04 '25 13:09 AniLeo

I have previews enabled for AppImage on my Manjaro install and on Dolphin I don't get of the icon previews on any of the AppImage as you've shown

A Manjaro issue perhaps?

By the way, the builds page is not the one you linked, it's https://rpcs3.net/builds

Ah, thank you 😄

TechniKris avatar Sep 04 '25 14:09 TechniKris

For Ubuntu 24.04.1 the appimage icon continue working

Augusto7743 avatar Sep 05 '25 02:09 Augusto7743