Need help with Flash in Linux Mint 22.2

Users and developers helping users with generic and technical Pale Moon issues on all operating systems.

Moderator: trava90

Forum rules
This board is for technical/general usage questions and troubleshooting for the Pale Moon browser only.
Technical issues and questions not related to the Pale Moon browser should be posted in other boards!
Please keep off-topic and general discussion out of this board, thank you!
User avatar
moonbat
Knows the dark side
Knows the dark side
Posts: 5819
Joined: 2015-12-09, 15:45

Re: Need help with Flash in Linux Mint 22.2

Post by moonbat » 2025-12-09, 03:44

Dear god, I'm sick of seeing this thread running around in circles. There is zero need to screw around with custom debs, Chinese spyware versions or anything else when the original damn version is available on archive.org that a forum search would've revealed :roll:

Go to the link and download it for whatever platform/architecture you're using. There's nothing to install for the Linux versions. Open the archive and extract its contents to the corresponding locations on your file system, preserving paths. Everything in it excluding the docs goes under /usr so you'll have to use sudo.

Ugh. I loathe spoonfeeding but couldn't resist this time.
"One hosts to look them up, one DNS to find them and in the darkness BIND them."

Image
KDE Neon on a Slimbook Excalibur (Ryzen 7 8845HS, 64 GB RAM)
AutoPageColor|PermissionsPlus|PMPlayer|Pure URL|RecordRewind|TextFX
Jabber: moonbat@hot-chili.net

User avatar
UCyborg
Keeps coming back
Keeps coming back
Posts: 889
Joined: 2019-01-10, 09:37
Location: Slovenia

Re: Need help with Flash in Linux Mint 22.2

Post by UCyborg » 2025-12-14, 14:09

I got this stacktrace when it comes to crashing with enabled hardware acceleration:

Code: Select all

