GNU bug report logs -
#65508
Displaying qt applications on wayland using qtwayland is complicated
Previous Next
To reply to this bug, email your comments to 65508 AT debbugs.gnu.org.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
maxim.cournoyer <at> gmail.com, bug-guix <at> gnu.org
:
bug#65508
; Package
guix
.
(Thu, 24 Aug 2023 17:54:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Morgan Smith <Morgan.J.Smith <at> outlook.com>
:
New bug report received and forwarded. Copy sent to
maxim.cournoyer <at> gmail.com, bug-guix <at> gnu.org
.
(Thu, 24 Aug 2023 17:54:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
Hello guix!
Before I get into the actual bug I'm trying to report, I have to bring up 2
other complications.
1. qtwayland <at> 6 currently doesn't build due a test failure. So in this bug I'm
either using "--without-tests=qtwayland" on the command line or
"((options->transformation '((without-tests . "qtwayland"))) qtwayland)" in
manifests.
2. The way we deal with multiple package versions in a profile is really weird.
"guix shell package <at> 1 package <at> 2" works as expected (both versions available).
"guix install package <at> 1 package <at> 2" silently installs only the newer one.
Putting package <at> 1 and package <at> 2 in a manifest yields: "error: profile contains
conflicting entries for package"
OK with that out of the way, onto my actual bug report:
I use wayland. I also use some qt applications. For a qt application to
display on wayland it either needs the qtwayland plugin available, or it can
use some x11 fallback thingy. The qtwayland plugin is the way I'd like my qt
applications to render.
Some applications include qtwayland in their inputs like okular and work fine
out of the box. Most applications (like openscad and jami) do not.
This is fine because we can simply install qtwayland into our profile. Not
everyone uses wayland so this actually seems like the appropriate thing to do.
Unfortunately, openscad uses qtwayland <at> 5 and jami uses qtwayland <at> 6. Due to the
above explained complication, I cannot simply install both into my profile.
We could make qtwayland <at> 5 and qtwayland <at> 6 into two completely different
packages and that would solve my problem. Doing "guix shell qtwayland <at> 5
qtwayland <at> 6 qtbase" (jami wants qtbase for some reason), allows me to run both
openscad and jami. So clearly qtwayland <at> 5 and qtwayland <at> 6 don't interfere with
each other.
Of course the more user friendly option would be to simply add the appropriate
qtwayland to the inputs of a package using the qt-build-system. Or maybe even
make it propagated from qtbase somehow?
guix size qtwayland <at> 5 = 1203.1 MiB
guix size qtbase <at> 5 = 1171.5 MiB
guix size qtwayland <at> 6 = 1271.7 MiB
guix size qtbase <at> 6 = 1190.2 MiB
Well if I understand how "guix size" works, then adding qtwayland would only
add 30 or 80 MiB, which in my opinion isn't a lot. My vote is on just adding
qtwayland to all wayland packages (at the cost of a full qt rebuild).
Information forwarded
to
bug-guix <at> gnu.org
:
bug#65508
; Package
guix
.
(Fri, 25 Aug 2023 11:21:01 GMT)
Full text and
rfc822 format available.
Message #8 received at 65508 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Hi Morgan,
Morgan Smith <Morgan.J.Smith <at> outlook.com> writes:
> Well if I understand how "guix size" works, then adding qtwayland would only
> add 30 or 80 MiB, which in my opinion isn't a lot. My vote is on just adding
> qtwayland to all wayland packages (at the cost of a full qt rebuild).
Just dropping by to say that I agree with this!
Best,
--
Josselin Poiret
[signature.asc (application/pgp-signature, inline)]
Information forwarded
to
bug-guix <at> gnu.org
:
bug#65508
; Package
guix
.
(Sat, 26 Aug 2023 16:21:02 GMT)
Full text and
rfc822 format available.
Message #11 received at 65508 <at> debbugs.gnu.org (full text, mbox):
Hi,
Morgan Smith <Morgan.J.Smith <at> outlook.com> writes:
> Hello guix!
>
> Before I get into the actual bug I'm trying to report, I have to bring up 2
> other complications.
>
> 1. qtwayland <at> 6 currently doesn't build due a test failure. So in this bug I'm
> either using "--without-tests=qtwayland" on the command line or
> "((options->transformation '((without-tests . "qtwayland"))) qtwayland)" in
> manifests.
>
> 2. The way we deal with multiple package versions in a profile is really weird.
> "guix shell package <at> 1 package <at> 2" works as expected (both versions available).
> "guix install package <at> 1 package <at> 2" silently installs only the newer one.
> Putting package <at> 1 and package <at> 2 in a manifest yields: "error: profile contains
> conflicting entries for package"
>
>
> OK with that out of the way, onto my actual bug report:
>
> I use wayland. I also use some qt applications. For a qt application to
> display on wayland it either needs the qtwayland plugin available, or it can
> use some x11 fallback thingy. The qtwayland plugin is the way I'd like my qt
> applications to render.
>
> Some applications include qtwayland in their inputs like okular and work fine
> out of the box. Most applications (like openscad and jami) do not.
>
> This is fine because we can simply install qtwayland into our profile. Not
> everyone uses wayland so this actually seems like the appropriate thing to do.
> Unfortunately, openscad uses qtwayland <at> 5 and jami uses qtwayland <at> 6. Due to the
> above explained complication, I cannot simply install both into my profile.
>
> We could make qtwayland <at> 5 and qtwayland <at> 6 into two completely different
> packages and that would solve my problem. Doing "guix shell qtwayland <at> 5
> qtwayland <at> 6 qtbase" (jami wants qtbase for some reason), allows me to run both
> openscad and jami. So clearly qtwayland <at> 5 and qtwayland <at> 6 don't interfere with
> each other.
>
> Of course the more user friendly option would be to simply add the appropriate
> qtwayland to the inputs of a package using the qt-build-system. Or maybe even
> make it propagated from qtbase somehow?
>
> guix size qtwayland <at> 5 = 1203.1 MiB
> guix size qtbase <at> 5 = 1171.5 MiB
>
> guix size qtwayland <at> 6 = 1271.7 MiB
> guix size qtbase <at> 6 = 1190.2 MiB
This size is a bit misleading for Qt 6, which recently regressed by
referencing Python, bloating it's size by about 100 MiB, IIRC (now fixed
on the telephony-team branch). Since qtwayland correctly works as a
plugin when installed to a user profile, it seems we should leave it
that way, but I agree we should fix the uses cases of installing
multiple versions of the same package in the same profile.
--
Thanks,
Maxim
This bug report was last modified 1 year and 294 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.