Re: [hatari-devel] Hatari on Debian 11 (Bullseye): Report |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/hatari-devel Archives
]
- To: hatari-devel@xxxxxxxxxxxxxxxxxxx
- Subject: Re: [hatari-devel] Hatari on Debian 11 (Bullseye): Report
- From: Charles Curley <charlescurley@xxxxxxxxxxxxxxxxx>
- Date: Sat, 4 Sep 2021 15:24:49 -0600
- Dkim-signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=charlescurley.com; s=default; h=Content-Transfer-Encoding:Content-Type: MIME-Version:References:In-Reply-To:Message-ID:Subject:To:From:Date:Sender: Reply-To:Cc:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=YKncKU/6cXtndtGcLXqVZH6xMQbvoUzyJ+fkVni8wXc=; b=MfdkStTY8W9S79FOpb7doI7olG drh8N/VHZFMfHn9D8baiX6FBXV/7AFSolRtQ+ubFPcrIw+2eQwOWWWkxIk+pwy2lsMxtKaqhPqwyl eBynYBLvFMPl0oZqqIW4JGixaO+cFBLf2w6Qy5v8AqNFDFpZzuv+heJb1BQdbRXCvzHtMeWcr7ZlE 0oZ3Tynu9/e+U6s8ex4HrXHE/tP4iQKvDQcizQUX7hxCKVM+lyYl2l2ZdKGd/gQbpdku4AS8/RLhf rphtTdivlqKOF6CSrl+iQWvEItRgSxKQOq+JelTK+tm9vs4VHPFz8VcFQqn6fyB+L5WnyNJIA4BKj BBttWbsw==;
- Organization: occasionally
On Sat, 4 Sep 2021 11:49:45 +0300
Eero Tamminen <oak@xxxxxxxxxxxxxx> wrote:
> SDL2 does support Wayland, but it defaults to X unless explicitly
> requested not to (with env var).
>
> Here's pull request for SDL to default to using
> Wayland directly under Wayland, which lists issues blocking it:
> https://github.com/libsdl-org/SDL/pull/4306
Ah. Well, taking the advice on that pull request, I tried setting the
variable:
charles@iorich:~$ SDL_VIDEODRIVER=wayland hatari &
[1] 82912
charles@iorich:~$ DEBUG: STMemory_RAM_SetBankSize total=4096 KB bank0=2048 KB bank1=2048 KB MMU=a
DEBUG: Video_SetSystemTimings 1 3 -> 2 (WS3) 503 503 64
INFO : Hatari v2.3.1, compiled on: Jan 24 2021, 22:15:57
ERROR: could not initialize the SDL library:
wayland not available
[1]+ Exit 255 SDL_VIDEODRIVER=wayland hatari
charles@iorich:~$
I conjectured that it is not compiled in. However:
charles@iorich:~$ ldd $( which hatari ) | grep -i sdl
libSDL2-2.0.so.0 => /lib/x86_64-linux-gnu/libSDL2-2.0.so.0 (0x00007f3e10d25000)
charles@iorich:~$ ldd /lib/x86_64-linux-gnu/libSDL2-2.0.so.0 | grep -i wayland
libwayland-egl.so.1 => /lib/x86_64-linux-gnu/libwayland-egl.so.1 (0x00007f245c371000)
libwayland-client.so.0 => /lib/x86_64-linux-gnu/libwayland-client.so.0 (0x00007f245c360000)
libwayland-cursor.so.0 => /lib/x86_64-linux-gnu/libwayland-cursor.so.0 (0x00007f245c357000)
libwayland-server.so.0 => /lib/x86_64-linux-gnu/libwayland-server.so.0 (0x00007f245bdfc000)
charles@iorich:~$
According to https://wiki.debian.org/Wayland#Testing_Wayland, one can
test Wayland by installing the weston package. Running hatariui in
weston's terminal produced an interesting result. The Hatari window
showed up outside the weston window, looking as it normally would. The
UI stuff showed up inside the weston window, arranged horizontally.
Pause, and the warm and cold reset buttons worked.
The pulldown menus work, and some of the options in pulldown menus
worked. The little icons in the pulldown menus were absent, unlike on
X. I conjecture that the lack of icons is an artifact of using weston,
and not anything you did.
--
Does anybody read signatures any more?
https://charlescurley.com
https://charlescurley.com/blog/