NodeOS / nodeos-barebones

5 stars 7 forks source link

Add Mesa DRM Kernel Module #21

Open joshgarde opened 7 years ago

joshgarde commented 7 years ago

https://dri.freedesktop.org/wiki/DRM/

As part on the on going GUI efforts, I'm going to be adding the DRM kernel module. It provides better support for hardware that fbdev can't provide. fbdev is also supposedly getting phased out of the main Linux kernel soon. Thoughts?

piranna commented 7 years ago

:+1: FbDev was always seen as a testbed for graphics on NodeOS because it's easy to use and portable, and not to be used on the long-term. DRM and EGL are better systems, so if you manage to make them work it will be greatly welcome :-)

By the way, can you provide a link why FbDev will be removed? :-( What are the alternatives, KMS?

joshgarde commented 7 years ago

Here's an article that kinda explains it https://www.phoronix.com/scan.php?page=news_item&px=Dropping-FBDEV-Staging-Discuss

The best alt is DRM

piranna commented 7 years ago

That's ok, then we should move there. Could you be able to ask for updates and merging at https://github.com/Automattic/node-canvas/pull/813? This is needed to later merge the FbDev backend and be able to add a DRM one...

joshgarde commented 7 years ago

Does this involve https://github.com/Automattic/node-canvas/pull/571 ?

Edit: nvm - just read the first comment on the PR

piranna commented 7 years ago

Does this involve Automattic/node-canvas#571 ?

In the long term, yes. If we move to DRM, we could add that backend later when this one gets merged.

piranna commented 7 years ago

Edit: nvm - just read the first comment on the PR

What pull-request?

joshgarde commented 7 years ago

What pull-request?

https://github.com/Automattic/node-canvas/pull/813 - I didn't the first comment which stated:

Extracted code for static build from #571 to make it easier to review and approve.

Yeah, I'll follow up on these and write a DRM implementation when I can.

piranna commented 7 years ago

Yeah, I'll follow up on these and write a DRM implementation when I can.

Oh, that would be cool :-) Then maybe you are more interested on having https://github.com/Automattic/node-canvas/pull/829 merged first instead.