mirror of
https://github.com/swaywm/sway.git
synced 2024-12-27 15:36:29 +01: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
1 changed files with 0 additions and 12 deletions
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