Тёмный

2021: Year of the Linux Gaming Desktop - Andrew Kelley 

Zig SHOWTIME
Подписаться 11 тыс.
Просмотров 14 тыс.
50% 1

Наука

Опубликовано:

 

29 июл 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 55   
@marijnstollenga1601
@marijnstollenga1601 3 года назад
I tried the executable and it works! Most fascinating triangle demo i've seen
@jestarray
@jestarray 3 года назад
But every year is the year of the linux desktop!
@tikkimink
@tikkimink 2 года назад
Unfortunately linux users will forever be the reason it's never the year of the linux desktop.
@jacobhinchliffe6659
@jacobhinchliffe6659 2 года назад
It's a funny meme
@totheknee
@totheknee 3 года назад
5:20 - I love how arch is second to last in the list, right above UNSTABLE. And then the 4 arch users gave the video a thumbs down. XD
3 года назад
Fantastic hack! Nice talk. Thanks!
@msekiller64
@msekiller64 3 года назад
Well this was a prediction that Gaben took to heart
@arkeynserhayn8370
@arkeynserhayn8370 3 года назад
Windows 11 TPM + Steam deck = 2022 is probably the year linux gaming (and desktop in general) takes a knee.
@cerilious
@cerilious 3 года назад
Hahaha, what a mess. I love it. It would be nice if we had something like this for Unity, Unreal, and Godot.
@JannisAdmek
@JannisAdmek 5 месяцев назад
It's funerary, 2024, the executable doesn't run on my Ubuntu 22.04.1 LTS :(
@HaMMeR33661
@HaMMeR33661 2 года назад
Insanely topical now for the Steam Deck release! Tons of people online arguing about linux ports while not knowing what even goes into packing a game and what the dependencies that could break actually are. This is pretty good to get a feel for the issues here and not to just guess
@lepidoptera9337
@lepidoptera9337 Год назад
The issue here is that Linux is dead.
@JannisAdmek
@JannisAdmek 5 месяцев назад
@@lepidoptera9337 how is Linux dead? :o Isn't it roughly the same as ever, not popular nor dead?
@lepidoptera9337
@lepidoptera9337 5 месяцев назад
@@JannisAdmek The dead are rarely popular. :-)
@master74200
@master74200 Год назад
As cool as this is, what would take it to the next step, in my opinion, is making it work using the APE functionality (Actually Portable Executable)
@DopeFrogOriginal
@DopeFrogOriginal 2 года назад
audio kicks in at 1:38
@notuxnobux
@notuxnobux 3 года назад
Unfortunately i get segfault (at address 0x0) on arch linux with proprietary nvidia drivers when running that static demo
@cosarara97
@cosarara97 2 года назад
I had this issue due to the window manager trying to tile the window. On floating/stacking mode, it worked fine.
@technologicalwaste7612
@technologicalwaste7612 3 года назад
22:40 I'm about to do a Linux gamer move.
@mrkunlun
@mrkunlun 2 года назад
trying this now on fedora 35, unfortunately, fails. it seems to be stuck in a loop trying to detect the linker path
@rezmed1144
@rezmed1144 2 года назад
same thing on Archlinux
@soham7510
@soham7510 Год назад
@@rezmed1144 can confirm not working on arch linux x86_64 kernel 6.0.10-arch2-1 with Nvidia TU117M and AMD Ryzen 5 3550H
@slavic_commonwealth
@slavic_commonwealth 4 месяца назад
same on Arch
@alexpyattaev
@alexpyattaev Год назад
How is this superior to flatpack? If I am shipping a game, it probably has a few gigs of assets. So shipping libraries etc is no issue. No fumbling with linker needed. Or am I missing something?
@lepidoptera9337
@lepidoptera9337 Год назад
Yes, you are missing a killer application. Linux gaming, that is still solitaire and minesweeper. :-)
@alexpyattaev
@alexpyattaev Год назад
@@lepidoptera9337 If you prefer that to warthunder, flightgear, 0AD and zero-k, then sure, of course, linker is your main problem. There are plenty of really good games for Linux if you only look for them.
@golarac6433
@golarac6433 3 года назад
You don't have to discover the linker path at runtime. You can just run the linker directly and give the executable path as the first agument. For example /lib64/ld-linux-x86-64.so.2 ./test.exe. test.exe has a invalid path to linker, so on it's own it won't run, but running it like this works. With that in mind, you could write a simple bash script that will discover the linker path and call it with your game as a first argument.
@farhanyousaf5616
@farhanyousaf5616 3 года назад
Yep, but what he's trying to do is to not require extra code in the bin or a bash script. Just put the files in a standard place or alias to them or something. Not a rocket science ask.
@golarac6433
@golarac6433 3 года назад
@@farhanyousaf5616 but having a bash script is much simpler than this hack
@AndrewKelley
@AndrewKelley 2 года назад
@@golarac6433 not for the end user!
@golarac6433
@golarac6433 2 года назад
@@AndrewKelley but my point was that you'd ship such a script with your program
@mgord9518
@mgord9518 Год назад
@@AndrewKelley It could be pretty polished if it was the AppRun of an AppImage
@pasdenom.9062
@pasdenom.9062 3 года назад
That is why I want to create a (mostly) statically-linked linux distribution.
@kodesafi
@kodesafi 2 года назад
The is executable is now broken.
@kodesafi
@kodesafi 2 года назад
At least on wayland ( river )
@estanforth6754
@estanforth6754 3 года назад
My linux distro doesn't have X11; it's wayland only without XWayland. This wont run.
@estanforth6754
@estanforth6754 3 года назад
@4tran ah oky
@LikedgamingRS
@LikedgamingRS 3 года назад
This is all great, but why not just use Appimages for end user UX?
@ishanagarwal475
@ishanagarwal475 3 года назад
Appimages don't work in NixOS.
@mgord9518
@mgord9518 Год назад
Because AppImages only solve a couple of these issues. An AppImage built on Ubuntu will almost certainly run on Fedora or Arch, but not Alpine or Nix.
@mbarrio
@mbarrio 3 года назад
What software is he using for the interview to receive different streams from Andrew.?
@mbarrio
@mbarrio 3 года назад
@S B Thanks anyway!
@cosarara97
@cosarara97 2 года назад
I feel like musl distros and nixos are tiny niches inside the tiny niche that linux already is. Like the yellow part in the graph inside the yellow part of the graph. Just like running windows Just Works for gamers, running glibc distros (other than nixos) Just Works for gamers too, these days, as Steam and other releases of games for linux show. And for applications, AppImages fill the same niche. Again, leaving out musl distros and nixos. Cool demo either way though; if these barriers can be removed so that there are no hoops to jump, it's a win.
@AntonioNoack
@AntonioNoack Год назад
@26:13 the creator of RenderDoc doesn't approve me initializing it after my engine already started (but before touching LWJGL/OpenGL), but I do it anyways 😁. Much more comfortable starting it in my IDE than having it to start from within RenderDoc.
@dominik2327
@dominik2327 3 года назад
I must disagree about the Wayland part. Relying on Xwayland forever is not a solution - at least not in case we are actually try to make the switch happened. By now, apart from Gnome that worked that around a little bit (still far from perfect though), Xwayland cannot handle HiDPI on most compositors and by now it seems like it's won't fix, no one is actively working on it and the discussion is sort of stuck. Yes, it's fine when you just have a single screen and you work without changing screen density. High resolution displays are becoming more and more common, so that's a mess, really.
@illanoizegaming4204
@illanoizegaming4204 3 года назад
Mac users use OS X because of the creative applications for audio, video, graphic design etc not games.
@intuit13
@intuit13 2 года назад
Mac users used Macs for the creative applications for audio, video, graphic design, etc. about 15 years ago. Welcome to 2022. 'Creatives' use PCs now.
@Elite7555
@Elite7555 Год назад
It's just a pain in the arse to make your software multi distro compatible. This problem just doesn't exist with Windows or macOS (for the most part). And let's face it: the Linux user experience sucks. So both groups, users and developers, have good reasons to prefer Windows and macOS.
@shinobi1975
@shinobi1975 4 месяца назад
Lol what a joke!
@lepidoptera9337
@lepidoptera9337 Год назад
It's 2023... this didn't age well. ;-)
@stephenkamenar
@stephenkamenar Год назад
lmao how can it be this complicated to draw a single triangle??? linux desktop is embarrassing
@pleaserespond3984
@pleaserespond3984 Год назад
Hah, fails on my Linux by endlessly trying to discover the linker path. I just get endless rows of debug: detecting whether we are running in the dynamic linker debug: we're not. detecting the dynamic linker path debug: prepare to execve reload debug: dyld_path=/lib64/ld-linux-x86-64.so.2 debug: setting environment variable 'LD_PRELOAD=libdl.so.2 libpthread.so.0' debug: detecting whether we are running in the dynamic linker debug: we're not. detecting the dynamic linker path debug: prepare to execve reload debug: dyld_path=/lib64/ld-linux-x86-64.so.2 debug: changing environment variable 'LD_PRELOAD=libdl.so.2 libpthread.so.0' to 'LD_PRELOAD=libdl.so.2 libpthread.so.0 libdl.so.2 libpthread.so.0' debug: detecting whether we are running in the dynamic linker debug: we're not. detecting the dynamic linker path debug: prepare to execve reload debug: dyld_path=/lib64/ld-linux-x86-64.so.2 debug: changing environment variable 'LD_PRELOAD=libdl.so.2 libpthread.so.0 libdl.so.2 libpthread.so.0' to 'LD_PRELOAD=libdl.so.2 libpthread.so.0 libdl.so.2 libpthread.so.0 libdl.so.2 libpthread.so.0' And the LD_PRELOAD grows endlessly with repeats of the same two libraries. If I try to run it via ld-linux manually I get a different error: $ /lib64/ld-linux-x86-64.so.2 static-window9 static-window9: error while loading shared libraries: static-window9: cannot open shared object file As an aside, wouldn't the best solution be to work on a universal non-GNU loader that can be used by all distros? By non-GNU I mean it is not part of the GNU project itself, so there's no conflict of interest.
@slavic_commonwealth
@slavic_commonwealth 4 месяца назад
I have the same problem on Arch Linux
Далее
What's a Memory Allocator Anyway? - Benjamin Feng
48:30
CppCast Episode 342: Zig with Andrew Kelley
57:45
Просмотров 14 тыс.
How Zig is used at Uber - Motiejus Jakštys
36:56
Просмотров 23 тыс.
Zig Compiler Internals - Andrew Kelley
1:00:42
Просмотров 25 тыс.
Zig in Production - Jens Goldberg
39:02
Просмотров 14 тыс.
Runtime polymorphism: why, how? - Alex Naskos
47:48
Просмотров 8 тыс.
Zig Roadmap 2021
52:27
Просмотров 9 тыс.
Writing a Wayland Compositor in Zig - Isaac Freund
42:20
10 МИНУСОВ IPHONE 15
18:03
Просмотров 42 тыс.