Language Selection

English French German Italian Portuguese Spanish

Graphics/Benchmarks

Linux Kernel: EROFS, Heterogeneous Memory Management, Getting Involved, 4.20-rc3, and DRM ('Secure Output Protocol')

Filed under
Graphics/Benchmarks
Linux
  • There Is Finally A User-Space Utility To Make EROFS Linux File-Systems

    Back when Huawei introduced the EROFS Linux file-system earlier this year, there wasn't any open-source user-space utility for actually making EROFS file-systems. Even when EROFS was merged into the mainline tree, the user-space utility was still non-existent but now that issue has been rectified.

  • The State Of Heterogeneous Memory Management At The End Of 2018

    Heterogeneous Memory Management is the effort going on for more than four years that was finally merged to the mainline Linux kernel last year but is still working on adding additional features and improvements. HMM is what allows for allowing the mirroring of process address spaces, system memory to be transparently used by any device process, and other functionality for GPU computing as well as other device/driver purposes.

    Jerome Glisse at Red Hat who has spearheaded Heterogeneous Memory Management from the start presented at last week's Linux Plumbers Conference on this unified memory solution.

  • An attempt to create a local Kernel community

    Now I am close to complete one year of Linux Kernel, and one question still bugs me: why does it have to be so hard for someone in a similar condition to become part of this world? I realized that I had great support from many people (especially from my sweet and calm wife) and I also pushed myself very hard. Now, I feel that it is time to start giving back something to society; as a result, I began to promote some small events about free software in the university and the city I live. However, my main project related to this started around two months ago with six undergraduate students at the University of Sao Paulo, IME [3]. My plan is simple: train all of these six students to contribute to the Linux Kernel with the intention to help them to create a local group of Kernel developers. I am excited about this project! I noticed that within a few weeks of mentoring the students they already learned lots of things, and in a few days, they will send out their contributions to the Kernel. I want to write a new post about that in December 2018, reporting the results of this new tiny project and the summary of this one year of Linux Kernel. See you soon Smile

  • Feral Interactive Announces Total War: WARHAMMER II to Be Released for Linux Tomorrow, Uber Joined The Linux Foundation, Security Bug Discovered in Instagram, Fedora Taking Submissions for Supplemental Wallpapers and Kernel 4.20-rc3 Is Out

    Linux kernel 4.20-rc3 is out. Linus says the only unusual thing was his travel and that the changes "are pretty tiny".

  • Wayland Secure Output Protocol Proposed For Upstream - HDCP-Like Behavior

    Collabora developer Scott Anderson sent out a "request for comments" patch series that would add a Secure Output Protocol to the Wayland space.

    The Secure Output Protocol is for allowing a Wayland client to tell the compositor to only display if it's going to a "secure" output, such as for HDCP-like (High-bandwidth Digital Content Protection) configurations, but there is no mandate at the protocol level about what is the definition of secure -- if anything.

    This does not impose any DRM per se by Wayland but is mostly intended for set-top-boxes and other closed systems where a Wayland client can reasonably trust the compositor. The Wayland Secure Output Protocol is based upon the work done by Google on their Chromium Wayland code.

Void Linux, Solus, Manjaro, Antergos, Sabayon & Clear Linux Put To A Performance Battle

Filed under
Graphics/Benchmarks

Given last week's new images release of the rolling-release, systemd-free, original-creation Void Linux I decided to take it for a spin with some fresh benchmarking as it had been two years or so since last trying out that Linux distribution with its XBPS packaging system. For seeing how the performance compares, I benchmarked it against some of the other primarily enthusiast/rolling-release/performant Linux distributions including Antergos, Clear Linux, Debian Buster Testing, Fedora Workstation 29, Manjaro 18.0, Sabayon Linux, Solus, and Ubuntu 18.10.

These nine Linux distributions were tested on the new Intel Core i9 9900K eight-core / sixteen-thread processor. The i9-9900K was running at its stock speeds with the ASUS PRIME Z390-A motherboard, 2 x 8GB DDR4-3000 memory, Samsung 970 EVO 256GB NVMe SSD, and Radeon RX Vega 56 graphics.

Read more

20-Way AMD / NVIDIA Linux Gaming Benchmarks For The 2018 Holidays

