The developer of the open Linux-drivers for the GPU Apple AGX used in Apple M1, reported on a successful passage of 99.3% of the tests From the set of deqp-gles2 , checking the level of support for the OpenGL ES 2. At work in work Two components were used: DRM-drive for the Linux nucleus, written In the language is Rust, and driver for mesa , written in the language of SI
Development of the driver is complicated by the fact that Apple M1 uses its own GPU, designed in Apple, which performs a closed firmware and uses quite complicated jointly used data structures. There is no technical documentation for GPU and in the development of independent drivers, reverse engineering from MacOS is used.
The open driver developed for MESA was originally tested surrounded by MacOS until the necessary DRM-Director (Direct Rendering Manager) for the Linux nucleus was prepared, which allowed the use of the Linux driver developed for the MESA. In addition to the current successes in the passage of DEQP-Gles2 tests at the end of September, Linux drives for the Apple M1 reached level suitable for the session. GNOME based on Wayland and launching Neverball Games and Firefox browser with YouTube.