Urgent.News

What's breaking now, across thousands of outlets.

AI

Linus Torvalds Endures A Debug Session From Hell, "Enormously Helped" By AI

It's pretty rare to see Linus Torvalds author patches himself pertaining to the open-source Linux graphics drivers, but waking up this morning I was surprised to see he authored and committed an Intel Xe kernel graphics driver change himself. It ended up being after he encountered a "debug session from hell" but was ultimately helped by AI in fixing a bug that had been irking him...

Linus Torvalds, the creator of Linux, faced a challenging debugging session with an Intel Xe graphics driver bug that required 24 patches and 18 kernel boots to isolate. According to Torvalds, AI acted as a "tireless helper" but often stated it was impossible and unsolvable, suggesting a report should be written instead. Phoronix reported that the patch, written by Torvalds, addresses the issue with the Xe kernel driver, specifically by removing the flat Compute Command Streamer (CCS) storage and making it usable virtual memory (vRAM).

The problem occurred on a Battlemage G21 graphics card, causing a mismatch between usable memory and the GDM display manager, resulting in endless restarts. Torvalds views AI as a valuable tool and believes it helped him track down the bug, proving crucial in merging the fix to Linux 7.3 Git and planning to back-port it to stable kernel branches.

Written by urgent.news from Slashdot's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.

Also reported by 1 other outlet

Read the original at phoronix.com →

More in AI

More from Friday 21 August →