gmbeard / shadow-cast

GPU accelerated screen and audio recording for Linux
GNU General Public License v2.0
39 stars 0 forks source link

fix: Removes unreliable DRM availability check #38

Closed gmbeard closed 4 months ago

gmbeard commented 4 months ago

The drmAvailable() function is seemingly returning false negatives in some scenarios. A reported example of this was KDE Plasma where the GPU was on /dev/dri/card1. The DRM planes were available even though this check failed. Seems we can just remove the check altogether.