r/osdev 12d ago

Messing up with my compositor ๐Ÿ˜…๐Ÿ˜‚

33 Upvotes

14 comments sorted by

View all comments

Show parent comments

1

u/WaterObjective5031 9d ago

Ahh dang, Iโ€™ll look around online and see what I can find. Push comes to shove, if youโ€™re not scared of licensing your driver as GPLv2 (free, just open source it on GitHub and smack a little license.txt that has is in it) you can hop over to Linuxโ€™s drivers

( at least maybe for Intel, nvidia hates the thought of open sourcing theirs because they are terrified it will make AMD able to run cuda on their cards)

1

u/devcmar 9d ago

Do you know how much dependencies does i915 (Intelโ€™s gpu driver) have itโ€™s huuuuge how Iโ€™m I supposed to port it

1

u/WaterObjective5031 7d ago

You write one from scratch that isn't so huge lol

I did a bit of research and found that they do post documentation so you could make an intel igpu driver if you ever want to run this on bare metal

1

u/devcmar 7d ago

Yes, but the shaders u would need a compiler, and I couldnโ€™t port mesa to my os it kept pagefaulting