]> glassweightruler.freedombox.rocks Git - waydroid.git/commit
gpu: Always prefer lower-numbered render node
authorAlessandro Astone <ales.astone@gmail.com>
Tue, 18 Mar 2025 17:49:37 +0000 (18:49 +0100)
committerAlessandro Astone <ales.astone@gmail.com>
Wed, 19 Mar 2025 17:45:55 +0000 (18:45 +0100)
commitfe6abccd746e1236eda44697f4845a2547b4d699
tree6e60986396f37268997b572ec12abbb6aacfaa4f
parent5202db5404632cbb36e208defdd610bb5483e929
gpu: Always prefer lower-numbered render node

glob() returns results in an arbitrary order, making the getDriNode()
unpredictable.

The lower-numbered render node has a high chance of being the one used by the
compositor, which avoids possible issues when using DMA-BUFs from another GPU,
so let's default to that.
tools/helpers/gpu.py