Bug 28717 - Reintroduce: PlayonLinux works on Mageia 8
Summary: Reintroduce: PlayonLinux works on Mageia 8
Status: NEW
Alias: None
Product: Mageia
Classification: Unclassified
Component: New RPM package request (show other bugs)
Version: 8
Hardware: All Linux
Priority: Normal normal
Target Milestone: ---
Assignee: All Packagers
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-04-05 00:46 CEST by fabio manunza
Modified: 2021-04-19 17:13 CEST (History)
5 users (show)

See Also:
Source RPM: PlayonLinux
CVE:
Status comment:


Attachments
working PlayonLinux (728.99 KB, image/png)
2021-04-05 13:18 CEST, fabio manunza
Details
spec, patches, script in a rpmbuild directory without source (5.45 KB, application/gzip)
2021-04-05 21:02 CEST, Aurelian R
Details
Cleaner spec file for mageia use (11.33 KB, text/x-rpm-spec)
2021-04-16 15:48 CEST, Aurelian R
Details

Description fabio manunza 2021-04-05 00:46:55 CEST
Description of problem:I've updated to Mageia 8 from 7 and I've found there is no more PlayonLinux due to incompatibility issues with Python3

So i've downloaded from the Playonlinux site an RPM for Fedora, but there was the same problem, as with the plain tar.gz.

Last chance I've downloaded the development version with 

git clone https://github.com/PlayOnLinux/POL-POM-4

It's the 4.4.1 version and WORKS with Python 3.8.8 included in Mageia 8.
Could you please verify and reconsider to include an update rpm in the repository?
Morgan Leijström 2021-04-05 12:33:55 CEST

CC: (none) => fri

Comment 1 Morgan Leijström 2021-04-05 12:40:31 CEST
Thanks for the tip!
Added link to here from https://wiki.mageia.org/en/Mageia_8_Release_Notes#With_removal_on_upgrade

If a packager find time we may include it in backports repository.
Assigning all packagers for comment/try.

Assignee: bugsquad => pkg-bugs

Comment 2 fabio manunza 2021-04-05 13:18:27 CEST
Created attachment 12578 [details]
working PlayonLinux
Comment 3 Jose Manuel López 2021-04-05 17:10:29 CEST
This have included in backports repositories?, I can't see.

Fabio, Have you installed Playonlinux from backports?

Greetings!

CC: (none) => joselp

