Garuda, Mocaccino and some Archcraftian love.

Hi there! Back in action over here in my corner of the world.

I’ve recently been looking into trying a different distro on the GPD Win Max as well as some on my System76 Pangolin. However, I have also recently come across a Pi 400, so I might try turning that into its own little sort of a portable laptop as well. More on that in future blog posts.

With a coworker who enjoys that Arch lifestyle, I decided to try it out as well. However, I’m lazy. Install from scratch? Never for this lazy boyo! I saw a video recently on Archcraft so I’ve been testing it out for a few days on my Pangolin (model pang10)

A screenshot from the tester drive

Above, you’ll see that I’ve been testing Archcraft a tad for work and play. Bpytop is on the right screen (internal display) for monitoring the Pangolin’s temps.

While I’m enjoying using this for work, I’m also testing out our new support topic on our System76 Support page for installing our drivers and some light gaming.

Next, we test Garuda on the GPD Win Max! A few coworkers have been using this distro happily for gaming recently, so I thought I would give it a look.

Garuda on the gpd win max

Here we see Garuda Linux running fine on the GPD Win Max, as it outputs to a 1440p 165hz external monitor…

Veloren on gpd win max

Above we have a screenshot of Veloren, a fantastic FOSS MMORPG game, running at a respectable 36fps on the GPD Win Max. Now, obviously we would see higher framerates if I was playing this on the internal 1280x800 60hz display, but I wanted to see what that 10th gen iGPU was capable of!

In the future, I will have a Framework Laptop, so I’m wondering how well this game will play on Intel’s Xe graphics in the 1185g7 processor I’ll be getting with that.

For now, I’ve settled with Fedora 34 (gnome) on my secondary drive for the Pangolin pang10 laptop, and Garuda Linux on the GPD Win Max as well as the gaming Aero15Xv8 I have. MocaccinoOS is something I’ll possibly delve into next weekend or following ones. For now, Garuda has the best FPS output for that Intel iGPU on the GPD Win Max, and Fedora is the most stable secondary distro for my Pangolin.

Reviving a 2006 Macbook (Part 1)

At this point, I think you know what I mean by reviving.

While in California, I managed to clean this sucker internally and externally, then get 32-bit Debian running on it. Maybe I'll donate it to family or friends after, if anyone has a use for it. Though a good bit older and chunky, I kinda miss this old school style of MacBooks….though I lust over the eventual success of running Arch on an M1 Mac Mini

The OG boyo

This trusty old sidekick was a free grab from a prior coworker, when I lived and worked back there.

I had prior experience running Debian on it, but perhaps now I’ll see if it can run Void or other lightweight Linux distros. I’m sure Gentoo would be an option, but I’d rather not do something as intensive as installing that from scratch.

Another cool idea would be running Elementary OS, which is slightly mac-themed and runs well under limited hardware, as well as React OS. React OS is a reimplementation of Windows XP/Windows 7 code, but completely rewritten to avoid Microsoft legal action. But enough of this thinking to ourselves, let's get cracking!

Above, you’ll see the install of Debian I had running on the old Macbook booting…but here we run into our first issue. Yes, this Macbook will boot to an external drive, but NOT a modern flash drive. All 32 of my variously-sized flash drives I own are USB 3.1…..none of them are USB 2 or older. It seems that, if the drive is configured to interface in a USB3+ transfer mode by default, we can’t boot to it on the Macbook….time to order a cheapo USB2 drive off ebay and wait for it to arrive.


A few days have passed, and I have obtained said drives.

Now to see if we can get something other than Debian 10 running on here. Maybe Void Linux in 32bit form? I selected that with the LXQt desktop environment, the lightest thing I can imagine running on here.
Burned to a flash drive, inserted…only to find…..

mac2006rip.jpg

Yup, guess we’ll have to burn a DVD or CD drive installer. Time to steal an external dvd drive burner from a family friend!


A few more days have passed and the calls from prospective employers have dropped off, so now to get back to this! It appears I’m still having that “Select CD-ROM Boot Type” issue. According to a youtuber, who has also tried this, I’ll need rEFInd installed on the macbook to be able to boot from external media. So I’ll go reinstall OSX Snow Leopard on this using this script from a Linux machine, and then install rEFInd as this guy has.

macrefind.jpg

As we can see here, I got the rEFInd bootloader installed succesfully on this old boy….but now it isn’t seeing the Lubuntu drive I’ve inserted to the side….
Maybe I’ll try this with my flash drive that utilizes the Ventoy interface to boot many operating systems at once…

