The head of Linux, Linus Torvalds, recently came up with the latest “bad” task: diagnosing a black screen problem with the Intel Xe graphics driver. According to Linuxiac, Torvalds used proprietary intelligence (HI) to identify a critical bug that caused glitches in the GDM (GNOME Display Manager) robot and resulted in a completely black screen on his system with Intel Battlemage G21.
Problem details.
The incident occurred at the end of the display, when GDM began to restart the composer, which, when closed, led to a black screen. After detailed analysis, it was determined that the problem occurs in the Flat CCS memory processing segment of the Xe DRM driver. More specifically, the offset was associated with the get_flat_ccs_offset() function, which indicates the calculation of addresses.
The function initially recovered the starting position for the CCS memory block, and then updated this address to within 128 KiB. However, the problem was that the entire memory space, allocated below the calculated address, was quietly accepted by the VRAM socket as available. This led to the fact that the composer could not first cancel the problem on the GPU, causing a permanent restart of GDM and, as a result, a black screen.
The process of adjustment for additional assistance ШІ.
Torvalds himself described this process as “pekelny”. To find out the root of the problem, he had to make 24 test patches to incrementally add information for improvement and eliminate 18 kernel restarts. Tsetrivale i krasne zavdannya, yak vymagalo significant zusil.
It’s great that the very piece of intelligence plays a key role in this process. Torvalds actively contributed to the development of routine work, zocrem, to add code for improvement and analysis of the results.. Although we have repeatedly seen evidence about the impossibility of the current problem, under the supervision of Torvalds, we have gradually improved our tools for improving and analyzing the data, which has allowed us to find out the reason for the low level.
Decisions and may come.
According to Torvalds, the remaining correction was quite forgivable: it was necessary to replace the incorrect function round_up() with round_down(). However, the foldability itself was in the revealed jowl of the grinder, and not in its corrected form.. After successful development, Torvalds also entrusted us with preparing detailed documentation for the correction.
This phenomenon demonstrates the growing role of piece intelligence in complex technical tasks, such as the development of software.
The ability to process large amounts of data, identify patterns, and resolve repeated data significantly speeds up the process of development and resolution, allowing advanced engineers, such as Linus Torvalds, to focus on.
The Intel Xe driver incident once again reinforces the importance of consistent software security and the need for a variety of modern tools to ensure the stability of operating systems and their components..
Dzherelo: https://www. ithome. com/0/994/499. htmAI helped Linus Torvalds find a bug in the Intel driver, read on the HiTech website. Expert.