Bug 26607 - Mypaint 1.2.1 does not start using Gnome under Wayland
Summary: Mypaint 1.2.1 does not start using Gnome under Wayland
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: Backports (show other bugs)
Version: 7
Hardware: All Linux
Priority: Normal normal
Target Milestone: ---
Assignee: QA Team
QA Contact:
URL: http://mypaint.org/blog/2020/02/16/My...
Whiteboard: MGA7-64-OK
Keywords: validated_backport
Depends on:
Blocks:
 
Reported: 2020-05-11 15:30 CEST by Pavel Fric
Modified: 2021-05-23 21:06 CEST (History)
4 users (show)

See Also:
Source RPM: mypaint-1.2.1-5.mga7.src.rpm
CVE:
Status comment:


Attachments

Description Pavel Fric 2020-05-11 15:30:02 CEST
MyPaint v2.0.0 Released in February 2020. Please update the package (now in version 1.2.1
Comment 1 Lewis Smith 2020-05-11 20:36:50 CEST
Since you submitted this under Cauldron, it is already fixed. The requested package is already there:
Tue Mar 31 
- new version 2.0.0

Are you asking for it to be available for Mageia 7? Not sure whether this counts as a potential update; or a backport, in which case I think it would need to be re-classed as a new package request.

Source RPM: mypaint => mypaint-1.2.1-5.mga7.src.rpm
CC: (none) => lewyssmith

Comment 2 Pavel Fric 2020-05-11 20:56:24 CEST
Hi, I am not sure too, how it should be classified, but if it would be available for Mageia 7, I could run it. Also if needed and possible, the re-classification "as a new package request" would lead to optimal result.
Comment 3 Lewis Smith 2020-05-12 20:31:40 CEST
Thank you for the clarification.
Unsure whether this would count as a new package/backport request for Mageia 7, or can be swallowed as an update.

Assigning to DavidG as the main recent maintainer, CC'ing Rémi as registered maintainer (who committed the current version 1.2.1 a very long time ago).

Version: Cauldron => 7
Severity: normal => enhancement
Summary: MyPaint version 2.0.0 Released => mypaint version 2.0.0 Released, new package [backport] request for Mageia 7
CC: (none) => rverschelde
Assignee: bugsquad => geiger.david68210
Component: Backports => New RPM package request

Comment 4 Daniel Kjellin 2020-05-22 13:43:26 CEST
Could we make this a backport request?
Mypaint 1.2.1 does not start using Gnome under Wyland (but works under X11 as a workaround). 
My limited testing (downloaded the mypaint appimage) indicates this issue is fixed under 2.0.0.

CC: (none) => mandriva

Comment 5 Lewis Smith 2020-05-23 14:25:23 CEST
(In reply to Daniel Kjellin from comment #4)
> Mypaint 1.2.1 does not start using Gnome under Wayland (but works under X11
> as a workaround). 
> My limited testing (downloaded the mypaint appimage) indicates this issue is
> fixed under 2.0.0.
Thank you for this extra important information, which changes the flavour of the bug.

> Could we make this a backport request?
Can DavidG or Rémi decide whether it can be done as a straight update? Or whether it needs re-classing as a Backport.

Severity: enhancement => normal
Component: New RPM package request => RPM Packages
CC: lewyssmith => (none)
Summary: mypaint version 2.0.0 Released, new package [backport] request for Mageia 7 => Mypaint 1.2.1 does not start using Gnome under Wayland

Comment 6 David GEIGER 2021-01-06 13:21:24 CET
Assigning to the real maintainer!

Assignee: geiger.david68210 => rverschelde

Comment 7 Rémi Verschelde 2021-01-06 15:39:11 CET
I pushed a backport of mypaint 2.0.1 and its dependencies to Mageia 7 Core Backports Testing.

I haven't tested it myself yet and would appreciate tests. I'm a bit worried of potential incompatibilities between the updated libmypaint0 and gimp, which uses it (and the mypaint-brushes). So that's something to test too to make sure GIMP still works fine.

RPMs in core/backports_testing:
===============================

mypaint-2.0.1-1.mga7

mypaint-brushes-2.0.2-1.mga7
mypaint-brushes-devel-2.0.2-1.mga7

libmypaint0-1.6.1-1.mga7
libmypaintgegl-gir1.6-1.6.1-1.mga7
libmypaint-devel-1.6.1-1.mga7
libmypaint-gegl0-1.6.1-1.mga7
libmypaint-gir1.6-1.6.1-1.mga7
libmypaint-i18n-1.6.1-1.mga7

SRPMs in core/backports_testing:
================================

mypaint-2.0.1-1.mga7
mypaint-brushes-2.0.2-1.mga7
libmypaint-1.6.1-1.mga7
Rémi Verschelde 2021-01-06 15:39:21 CET

Component: RPM Packages => Backports

Aurelien Oudelet 2021-05-03 16:12:03 CEST

CC: (none) => ouaurelien
Assignee: rverschelde => qa-bugs

Comment 8 Len Lawrence 2021-05-11 13:01:52 CEST
Starting on this.
Switched to GNOME Wayland on mga7.1. 
Pre-update, could not find lib64mypaint0 but after poking around found that lib64mypaint1.3_0 and lib64mypaintgegl-gir1.3 were already installed.
$ rpm -qa | grep mypaint
mypaint-brushes-devel-1.3.0-2.mga7
lib64mypaint-devel-1.3.0-8.mga7
lib64mypaint-gir1.3-1.3.0-8.mga7
lib64mypaint1.3_0-1.3.0-8.mga7
lib64mypaint-gegl0-1.3.0-8.mga7
lib64mypaintgegl-gir1.3-1.3.0-8.mga7
mypaint-brushes-1.3.0-2.mga7
mypaint-1.2.1-5.mga7

mypaint launches fine, which leads to the question, is GNOME actually running under Wayland.
How do you find out?  I installed GNOME from a Mate session using task-gnome-minimal and task-gnome, logged in to GNOME, the first item on the menu and carried on.  Since there is a GNOME on X11 entry in the menu it seemed likely that GNOME meant GNOME Wayland.

CC: (none) => tarazed25

Comment 9 Daniel Kjellin 2021-05-11 14:14:51 CEST
>  is GNOME actually running under Wayland.
> How do you find out? 

in a terminal run 
`loginctl` which will list your session(s) get the Session from the output and run `loginctl show-session <SESSION ID> -p Type`
and it will tell you if you run wayland or X.
Comment 10 Len Lawrence 2021-05-11 15:05:49 CEST
Yes, I found an entry for /usr/libexec/Xorg using htop.
$ loginctl show-session 2 -p Type
Type=x11
$ loginctl show-session 5 -p Type
Type=x11

Thanks Daniel for that tip.  So I guess something else has to be done to enable Wayland for GNOME.
Comment 11 Aurelien Oudelet 2021-05-11 15:21:47 CEST
(In reply to Len Lawrence from comment #10)
> Yes, I found an entry for /usr/libexec/Xorg using htop.
> $ loginctl show-session 2 -p Type
> Type=x11
> $ loginctl show-session 5 -p Type
> Type=x11
> 
> Thanks Daniel for that tip.  So I guess something else has to be done to
> enable Wayland for GNOME.

If you are running GNOME on a Nvidia based graphic processor and you use the Nvidia nonfree driver, GNOME will always use X11. It is hardcoded in the GNOME code since day one.

GNOME Wayland session under Mageia only runs on Intel and AMD/Radeon chips as long as they use KMS free drivers.

The GNOME + NVIDIA stuff will only be around Mageia 9 when binary drivers will be adapted (Nvidia version 470 drivers series which are not publicly released...)
Comment 12 Aurelien Oudelet 2021-05-11 15:22:42 CEST
On your system, Len, GNOME Wayland should be available under Virtualbox...
Comment 13 Len Lawrence 2021-05-11 17:10:02 CEST
@Aurelien.  Thanks for the lesson.  Never knew that.

Ah, virtualbox.  My vboxen are not well maintained, so it may be some time.
Comment 14 Len Lawrence 2021-05-11 19:27:22 CEST
OK.  Now working with GNOME Wayland in virtualbox
$ loginctrl show-session 2 -p Type
Type=wayland
$ uname -r
5.10.30-desktop-1.mga7
$ rpm -qa | grep mypaint
lib64mypaint-gir1.3-1.3.0-8.mga7
mypaint-brushes-1.3.0-2.mga7
mypaint-brushes-devel-1.3.0-2.mga7
mypaint-1.2.1-5.mga7
lib64mypaint-devel-1.3.0-8.mga7
lib64mypaint1.3_0-1.3.0-8.mga7
lib64mypaint-gegl0-1.3.0-8.mga7
lib64mypaintgegl-gir1.3-1.3.0-8.mga7

$ mypaint
INFO: mypaint: Installation layout: conventional POSIX-like structure with prefix u'/usr'
INFO: lib.i18n: POSIX: LANG='en_GB.UTF-8'
INFO: lib.i18n: POSIX: LANGUAGE='en_GB.UTF-8:en_GB:en'
Gdk-Message: 17:46:18.257: Unable to load exchange from the cursor theme
Traceback (most recent call last):
  File "/usr/bin/mypaint", line 464, in <module>
[...]
    return cls.new(*args, **kwds)
TypeError: constructor returned NULL

Enabled backports testing and ran MageiaUpdate.
$ rpm -qa | grep mypaint
lib64mypaint-gir1.3-1.3.0-8.mga7
lib64mypaintgegl-gir1.6-1.6.1-1.mga7
mypaint-brushes-2.0.2-1.mga7
lib64mypaint1.3_0-1.3.0-8.mga7
lib64mypaint-gir1.6-1.6.1-1.mga7
mypaint-brushes-devel-2.0.2-1.mga7
lib64mypaint-gegl0-1.6.1-1.mga7
lib64mypaint-devel-1.6.1-1.mga7
mypaint-2.0.1-1.mga7
lib64mypaint0-1.6.1-1.mga7

A mixture of versions there.
However, the mypaint gui launched OK.

Launched the GIMP but have no images to work on.  Grabbed a picture of a Mercury Redstone launch from APOD and imported that and messed about with a paint brush tool, painting out a stripe on the rocket.  No skills at all in this field so shall leave it there.
Comment 15 Aurelien Oudelet 2021-05-20 17:18:36 CEST
(In reply to Len Lawrence from comment #14)
> OK.  Now working with GNOME Wayland in virtualbox
> $ loginctrl show-session 2 -p Type
> Type=wayland
> $ uname -r
> 5.10.30-desktop-1.mga7
> $ rpm -qa | grep mypaint
> lib64mypaint-gir1.3-1.3.0-8.mga7
> mypaint-brushes-1.3.0-2.mga7
> mypaint-brushes-devel-1.3.0-2.mga7
> mypaint-1.2.1-5.mga7
> lib64mypaint-devel-1.3.0-8.mga7
> lib64mypaint1.3_0-1.3.0-8.mga7
> lib64mypaint-gegl0-1.3.0-8.mga7
> lib64mypaintgegl-gir1.3-1.3.0-8.mga7
> 
> $ mypaint
> INFO: mypaint: Installation layout: conventional POSIX-like structure with
> prefix u'/usr'
> INFO: lib.i18n: POSIX: LANG='en_GB.UTF-8'
> INFO: lib.i18n: POSIX: LANGUAGE='en_GB.UTF-8:en_GB:en'
> Gdk-Message: 17:46:18.257: Unable to load exchange from the cursor theme
> Traceback (most recent call last):
>   File "/usr/bin/mypaint", line 464, in <module>
> [...]
>     return cls.new(*args, **kwds)
> TypeError: constructor returned NULL
> 
> Enabled backports testing and ran MageiaUpdate.
> $ rpm -qa | grep mypaint
> lib64mypaint-gir1.3-1.3.0-8.mga7
> lib64mypaintgegl-gir1.6-1.6.1-1.mga7
> mypaint-brushes-2.0.2-1.mga7
> lib64mypaint1.3_0-1.3.0-8.mga7
> lib64mypaint-gir1.6-1.6.1-1.mga7
> mypaint-brushes-devel-2.0.2-1.mga7
> lib64mypaint-gegl0-1.6.1-1.mga7
> lib64mypaint-devel-1.6.1-1.mga7
> mypaint-2.0.1-1.mga7
> lib64mypaint0-1.6.1-1.mga7
> 
> A mixture of versions there.
> However, the mypaint gui launched OK.
> 
> Launched the GIMP but have no images to work on.  Grabbed a picture of a
> Mercury Redstone launch from APOD and imported that and messed about with a
> paint brush tool, painting out a stripe on the rocket.  No skills at all in
> this field so shall leave it there.

This runs well under GNOME + Wayland under Mageia 7.
Flushing.

Keywords: (none) => validated_backport
Whiteboard: (none) => MGA7-64-OK

Comment 16 Thomas Backlund 2021-05-23 21:06:30 CEST
moved

Resolution: (none) => FIXED
Status: NEW => RESOLVED


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