Comment 4 Aurelien Oudelet 2021-04-05 17:13:20 CEST
(In reply to Jose Manuel López from comment #3)
> This have included in backports repositories?, I can't see.
> 
> Fabio, Have you installed Playonlinux from backports?
> 
> Greetings!

No, this is not in Backports. The reporter used a git clone from upstream repository.

CC: (none) => ouaurelien

Comment 5 Morgan Leijström 2021-04-05 17:18:00 CEST
(In reply to Jose Manuel López from comment #3)
> This have included in backports repositories?

No. I mean: It is not in Mageia 8 release repository, and we cannot add it after release time, and therefore also not in updates.
Thus, *if* we make a package, it will show in the backports repository.
Comment 6 fabio manunza 2021-04-05 19:35:42 CEST
(In reply to Jose Manuel López from comment #3)
> This have included in backports repositories?, I can't see.
> 
> Fabio, Have you installed Playonlinux from backports?
> 
> Greetings!

Use git as it follows:

git clone https://github.com/PlayOnLinux/POL-POM-4

Then in POL-POM-4/

./playonlinux
Comment 7 Aurelian R 2021-04-05 21:02:13 CEST
Created attachment 12581 [details]
spec, patches, script in a rpmbuild directory without source

 Attached file is a rpmbuild directory that can be used for a POL rpm build that works on mageia 8 and cauldron( this needs a couple of python rpms - natsort and fastnumbers - to be rebuild for python 3.9). It includes a mix of settings from fedora and previous mageia for the spec files, some patches from mageia 7 and a script that retrieves and sets the git source file to build the rpm.
Hope this will help.

CC: (none) => arusanu

Morgan Leijström 2021-04-14 20:49:22 CEST

Summary: PlayonLinux works on Mageia 8 => Reintroduce: PlayonLinux works on Mageia 8

Comment 8 Morgan Leijström 2021-04-16 14:00:04 CEST
Also see https://forums.mageia.org/en/viewtopic.php?f=7&t=14090#p82530
Comment 9 Aurelian R 2021-04-16 15:48:32 CEST
Created attachment 12639 [details]
Cleaner spec file for mageia use

Updated the spec file. It is somewhat cleaner than the one uploaded previously and uses Mageia specific setup for wine.
Comment 10 David GEIGER 2021-04-16 18:12:51 CEST
playonlinux now reintroduced in mageia Cauldron and mga8!

Please test playonlinux-4.4-1.mga8 in Core/Updates_testing repo.

CC: (none) => geiger.david68210

Comment 11 Aurelian R 2021-04-16 23:33:22 CEST
   I have managed to install an old 32-bit windows game on a 64-bit system with POL on Mageia 8, and POL works fine. Only issues I had on Mageia 8 was that, although the wine32 package was installed, no 32-bit opengl libraries where installed on my system and nothing warned me about it so I got some  time wasted to get it properly working.
One suggestion is that the POL should recommend/suggest 32 bit graphics libraries to be installed if they are available.
  Adding something similar with the following lines to the spec file should help smooth the install experience of 32-bit games:

# if 32-bit repos are available install 32-bit drivers 
%ifarch x86_64 aarch64
Recommends:     libdri-drivers
Recommends:     libmesagl1
Recommends:     libmesavulkan-drivers
Recommends:     libvulkan-loader1
%endif

Unfortunately, POL crashes right away in my Cauldron system:

$ playonlinux
Looking for python3... 3.9.4 - selected
1.0
[main] Message: PlayOnLinux (4.4) is starting
[clean_tmp] Message: Cleaning temp directory
[Check_OpenGL] Message: 64bits direct rendering is enabled
[Check_OpenGL] Message: 64bits direct rendering is enabled
[POL_System_CheckFS] Message: Checking filesystem for /home/aurelian/.PlayOnLinux/
[main] Message: Filesystem is compatible
/usr/share/playonlinux/playonlinux: line 126: 403905 Segmentation fault      (core dumped) "$POL_PYTHON" mainwindow.py "$@"

 So I cannot yet confirm that POL is working in Cauldron. I may have some issues with my Cauldron system because POL was fine a few days ago. 
Regards.
Comment 12 fabio manunza 2021-04-17 10:47:04 CEST
I've installed POL with the rpmbuild directory posted by Aurelian in comment 7.
I can confirm there are the missing libreries noted in comment 11, so I have no problem with 32 or 64 bit windows programs.
Comment 13 Aurelian R 2021-04-17 11:09:24 CEST
  I'm sorry that my comment 11 didn't mentioned explicitly that I've used the playonlinux-4.4-1.mga8.rpm from the Mageia 8 Core Updates_Testing repository. There is no major difference in behavior between both rpm builds thou.
Comment 14 David GEIGER 2021-04-17 14:16:09 CEST
Here on a fresh mga8 for x86_64 install if I enable 32bit repo and I i'll install playonlinux, I get:

- cabextract-1.9.1-2.mga8.x86_64
- icoutils-0.32.3-3.mga8.x86_64
- jq-1.6-2.mga8.x86_64
- lib64jq1-1.6-2.mga8.x86_64
- lib64osmesa8-21.0.2-1.mga8.x86_64
- lib64spirv-tools0-2020.6-1.b27b1af.mga8.x86_64
- lib64unixODBC2-2.3.9-1.mga8.x86_64
- lib64vkd3d1-1.2-2.mga8.x86_64
- lib64wx_baseu_net3.1_5-3.1.5-0.git20201230.1.mga8.x86_64
- lib64wx_baseu_xml3.1_5-3.1.5-0.git20201230.1.mga8.x86_64
- lib64wx_gtk3u_aui3.1_5-3.1.5-0.git20201230.1.mga8.x86_64
- lib64wx_gtk3u_gl3.1_5-3.1.5-0.git20201230.1.mga8.x86_64
- lib64wx_gtk3u_html3.1_5-3.1.5-0.git20201230.1.mga8.x86_64
- lib64wx_gtk3u_propgrid3.1_5-3.1.5-0.git20201230.1.mga8.x86_64
- lib64wx_gtk3u_ribbon3.1_5-3.1.5-0.git20201230.1.mga8.x86_64
- lib64wx_gtk3u_richtext3.1_5-3.1.5-0.git20201230.1.mga8.x86_64
- lib64wx_gtk3u_stc3.1_5-3.1.5-0.git20201230.1.mga8.x86_64
- lib64wx_gtk3u_xrc3.1_5-3.1.5-0.git20201230.1.mga8.x86_64
- libalsa-plugins-pulseaudio-1.2.2-2.mga8.i586
- libalsa2-1.2.4-1.mga8.i586
- libasyncns0-0.8-12.mga8.i586
- libblkid1-2.36.1-5.mga8.i586
- libbrotlicommon1-1.0.9-2.mga8.i586
- libbrotlidec1-1.0.9-2.mga8.i586
- libbsd0-0.10.0-2.mga8.i586
- libbz2_1-1.0.8-2.mga8.i586
- libcom_err2-1.45.6-6.mga8.i586
- libcurl4-7.74.0-1.mga8.i586
- libdbus1_3-1.13.18-3.mga8.i586
- libelfutils1-0.182-1.mga8.i586
- libexif12-0.6.22-3.mga8.i586
- libffi7-3.3-2.mga8.i586
- libgcrypt20-1.8.7-1.mga8.i586
- libgio2.0_0-2.66.4-3.mga8.i586
- libglib-networking-gnutls-2.66.0-1.mga8.i586
- libglib2.0_0-2.66.4-3.mga8.i586
- libgmp10-6.2.1-1.mga8.i586
- libgnutls30-3.6.15-3.mga8.i586
- libgpg-error0-1.41-1.mga8.i586
- libgphoto2_6-2.5.26-1.mga8.i586
- libgphoto2_port12-2.5.26-1.mga8.i586
- libgstreamer-plugins-base1.0_0-1.18.3-1.mga8.i586
- libgstreamer1.0_0-1.18.3-1.mga8.i586
- libhogweed6-3.6-1.mga8.i586
- libidn2_0-2.3.0-4.mga8.i586
- libintl8-0.21-8.mga8.i586
- libkeyutils1-1.6.3-1.mga8.i586
- libkrb53-1.18.3-1.mga8.i586
- liblcms2_2-2.11-1.mga8.i586
- libldap2.4_2-2.4.57-1.mga8.i586
- libltdl7-2.4.6-13.mga8.i586
- liblz4_1-1.9.3-1.mga8.i586
- liblzma5-5.2.5-2.mga8.i586
- libmount1-2.36.1-5.mga8.i586
- libmpg123_0-1.26.4-1.mga8.i586
- libnettle8-3.6-1.mga8.i586
- libnghttp2_14-1.42.0-1.mga8.i586
- libnl-genl3_200-3.5.0-2.mga8.i586
- libnl3_200-3.5.0-2.mga8.i586
- libnsl2-1.3.0-2.mga8.i586
- libopenal1-1.21.0-1.mga8.i586
- libopencl1-2.2.13-1.mga8.i586
- libopenssl1.1-1.1.1i-1.mga8.i586
- liborc0.4_0-0.4.32-1.mga8.i586
- libp11-kit0-0.23.22-2.mga8.i586
- libpcap1-1.10.0-1.mga8.i586
- libpcre1-8.44-1.mga8.i586
- libpsl5-0.21.1-1.mga8.i586
- libpulseaudio0-14.2-2.mga8.i586
- libpulsecommon14.2-14.2-2.mga8.i586
- libsasl2_3-2.1.27-3.mga8.i586
- libsndfile1-1.0.30-1.mga8.i586
- libsndio7.1-1.7.0-1.mga8.i586
- libspirv-tools0-2020.6-1.b27b1af.mga8.i586
- libssh4-0.9.5-1.mga8.i586
- libsystemd0-246.9-5.mga8.i586
- libtasn1_6-4.16.0-4.mga8.i586
- libtirpc3-1.3.1-1.mga8.i586
- libudev1-246.9-5.mga8.i586
- libunistring2-0.9.10-4.mga8.i586
- libunwind8-1.5.0-1.mga8.i586
- libusb1.0_0-1.0.24-2.mga8.i586
- libverto1-0.3.1-2.mga8.i586
- libvkd3d1-1.2-2.mga8.i586
- libwrap0-7.6-51.mga8.i586
- libx11_6-1.7.0-1.mga8.i586
- libxau6-1.0.9-2.mga8.i586
- libxcb1-1.14-1.mga8.i586
- libxdmcp6-1.1.3-2.mga8.i586
- libxext6-1.3.4-2.mga8.i586
- libxml2_2-2.9.10-7.mga8.i586
- libzlib1-1.2.11-9.mga8.i586
- libzstd1-1.4.8-1.mga8.i586
- netcat-traditional-1.10-42.mga8.x86_64
- python3-fastnumbers-2.1.1-3.mga8.x86_64
- python3-icu-2.6-1.mga8.x86_64
- python3-natsort-7.0.1-2.mga8.noarch
- python3-wx-siplib-4.19.24-1.mga8.x86_64
- python3-wxpython4-4.1.1-1.mga8.x86_64
- wine-gecko-2.47.2-3.mga8.noarch
- wine-mono-5.1.1-2.mga8.noarch
- wine32-6.0-3.mga8.i586
- wine64-6.0-3.mga8.x86_64
- wine64-gecko-2.47.2-3.mga8.noarch

So no need to change anything more in spec file as 64bit and 32bit packages are proposed!
Comment 15 Aurelian R 2021-04-17 17:40:18 CEST
  Well, the list of libraries doesn't include an opengl library as my card is quite an old one, it is a nvidia 550 ti(nvidia390 driver), and doesn't support vulkan. That's why I wanted to recommend these libraries.
  As I see it, this is not an issue of POL per se as POL does expect a proper setup of Wine's environment in order to correctly run.
Comment 16 Morgan Leijström 2021-04-19 15:05:28 CEST
Added instruction about wine at 
https://wiki.mageia.org/en/Ways_to_install_programs#PlayOnLinux

For packaging, do you think POL should require Wine, what parts of Wine?
Comment 17 Aurelian R 2021-04-19 16:55:18 CEST
 As it is configured right now, POL will install all its wine dependencies with no action from the user. However, it should be pointed/stressed the need of 32-bit repositories to be enabled.
Regards.
Comment 18 Morgan Leijström 2021-04-19 17:13:28 CEST
Thanks, updated.

Note You need to log in before you can comment on or make changes to this bug.