Commit a21571c8 authored by Aleix Pol Gonzalez's avatar Aleix Pol Gonzalez 🐧 Committed by Aleix Pol Gonzalez
Browse files

Do not run with the drm backend if there's no dri drivers

Only defaults to the drm backend if there is a /dev/dri directory.

CCBUG: 436053
parent 4b3b5fa3
......@@ -392,7 +392,11 @@ static QString automaticBackendSelection(SpawnMode spawnMode)
return s_x11Plugin;
return s_drmPlugin;
// Only default to drm when there's dri drivers. This way fbdev will be
// used when running using nomodeset
if (QFileInfo::exists("/dev/dri")) {
return s_drmPlugin;
return s_fbdevPlugin;
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment