!HHwUGhuacLZjXGCBsu:matrix.org

Sway

538 Members
i3-compatible Wayland compositor https://swaywm.org/86 Servers

Load older messages


SenderMessageTime
23 Sep 2023
@alex5485:tchncs.dealex5485hello12:03:54
@alex5485:tchncs.dealex5485So I have an interesting setup. I am running fedora asahi linux (with GPU and touchbar support) And soo the problem is that when the touchbar display output is available sway for some reason uses emulated graphics instead of GPU When trying to run weston from console it uses the touchbar display and so it is unusable (lmao) Asahi devs suggested that because of this touchbar display sway defaults to using GPU for it.12:40:40
@alex5485:tchncs.dealex5485The config to set a GPU device WLR_DRM_DEVICE does not help.12:41:29
@alex5485:tchncs.dealex5485Yeah so I am trying to figure out how to use GPU for my main display plus use that touchbar display as a second display12:42:11
@alex5485:tchncs.dealex5485For some reason I am not able to get anything to be displayed on the touchbar under wayland12:44:06
@alex5485:tchncs.dealex5485It should theoretically at least have my wallpaper but it doesnt12:44:18
@alex5485:tchncs.dealex5485And as I said weston does work12:45:39
@alex5485:tchncs.dealex5485The only solution I found is to disable touchbar display which is undesired 12:47:18
@alex5485:tchncs.dealex5485
In reply to alex5485
For some reason I am not able to get anything to be displayed on the touchbar under wayland
under sway*
12:55:32
@alex5485:tchncs.dealex5485Touchbar shows as non-desktop in get_outputs12:56:47
@goodboy:matrix.orglord_fomo
In reply to @general_generic:matrix.org
How do I use marks in Sway? The i3 docs had a very cool method but apparently i3-input doesn’t have a sway equivalent (verified it by testing too), and I never found anything that seemed to work 
link?
20:44:19
@general_generic:matrix.orgStarEgg
In reply to @goodboy:matrix.org
link?
https://github.com/swaywm/sway/issues/1170
20:48:29
@jokeyrhyme:matrix.orgjokeyrhyme
In reply to @alex5485:tchncs.de
For some reason I am not able to get anything to be displayed on the touchbar under wayland

fascinating

does the touchbar get a sensible resolution by default? or is it some unusable nonsense?

21:07:16
24 Sep 2023
@y3l0b3b5z2u=:matrix.orgoxoI finally have build a script (based of one from xew) to snap a floating container to one of the screen borders.02:38:03
@alex5485:tchncs.dealex5485
In reply to jokeyrhyme
In reply to @alex5485:tchncs.de
For some reason I am not able to get anything to be displayed on the touchbar under wayland

fascinating

does the touchbar get a sensible resolution by default? or is it some unusable nonsense?

60x2000ish
05:13:24
@alex5485:tchncs.dealex5485It is possible to use it but only if configured in specific applications 05:13:46
@jokeyrhyme:matrix.orgjokeyrhymeSeems like it'd be perfect for swaybar / waybar or some other status bar05:14:12
@alex5485:tchncs.dealex5485I wanted to put my bar there05:14:16
@alex5485:tchncs.dealex5485Yes exactly05:14:19
@alex5485:tchncs.dealex5485But ones again I have issues with it. Which described previously05:14:37
@alex5485:tchncs.dealex5485It shows in sway as non-desktop. Can I make it display something?05:14:52
@alex5485:tchncs.dealex5485Because it should display the wallpaper but it doesnt05:15:04
@jokeyrhyme:matrix.orgjokeyrhymeI guess you don't want apps to accidentally open windows on it, maybe that's what the non-desktop attribute means?05:15:41
@alex5485:tchncs.dealex5485
In reply to jokeyrhyme
I guess you don't want apps to accidentally open windows on it, maybe that's what the non-desktop attribute means?
But wallpaper should work?
05:20:53
@alex5485:tchncs.dealex5485(It doesn't)05:21:16
@alex5485:tchncs.dealex5485And here I am stuck. I have no major issues: 1 touchbar doesn't display anything under sway (I even tried to configure it as a main display), 2 when touchbar display is available sway does not use the GPU (instead uses emulated GPU)05:22:48
@alex5485:tchncs.dealex5485two major issues*05:23:06
@alex5485:tchncs.dealex5485And idk how to fix them. That's why I am here. 05:24:11
@alex5485:tchncs.dealex5485There are definitely no similar issues online because touchbar was released to the general public only recently. It was used for such application only on KDE by the devs. 05:25:15
@jokeyrhyme:matrix.orgjokeyrhyme

the touchbar isn't connected to the rest of the laptop the way the primary display is, it's via a special security chip: https://appleinsider.com/inside/touch-bar

so maybe emulated GPU is as good as it gets

06:17:47

There are no newer messages yet.


Back to Room ListRoom Version: 5