Skip to content

mac_linuxgpu 0.1.163

Latest

Choose a tag to compare

@Geramy Geramy released this 08 Oct 23:24
  1. The HSA runtime adds the entry points HRX System main uses. LemonSeed Engine 0.5.8 and later need them; without them libhsa failed to load.
    • hsa_amd_queue_create with version-1 queue descriptors. A compute descriptor creates an AQL queue of queue_size_bytes / 64 packets. Device-memory placement, SDMA and AIE engines, cooperative queues and non-normal priorities fail that descriptor with HSA_STATUS_ERROR_INVALID_QUEUE_CREATION. In a batch, a failed descriptor's queue is NULL and the first error is returned.
    • hsa_amd_queue_cu_set_mask accepts a mask that enables every CU the device reports. A mask that leaves a CU out still fails with HSA_STATUS_ERROR_INVALID_QUEUE.
    • hsa_amd_vmem_get_access reports a mapping's permissions.
    • Target ids with an unknown OS field are accepted, and the MEMORY_PROPERTIES and PM4_EMULATION agent queries are answered.
    • The vendored HSA headers move to hsa-runtime-headers 4285513, the revision HRX System pins.
    • On an R9700, LemonSeed Engine on HRX main loads /Library/MacAMDGPU/runtime/libhsa-runtime64.0.1.0.dylib with no runtime override and serves plain, MTP=3 and DFlash2 requests.
  2. The display agent closes a mirroring process's output pipe at end of file. It used to spin on the closed pipe and keep its descriptor open after every mirroring process exit: after 29 hours, 170–260% CPU and 2,556 open pipes. Now: 0.0–0.3% CPU and 2 pipes over 9 minutes.
  3. A mirroring process no longer ends when its STATUS poll is answered kIOReturnBusy. The daemon's polls and the mirroring process's IMPORT share the driver's display gate, and each collision ended the mirror for 10 s, about once a minute. IMPORT is asked again for up to 2 s on kIOReturnBusy. The daemon logs each mirroring process's exit status.

Upgrading from an earlier build: the old build does not yet leave on its own. Turn the display off in the menu bar, then use Disconnect GPU (or power-cycle the GPU), and the new build takes over.