wgpu's OpenGL adapter has no device id and guesses its kind from its
strings: every Intel GPU is "integrated". With no display known (Remote
Desktop), an Intel discrete GPU's OpenGL adapter therefore outranked its own
Direct3D 12 adapter, was declined, and the app fell back to glow although
Direct3D 12 worked (CodeRabbit). An OpenGL adapter now comes after any
other adapter of the same vendor, matched by vendor since OpenGL has no
device id, before kinds are compared. An OpenGL-only GPU still beats the
software adapter, whose vendor is Microsoft.
The test now models wgpu's OpenGL adapters as wgpu reports them: the
vendor's id, device 0 and the guessed kind.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
pick_adapter ranked adapters without their backend, so a GPU that wgpu
offers through both Direct3D 12 and OpenGL got its Direct3D 12 adapter
only because wgpu lists it first. The backend is now the last part of the
ranking. An OpenGL-only GPU still beats the software adapter by kind, and
the selector then declines it so that glow starts on that GPU.
The test covers Direct3D 12, Vulkan, OpenGL and software adapters, in
both orders and with no display known (FredApps' review).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The selector, which now declines wgpu's OpenGL backend, was only
installed when a display's GPU was found by its PCI ids. A display that
has none, such as Remote Desktop's, left wgpu's own choice in charge,
and that could still pick an OpenGL-only GPU. It now runs on Windows
always; with no display known, pick_adapter ranks adapters by kind, most
frugal first, as wgpu's low-power choice does.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
An Intel HD 2500 or 4000 (Ivy Bridge) has no Direct3D 12 driver, so wgpu
picks its OpenGL backend. That backend fails in Surface::configure a few
seconds after the window opens ("Failed to wait for GPU to come idle"),
after the start-up retry with OpenGL can help, so the app closed with a
white window (#519, #4134, #5553). eframe's own OpenGL renderer works on
the same GPUs, which is the PDFCRAFT_RENDERER=gl workaround.
The adapter selector now declines an adapter on wgpu's OpenGL backend on
Windows, unless WGPU_BACKEND asked for it, so the existing start-up retry
draws with eframe's OpenGL renderer instead.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* feat(nightly): onboard PdfCraft to signed two-stage nightly releases
* chore: update Cargo.lock for rfd dependency in pdfcraft app
* chore: retrigger CI checks
* fix(nightly): enable Linux package_formats (including Flatpak) in signing policy
* fix(nightly): fix unused import, attribute nightly icons, and wire -Nightly/-BuildOnly in package.ps1
* test(nightly): exclude packaging/** from coverage and add nightly bootstrap unit tests
The port (#8160) dropped the result of AppleEvents::connect, the function that drains the Apple-event inbox into the file intake, so 'odoc' and quit events were never delivered. PdfCraftApp keeps it again as os_events, as in v0.22.0, and each frame's logic calls it before it opens the intake. Found by MarcGoudy (#8443).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>