Filed under
Graphics/Benchmarks
Gaming

If you are hoping to pick-up a new graphics card during the upcoming holiday sales, here is a 20-way NVIDIA GeForce and AMD Radeon Linux gaming benchmark comparison using a wide assortment of GPUs while using the very newest graphics drivers and a variety of OpenGL/Vulkan titles.

In preparation for the Radeon RX 590 launch this week, I've been re-testing my available graphics cards on the latest AMD/NVIDIA drivers and newest kernel (unlike some Windows sites that may regurgitate their existing data points for months at a time, Phoronix tests are always done fresh on the current/latest components). But with the Radeon RX 590 currently being a dud on Linux with the current AMDGPU kernel code, I decided to keep testing including some older graphics cards to make for this twenty-way comparison ahead of Black Friday sales and the holidays.

Read more

GPU/Graphics: DRM/KMS and CUDA

Filed under
Graphics/Benchmarks
  • Google's Pixel 3 Is Using The MSM DRM Driver, More Android Phones Moving To DRM/KMS Code

    It turns out Google's recently announced Pixel 3 smartphone is making use of the MSM Direct Rendering Manager driver associated with the Freedreno open-source Qualcomm graphics project. Google is also getting more Android vendors moving over to using DRM/KMS drivers to power their graphics/display.

    Alistair Strachan of Google presented at this week's Linux Plumbers Conference and the growing adoption of Direct Rendering Manager / Kernel Mode-Setting drivers by Android devices.

  • Red Hat Developers Working Towards A Vendor-Neutral Compute Stack To Take On NVIDIA's CUDA

    At this week's Linux Plumbers Conference, David Airlie began talking about the possibility of a vendor-neutral compute stack across Intel, Radeon, and NVIDIA GPU platforms that could potentially take on NVIDIA's CUDA dominance.

    There has been the work on open-source NVIDIA (Nouveau) SPIR-V compute support all year and that's ongoing with not yet having reached mainline Mesa. That effort has been largely worked on by Karol Herbst and Rob Clark, both open-source GPU driver developers at Red Hat. There has also been other compute-motivated open-source driver/infrastructure work out of Red Hat like Jerome Glisse's ongoing kernel work around Heterogeneous Memory Management (HMM). There's also been the Radeon RADV driver that Red Hat's David Airlie co-founded and continues contributing significantly to its advancement. And then there has been other graphics/compute contributions too with Red Hat remaining one of the largest upstream contributors to the ecosystem.

The Spectre/Meltdown Performance Impact On Linux 4.20, Decimating Benchmarks With New STIBP Overhead

Filed under
Graphics/Benchmarks

As outlined yesterday, significant slowdowns with the Linux 4.20 kernel turned out to be due to the addition of the kernel-side bits for STIBP (Single Thread Indirect Branch Predictors) for cross-HyperThread Spectre Variant Two mitigation. This has incurred significant performance penalties with the STIBP support in its current state with Linux 4.20 Git and is enabled by default at least for Intel systems with up-to-date microcode. Here are some follow-up benchmarks looking at the performance hit with the Linux 4.20 development kernel as well as the overall Spectre and Meltdown mitigation impact on this latest version of the Linux kernel.

Some users have said AMD also needs STIBP, but at least with Linux 4.20 Git and the AMD systems I have tested with their up-to-date BIOS/microcode, that hasn't appeared to be the case. Most of the AMD STIBP references date back to January when Spectre/Meltdown first came to light. We'll see in the week ahead if there is any comment from AMD but at this time seems to be affecting up-to-date Intel systems with the Linux 4.20 kernel.

Read more

Graphics: Open-Source AMD Linux Driver Stack, Mesa 18.3.0 RC, ROCm 1.9.2 and Firefox on Wayland