macventoy.jpg

Now it looks like we can finally boot to the flash drive with Ventoy and various operating systems on it…however when we try to boot the 32bit versions of Lubuntu, Void or MX Linux

macboooot.jpg

Well, back to the drawing board, I guess. I’ll see you back here for Part 2 soon.

Medium, PS4 Linux and future projects

Another year, new hope! This is going to be a short update.

piocmetal.jpg

I’ve recently revived my medium account. Say hello to the THICC Pi 4 above!

I’ve recently been working on some things, such as getting PC games running on the Pi 4, which I posted about here, and that Linux-on-PS4 project I blogged about prior. Looking to begin crossing off projects from my tracker this year!

Also recently, I’ve been real excited for the GPD Win 3 release and some upcoming handhelds from Experimental Pi that were leaked.

Maybe I’ll do more writing as well…

Until next time!

PC Gaming on a PS4 via Linux

Hello there. Time for a little adventure. If you want the short and sweet of it, continue following along, but I have a more scatterbrained story over here. Again, none of this would be possible without the reverse-engineering efforts of Marcan and the Devs helping out at SCE Party.

Having had a long history of working with more-savvy-than-I people in the community to get various forms of Linux running on things in the past, I’ve wanted to repurpose my PS4 that is no longer seeing any action.

My original Wii, that “OG” Nintendo DS, my original PSP and my prior Xbox 360 were all given the same homebrew treatment in the past, so why not the PS4 I no longer use? The upside to the PS4 is that it has the guts of a PC compared to the custom stuff of the past. Now, the adventure begins….

Note, for this guide I am using the original 2013 CUH100C1 PS4 model on firmware 7.00, and I will be connected to the internet via a wired Ethernet cable. Your model may differ, but the guide remains the same. For PS4 Pro owners and more recent models, follow the videos of this youtuber to stay up to date on jailbreaks.

The first thing I did, upon finding my old ps4, was get into settings and check out the firmware version. You can view this by going to Settings -> System -> System Information. At the time of my writing this, on Jan 4 2020, only systems running 7.02 or earlier firmware are jailbreak-able. Luckily, having not touched this machine in over a year, it is still on 7.00.

Next, we’ll want to head to our PC of choice, with a flash drive or external hard drive of 128gb minimum at the ready. I only recommend 128gb minimum if you wish to install PC games from Steam on there going forward- 64gb drives work just as well. My daily driver is my Thinkpad P51 running Fedora Linux, but your operating system doesn’t really matter for this part. Go grab the PS4 Gentoo image (this is the January 2020 update) compiled by Marcan and then download Etcher. Etcher has had the highest success rate amongst those I’ve talked to over Telegram and in Youtube comments thus far, so it’s a safe and easy choice. Next, take that Gentoo Image and extract it with 7Zip or gunzip until you have just the file ending in .img. Now, open Etcher, select your flash drive and then your .img file and flash away!

Once Etcher has completed flashing the image to the drive, close it, eject the drive in your OS of choice, and insert it into a free usb port on your PS4. It may be late in this article, but I also recommend having a USB 2.0 or 3.0 hub such as this cheapo one, so that you can have a mouse and keyboard plugged into one port with your drive plugged into the other. My PS4 only had two ports on the front.

Before we jump into the fun Linux-booting times, it is recommended to change some video settings for your PS4 so that the screen won’t turn black. Head over to Settings, and go to Sound and Screen, then Video Output Settings. Then set Resolution to 1080p instead of Automatic or prior settings. Next, turn off HDR from the same menu. Then, back out to the Settings screen again and head to System and disable HDCP! You should be good to go from there.

Now, with the drive inserted, open your built-in Web Browser on the PS4. Close any pages currently loaded and open a new one. Navigate to the Hakku Raifu Exploit Host at this address. Going forward, I’ll be referring to this as HL to keep things simple. Once you’ve reached the page, you should find a menu such as the below image…

Once you are at this menu, select the available exploits for your firmware version. Since my firmware version is closest to 7.02, I’ll select that option. Note that if you don’t want to keep getting nagged by the PS4 trying to update, run the Disable-Updates exploit until it successfully finishes- there will be a pop-up letting you know- in order to make sure you aren’t patched automatically.

For the Linux options in the 7.02 Exploit HL menu, I’ll select the Linux-3GBVRAM option, since I’ve had issues using the 1GBVRAM loader in the past. Note that newer consoles might not have issues using the 1GBVRAM exploit, however my console is apparently only able to load the Linux-3GBVRAM option. The good news here is that the GPU part of your PS4’s processor will gain more memory, allowing for smoother gameplay in Steam games and retro ROMs you load.

