Drop fglrx detection

This ancient driver doesn't do KMS. So we were never able to run
with it anyways.
This commit is contained in:
Simon Ser 2023-12-12 15:18:08 +01:00 committed by Simon Zeni
parent 255ff665c5
commit b81c4da494

View file

@ -70,18 +70,6 @@ void detect_proprietary(int allow_unsupported_gpu) {
} }
break; break;
} }
if (strstr(line, "fglrx")) {
if (allow_unsupported_gpu) {
sway_log(SWAY_ERROR,
"!!! Proprietary AMD drivers are in use !!!");
} else {
sway_log(SWAY_ERROR, "Proprietary AMD drivers do NOT support "
"Wayland. Use radeon. To try anyway, launch sway with "
"--unsupported-gpu and DO NOT report issues.");
exit(EXIT_FAILURE);
}
break;
}
} }
free(line); free(line);
fclose(f); fclose(f);