diff options
Diffstat (limited to 'src/kmscon_main.c')
-rw-r--r-- | src/kmscon_main.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/kmscon_main.c b/src/kmscon_main.c index ea3ef01..bc52aaf 100644 --- a/src/kmscon_main.c +++ b/src/kmscon_main.c @@ -224,7 +224,12 @@ static int app_seat_add_video(struct app_seat *seat, } } - if (!seat->conf->all_gpus) { + /* with --all-gpus we avoid any further filtering. With --fbdev we + * already filtered all non-fbdev devices so there is currently no + * reason to do further filtering, either. + * TODO: We need to set PRIMARY flags to fbdev devices, too. Otherwise + * we might end up with the same problems as DRM devices have. */ + if (!seat->conf->all_gpus && !seat->conf->fbdev) { if (seat->conf->primary_gpu_only && !(flags & UTERM_MONITOR_PRIMARY)) { log_info("ignoring video device %s on seat %s as it is no primary GPU", node, seat->name); |