pdfcraft/apps
Brandon Thomas 8ddcf63ff8
Fix #445: prefer the discrete GPU on desktops with a monitor on each GPU (#558)
On Linux, `pick_adapter` preferred the integrated GPU whenever it drove
any display, to keep hybrid laptops (#8) on their low-power GPU. A desktop
with one monitor on the Intel iGPU and one on an NVIDIA card looked the
same, so wgpu picked the iGPU, which accepted the Wayland surface but then
failed to configure it, and egui-wgpu panicked.

`linux_display_gpus` now also records whether a GPU drives a built-in
panel connector (eDP, LVDS or DSI). When several GPUs drive a display,
the one driving the built-in panel wins (laptops, unchanged); with no
built-in panel anywhere, the discrete GPU wins. Tests cover the desktop
topology from the issue, the laptop case, connector classification and
reading the panel flag from a fake /sys/class/drm tree.

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-09 12:06:22 -04:00
..
pdfcraft Fix #445: prefer the discrete GPU on desktops with a monitor on each GPU (#558) 2026-10-09 12:06:22 -04:00
pdfcraft-cli fix(cli): validate page positions and preserve command results (M13) (#391) 2026-10-08 21:37:09 -04:00
pdfcraft-web Issue #173: a failed `?file=` startup fetch is reported in the app (#302) 2026-10-08 12:49:25 -04:00