pwshub.com

Maze of adapters, software patches gets a dedicated GPU working on a Raspberry Pi

Actually getting the GPU working required patching the Linux kernel to include the open-source AMDGPU driver, which includes Arm support and provides decent support for the RX 460 (Geerling says the card and its Polaris architecture were chosen because they were new enough to be practically useful and to be supported by the AMDGPU driver, old enough that driver support is pretty mature, and because the card is cheap and uses PCIe 3.0). Nvidia's GPUs generally aren't really an option for projects like this because the open source drivers lag far behind the ones available for Radeon GPUs.

Once various kernel patches were applied and the kernel was recompiled, installing AMD's graphics firmware got both graphics output and 3D acceleration working more or less normally.

Despite their age and relative graphical simplicity, running Doom 3 or Tux Racer on the Pi 5's GPU is a tall order, even at 1080p. The RX 460 was able to run both at 4K, albeit with some settings reduced; Geerling also said that the card rendered the Pi operating system's UI smoothly at 4k (the Pi's integrated GPU does support 4K output, but things get framey quickly in our experience, especially when using multiple monitors).

Though a qualified success, anything this hacky is likely to have at least some software problems; Geerling noted that graphics acceleration in the Chromium browser and GPU-accelerated video encoding and decoding support weren't working properly.

Most Pi owners aren't going to want to run out and recreate this setup themselves, but it is interesting to see progress when it comes to using dedicated GPUs with Arm CPUs. So far, Arm chips across all major software ecosystems—including Windows, macOS, and Android—have mostly been restricted to using their own integrated GPUs. But if Arm processors are really going to compete with Intel's and AMD's in every PC market segment, we'll eventually need to see better support for external graphics chips.

Source: arstechnica.com

Related stories
1 month ago - Both of these popular budgeting apps can help you make sense of your money. Here’s how to pick the right one for you.
6 days ago - AI Overviews get links to referenced websites – and ads Almost two decades ago, the head of Google's then nascent enterprise division referred to the firm's search service as "an uber-command line interface to the world."…
1 month ago - Article updated on Aug 16, 2024 Why You Can Trust CNET Money Our mission is to help...
3 weeks ago - Collection of 50 new '80s-era game concepts brims with originality, care, and joy.
1 day ago - Multifaceted and hilarious, this bluffing and social deduction game provides tons of fun for players of all ages.
Other stories
18 minutes ago - 31 million users' usernames, email addresses and salted-encrypted passwords are out there The Internet Archive had a bad day on the infosec front, after being DDoSed and exposing user data.…
27 minutes ago - New pharmacies are coming to 20 more cities, allowing about half the US Amazon Pharmacy customer base access to same-day medication delivery.
27 minutes ago - Archive.org, possibly one of the only entities to preserve the entire history of the Internet, was recently compromised in a hack that revealed data...
1 hour ago - Breathe easier on the last day of Amazon's Prime Day event, with up to 40% off Molekule Air Purifiers. Amazon Prime members can qualify for even deeper discounts.
1 hour ago - These still-live Prime Day deals can help you optimize your work-from-home setup while saving you big bucks.