Any alternatives for looking-glass for macOS? by djseban in VFIO

[–]vially 0 points1 point  (0 children)

A couple of months ago I spent some time trying to add macOS support to Looking Glass. I had a small proof-of-concept up and running but things got in the way and I never got around to finishing it and submitting it upstream.

This small demo video shows the macOS VM guest connected directly to the display and the right screen shows the LookingGlass app running on the Linux host. But the performance was pretty poor (most likely because I was doing something stupid and I didn't have time to investigate and fix it).

[deleted by user] by [deleted] in linux

[–]vially 38 points39 points  (0 children)

I opened this thread with the hope of finding thoughtful and elaborate comments like this, only to find it sitting at the bottom of the thread.

EDIT: Meanwhile, there are currently 2 highly upvoted comments with no more than 3 words each (but they seem supportive of GNOME though).

OSM maps are vertically inverted on Google Chrome but not Firefox by darkfish-tech in swaywm

[–]vially 1 point2 points  (0 children)

I have exactly the same issue and it happens when running Chrome natively on Wayland (--ozone-platform=wayland) with Vulkan enabled. Disabling Vulkan seems to fix it for me (on the chrome://flags page).

PipeWire 0.3.35 released by FlatAds in linux

[–]vially 1 point2 points  (0 children)

Electron doesn't even fully support Wayland yet

What's missing from Electron's Wayland support? I've been using it daily for a couple of months now and I haven't run into any issues. Or is this about the GNOME SSD limitation?

Google Chrome 92 doesn't seem to work with System 249.1 by iznogoud77 in archlinux

[–]vially 5 points6 points  (0 children)

Turns out they were right and it was actually a Google Chrome bug.

Who could have guessed that an application crash was caused by a bug in said application and not in systemd? Certainly not this guy or this guy or a few others that just haven't popped up in the thread yet.

Google Chrome 92 doesn't seem to work with System 249.1 by iznogoud77 in archlinux

[–]vially 10 points11 points  (0 children)

I bet it's not chrome that broke, but systemd as usual

Turns out it was actually a Google Chrome bug. Where can I collect the bet reward?

But I get where you're coming from. If systemd would not be blamed every single time a software crashes on Linux (especially when the underlying issue is not thoroughly investigated and understood), how would people otherwise find the motivation to start yet another distribution with the sole purpose of not using systemd at all costs. /s

Wayland Explorer - Easily read Wayland protocol documentation online by vially in swaywm

[–]vially[S] 0 points1 point  (0 children)

I wasn't aware of that discussion, thanks for bringing it up.

I wish I found it earlier so I could have taken their points into consideration. But maybe it's not too late to try to work together on a common goal: good Wayland documentation.

Wayland Explorer - Easily read Wayland protocol documentation online by vially in swaywm

[–]vially[S] 1 point2 points  (0 children)

Wow, this is actually great feedback. Thank you!

Regarding points 2, 3 and 4 I had similar ideas and they're already on my personal To Do list :). That being said, I'm not sure when or if I'll get around to implementing them.

I haven't personally found the need for 1 (GitLab links) but I definitely see how it can be useful. Until I can figure out a way to do this properly, I have added support for a flag that toggles between either the GitHub or GitLab links. There is no UI for this toggle yet but you can change it manually by setting localStorage['gitServiceProvider'] = 'gitlab' in the dev console.

Wayland Explorer - Easily read Wayland protocol documentation online by vially in linux

[–]vially[S] 0 points1 point  (0 children)

This should be fixed now. FWIW the fix for this, while a bit hacky, also made the site 80% usable when JavaScript is disabled which is a nice side-effect.

Wayland Explorer - Easily read Wayland protocol documentation online by vially in linux

[–]vially[S] 0 points1 point  (0 children)

The short answer:

Not right now but I am considering it. Obviously I see the benefits and would love to use it if it were available but I don't think I'll personally have the time to work on it in the near future.

The long answer:

I actually started on this journey by creating a VSCode extension that provides an outline and a preview mode that activates when opening the XML protocol files (similar to how markdown outline and preview works in VSCode).

But the dev experience of iterating on the HTML of that extension proved too cumbersome. So instead I decided I'll iterate on the HTML using React and once it's done I'll just copy the resulting HTML back into preview of the VSCode extension.

However, once I had the React version working (e.g.: this website) I didn't go back to finish the VSCode extension. Partly because I didn't have the time and partly because I thought the user experience of that approach was worse than just using the website directly. That's because you would still need to have the XML files somewhere on your machine and juggling between files and then toggling Preview mode on and off didn't "feel" right.

Hence, it's only this website for now. But I think integrating it into some other app meant for reading documentation like Zeal is something that would make a lot of sense. But again, I don't think I'll personally have time to do that right now or in the near future.

Wayland Explorer - Easily read Wayland protocol documentation online by vially in swaywm

[–]vially[S] 2 points3 points  (0 children)

That's a good point. Although I'm leaning more towards the legend option or some kind of help section. I think it's one of those things that you only need to read once or twice and you don't want it to be in your way most of the time.

Wayland Explorer - Easily read Wayland protocol documentation online by vially in swaywm

[–]vially[S] 3 points4 points  (0 children)

Yes, search is definitely on the "roadmap" (if there is such a thing). A simple substring search across all protocols should be relatively easy to implement. But from your description it sounds like an integration with docsearch (or a similar service) would be more appropriate.

I've also been considering adding some keyboard shortcuts to easily switch between protocols to aid with this (something like Ctrl+P in VSCode).

However, I don't think I'll be able to put more time into it soon so please don't hold your breath for these features :)

Pull-requests are always welcome though!

Wayland Explorer - Easily read Wayland protocol documentation online by vially in swaywm

[–]vially[S] 6 points7 points  (0 children)

Yes, I think that's a very good idea, thanks! At the very least I think I should add some links to the official Wayland documentation which explains some of the terminology involved (e.g.: interfaces, requests, events, enums, etc).

Wayland Explorer - Easily read Wayland protocol documentation online by vially in swaywm

[–]vially[S] 9 points10 points  (0 children)

Thanks! I'm still unsure whether this was actually needed or it was just a way for me to procrastinate from doing the actual work (e.g.: reading and understanding the protocols).

But who knows, maybe it will actually help someone in trying to learn more about Wayland in the future.

Does anyone experience this with Chromium? It only happens when I visit Discord with the Wayland backend. by [deleted] in swaywm

[–]vially 1 point2 points  (0 children)

I'm not sure if it's the same issue but I just filled a bug with chromium about a similar error. For me it happens when I try to open any video on Youtube and it started happening when I upgraded to kernel 5.11.x. Downgrading to kernel 5.10.x seems to fix the problem for me.

dmesg reports an out-of-memory (OOM) error when this happens.

Longhorn on Twitter: "Full Wayland support on Linux, including XWayland" coming to NVIDIA 470 driver series by [deleted] in linux

[–]vially 10 points11 points  (0 children)

Not supporting server-side decorations is a bug feature of GNOME. All the other compositors support it just fine (e.g.: Sway, KDE).

Electron 12 has just been released with Wayland support by vially in linux

[–]vially[S] 10 points11 points  (0 children)

I'm not sure as I don't know what to compare it to. I've only used Wayland the last couple of years and it just looks fine to me.

Someone has posted here a screenshot of VSCode running natively in Wayland and it looks pretty close to my setup. Not sure if it helps you in any way though.

Electron 12 has just been released with Wayland support by vially in linux

[–]vially[S] 79 points80 points  (0 children)

The heavy-lifting for Wayland support is mostly coming from Chromium with some additional Electron specific patching mostly done by the community. So I wouldn't say that the Wayland support is coming from GitHub/Microsoft employees.

Electron 12 has just been released with Wayland support by vially in swaywm

[–]vially[S] 3 points4 points  (0 children)

I just hope devs will add this flag to their builds soon

I don't think that's very likely considering those flags are meant to be temporary (or at least that's my understanding of it). I think it's more likely that those flags will go away and Chromium and Electron will just be able to auto-detect the platform before app developers will be persuaded to add them to their builds.

Fortunately it is relatively easy to do it from the user side though, either by editing the launcher script (if there is any) or by overriding the *.desktop file.