Filed under
Graphics/Benchmarks
  • The Open-Source AMD Linux Driver Stack Hitting Problems With The Radeon RX 590

    While the Radeon RX 590 that launched this week is just yet another Polaris refresh, it turns out the open-source AMD Linux graphics driver stack isn't yet playing well with retail RX 590 graphics cards. This is quite a surprise considering the PCI ID was picked up months ago and the mature Polaris Linux driver support for quite a while now, but could be like the rough Raven Ridge Linux experience where the production cards with the shipping vBIOS isn't what the developers encountered during their pre-production driver enablement.

    [...]

    Long story short, it looks like at least one initialization issue is blocking the Radeon RX 590 Linux support. Hopefully the workaround ends up being trivial enough that it can be quickly back-ported to existing stable Linux kernel series. Once the Radeon RX 590 is running well on Linux, I'll be through with a ton of benchmarks that I have already been working on this week with other graphics cards using the newest Linux driver stacks. This situation is sadly reminiscent of the Raven Ridge launch earlier this year where the open-source driver team was working on support for months in advance, but the production hardware/BIOS ended up varying a lot from their hardware bring-up that is was very shaky support at launch. The Raven Ridge support improved a lot on Linux since launch, but even to this day some hardware still seems to be problematic both of hardware in my labs as well as reports by users. Hopefully it won't take nearly as long for the RX 590 support to be in shape.

  • mesa 18.3.0-rc3

    The third release candidate for Mesa 18.3.0 is now available.

  • Mesa 18.3-RC3 Released With RADV Fixes, Drops Zen L3 Thread Pinning

    Mesa release manager Emil Velikov has announced the latest weekly release candidate of the upcoming Mesa 18.3.

    Mesa 18.3 has a number of Meson build system updates, several RADV driver corrections, a few NIR updates, fixes video API support for Raven 2 APUs, and back-ports the change to drop the AMD Zen L3 thread pinning functionality.

  • Radeon ROCm 1.9.2 Released - Brings SDMA/RDMA Support For Vega 20, HIP/HCC Improvements

    While we know ROCm 2.0 is coming out before year's end and that will have many improvements like complete OpenCL 2.0 support, ROCm 1.9.2 is out today as the latest stable release for this Radeon Open Compute stack.

    ROCm 1.9.2 brings some notable changes for just being a point release ahead of the big ROCm 2.0 milestone. Vega 20 remains one of the big areas for AMD's driver/software developers for what will begin shipping next year as the Radeon Instinct MI50 / MI60 accelerators.

  • Mozilla Now Ships Firefox Nightly Builds With Wayland Enabled

    After what feels like an eternity in waiting years for Mozilla to ship their Firefox web-browser with native Wayland support enabled, their latest Firefox Nightly builds have achieved this milestone.

    There have been Wayland patches for Firefox going back years but the Wayland support hasn't been enabled in the official Firefox binaries up until now. Starting yesterday, the Mozilla.org Firefox Nightly packages have Wayland support built-in and when launching Firefox if GDK_BACKEND=wayland is set, should now work with native Wayland rather than XWayland.

More Benchmarks Of The Performance Pullback In Linux 4.20

Filed under
Graphics/Benchmarks
Linux

Last night I published some benchmarks after finding Linux 4.20 is regressing in several workloads compared to Linux 4.18/4.19 and at least was affecting Intel Core i9 "HEDT" boxes. Here are more affected workloads regressing on Linux 4.20 and it's not just limited to high-end hardware.

