From: Alessandro Astone Date: Tue, 18 Mar 2025 17:49:37 +0000 (+0100) Subject: gpu: Always prefer lower-numbered render node X-Git-Tag: 1.5.1~3 X-Git-Url: https://glassweightruler.freedombox.rocks/gitweb/waydroid.git/commitdiff_plain/fe6abccd746e1236eda44697f4845a2547b4d699?ds=sidebyside;hp=fe6abccd746e1236eda44697f4845a2547b4d699 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. ---