23 Sep 2023 |
alex5485 | hello | 12:03:54 |
alex5485 | So 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 | The config to set a GPU device WLR_DRM_DEVICE does not help. | 12:41:29 |
alex5485 | Yeah so I am trying to figure out how to use GPU for my main display plus use that touchbar display as a second display | 12:42:11 |
alex5485 | For some reason I am not able to get anything to be displayed on the touchbar under wayland | 12:44:06 |
alex5485 | It should theoretically at least have my wallpaper but it doesnt | 12:44:18 |
alex5485 | And as I said weston does work | 12:45:39 |
alex5485 | The only solution I found is to disable touchbar display which is undesired | 12:47:18 |
alex5485 | 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 | Touchbar shows as non-desktop in get_outputs | 12:56:47 |
lord_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 |
StarEgg | In reply to @goodboy:matrix.org link? https://github.com/swaywm/sway/issues/1170 | 20:48:29 |
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? | 21:07:16 |
24 Sep 2023 |
oxo | I 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 | 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 | It is possible to use it but only if configured in specific applications | 05:13:46 |
jokeyrhyme | Seems like it'd be perfect for swaybar / waybar or some other status bar | 05:14:12 |
alex5485 | I wanted to put my bar there | 05:14:16 |
alex5485 | Yes exactly | 05:14:19 |
alex5485 | But ones again I have issues with it. Which described previously | 05:14:37 |
alex5485 | It shows in sway as non-desktop. Can I make it display something? | 05:14:52 |
alex5485 | Because it should display the wallpaper but it doesnt | 05:15:04 |
jokeyrhyme | I 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 | 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 | (It doesn't) | 05:21:16 |
alex5485 | And 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 | two major issues* | 05:23:06 |
alex5485 | And idk how to fix them. That's why I am here. | 05:24:11 |
alex5485 | There 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 | 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 |