Core was generated by `/usr/lib/palemoon/plugin-container /usr/lib/mozilla/plugins/libflashplayer.so -'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0  0x000000000042013e in free ()
[Current thread is 1 (Thread 0x74ff010d6b40 (LWP 4747))]
#0  0x000000000042013e in free ()
#1  0x000074ff01a6ec1d in XFree () from /lib/x86_64-linux-gnu/libX11.so.6
#2  0x000074ff0100ecb3 in ?? () from /lib/x86_64-linux-gnu/libvdpau.so.1
#3  0x000074ff0100f22b in vdp_device_create_x11 () from /lib/x86_64-linux-gnu/libvdpau.so.1
#4  0x000074fefe255b39 in ?? () from /usr/lib/mozilla/plugins/libflashplayer.so
#5  0x000074fefe257d5a in ?? () from /usr/lib/mozilla/plugins/libflashplayer.so
#6  0x000074fefe287584 in ?? () from /usr/lib/mozilla/plugins/libflashplayer.so
#7  0x000074fefe00c5db in ?? () from /usr/lib/mozilla/plugins/libflashplayer.so
#8  0x000074fefe00c8d2 in ?? () from /usr/lib/mozilla/plugins/libflashplayer.so
#9  0x000074fefe00d662 in ?? () from /usr/lib/mozilla/plugins/libflashplayer.so
#10 0x000074fefe237bfb in ?? () from /usr/lib/mozilla/plugins/libflashplayer.so
#11 0x000074fefe23e2b8 in ?? () from /usr/lib/mozilla/plugins/libflashplayer.so
#12 0x000074ff053e6bdd in ?? () from /usr/lib/palemoon/libxul.so
#13 0x000074ff03f54849 in ?? () from /usr/lib/palemoon/libxul.so
#14 0x000074ff03ebb0a9 in ?? () from /usr/lib/palemoon/libxul.so
#15 0x000074ff03ec04ed in ?? () from /usr/lib/palemoon/libxul.so
#16 0x000074ff03ec1d2c in ?? () from /usr/lib/palemoon/libxul.so
#17 0x000074ff03e93d15 in ?? () from /usr/lib/palemoon/libxul.so
#18 0x000074ff03e99980 in ?? () from /usr/lib/palemoon/libxul.so
#19 0x000074ff03e8f368 in ?? () from /usr/lib/palemoon/libxul.so
#20 0x000074ff03e93965 in ?? () from /usr/lib/palemoon/libxul.so
#21 0x000074ff05b2936a in XRE_InitChildProcess () from /usr/lib/palemoon/libxul.so
#22 0x0000000000404967 in ?? ()
#23 0x000074ff02a2a1ca in __libc_start_call_main (main=main@entry=0x404790, argc=argc@entry=10, argv=argv@entry=0x7ffe698e8538) at ../sysdeps/nptl/libc_start_call_main.h:58
#24 0x000074ff02a2a28b in __libc_start_main_impl (main=0x404790, argc=10, argv=0x7ffe698e8538, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffe698e8528) at ../csu/libc-start.c:360
#25 0x000000000040487e in _start ()
It crashes after trying to init hardware video decoding through VDPAU. At least on my AMD based laptop with Radeon R2, what avoids this crash is specifying correct VDPAU driver through environment variable VDPAU_DRIVER.

I do it so only Pale Moon sees it by modifying Pale Moon's .desktop file to run it like so:

Code: Select all

Exec=env VDPAU_DRIVER=radeonsi palemoon %u
The correct driver may be indicated by Xorg log file, this can be put into the terminal to see what it says about VDPAU:

Code: Select all

cat /var/log/Xorg.0.log | grep VDPAU
I don't know what happens if hardware lacks support for VDPAU. Tough cookies I guess.

It's still not reliable, at least on y8.com, after applying hacks to get the site to use Flash, nothing is seen. Maybe an issue with scaling. But Flash app in OP also seems to arbitrarily stop displaying after switching to another tab for a while and back.

User avatar
Daemonratte
Newbie
Newbie
Posts: 4
Joined: 2026-03-12, 19:59

Re: Need help with Flash in Linux Mint 22.2

Post by Daemonratte » 2026-03-12, 20:06

Alright, I found out how to get Adobe Flashplayer working without turning off hardware acceleration.

You need to add the following to /etc/adobe/mms.cfg

Code: Select all

OverrideGPUValidation=1
You also need to explicitly set your vdpau driver.
Add this to /etc/environment when using an Intel or AMD GPU or an nvidia GPU with the free nouveau driver:

Code: Select all

VDPAU_DRIVER=va_gl
When using an nvidia card with the proprietary driver (also counting the proprietary driver with open kernel modules) add this:

Code: Select all

VDPAU_DRIVER=nvidia

Extra: if you want to disable the killswitch on the latest version of Adobe Flashplayer you can use this command (based on this information) :
sed -i 's/\x00\x00\x40\x46\x3E\x6F\x77\x42/\x00\x00\x00\x00\x00\x00\xF8\x7F/' libflashplayer.so

User avatar
Daemonratte
Newbie
Newbie
Posts: 4
Joined: 2026-03-12, 19:59

Re: Need help with Flash in Linux Mint 22.2

Post by Daemonratte » 2026-03-13, 09:42

Sorry for the double post (I didn't find out how to edit my previous post). :?

Note that starting with Mesa 25.3 VDPAU support will be removed. This means that past this version there's no point in setting VDPAU_DRIVER to "radeonsi".
Kind of sucks that Mesa is removing all kinds of cool features now, like native DirectX9 in Linux or VDPAU. :thumbdown:

Using va_gl works though, but you need to install libvdpau-va-gl1, which is a driver that converts VDPAU calls to VAAPI.
Debian/Devuan/Ubuntu/Linux Mint

Code: Select all

sudo apt install libvdpau-va-gl1
Arch/Artix

Code: Select all

sudo pacman -S libvdpau-va-gl
Fedora

Code: Select all

sudo dnf install libvdpau-va-gl
openSUSE

Code: Select all

sudo zypper install libvdpau-va-gl
Gentoo

Code: Select all

emerge --ask x11-libs/libvdpau-va-gl
When testing on a machine with an nvidia card with the proprietary driver I noticed graphical glitches (colours are off) in flashgames.
Until I find out why you can use this hack: (definitely causes some overhead, but it works. converts vdpau => vaapi => nvdec)

Install nvidia-vaapi-driver (converts vaapi to nvdec) alongside libvdpau-va-gl:
Debian/Devuan/Ubuntu/Linux Mint

Code: Select all

sudo apt install nvidia-vaapi-driver
Arch/Artix

Code: Select all

sudo pacman -S nvidia-vaapi-driver
Fedora

Code: Select all

sudo dnf install nvidia-vaapi-driver
openSUSE

Code: Select all

sudo zypper install nvidia-vaapi-driver
Gentoo

Code: Select all

emerge --ask media-libs/nvidia-vaapi-driver
Then add the following to /etc/environment

Code: Select all

VDPAU_DRIVER=va_gl
Have fun! :D
When I get native nvidia vdpau working with flash without colours being off, I'll create a new forum thread ;)

User avatar
UCyborg
Keeps coming back
Keeps coming back
Posts: 889
Joined: 2019-01-10, 09:37
Location: Slovenia

Re: Need help with Flash in Linux Mint 22.2

Post by UCyborg » 2026-03-14, 08:54

Daemonratte wrote:
2026-03-13, 09:42
native DirectX9 in Linux
How well does this work? Sounds useful for GPUs that don't do Vulkan.

User avatar
Daemonratte
Newbie
Newbie
Posts: 4
Joined: 2026-03-12, 19:59

Re: Need help with Flash in Linux Mint 22.2

Post by Daemonratte » 2026-03-17, 11:10

It works VERY well (much better than DXVK imo) :D
The only reason why DXVK won in the end is, because you can't use it with the proprietary nvidia driver.

People DID use it on hardware that doesn't support Vulkan.
You had to use a gallium driver though (like amdgpu, nouveau, iris/crocus for intel), but most GPUs do have gallium drivers on Linux.
Then all you had to do was to replace the directx9 dlls with these:
https://github.com/iXit/wine-nine-standalone
You can easily install them via winetricks:

Code: Select all

winetricks gallium9
Unfortunately Mesa removed support for it starting with 25.2. If you use Debian stable though you're likely using a version older than that, so you can still use native DirectX9 in Debian 13.

This is the commit that removes it:
https://cgit.freedesktop.org/mesa/mesa/commit/?__goaway_challenge=meta-refresh&__goaway_id=d925ab5b44b92cb77e7fba922efea5c6&__goaway_referer=https%3A%2F%2Fwww.phoronix.com%2F&id=00aaef9f12f6b27375e4c351fad9e6786cd0a3ad

I think you can compile the latest version of mesa with this commit reverted and it should still work.
Would be an interesting mesa fork.