9 ms·
Xorg being removed. What does this mean?
- parasti 3y agoDo any of those actually run on "bare metal"? Seems that term is used (confusingly) as an euphemism for "operating system".
- cassianoleal 3y agoRunning on bare metal usually means not in a VM or container. It means they talk to the hardware in the most direct way. Sure, it takes drivers, kernel, etc but that's about it. Operating systems can run on VMs or containers. When comething runs on top of those OSs, they are not running on bare metal.
- arghwhat 3y agoThis is not what whot meant. He meant "bare metal" in that Xorg is the display server talking to your input (evdev) and output devices (drm/kms), rather than running as a rootful or rootless child of another display server as is the case with Xwayland or Xephyr. A "bare metal" display server can run in VMs, or even in containers (although the latter is a little pointless as the device access violates sandbox safety).
- cassianoleal 3y agoThanks, this is an interesting point-of-view, and thinking back and re-reading the article, it seems you're right. I'll have to say though, I find that particular definition of bare metal quite strange.
- arghwhat 3y agoIt's also a bit of a weird thing to describe. Native? Master? Normal? "Nested" is more or less the de-facto term in Wayland-land for the child scenario (pretty much all Wayland display servers natively support a rootful child mode either as real feature or for testing/debugging, some even under X), but there isn't really a good word for the normal case.
- sproingie 3y agoA container is simply a process with isolated namespaces — an OS does not run within them, and any hardware access they have is mediated by the OS in the same way as any other process. This being from Linux’s POV anyway: once you’re running Docker on other OS’s, there’s a Linux VM in the middle.
- cassianoleal 3y agoYou can absolutely run a separate OS in a container. Not the kernel, but everything else. It's true that you don't have to, but you certainly can. In fact, the first implementation of containers in Linux - Linux Containers, or LXC - works exactly that way. This may or may not be as great a distinction as you might want in order to consider it bare metal vs. not. I'll leave that up to you.
- arghwhat 3y agoI think this part of the discussion is just a disagreement as to what constitutes an OS, and whether running a process with a different rootfs entails "running a different OS".
- sproingie 3y agoSure, the average container in fact brings along an entire OS distribution like Alpine or Ubuntu or whatnot, but there’s still no extra layers added (save perhaps for the filesystem). Then again, running an OS at all is not “bare metal” by some definitions… it’s all various amounts of alloys I suppose.
- jcarrano 3y agoMeans that the X server directly communicates with the display driver to do the low-level rendering. Compare that with Xwayland, in which the server is an application talking to wayland or Xephyr which renders to a frame buffer in another X.
- Karellen 3y agoCompare it to the other servers in the same `hw` directory: ├── hw │ ├── kdrive │ ├── vfb │ ├── xfree86 <- this one is Xorg │ ├── xnest │ ├── xquartz │ ├── xwayland │ └── xwin Xorg/xfree86 is the one that renders to your display hardware (metal), compared to `vfb` which renders to the Linux Virtual FrameBuffer API, `xnest` which renders to another X server, `xquartz` which renders to Apple's "quartz" display system, `xwayland` which renders to a wayland server, and xwin which renders to Win32. And, uh `kdrive`, which renders to... um... something or other. Edit: Also, while Linux now has Atomic ModeSetting and the Direct Rendering Manager APIs, for a lot of Xorg/Xfree86's history it didn't, and the X server did a lot more direct manipulation of the display hardware than it does now. Switching virtual consoles between X consoles and Linux terminal consoles used to be a weird dance between Xorg in userspace and the kernel to make sure that the hardware handoff between them didn't mess up. This dance took about a second to complete (which is forever in CPU time) rather than being the instantaneous sort of switch it is now. But even now, with DRM and the other stuff, Xorg still does a lot of talking directly to the hardware.
- tremon 3y agokdrive is this alternative X server, I suspect: https://www.irif.fr/~jch/software/kdrive.html https://www.irif.fr/~jch/software/kdrive.html
- jrockway 3y ago> This dance took about a second to complete What's really weird about reading this is that I can hear, in the back of my mind, the sound my CRT makes while doing this switch. But I have no memory of ever switching from X -> virtual console since LCDs were a thing. I guess... that's when X stopped crashing routinely? Weird stuff! (Also, am I crazy or is there also a smell associated with this operation? I swear I remember something like that. When the mode switches, the monitor degausses itself, and then there is a faint smell of ozone? Computers used to be weird!)
- shermantanktop 3y agoMe too! It sounded like something was being done to the monitor that it did not enjoy at all.
- JackSlateur 3y agoMisleading title: Xorg may be removed from rhel10 So this may not be a big deal
- gunapologist99 3y ago> So this may not be a big deal You're right, but Red Hat led Debian/Ubuntu over the systemd cliff. (Because, you know, a gigantic ball of binary code is better than runit/s6/sysv/etc. /s)
- exploderate 3y agoWow, I need to get some of that "binary code". Sounds dangerous, probably has "pointers" and other sharp things? I'm happy the gigantic ball of ill-maintained shell scripts from the last century is gone from my systems.
- ori_b 3y agoSome people seem to think that systemd is the only alternative to the sysv init mess. This is a false dichotomy. Sv, smf, s6, openrc, runit, dinit, epoch, BSD, ...
- jimmaswell 3y agoI never had any horse in systemd/init.d and wasn't too familiar with the issue until I watched this presentation. systemd seems reasonable enough after considering it. https://youtu.be/o_AIw9bGogo https://youtu.be/o_AIw9bGogo
- mmcgaha 3y agohttps://cve.mitre.org/cgi-bin/cvekey.cgi?keyword=sysvinit https://cve.mitre.org/cgi-bin/cvekey.cgi?keyword=sysvinit https://cve.mitre.org/cgi-bin/cvekey.cgi?keyword=systemd https://cve.mitre.org/cgi-bin/cvekey.cgi?keyword=systemd
- 3y ago
- destructionator 3y ago> Xorg being removed. What does this mean? It means your distro is terrible and it is time to switch. The author of this blog works for Red Hat though, so he won't speak that particular truth.
- antisol 3y agoI was going to say "it means a whole new class of compatibility issues with software you've been using with no problems for the last 20 years". But you pretty much covered it.
- gjsman-1000 3y agoPerhaps - but Xorg had no business being the display server for so long for how objectively nonsense the code is. It’s time to pay back that billion-dollar technical debt. The technical debt of Xorg is almost like if Linux never supported anything but x86 and used emulators for all other hardware. Example: How many people here would cringe at the thought of a WordPress site with a bunch of plugins? Xorg is objectively worse code, and has over 30 plugins on a normal desktop.
- Ckirby 3y agoBy your logic the Linux kernel itself should ve replaced since it's decades old and full of legacy code
- gjsman-1000 3y agoSure, but by that logic, there's nothing wrong with still using cooperative multitasking. Eventually, everyone involved knows, it's time. And even Linux has had some major rewrites in multiple areas - don't pretend like Linux hasn't changed immensely since 1.0. Xorg though... hasn't that much...
- worewood 3y agoThere's nothing wrong using cooperative multitasking in embedded systems for an example. Heck, there's nothing wrong using anything anywhere, it's a question of fulfilling the requirements.
- evanjrowley 3y agoIt means I can't use Talon for voice commands, and subsequently, Cursorless to voice control VSCode.
- ta988 3y agoThis is current requirements for Talon in Wayland https://github.com/splondike/wayland-accessibility-notes/blob/main/talon-requirements.md https://github.com/splondike/wayland-accessibility-notes/blo... Getting there but they need a bit of help if anyone is looking to contribute to an accessibility project.
- ForkMeOnTinder 3y agoAs a light Talon+Cursorless user, I'd be happy with a very small subset of these features. I'm guessing all you really need for Cursorless to work is 02 (Get PID associated with a given window) and 18 (Emulate pressing keyboard keys). And emulating keys could be done completely outside of wayland, using uinput instead. How can we contribute? When I first started using Cursorless I wanted to try porting the keyboard emulation to uinput before I realized Talon was closed source.
- superkuh 3y agoIt means I can't use synergy or barrier or inputleap to use one mouse/keyboard to control all 3 of my desktop computers in the shared monitor span.
- arghwhat 3y agohttps://github.com/r-c-f/waynergy https://github.com/r-c-f/waynergy, and inputleap seems to have libei support which makes it compatible with some Wayland display servers. barrier has been unmaintained for a long time.
- superkuh 3y ago>barrier has been unmaintained for a long time. As if not having new features added for 2 years makes it stop working? barrier is perfectly fine on normal linux desktop installs. I actually use synergy 1.x personally which has been "unmaintained" for much, much longer. Except synergy 1.x will compile and run on anything from windows 98 to ubuntu 10.04 to latest arch. You can't get a waynergy or inputleap to compile on an OS more than 3 years old. And even then, as you say, it's crapshoot if the particular wayland you use will have libei; many like sway are actively hostile to it and never will: https://github.com/swaywm/wlroots/issues/2378 https://github.com/swaywm/wlroots/issues/2378
- unixhero 3y agoBlogspot.com banned by my workplace mega corp web filter.
- baz00 3y agoIt means every time I install a random package, half of Xorg doesn't get installed as well?
- arghwhat 3y agoWell, xorg-server is 1 package that doesn't depend on much on its own. What you're describing sounds more like bad client dependencies pulling in chunks of a desktop environment.
- gunapologist99 3y agoDoes anyone actually use an X server on RHEL10? I thought mostly used for servers, and people who wanted a good Linux desktop had switched to a different distro (or, more likely, Mac) a long time ago.
- phone8675309 3y agoYes. We use nVidia GPUs as they're the only products performant enough for our applications and the Wayland support is complete dogshit.
- creatonez 3y agoRHEL Workstation is primarily used for graphics workstations to run ports of old SGI-compatible software, and in particle physics laboratories for loading all workstations with a standard set of science, mathematics, and TeX publishing software. RHEL is also used in automotive applications, such as in-car entertainment systems, but this use case has already standardized on Wayland (it was one of the first things Wayland was widely used for)
- sylware 3y agoIt means the steam client has finally trashed its legacy 32bits code and has finally a native wayland backend (keep Xwayland for old games). Ofc, it would have a wayland->x11 fallback (force-able with a command line opition), like with a vulkan->GL->GPU (force-able with a command line option). It means too I finally have to code my wayland compositor (full dma-buf/vulkan/CPU), probably based on valve one (but in C and/or assembly, not that abomination of c++).
- Ckirby 3y ago[flagged]
- ho_schi 3y agoThis is wrong. For legacy code there is Xwayland and the blog post actually describes it. I'm using Wayland on Archlinux and despite I run currently no legacy software Xwayland is active: $ xlsclients gsd-xsettings mutter-x11-frames Therefore Xwayland is running and consuming 164 Megabyte of RSS. Despite I don't run applications depending on X11. I suspect the file /etc/xdg/autostart/org.gnome.SettingsDaemon.XSettings.desktop is the cause: [Desktop Entry] Type=Application Name=GNOME XSettings Exec=/usr/lib/gsd-xsettings OnlyShowIn=GNOME; NoDisplay=true X-GNOME-Autostart-Phase=Initialization X-GNOME-Autostart-Notify=true X-GNOME-AutoRestart=true X-GNOME-HiddenUnderSystemd=true If I guess it right this should help X11 based applications to get the needed settings. Probably /org/gnome/mutter/experimental-features with autoclose-xwayland is what I want. I assumed that is already the default - wrong assumption. Xwayland remains available for stuff like legacy software (various games from Steam) and doesn't consume resources when not required. I wouldn’t be surprised if legacy games ship in future (ten years or more…) with a built-in Xwayland-Wrapper or something similar.
- deleted 3y ago[deleted]
- creatonez 3y ago> Xorg works, has always worked, and will continue to work Sure, you could say the same about IE6. > Wayland is a broken vanity project by a minor amateur maintainer Despite its flaws, Wayland is a widely adopted production-ready project made by Xorg maintainers and nearly everyone else who has been seriously working on the graphics stack on Linux in the past 5 years. There is a good chance that Wayland is running in your car's infotainment system.
- jmclnx 3y agoAnd it only works on Linux, that is the issue. Porting to other UN*X is a major pain. There is a lot more to the world than Linux. Also I am sure Wayland will never be ported to AIX, you know, the UNIX used by many large finance companies. BSDs are having a hard time with it due to Linuxisms.
- renegat0x0 3y agoWhy this message has been posted with http:// http:// protocol rather than with https:// https:// ?
- refracture 3y agoI hope this means Wayland is getting to the point where a multiple monitor, variable refresh rate HDR setup is well supported. I like the X11 protocol for things like forwarding over ssh but xorg itself has given me so many problems throughout my entire history of using Linux.
- esbranson 3y agoThank you to the developers and maintainers working in this space.