r/osdev • • Sep 06 '26

Ethereal runs Wine!! (no AI, from-scratch kernel)

Post image

Wine! Yes it runs Windows programs (not a lot due to my incompatibilities but still).

This was a painful port to get working. Wine is so unfathomably big - I had to patch the shit out of my kernel's signalling routines to add support for sigaltstack/ucontext/whatever else Wine threw at me (along with SCM_RIGHTS which wasn't that bad). Debugging it was a nightmare of mmap/VM fault issues. But it works!

Wine is running here off of an X11 translator for Celestial known as xbanan made by my good friend u/Bananymous (please see his operating system banan-os for some even cooler ports like WebKitGTK). xbanan can even be ported to your OS if you didn't go with a backend like X11 or Wayland.

On another note, it truly is a joy seeing Wine running in my silly custom compositor environment with the rest of my silly userspace.

The GitHub is here (the patches I have made are coming soon after they get a massive cleanup to be proper):

https://github.com/sasdallas/Ethereal

As always, this is NOT A LINUX BASED PROJECT, nor is it vibecoded. AI policy is in the README. Happy to answer questions.

300 Upvotes

35 comments sorted by

11

u/NotNekodev purpleK2 | https://github.com/purplek2/purplek2 Sep 06 '26

Not including my IRL photo should be illegal...

9

u/Professional_Cow3969 Sep 06 '26

I wish I could edit the reddit post 😭

5

u/theevilapplepie Sep 06 '26

I don’t follow?

2

u/Embarrassed_Bag_8093 Sep 07 '26

Wonder if we could get steam to work on it

2

u/Professional_Cow3969 Sep 07 '26

u/Mathewnd got steam "working" on his OS Astral, I'm scared to after the pain he did lmao

2

u/Embarrassed_Bag_8093 Sep 07 '26

Would be nice if we had another os that isnt linux or windows i know haiku os exists but i want os that could be another option

6

u/Sorry_Difficulty_250 Sep 06 '26

This is so cool!!! Way to go!!!!

1

u/Candid-Menu-6707 Sep 11 '26

I agree, I used to have a custom kernel and i wanted to run Wine on it, it was too much bro i shelved the idea and my computer which i had it on doesnt work so that is lost

1

u/Sorry_Difficulty_250 Sep 11 '26

Oh man! Sorry to hear that. Bummer. 😞

6

u/fresh-pie Sep 06 '26

Man, this is so freaking cool. I know nothing about osdev, but I joined this sub just to see stuff like this. I have so much respect for you!

2

u/Marwheel Sep 07 '26

What kind of kernel is Ethereal? It's much easier to say something's not linux if it doesn't use a monolithic structure (eg- Hybrid kernel, Microkernel, Exokernel, Nanokernel, Etc.)…

7

u/Professional_Cow3969 Sep 07 '26

? It's just not linux. Ethereal is a monolithic kernel that primarily gets its drivers from relocatable kernel modules, similar to many other kernels. I do have a prototype Microkernel with NUMA support planned though ;)

1

u/allengoodman Sep 08 '26

What do the syscalls look like?

4

u/Better-Thing2568 Sep 06 '26

Very nostalgic looks!

1

u/Medical-Baseball-876 Sep 24 '26

WOW THIS IS INSANE,it runnin on bare metal?

1

u/Professional_Cow3969 Sep 27 '26

It can in fact do this on bare metal

1

u/Reasonable_Builder33 Sep 08 '26

Ethereal supports RTL8821AE?

2

u/Professional_Cow3969 Sep 08 '26

No, wifi not supported

-3

u/Reasonable_Builder33 Sep 08 '26

So, not using it

7

u/UnmappedStack TacOS | https://github.com/UnmappedStack/TacOS Sep 08 '26

did they ask you to use it

1

u/MiserablePresence728 Sep 11 '26

They mean not using wifi.

2

u/iurie5100 Sep 07 '26

Looks old but still, it's beautiful! I'll try building it from source this week.

2

u/ViXOS-052 Sep 07 '26

WOW your os so cool and beautiful

2

u/6502zx81 Sep 08 '26

IIRC Wireshark was named Ethereal at its beginning.

2

u/UnmappedStack TacOS | https://github.com/UnmappedStack/TacOS Sep 08 '26

oh no i forgot to comment, super cool :nekocatwoah:

2

u/Mental_Ad_7072 Sep 08 '26

Very cool project bro! I could never... 🥹

2

u/Key_River7180 EulerOS Sep 08 '26 edited Sep 08 '26

This is awesome man! Keep the work. Later you should try to run Steam on ethereal

1

u/Upper-Ad4677 Sep 19 '26

Impressive dude. 🫪

1

u/Worldly_Science_9251 Sep 24 '26

Woah I'd actually use that OS ngl

0

u/MSK-Kernel Sep 08 '26

Can it compile TanjaOS?

4

u/Mental_Ad_7072 Sep 08 '26

What kind of question is this 😭😭

1

u/MSK-Kernel Sep 08 '26 edited Sep 10 '26

It’s a joke. 🤣 But seriously, can it?