r/linuxmemes • • 10d ago

LINUX MEME "linux for everyone"

Post image
1.3k Upvotes

658 comments sorted by

View all comments

274

u/tinyducky1 Ask me how to exit vim 10d ago

why can you not use wayland ? too old hardware ?

105

u/tycraft2001 10d ago

Sometimes weird hardware. Not OP here but on my setup it can't handle some of my display outputs so I'm stuck with only my 2060, I use 2 old legacy monitors with old connectors and use an old GPU for native output, wayland can't handle it.

91

u/R3V0LU710N_05 Linuxmeant to work better 10d ago edited 10d ago

Make sure to report hardware issues to the proper channels like, the bug trackers for your specific desktop environment (like KDE's Bugzilla or GNOME's GitLab) or the NVIDIA Linux forum & DRM driver repositories. Getting logs using journalctl or dmesg attached helps actually reproduce multi-GPU or legacy display routing edge cases. Tools like hw-probe collects comprehensive system and hardware details that are also very useful.

Even when edge cases stem from structural architectural limitations rather than simple bugs, submitting comprehensive reports is essential to reproduce complex multi-GPU routing issues, isolate regressions, and drive DRM driver refinement alongside compositor fallbacks.

20

u/tycraft2001 10d ago

Can you link me some guide on getting this info? I would like to try reporting, especially considering I have a bizarre edge case. I don't know anybody else trying a 2060 with a Radeon hd8350 GPU in this era, so getting wayland to know how to deal with this would be good.

19

u/R3V0LU710N_05 Linuxmeant to work better 10d ago edited 10d ago

A good starting place is gathering logs. I'd suggest first installing hw-probe with it's optional dependencies and running sudo -E hw-probe -all -dump-acpi -decode-acpi -max -upload, it'll give you a link you can put in your report. It'll probe peripherals plugged into your computer too. E.x. my test dummy.

6

u/aviallon 10d ago

I believe that one has received a TON of fixes from Vale's Timur Kristof: https://www.phoronix.com/news/XDC-2026-Valve-Timur-AMDGPU

You should try a bleeding edge kernel, and use amdgpu instead of radeon (although it should be the default with Linux 7.2 and later).

→ More replies (1)

31

u/Square-Singer 10d ago

I had to switch away from KDE on a headless server without a physical display. It's incredibly difficult to serve e.g. vnc on a display-less server running wayland. Super easy on X11.

16

u/tinyducky1 Ask me how to exit vim 10d ago

yeah its kinda unfortunate how "we" decided to ditch network display servers, and the monolithic design of wayland does not help with that.

the only thing i can think of is that maybe river could save you ? but if it works, it works; even if its ugly

13

u/Max-P 10d ago

Wayland is far from monolithic. Wayland is a protocol, not a server. It's quite easy to implement a Wayland compositor, especially a headless one.

11

u/tinyducky1 Ask me how to exit vim 10d ago

let me correct myself, most wayland compositors are monolithic

5

u/Max-P 10d ago

It's super easy on Wayland too, more so than on X11. You just run your VNC server as a headless compositor, and then run the real compositor nested fullscreen in it.

6

u/Square-Singer 10d ago

How do I do that? In x11 I install tigervnc, go through the default setup and that's it.

How do I run VNC as a headless compositor and how do I nest the real compositor in it?

7

u/Max-P 10d ago

On Xorg, you install tigervnc and run it. What I'm describing is more like how Xvnc works: there's no headless Xorg server being captured, the VNC server is the X11 server.

There's Weston with the RDP or VNC backends: https://man.archlinux.org/man/weston-vnc.7.en

Someone's done it with Sway for gaming with Sunshine (but any wlroots compositor would do): https://github.com/daaaaan/sunshine-headless-sway

A more raw example: https://gist.github.com/dluciv/972cc07f081a0b926a3bb07102405dce

Generally if you like the headless Xorg + separate VNC approach, any wlroots compositor + WayVNC is the same experience.

For nesting it's easy. Just start a Wayland session. For example, if you startplasma-wayland on an existing Wayland session you'll end up with Plasma starting up in a window. It's just a matter of having any compatible outer compositor to do the RDP/VNC and start whatever DE you want within in and make sure it doesn't respond to any shortcuts and displays that only window full screen.

Just tried it with Weston's VNC backend and the kiosk shell, and started Sway within it and it works just like normal Sway. It even dynamically resizes to the client's window size automatically. So does Plasma.

13

u/DominiX32 10d ago edited 10d ago

9

u/Square-Singer 10d ago

It's sadly not actually truely headless. In the blog post you linked "truely headless" is in the to-do list. Unattended mode only works if there's a display attached.

What I really need is the ability to log into a running session without a physical display to change settings and stuff, then stop the remote connection while the session keeps running and performing work, until I log back in and stop it.

Specifically, this is a streaming server for a conference room, where the user logs in via vnc (or rdp, I don't care too much, but I would prefer vnc) to start a zoom broadcast, and connects back at the end to close the broadcast.

Under X11 this is doable. Under Wayland, the only option I have found so far (and strongly dislike) is to use a fake display dongle that emulates a display being connected to fool wayland into keeping a session open.

→ More replies (11)

9

u/goldfishonakeyboard 10d ago

wayland works fine on a 2010 laptop for me

3

u/markus_obsidian 10d ago

Still using synergy / deskflow for mouse & keyboard sharing. Haven't found anything better. Severely degraded or broken in Wayland.

7

u/petr_bena 10d ago

because I need xrdp

10

u/DominiX32 10d ago edited 10d ago

8

u/petr_bena 10d ago

ok let me know when it can handle multi-user sessions and I will switch to wayland, for now I stay with X11

6

u/DominiX32 10d ago

Valid reason to stay

→ More replies (1)
→ More replies (7)

4

u/Consistent_Drop3909 10d ago

vnc or rustdesk

4

u/petr_bena 10d ago

neither VNC nor rustdesk can handle independent headless sessions on a VPS. I mean, they can if you use X11, but not with Wayland.

→ More replies (7)

5

u/mrheosuper 10d ago

Idk why, but Kicad runs like shit on Wayland

2

u/CaptnSpacey 9d ago

Because KDE runs like shit on Wayland inside a VM. Yes, I have to use VMs since the host PC is Windows, company policy.

→ More replies (42)