{"id":57740,"date":"2024-07-15T00:01:36","date_gmt":"2024-07-15T04:01:36","guid":{"rendered":"https:\/\/www.shamusyoung.com\/twentysidedtale\/?p=57740"},"modified":"2024-07-14T20:31:45","modified_gmt":"2024-07-15T00:31:45","slug":"linux-so-tantalizingly-close-to-prime-time","status":"publish","type":"post","link":"https:\/\/www.shamusyoung.com\/twentysidedtale\/?p=57740","title":{"rendered":"Linux: So Tantalizingly Close to Prime Time&#8230;"},"content":{"rendered":"<p>As promised last week, I will be talking about the Linux Switchover Project. And that&#8217;s literally the first time I have used that phrase, but I guess it&#8217;s accurate. The past week has been full of trials, tribulations, cursing, depression, and few successes. Most importantly, the laptop *is still running Linux*, and is doing more things *now* than it was a week ago. In fact, it has been running the same distribution and flavor since&#8230;Monday, I think. I probably could have been running the distribution and flavor I started with if had known then what I know now. I think that&#8217;s where I will start; with what I have learned that affects some underlying assumptions and rules.<\/p>\n<p><!--more--><\/p>\n<p>My laptop is a Dell Inspiron 7000 2-in-1. More specifically, it is the thirteen-inch screen design. They haven&#8217;t made those for a few years, and this was one of the earlier ones. The chipset is an AMD Ryzen 7 2700U with Radeon RX Vega 10 integrated graphics. The sound chip implementation is a well-documented pile of ____. I keep the laptop on my desk, to my right. I started doing this when I removed my multi-monitor setup and returned to a single monitor to improve game performance and stop the <a href=\"https:\/\/www.shamusyoung.com\/twentysidedtale\/?p=56940\">regular system shutdowns I have was having trouble with<\/a>. For the record, removing the multi-monitor solution did, in fact, stop the crashing. My main computer is back to a dual-Crossfire single monitor setup.<\/p>\n<p><div class='imagefull'><img src='https:\/\/www.shamusyoung.com\/twentysidedtale\/images\/mylaptop.png' width=100% alt='' title=''\/><\/div><div class='mouseover-alt'><\/div><\/p>\n<p>Anyway&#8230;I kept YouTube playing on my right-hand monitor, so when that went away, I <a href=\"https:\/\/www.shamusyoung.com\/twentysidedtale\/?p=57372\">played with various old laptops and tablets<\/a> set to my right to do the same. This prompted some Linux experimentation several months ago. None of those attempts resulted in anything I was happy with, so I put my actual, newest laptop in place. It certainly fit the space better than the fourteen inch and fifteen inch older laptops I had tried. Back to the sound card&#8230;I have a pair of auxiliary speakers that fit unobtrusively in front of the monitor. I plug them into the headphone jack. Even under Windows, I had occasional dropouts, crackles, and *constant* volume changes. Always, as far as I could tell, just shifting between two volume levels. Not ramping up and down, like the volume control was being activated, just up:down:up:down:up:down. Usually for only a few seconds, but it was randomly timed and constant. Some research indicated this was normal and unsolvable&#8230;Dell had just done a crappy job with the sound chip hardware. And it was the hardware that was specifically mentioned. This chip in other computers worked just fine.<\/p>\n<p>Well guess what? Under Linux, every distribution I tried, the headphone jack (when connected, obviously) will start outputting a droning buzz within 30 seconds of sound stopping. Say, like when you pause a video, or return to the main menu to find something else to play. A buzzing starts. Something in the open source drivers handles this bizarre implementation in a similar, yet more annoying way than Windows does. Still, I know the problem is hardware. This can be dealt with many different ways, from unplugging the speakers when I pause or stop a video, to plugging in a USB sound card to use. I have one&#8230;somewhere. In fact, I just had a memory triggered that I had to use it *with this laptop* when I was using it for streaming on Twitch years ago because the built-in audio hardware wouldn&#8217;t operate correctly.<\/p>\n<p>The other big hardware issue that I finally learned is mostly unsolvable is the chipset. The AMD Ryzen 7 2700U has never been fully supported by any Linux kernel. They mostly work now, in 2024. From everything I have read, there is apparently a small fault in the chip in managing power states. Some people claim this can be addressed by adding certain kernel boot parameters to the boot configuration. I tried the first, simplest one and still encountered a system freeze. NOTE: technically the kernel is not freezing, but it definitely shuts down all input devices&#8230;so you can&#8217;t really do anything about it except hold the power button down. I have tried a modified set of instructions for the boot parameters and have not experienced a freeze since yesterday afternoon, but I haven&#8217;t been able to just run YouTube videos non-stop for several hours, yet. There has been&#8230;a lot of news&#8230;this weekend that tends to dominate my watch lists and I&#8217;m kind of tired of hearing about it.<\/p>\n<p><div class='imagefull'><img src='https:\/\/www.shamusyoung.com\/twentysidedtale\/images\/logitechg13.png' width=100% alt='' title=''\/><\/div><div class='mouseover-alt'><\/div><\/p>\n<p>This is a Logitech G13 Advanced Gameboard. It was released in 2009. Windows Vista had been largely rejected as the replacement for Windows XP (I always liked it), so Windows XP was still being supported while Microsoft rushed Windows 7 to release later in the year. This was *the preeminent* MMORPG gameboard to have&#8230;and was honestly one of the *only* gameboards to have. However, the G13 was likely Logitech&#8217;s response to Belkin&#8217;s (yes, Belkin) updated Nostromo gamepad released in 2008. The G13 had more of everything than the Nostromo, including an actual mini-joystick instead of a thumb-controlled D-pad with a hat. Logitech belatedly, and sometimes poorly, updated the drivers of the G13 through Windows 10. In 2018, they announced the product would be discontinued and support would be ended, citing poor sales and no place for this kind of device in their product line. The last driver released does not work with Windows 11, at least not correctly. Meanwhile, Razer has produced two more gameboard devices (two versions of the latest are still in production), there are a handful of &#8220;premium&#8221; gameboards like the Azeron and the Hori Tactical, and a few &#8220;cheaper options,&#8221; although none of the cheaper options have either a D-pad or joystick. All the other offerings have opted for a thumb-controlled D-pad only in the mistaken belief that the point of these things is to replicate motion capture interfaces or the Nintendo Power Glove.<\/p>\n<p>The thing is the Logitech G13 is getting rare (especially in good shape), expensive, and has no future in Windows anyway. There have been three attempts to create a Logitech G13 driver in Linux aside from a couple of more broad-use Logitech device control programs. Only one of the the G13 drivers is generally considered mostly usable at this point&#8230;except the person who created it stopped maintaining it in 2021 or 2022. The last confirmed install that worked (someone who posted the entire process on a web page or in a video) is from May of 2023. In November of 2023 the driver was marked as &#8220;out-of-date&#8221; by an archive contributor, and there are several accounts of people trying to get it to install on a current Linux distribution with no luck. Bottom line: the Logitech G13 will not be usable on Linux.<\/p>\n<p><div class='imagefull'><img src='https:\/\/www.shamusyoung.com\/twentysidedtale\/images\/orbweaver.png' width=100% alt='' title=''\/><\/div><div class='mouseover-alt'><\/div><\/p>\n<p>This is a Razer Orbweaver. I don&#8217;t have an Orbweaver; Razer doesn&#8217;t make them anymore. The current gameboard by Razer is the Tartarus, which is still available in two or three versions, I can&#8217;t remember which. The thing is, the Orbweaver is A) Mechanical, and B) has more buttons available on the main keypad, partly because it C) does not have a scroll wheel, which I don&#8217;t need. The Tartarus has a scroll wheel. The Nostromo (remember the Nostromo? That &#8220;updated&#8221; version was co-developed between Belkin and Razer, and Razer later bought it outright from Belkin) has a scroll wheel, too. I know it&#8217;s useless to my needs because I actually own a Nostromo. I bought a used one specifically to use with my laptop when I first bought it, and it&#8217;s been kicking around the house ever since. The G13 has 23 main board keys; the Nostromo has 14. The Tartarus has 19, the Orbweaver has 20. BUT, Razer seems to be fairly well supported through open source Linux drivers. In fact, I have already had *some* success getting the old Nostromo to work. I actually had <em>World of Warcraf<\/em>t installing on my laptop to test when I started writing this, and was able to finish the installation (it worked, first try, although I did have to do a lot of googling to figure out what *specific* install procedure I needed to follow.) I was able to get one key bound properly, but attempts to bind a second were being rejected. There are several possible reasons for this; for the time being I exited the program as a successful first try and will attempt binding further keys later. I won&#8217;t be keeping WoW on the laptop. The Dell only has a single 256GB SSD, and WoW takes up 100GB of that. This was just to prove both WoW and the Razer input device worked.<\/p>\n<p><div class='imagefull'><img src='https:\/\/www.shamusyoung.com\/twentysidedtale\/images\/azeron.png' width=100% alt='' title=''\/><\/div><div class='mouseover-alt'><\/div><\/p>\n<p>I have read in a couple of places the Azeron gamepads are actually pretty straightforward to get working in Linux using a program called AntiMicro. AntiMicro is essentially a Linux version of Xpadder that lets you program a controller with keyboard functions. Plus the Azeron devices have an analogue stick, although it&#8217;s still situated for thumb control. They are also&#8230;not cheap. They make Razer devices look affordable, and I usually don&#8217;t play in that end of the pool if I can help it. The single best option would be the Hori Tactical Assault Command F14 (for Final Fantasy 14, the MMORPG.) Like the G13, it&#8217;s designed for MMORPG use and has a properly located analogue stick. It also has the appropriate number of buttons, although the layout is a bit strange. And it&#8217;s cheaper than an Azeron; about the same price as a Razer device. Unfortunately there has not been any discussion on getting this to work under Linux. It is still a new device, and Hori traditionally makes these for console use rather than PC&#8230;I am getting the impression they are still a bit buggy.<\/p>\n<p>So let&#8217;s move on to distributions. Most of the distributions I worked through and abandoned were because of the freezing issue that I later learned was hardware-related. So, I won&#8217;t count that against anything right now.<\/p>\n<p>My original intent, as this was meant to test a distribution that would work for my main desktop, was Garuda. This is based on Arch Linux which is apparently becoming one of the three big distributions, along with Debian and Fedora. I tried four installs, the only difference being the default desktop environment. Garuda itself comes with many of the fundamental gaming libraries and apps you will need included with the base installation. Following the initial install, an assistant opens to help configure a handful of options, but most importantly give you categorized lists of software you may want, like office apps, communications like Zoom and Discord, multimedia apps, etc. I have at least marginal familiarity with many of these, but I would point out that for a complete noob with no knowledge outside of Windows, there isn&#8217;t much detailed explanation of *every* app&#8230;only a few. You will be left wondering &#8220;well, do I need this? It sounds vaguely familiar&#8230;&#8221; *However*, I will note here this isn&#8217;t exclusive to Garuda. Linux installs in general are &#8220;noob friendly&#8221; to, I am assuming, people who already know what all of these options are and what they do. It is certainly much better than the last time I extensively tested Linux fifteen years ago (or so), but the overriding experience is that you will have to get on a search engine and try to find help for many, many things. As far as the desktop environments themselves are concerned, XFCE was the easiest to use. Garuda shoots themselves in the foot a bit with a pervasive customization in all environments that favors small icons, text, and cursors. Sure, it&#8217;s minimally invasive, but on a thirteen inch laptop screen this is practically unusable. This is also where I discovered that some implementations didn&#8217;t feature a usable desktop scaling function. Finally, Garuda&#8217;s preferred KDE Dragonized environment would not function properly. Something in that environment breaks the wifi on my laptop *only after the install is completed,* the install works fine.<\/p>\n<p><div class='imagefull'><img src='https:\/\/www.shamusyoung.com\/twentysidedtale\/images\/ubuntulogo.jpg' width=100% alt='' title=''\/><\/div><div class='mouseover-alt'><\/div><\/p>\n<p>At this point, I tried three Fedora-based installations. None would install. Only one would boot and run an install, then fail when the laptop rebooted. I have no idea why, but as the problems were consistent and boot-related, I didn&#8217;t research too much. I was looking forward to Fedora, as throughout my research concerning the freezing-while-playing-YouTube issue, none of the mentioned distributions was *ever* Fedora. I know it was boot-related because writing the bootable USB using Rufus I would receive a caution that something in Grub was a different version from what was needed, and Rufus would try to download the proper files. If I created the USB with Etcher (which was the recommended tool only for Fedora installations) it would create the USB successfully but one stick consistently reported it was missing boot information, once stick said the contents were corrupt, and the third did what I described earlier. The second two required manually editing the GRUB boot parameters before the install would run. I am *positive* all this is addressable, but considering how well other distributions were doing out-of-the-box, I gave up on Fedora.<\/p>\n<p>I tried two installs based on Ubuntu: Kubuntu and Pop! OS. Pop! OS is meant to be a &#8220;it just works&#8221; installation, which is certainly true if you need a well-defined machine for general office or student work. You get all the tools you would expect and want from the default installation&#8230;no questions, no problems. It&#8217;s possible I would have stuck with Pop! OS if I wasn&#8217;t still trying to solve my freezing issue. Next up was Kubuntu, which I liked even better. Like Pop! OS, it comes with everything you need ready to go, plus a ton of gaming utilities installed or readily available. Kubuntu also uses the KDE Plasma desktop environment by default, which worked very well for me. As with Pop! OS, I likely would have stayed with Kubuntu if I wasn&#8217;t still working on the freezing issue. I wouldn&#8217;t rule out returning to it.<\/p>\n<p>The final install was Manjaro, a flavor of of Arch Linux. Manjaro is designed to be an easy-to-use distribution with gaming-ready support, and that seems to be accurate. It was after installing Manjaro that I discovered my freezing was likely a hardware problem, which I am currently experimenting with. I also discovered at this point that Chromium is *slightly* faster than Firefox and at least is reputed to have fewer &#8220;problems.&#8221; If you are completely new to the Linux community, this is an appropriate time to bring up what a long-time Linux user apparently thinks is important in a browser (and they aren&#8217;t entirely wrong), versus what an average user is going to consider important. Just about everything a person like me values in a web browser&#8230;data sync across multiple platforms through a central location, password storage, shared bookmarks, availability of history&#8230;those are all security threats. The Linux users capable of answering your most specific, detailed questions *don&#8217;t like security threats.* I would not at all be shocked to find a new, perfect, designed-for-Linux browser popping up any day now; one that is so secure it won&#8217;t let you actually open any webpage.<\/p>\n<p><div class='imagefull'><img src='https:\/\/www.shamusyoung.com\/twentysidedtale\/images\/linuxsplash2.png' width=100% alt='' title=''\/><\/div><div class='mouseover-alt'><\/div><\/p>\n<p>So what is now keeping me from installing Linux on my main computer? Primarily the fear of losing data. I have actually made the &#8220;are you sure you are formatting the right hard drive?&#8221; mistake, many years ago. My system drive only has Windows and utility programs installed. All games are installed on an external drive. All my data is stored on external drives (I have several.) As far as I understand, the data, all on NTFS-formatted drives, should not be a problem. Linux can read data to and from NTFS drives, I have been told repeatedly. *But* Linux can not &#8220;install&#8221; programs to NTFS drives, nor can it *run* programs on NTFS drives. I have gathered that it is highly recommended that you backup your data and convert the drives to ext4 format. There apparently *is* a procedure to do that, but honestly the most recommended way is to recreate the partition and format it to an empty ext4 drive, then copy your data back over. I&#8217;m not thrilled about that, because we&#8217;re talking about *terabytes* of files.<\/p>\n<p>I am considering two plans to get started. The first is to do the standard &#8220;shrink your partition then create a new partition out of the free space&#8221; to dual-boot Windows and Linux from one drive. My system SSD is only about half full (since I don&#8217;t keep much on it other than Windows) and this would keep Windows available while I got the Linux system up and going. However, as empty as the drive is comparatively, after I create a Linux partition, which I see recommendations for between 20GB and 80GB, Windows won&#8217;t have much swap file space left. The second plan is to obtain a second SSD to install Linux on, leaving the Windows installation alone in case I need it. This would cost more, of course. I also likely will need another external hard drive to copy files over while freeing up a drive to be converted to ext4. Probably the first plan is the most economical. Dual-drive dual-booting is something that I am finding surprisingly little information about. I would assume that you really have to have a primary drive to run the boot loader anyway, which defeats part of the purpose of the dual-drive plan.<\/p>\n<p>Once again, we will see where we are next week! Thanks for reading!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>As promised last week, I will be talking about the Linux Switchover Project. And that&#8217;s literally the first time I have used that phrase, but I guess it&#8217;s accurate. The past week has been full of trials, tribulations, cursing, depression, and few successes. Most importantly, the laptop *is still running Linux*, and is doing more [&hellip;]<\/p>\n","protected":false},"author":22,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[638],"tags":[],"class_list":["post-57740","post","type-post","status-publish","format-standard","hentry","category-paige-writes"],"_links":{"self":[{"href":"https:\/\/www.shamusyoung.com\/twentysidedtale\/index.php?rest_route=\/wp\/v2\/posts\/57740","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.shamusyoung.com\/twentysidedtale\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.shamusyoung.com\/twentysidedtale\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.shamusyoung.com\/twentysidedtale\/index.php?rest_route=\/wp\/v2\/users\/22"}],"replies":[{"embeddable":true,"href":"https:\/\/www.shamusyoung.com\/twentysidedtale\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=57740"}],"version-history":[{"count":12,"href":"https:\/\/www.shamusyoung.com\/twentysidedtale\/index.php?rest_route=\/wp\/v2\/posts\/57740\/revisions"}],"predecessor-version":[{"id":57772,"href":"https:\/\/www.shamusyoung.com\/twentysidedtale\/index.php?rest_route=\/wp\/v2\/posts\/57740\/revisions\/57772"}],"wp:attachment":[{"href":"https:\/\/www.shamusyoung.com\/twentysidedtale\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=57740"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.shamusyoung.com\/twentysidedtale\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=57740"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.shamusyoung.com\/twentysidedtale\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=57740"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}