Build a game console with Ryzen 5600G

In 2012 Valve released “Big Picture Mode” for their Steam game distribution platform. This new user interface mode was intended for use on home TVs with a wireless game controller, essentially bringing a console-style living room gaming experience to PC.

In 2015 Valve collaborated with PC manufacturers to launch a range of home game consoles running their “SteamOS” Linux operating system. This “Steam Machine” initiative was a failure due to the low number of Steam games with native Linux support at the time.

In 2018 Valve added “Proton” to Steam to enable running Windows games on Linux without native support. Then in 2022 Valve launched their own “Steam Deck” handheld gaming PC with a new version of SteamOS and improved Proton, this time finding commercial success with a vastly improved library of games supported.

I tried SteamOS and Proton in 2019 with poor results. Many of the Windows games I tested either didn’t run, or had obvious graphical issues, or ran significantly slower than on Windows.

This is my experiment to answer the questions: Has Linux gaming with Steam improved in 2022? Is the integrated GPU in AMD’s Ryzen 5600G powerful enough to be a game console? Is 8GB RAM sufficient? Is it possible to set this up without typing strange commands into the Linux terminal?

Continue reading Build a game console with Ryzen 5600G

Cyberpunk 2077 on Surface Go 2: RTX Online

Cyberpunk is a subgenre of science fiction in a dystopian futuristic setting that tends to focus on a combination of low-life and high tech. Notable examples include novels Neuromancer (1984) and Snow Crash (1992), movies Blade Runner (1982), Ghost in the Shell (1995), The Matrix (1999), and the computer game Deus Ex (2000).

The tabletop role playing game Cyberpunk was written by Mike Pondsmith and published by R. Talsorian Games in 1988, followed by the sequels Cyberpunk 2020 in 1990, Cyberpunk V3.0 in 2005, and Cyberpunk Red in 2020.

The computer game Cyberpunk 2077, based on the tabletop game, was announced in May 2012 by developer and publisher CD Projekt Red. Trailers for the game were released in January 2013, at E3 2018, and at E3 2019 where an initial release date of 16 April 2020 was announced. The game was delayed to 17 September, then 19 November, and finally 10 December.

Continue reading Cyberpunk 2077 on Surface Go 2: RTX Online

The War on Privacy

Last week the Australian Government passed the Telecommunications and Other Legislation Amendment (Assistance and Access) Bill 2018, which allows certain government agencies to issue secret notices compelling Australian IT workers and software developers to insert secret malicious code into any software or computer systems, for the purpose of gaining access to the content of encrypted messages on the computers and smartphones of their users. This law is in effect right now. The next time you download an update for the banking app on your smartphone, or operating system updates for Windows and MacOS, or a firmware update for your modem/router, or a game update on your Playstation, your device might also be implanted with a secret backdoor enabling remote access and monitoring. I could be forced to add malicious code to this blog and it would be illegal for me to refuse, or to warn you about it. You can no longer trust any computer hardware or software that is created, configured, or sold by someone living under the legal jurisdiction of Australia. This is kind of a big deal.

Continue reading The War on Privacy

Accelerated R with CUDA on Linux

The R programming language uses Basic Linear Algebra Subprograms (BLAS) for performing common linear algebra operations such as vector addition, scalar multiplication, dot products, linear combinations, and matrix multiplication. R includes Netlib BLAS by default. Significant performance gains can be achieved by replacing that with a different BLAS library such as OpenBLAS or ATLAS.

Further gains are possible by intercepting certain calls to BLAS with NVIDIA’s NVBLAS. Operations that can benefit from running on a GPU will be automatically redirected to cuBLAS without any modification to your R code.

Continue reading Accelerated R with CUDA on Linux

Visualising OCO-2 XCO2 in R with DeltaRho

NASA JPL’s Orbiting Carbon Observatory 2 (OCO-2) was launched into sun-synchronous orbit around the Earth on July 2, 2014. It carries 3 grated spectrometers for measuring the spectrum of sunlight reflected off the surface of the earth, which is used to calculate the average concentration of Carbon Dioxide in the column of atmosphere beneath the satellite (XCO2). It takes 16 days to provide full coverage of the Earth’s surface.

I am using the R packages datadr and Trelliscope from the DeltaRho project (formerly called Tessera.io) to explore and visualise the XCO2 observations from the OCO-2 Level 2 Lite version 7R data product.

Continue reading Visualising OCO-2 XCO2 in R with DeltaRho

Installing every CRAN package in R on CentOS 7

Why would you want to install every CRAN package? That’s a good question.

Step 1: Install CentOS 7 Linux.

Some R packages will not install without an active X window session, so if you are not logged in to a graphical interface on the machine you will need to connect via SSH with X-forwarding enabled, such as with PuTTY and VcXsrv on Windows.

Most of this guide must be run from the Linux terminal as the user who will be running R. That user must be allowed to run commands as root with sudo.

Continue reading Installing every CRAN package in R on CentOS 7