mirror of
https://github.com/swaywm/sway.git
synced 2024-11-25 09:21:28 +00:00
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:
parent
255ff665c5
commit
b81c4da494
12
sway/main.c
12
sway/main.c
|
@ -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);
|
||||||
|
|
Loading…
Reference in a new issue