This morning I decided to check in on my automated bi-daily kernel benchmarks on LinuxBenchmarking.com. It's all automated and thus don't necessarily have the time to look at the data too often (even though PTS' LinuxBenchmarking.com does also provide email notifications when auto-detecting possible regressions), but in looking back at the archived data it too captured a significant performance pullback on multiple systems on Linux 4.20.

Read more

Bisected: The Unfortunate Reason Linux 4.20 Is Running Slower

Filed under
Graphics/Benchmarks

After running a lot of tests and then bisecting the Linux 4.20 kernel merge window, the reason for the significant slowdowns in the Linux 4.20 kernel for many real-world workloads is now known...

This latest Linux 4.20 testing endeavor started out with seeing the Intel Core i9 performance pulling back in many synthetic and real-world tests. This ranged from Rodinia scientific OpenMP tests taking 30% longer to Java-based DaCapo tests taking up to ~50% more time to complete to code compilation tests taking measurably longer to lower PostgreSQL database server performance to longer Blender3D rendering times. That happened with a Core i9 7960X and Core i9 7980XE test systems while the AMD Threadripper 2990WX performance was unaffected by the Linux 4.20 upgrade.

Read more

Graphics: RADV Vulkan Driver, NVIDIA 410.78 Linux Driver, Mesa 18.2.5, Firefox Nightly on Wayland and AMD Radeon RX 590 Launches

Filed under
Graphics/Benchmarks
  • RADV Vulkan Driver To Enable Vega Primitive Binning By Default - Helps Performance

    The RadeonSI OpenGL driver offered Vega primitive binning support the past year followed by the RADV Vulkan driver, but it hadn't been enabled by default. Those working on the RADV driver are now planning on unconditionally enabling this Vega performance optimization for up to a few percent performance boost.

    It seems the primitive binning driver support for RADV is mature enough that it can be flipped on by default and at least doesn't appear to be hurting any prominent Vulkan-powered Linux games. Samuel Pitoiset of Valve's Linux driver team sent out the patch today for flipping it on by default. On that patch message he describes this Vega feature as helping out some games by a few percent, "After doing a bunch of benchmarks, primitive binning helps some games like The Talos Principle (+5%) or Serious Sam 2017 (+3%). For other titles, either it doesn't change anything or it hurts very few (less than 1%)."

  • NVIDIA 410.78 Linux Driver Fixes Vulkan Corruption, Adds Quadro RTX 4000 Support

    For those using the NVIDIA long-lived 410 Linux driver series over the in-beta 415.xx driver series, the 410.78 driver release is out today as the newest stable binary driver build.

    The NVIDIA 410.78 rolls out with official support for the Quadro RTX 4000 graphics card and a handful of bug fixes. The bug fixes include addressing a possible X Server hang when using legacy VGA mode, mode-setting failure with SDI output, and Vulkan rendering corruption.

  • [Mesa-dev] [ANNOUNCE] mesa 18.2.5

    A patch for nine state tracker that fixes several crashes using nine's thread_submit feature. There are other patches to other state trackers.

    A couple of patches for Meson build system, as well as for autotools.

    In the drivers side, there are a couple of fixes for RADV, one regarding subgroups and another regarding conditional rendering. There are also fixes for virgl, r600, and i965.

  • Mesa 18.2.5 Brings Fixes For Direct3D 9 State Tracker, RADV Vulkan Driver

    For those sticking to the Mesa stable release train, Mesa 18.2.5 is now available ahead of the Mesa 18.3 quarterly feature release due out in the weeks ahead.

    As is the case for Mesa point releases, Mesa 18.2.5 is geared to deliver the latest bug/regression fixes. this 18.2.5 release has around three dozen changes, including fixes for the Gallium "Nine" D3D9 state tracker when using its thread-submit functionality, Meson build system updates, RADV Vulkan driver fixes, and also some basic fixes/tweaks to the common NIR, Mesa, and Intel code. There is no particular standout prominent fixes unless you were personally affected by one of the bugs.

  • Firefox Nightly now with experimental Wayland support

    As of last nightly (20181115100051), Firefox now supports Wayland on Linux, thanks to the work from Martin Stransky and Jan Horak, mostly.

    Before that, it was possible to build your own Firefox with Wayland support (and Fedora does it), but now the downloads from mozilla.org come with Wayland support out of the box for the first time.

    However, being experimental and all, the Wayland support is not enabled by default, meaning by default, you’ll still be using XWayland. To enable wayland support, first set the GDK_BACKEND environment variable to wayland.

  • AMD Radeon RX 590 Launches, Linux Support Presumably Okay

    While it comes as no surprise given all the leaks in recent weeks, today AMD officially announced the Radeon RX 590 graphics card as another update to Polaris.

    The new Polaris PCI ID addition we spotted back in September indeed turned out to be for a new high-end Polaris refresh. The Radeon RX 590 is this new high-end Polaris graphics card that is manufactured on a 12nm FinFET process.

Linux 4.20 Showing Some Performance Slowdowns

Filed under
Graphics/Benchmarks
Linux

Being well past the Linux 4.20 merge window I have moved onto benchmarking more of this development version of the Linux kernel. Unfortunately, there are some clear performance regressions.

This week I got to firing off some Linux 4.20 kernel benchmarks... I started with the AMD Ryzen Threadripper 2990WX and Intel Core i9 7980XE for being the interesting HEDT CPUs in my possession at the moment. On the 7980XE I spotted several performance regressions with this Linux 4.20 development kernel compared to Linux 4.19 and 4.18, so then I fired up the completely separate Intel Core i9 7960X box to carry out the same tests. Sure enough, with that different hardware, there is further confirmation of slowdowns with Linux 4.20.

The common trait of these systems was Ubuntu 18.10 x86_64 and using the Linux 4.18.18, 4.19.1, and 4.20 Git kernel packages provided by the Ubuntu Mainline Kernel PPA. With the differing hardware the intention is not to compare the performance between the systems but in looking at the direction of the Linux kernel performance.

Read more

Syndicate content

More in Tux Machines

A Linux/Android kit tablet and "the tiny single-board computers called Raspberry Pi"

  • A Linux/Android kit tablet
    I would like to introduce Diskio Pi, a kit tablet compatible Raspberry Pi and Odroid small boards computer.
  • Raspberry Pi OS Raspbian Now Features VLC Media Player, Minimal Install Image
    The Raspberry Pi Foundation released a new version of its Debian-based Raspbian Linux operating system for Raspberry Pi devices, a release that adds new features, updates, and many other interesting things. Raspbian 2018-11-13 is now the latest version of the Linux and Debian-based operating system for the tiny single-board computers called Raspberry Pi, introducing a new default media player, namely VLC Media Player, with fully hardware-accelerated support through VideoCore’s video engine for H.264, VC-1, and MPEG-2 formats.

OSS Leftovers

  • 5 Best Chrome Extensions For Reading News In 2019
    The internet is the major source of news for many of us, and we spend a lot of time reading articles to stay updated. There are many news sources available that offer various categories of news. However, it is a time-consuming task to open each of those websites.
  • 6 Essential Tips for Safe Online Shopping
    The turkey sandwiches are in the fridge, and you didn’t argue with your uncle. It’s time to knock out that gift list, and if you’re like millions of Americans, you’re probably shopping online.
  • Elementary Bugs
    Mozilla is a well-known open-source organization, and thus draws a lot of interested contributors. But Mozilla is huge, and even the more limited scope of Firefox development is a wilderness to a newcomer. We have developed various tools to address this, one of which was an Outreachy project by Fienny Angelina called Codetribute. The site aggregates bugs that experienced developers have identified as good for new contributors (“good first bugs”, although often they are features or tasks) across Bugzilla and Github. It’s useful both for self-motivated contributors and for those looking for starting point for a deeper engagement with Mozilla (an internship or even a full-time job). However, it’s been tricky to help developers identify good-first-bugs.
  • Open Source Cloudify 4.5 Extends its Cloud Native Orchestration to the Network - from Core to Edge [Ed: Another example of proprietary and "Community" edition for openwashing purposes]
  • Why some open-source companies are considering a more closed approach
    “I would put it in a very blunt way: for many years we were suckers, and let them take what we developed and make tons of money on this.” Redis Labs CEO Ofer Bengal doesn’t mince words. His company, known for its open-source in-memory database, has been around for eight years, an eternity in the fast-changing world of modern enterprise software. Cloud computing was very much underway in 2011, but it was still a tool for early adopters or startups that couldn’t afford to bet millions on servers to incubate a promising but unproven idea. Most established companies were still building their own tech infrastructure the old-fashioned way, but they were increasingly realizing that open-source software would allow them to build that infrastructure with open-source components in ways that were much more flexible and cheaper than proprietary packages from traditional enterprise software companies.
  • Rob Port: Audit: North Dakota’s use of open source textbooks has saved North Dakota students a lot of money
    For generations now the cost of higher education has been out of control. This isn’t exactly news to you, I’m sure, but it may surprise you to know that the cost of textbooks has grown even faster than the rapid increase in tuition costs.
  • Envoy and gRPC-Web: a fresh new alternative to REST
    Personally, I’d been intrigued by gRPC-Web since I first read about it in a blog post on the Improbable engineering blog. I’ve always loved gRPC’s performance, scalability, and IDL-driven approach to service interaction and have longed for a way to eliminate REST from the service path if possible. I’m excited that gRPC-Web is ready for prime time because I think it opens up some extremely promising horizons in web development.
  • 2018 LLVM Developers' Meeting Videos Now Online
    For those wishing to learn more about the LLVM compiler stack and open-source compiler toolchains in general, the videos from October's LLVM Developers' Meeting 2018 in San Jose are now online.
  • OpenBSD in Stereo with Linux VFIO

    Now, after some extensive reverse engineering and debugging with the help of VFIO on Linux, I finally have audio playing out of both speakers on OpenBSD.

  • RcppMsgPack 0.2.3
    Another maintenance release of RcppMsgPack got onto CRAN today. Two new helper functions were added and not unlike the previous 0.2.2 release in, some additional changes are internal and should allow compilation on all CRAN systems. MessagePack itself is an efficient binary serialization format. It lets you exchange data among multiple languages like JSON. But it is faster and smaller. Small integers are encoded into a single byte, and typical short strings require only one extra byte in addition to the strings themselves. RcppMsgPack brings both the C++ headers of MessagePack as well as clever code (in both R and C++) Travers wrote to access MsgPack-encoded objects directly from R.

Server: FOSS at the Back End of 'Cloud'

  • Google, Amazon and Facebook Embrace Open Source Software As Future
    Open source coding lets users collaborate on software code, giving them the ability to store and edit code independently. It is designed to make projects built with its software publicly accessible, and has been the key to success for companies like Airbnb and Uber, which have made their fortunes by offering services, rather than the software itself. “The previous generation of developers grew up in a world where there was a battle between closed and open source,” said GitHub's Ben Balter, a researcher with the web-based hosting service for source code and open source software projects. “Today, that is no longer true.”
  • AWS Developing New Services Amid Open-Source Tensions
    Companies that manage open-source software have a message for cloud computing providers like Amazon: pay up, share your code or stop using our technology for free.
  • AWS develops new services amid open-source pushback
    Last month, MongoDB changed its licensing to put the Community Server software under a SSPL license, which lets cloud providers offer MongoDB as a service but only if they open source all of the related code or create a commercial agreement.
  • Urvika Gola: Attending ReactConf’18 in Henderson, Nevada
    Day 2 of React Conf, started with talking about how performance is integral to UX. Code Splitting, a concept were instead of sending the whole code in the initial payload, we send what’s needed to render the first screen and later, lazily loading the rest based on subsequent navigation. A most common problem while implementing code splitting can be ‘what do you display to the user if the view hasn’t finished loading?’ Maybe a spinner, loader, placeholder…?? But lot of these degrades the UX. Then came Concurrent React into the picture, Concurrent React can work on multiple tasks at a time and switch between them according to priority. Concurrent React can partially render a tree without committing the result and does not block the main thread.
  • OpenStack Rebranding Infrastructure Team as OpenDev
    OpenStack is one of the largest open source efforts in the world, with a large infrastructure that is used to build, develop and test the cloud platform. The infrastructure effort is now being rebranded as OpenDev as OpenStack continues to evolve. In a session, at the OpenStack Summit in Berlin, Germany last week, Clark Boylan team lead for the OpenStack Infrastructure team outlined how things are set to change as OpenStack moves beyond its core project to embrace a broader group of Open Infrastructure efforts. "We basically act as beta testers for the infrastructure and make sure things work," Boylan. "If it works for us, it'll probably work for you too."

Unhappy With Apple

  • New iPad Pro Reportedly Suffering From Bending Issues
    It has not been one month since Apple launched its latest iPad Pro models. It has been found that the nearly bezel-less iPad Pro models are prone to bending issues. In a durability test video by the famous YouTuber JerryRigEverything, iPad Pro models bent when a slight force was applied to it. Many new iPad owners also took to MacRumor’s forum to complain about the bending of the latest iPad.
  • How Apple tricked me into buying a new MacBook Air
     

    I have been using MacBook Air laptops for several years now and I like them much better than anything in the Windows space. However, my experience has been far from problem-free and I am angry at what I believe is a deceptive business practice designed to screw money out of loyal users.  

     

    [...]

     

    So for $175 I got my computer completely fixed after being told by both Apple and an Authorised Apple repairer that it could not be salvaged. Furthermore, I subsequently discovered through online inquiry that this particular keyboard had a design fault and that I was not to blame at all for the damage. I had been tricked into buying a new computer needlessly.