Programming and Kernel Development


-
The Curse of Systems Thinkers (Part 1)
Somewhere between 15 and 20 years ago, I worked for a company. It was a very prestigious company, and it was a glorious and frustrating time. The company did amazing things. Literally unbelievable achievements - from my point of view anyway. But this was coupled with levels of chaos that led to inefficiency, wasted opportunity, and needless headaches.
-
Some things that make shell scripts have performance issues
One thing that does not make shell scripts slow is the basic Unix commands themselves that you use in shell scripts. Those Unix commands generally perform pretty well, and their processing speed is probably close to the fastest you could get if you wrote what they're doing in your language of choice. Your program is unlikely to improve on the sorting performance of sort, the text transformation performance of sed, and so on. And the shell itself generally performs internal things more than fast enough for most cases. Instead, what causes shell scripts problems is the cost of starting separate programs. Sed may transform text very fast and sort may sort data very fast, but starting sed or sort is comparatively expensive. The more times you start programs and the more programs you have to start for each thing you want to do, the slower your shell script will run.
-
Asahi Linux, plus better VM support, makes Apple Silicon more compelling for devs
In November 2020 Apple introduced the M1 processor – an Arm-based chip marking the beginning of the transition from Intel CPUs to Apple Silicon. Apple M1 machines can be good value despite the premium price if they save developers time, and the combination of excellent performance and high efficiency – leading to long battery life for those on a laptop – is a strong attraction.
-
A driver on the GPU – Bas Nieuwenhuizen – Open Source GPU Drivers
The title might be a bit hyperbolic here, but we’re indeed exploring a first step in that direction with radv. The impetus here is the ExecuteIndirect command in Direct3D 12 and some games that are using it in non-trivial ways. (e.g. Halo Infinite)
[...]
This functionality happens to be a subset of VK_NV_device_generated_commands and hence I’ve been working on implementing a subset of that extension on radv. Unfortunately, we can’t really give the firmware a “extended indirect draw call” and execute stuff, so we’re stuck generating command buffers on the GPU.
The way the extension works, the application specifies a command “signature” on the CPU, which specifies that for each draw call the application is going to update A, B and C. Then, at runtime, the application provides a buffer providing the data for A, B and C for each draw call. The driver then processes that into a command buffer and then executes that into a secondary command buffer.
-
AMD driver work ongoing to help Halo Infinite on Linux and Steam Deck | GamingOnLinux
Developer Bas Nieuwenhuizen has a new blog post up about some of the work going into the radv AMD GPU driver on Linux, and they're taking steps towards doing "A driver on the GPU" which should help Halo Infinite get working.
One of the problems with Halo Infinite on Linux and Steam Deck with Proton, is to do with the Direct3D 12 to Vulkan translation layer VKD3D-Proton and how a certain part of Direct3D 12 is being used in a "non-trivial" way. Getting that properly supported sounds like it has been difficult.
-

- Login or register to post comments
Printer-friendly version- 1301 reads
PDF version
More in Tux Machines
- Highlights
- Front Page
- Latest Headlines
- Archive
- Recent comments
- All-Time Popular Stories
- Hot Topics
- New Members
digiKam 7.7.0 is released
After three months of active maintenance and another bug triage, the digiKam team is proud to present version 7.7.0 of its open source digital photo manager. See below the list of most important features coming with this release.
|
Dilution and Misuse of the "Linux" Brand
|
Samsung, Red Hat to Work on Linux Drivers for Future Tech
The metaverse is expected to uproot system design as we know it, and Samsung is one of many hardware vendors re-imagining data center infrastructure in preparation for a parallel 3D world.
Samsung is working on new memory technologies that provide faster bandwidth inside hardware for data to travel between CPUs, storage and other computing resources. The company also announced it was partnering with Red Hat to ensure these technologies have Linux compatibility.
|
today's howtos
|








.svg_.png)
Content (where original) is available under CC-BY-SA, copyrighted by original author/s.

Recent comments
1 year 11 weeks ago
1 year 11 weeks ago
1 year 11 weeks ago
1 year 11 weeks ago
1 year 11 weeks ago
1 year 11 weeks ago
1 year 11 weeks ago
1 year 11 weeks ago
1 year 11 weeks ago
1 year 11 weeks ago