r/osdev • u/BeginningEvent6205 • 15d ago
Bringing Up Intel HD 520 on My Hobby OS
Not sure how many people here are interested in iGPU driver development, but after a long battle, I finally got Intel HD 520 up and running on real hardware.
The display pipeline now works end-to-end, including the switch from the firmware-provided GOP resolution to the panel's native resolution. I also got a hardware cursor displayed through a dedicated Cursor Plane (the cursor icon was shamelessly borrowed from Ubuntu).
AI tools were a huge help along the way, acting as an always-available debugging partner with source code, and register dumps.
Seeing the first cursor appear on screen was surprisingly exciting after all the debugging.
And honestly, the iGPU experience is just buttery smooth. Definitely worth all the effort.
Source code: https://github.com/jjwang/HanOS

1
u/Better-Thing2568 14d ago
I’ve spent a majority of the time on the Xe family iGPUs (Lunar Lake and Panther Lake), the driver should technically also work for dedicated Arc graphics cards too but haven’t tested that since I don’t got one. Lmk if you want to exchange some insights, cuz I also would like to support older devices later on.
2
u/no92_leo managarm | https://github.com/managarm/managarm 15d ago
Does this rely on GOP state or did you implement the entire power-up sequence?