2 Commits
Author SHA1 Message Date
nvrl 6ccc0c5e69 fix(app): run on the discrete GPU and buffer 4K on Windows
4K HEVC 10-bit stuttered on a Windows laptop with an RTX 3050 (B66).

- proton-stream.exe exports NvOptimusEnablement and
  AmdPowerXpressRequestHighPerformance, through a .def file build.rs
  hands the linker, so hybrid-graphics drivers start it on the discrete
  GPU instead of the iGPU that owned the GL context mpv renders into.
- The desktop mpv buffer ceiling is 256 MiB instead of 48 MiB, about
  five seconds of a 4K remux. Safe above the block ring because the app
  runs block read-ahead at 0 (B8). Android keeps 48 MiB.
2026-11-22 16:36:49 +01:00
nvrl 6239780978 fix(app,packaging): keep libmpv and the taskbar icon across Windows upgrades
An MSI upgrade left the app without libmpv-2.dll until it was installed a
second time (B62). Costing runs before RemoveExistingProducts, saw the old
DLL at the same version and skipped the copy, and removing the old product
then deleted it. Both installer definitions now set REINSTALLMODE=amus;
every file is private to the install directory.

A taskbar pin lost its icon after a while (B63). The exe carried no icon
resource, and the Start Menu shortcut's icon lived in the per-ProductCode
installer cache that each upgrade deletes. build.rs now compiles the .ico
into proton-stream.exe, and the shortcut has no Icon of its own (and in the
WiX build is no longer advertised), so both show the exe's icon.
2026-10-06 03:04:07 +02:00