ps4linuxexploit.jpg

Note that you may need to leave the webpage open and let it re-run a few times, as it is common to get “not enough system memory” errors when running it. My suggestion here is to hit the Options button, go to Settings and “Clear Website Data” as well as “Delete Cookies” every time you get an out of memory error. Deleting browsing history from the main Options menu can help as well. Eventually, you’ll see the above page and that slide-in notification will let you know the exploit has taken off.

Now, if you have retained that patience, we wait! Eventually the screen will go black and your monitor or TV may complain of the lack of an input. This is totally normal! Just wait for a minute or two. Eventually you’ll be greeted by a screen with penguins at the top and various information scrolling vertically. After that, you should load into a screen that looks like the following…

Hello, Gentoo!

Once you’ve got to this step, congratulations! You’ve succesfully booted to the Linux image on the drive you’ve plugged in! Steam, Retroarch and various other programs have already been installed to this by Marcan, so we just need to do some minor logins and adding roms and we’re good to go!

If you want to know about the rom side of things, Modded Warfare covers that in detail, but I’m just interested in some PC gaming on the PS4 for now, so that’s what I’ll go over next.

Move your mouse down to the hidden dock at the bottom of the screen and click the Playstation icon on the far left.

Type in Gparted in this menu and click the only result. If it asks for a pasword, the default password for this should be “ps4". Click the drop down menu in the top right of this program and select your flash drive or hard drive you are booting from- in my case I’m booting from a 256gb flash drive, so I will choose that, as seen below.

After choosing the ext4 partition, you will want to extend it to fill the rest of the drive, so you have space to install games or download roms etc.

Make sure to drag the arrow to the end of the right side in the menu that follows.

After that, let’s open up Steam!

Click the playstation icon in the bottom dock again and search “steam”. Steam should come up, though it may need to update after getting clicked. Let it update, and then sign into your Steam account , if you have one! I’ve been playing PC games via this service for a few years, so there’s a good library I’ll get to testing soon.

As shown in the screenshot above, I recommend enabling the Proton compatibility layer before you start installing PC games. To do this, click Steam in the top left of the window, then Settings -> Steam Play -> Enable Steam Play For All Other Titles. You will likely have to restart Steam after clicking OK. That’s fine.

At the time of writing this, Proton Experimental should be available, so feel free to test out that option for more recent PC games, but I’m using proton 5.13 for my testing of Hades and Risk of Rain 2….although it seems Risk of Rain 2 may have some issues with the graphical hardware here as it doesn’t open…

But hey! I got Hades to run fine! Had to black out a friend messaging me in the below screenshot. Go ahead and play your Steam games to your heart’s content! ProtonDB can be a valuable resource for getting other Steam games to run…though I highly recommend playing games that are a Platinum rating, as the other rating tiers can require a bit more “hands-on” work to get things running.

Enjoy!

Hades is copyrighted by SuperGiant games, and I’m just using this to prove it will load.

Short Update: M1 Linux excitement, PS4 Future Project

Hello there again!

I’m waiting on some parts to come in for my Linux Gaming project on the PS4. Thankfully, many out there have already made some videos on how to run tethered exploits for the PS4, so it looks like getting Gentoo or Arch running won’t be that difficult. Looking forward to having a spare “gaming pc” sitting around for when people can visit again.

In other exciting news, Marcan, known for his Playstation reverse-engineering in the past, is going to wholly devote himself to working on getting Linux distros running on the new M1 Macs. The target of his project is initially the M1 Mac Mini, and then to support further laptops etc from there. From his Community Stream, he mentioned he intends on having this be a full-time effort he can devote himself to. My knowledge barely scratches the surface of the reverse-engineering and exploits he’s worked on in the past, but it appears the M1 Macs can run alternate kernels other than macOS, so it’ll be interesting to see what work he does there.

I’ve been working on some Raspberry Pi-powered retro consoles and little mini Nextcloud servers for friends, amongst fun handheld terminals, for xmas. We’ll see how everyone likes their little custom projects as presents. I love building little things :)

I’ll update this blog more, and likely have a timestamped dedicated project page, when I have more to report regarding a PS4 running Steam in Linux and am excited for what the future holds! I may be going more mobile in the future, with all the layoffs and economic disasters that have been happening in my country this year, so we’ll have to see.

Have a happy 2021!