Louvre: Build A Wayland Compositor On Easy Mode

preview_player
Показать описание
Most Wayland compositors if not built from scratch are built from a library like wlroots but this is notouriously complicated to work with, fear not a new project has come along to fill the gap. That being louvre a C++ library aiming to be far less complex

==========Support The Channel==========

==========Resources==========

=========Video Platforms==========

==========Social Media==========

==========Credits==========
🎨 Channel Art:
Profile Picture:

#Wayland #Linux #OpenSource #X11 #FOSS #LinuxDesktop

🎵 Ending music
Track: Debris & Jonth - Game Time [NCS Release]
Music provided by NoCopyrightSounds.

DISCLOSURE: Wherever possible I use referral links, which means if you click one of the links in this video or description and make a purchase I may receive a small commission or other compensation.
Рекомендации по теме
Комментарии
Автор

Hello Brodie, I'm the developer of Louvre. Thank you very much for sharing the project. I've been a fan of your channel for a long time, especially your videos on Wayland, so this really made my day. It also helps to get more people interested in contributing to its development.

I wanted to mention that I agree with your comments on the benchmark. I'll try to add the hardware/drivers used in the tests soon. I just wanted to clarify a detail that seems to have been misunderstood. The charts regarding CPU and GPU usage on both the left and right sides use the same collected data (they are not two separate benchmarks). The difference is that on the left side, the data is displayed as is, while on the right side, the values are normalized (divided) by the FPS to obtain a value indicating how much CPU or GPU usage there is per rendered frame.

That's it, and regarding the protocols, I'll gradually add more. First, I have to finish implementing the basics hahaha cheers!

cuarzosoftware
Автор

I have mad respect for everyone writing Wayland compositor. Even with the libraries it's absurdly complex and complicated.

Linuxdirk
Автор

Your wayland news videos are my main way of keeping up with it right now. Thwnks to you i actuallt swirched to hyprland and it is sooo much better than when i tried it mere months ago.

joviandragonvt
Автор

Didn't notice the pointer constraint protocol, which is also very important for gaming, especially if you have a second monitor. And also, I don't beleave that "the date, when wayland will be the only option available" will happen soon, if ever. X11 still has it's usecases, which wayland is way far to cover (Like, for example, using a gui application via docker). Don't get me wrong, I'm using a selfmade wayland compositor (spent whole nigth to update it on wlroots 17, because of surprise update on arch) and I'm not an X11 prophet.

TheQNigma
Автор

Looks like a good start. I've mentioned that i don't see the point in desktops working from scratch, but that doesn't mean development of alternative compositors are bad, if anything we need more so that there are a variety of implementations to encourage refinement.

orbatos
Автор

I'm convinced Wayland was a practical joke by the xorg devs. They were sitting around complaining about how everyone dogs on xorg and someone said "you know what? F them. If they think they can do it better, let's make them." And thus just an incomplete protocol was born and sold as the next great thing.

paherbst
Автор

For me, the answer is "I'll chase X11 as far as I have to until David Edmundson's work on restarting and crash recovery is sufficiently complete and widely merged". nVidia support shouldn't be as big a deal though, since, having been bitten by the Stable Diffusion bug, I just jumped on a Cyber Monday deal for an RTX 3060 to replace my GTX750 from 2014 (i.e. something likely to fall out of support before nVidia gets Wayland sorted) and, in 2024, I may upgrade from my 2011 Athlon to something with two x16 slots where I could slot in a low-end AMD card for display output if need be.

ssokolow
Автор

let's not forget that linux and wayland runs on the 3ds

JessicaFEREM
Автор

While I agree with most of the things you say, I would say it's better to take your time and do something correctly than to rush it and do something wrong. That's not always possible, but I feel like the Gnome developers always prioritize better over quicker.

HPerrin
Автор

Hey, look. Even a project without XWayland support has protocol for server-side decoration.

abit_gray
Автор

Hi Brodie, could you cover the Niri wayland compositor? seems really interesting

CristianMolina
Автор

"when you're writing an X window manager, you're writing a window manager. With Wayland, you're also writing a display server, a compositor, etc..." This neatly sums up pretty much all my problems with wayland. From my uneducated perspective, this seems like an obvious blunder from the Wayland team, it seems like it would do little more than severely fracture the ecosystem and make it harder to write a compositor. Why is it that way? Is there any benefit to having the compositor do all those things instead of having them be separate? Going by the unix philosophy it seems pretty obvious that they should be separate programs, why would wayland be designed this way?

typecasto
Автор

I like how you've gotten so up front on calling out Gnome's bullshit.

Also hope the project does well. I don't want *too* many more options as I am one of the guys who thinks fragmentation in linux is a serious problem. But competition is good up to a point.

obake
Автор

Did not know that Gnome bans screen tearing. May explain why I got very little tearing after disabling vsync in a game I was testing.

Lately the crashes are blamed on gnome-shell in kern.log. I wonder if double vsync was causing some kind of race condition.

economicprisoner
Автор

[12:35] Even though Wayland is the future and Xorg is absolutely dying, we need to stop scaring people by saying that Xorg is just going to disappear one day. Because it is not. Stop it.
Just like how you can still install GTK2 apps or install ancient software, you will still be able to install Xorg with no issues.

oglothenerd
Автор

Could one use gamescope as xwayland and then not worry about adding xwayland support?

katanasteel
Автор

7:31 - 8:14 speaks from my heart. Why are Gnome devs like this?

radekkokon
Автор

For some reason I think Brodie doesnt like gnome very much

shib
Автор

I'm a beginner at interfacing with an operating system and expected to be able to present an array containing graphics in the RGBA format and then asking womething like Wayland to display it.
Ideally i would like to do the same but to the OS.
Got an background in microcontrollers doing assembly.

BabbaBabblare
Автор

Ya gotta cover **miriway** brodie, it is 800 LOC wayland compositor

fuseteam
welcome to shbcf.ru