Wednesday, September 12, 2018

Virtualbox and Fedora 28 Linux install error

I was messing with installing Virtualbox 5.2.18 this morning. Upon attempting to compile the needed kernel modules I was given errors. As it turns out I needed to install the elfutils-libelf-devel.x86_64 package. If you are having trouble installing and running Virtualbox 5.2.18 on Fedora 28 Linux then use the following command to install the elfutils-libelf-devel.x86_64 package.
sudo dnf install elfutils-libelf-devel
After the above package gets installed it should be smooth sailing.

Monday, September 10, 2018

XBOX One and Steam Controller Bluetooth Disconnects Under Linux

This morning I was messing around with Steam Big Picture mode (under Fedora 28 Linux) and my Steam Controller. I was having trouble syncing the controller via Bluetooth LE. Gnome's Bluetooth setting pane could find the controller but it would continuously disconnect and reconnect. After a bit I was stumped and went to get my XBOX One S controller. Much to my dismay it wouldn't even connect despite being recognized by Gnome settings. Again I was stumped.

I finally threw in the towel and went to Google for help. I searched around a bit and found Ubuntu bug report #1769423. This was the exact problem I was having and luckily provided a kernel parameter to help mend the situation. To make it easy on anyone who stumbles upon this post I'll outline how to fix this problem below.

First open Gnome Terminal and type in this command.
sudo -s
This will drop you to a root shell. While in this shell don't dick around or do anything stupid. You can royally e'ff up your system. After you're in the root shell you'll want to type in the below command.
echo 1 > /sys/module/bluetooth/parameters/disable_ertm
This command disables ERTM within Bluetooth's protocols. ERTM stand for enhanced retransmission mode. It is an improved version of retransmission and flow control modes. ERTM is required when using an AMP (Alternate MAC/PHY), such as 802.11abgn. If you're using AMP then this might cause a problem. For my needs I had no use for ERTM so disabling it was fine. The above command will have to be done with every reboot unless you add a kernel parameter disabling ERTM from the get go. If you want to disable ERTM at boot time you can do so by editing the grub file located in /etc/default/. Just add bluetooth.disable_ertm=1 in the GRUB_CMDLINE_LINUX section of the config file. I put it at the begining of the "rhgb quiet" part. Make sure it's between the " ". If confused check out the image below.


When you're finished editing /etc/default/grub you'll want to update grub to reflect the changes. Just type grub-mkconfig into the root shell. This command will display some text and finish. Make sure you exit or close the terminal after you finish. Like I said you can destroy your Linux install while messing around with the root shell if you're not careful.

And that's the end of the story. The above fixed my problem and got me back to gaming. Keep in mind the above info is for Fedora 28. It's may or may not pertain to other Linux distros.

Monday, May 21, 2018

VMWare 14.1.1 and Fedora 28 woes fixed!

Hi there. This is just a quick note on how to make VMWare Workstation 14.1.1 run properly on Fedora 28. I didn't figure these out myself so thanks to the original posters.

First off, right after installation VMWare cannot compile the kernel modules it needs to work. To fix this you'll need to install a package, make a sym link and reconfigure VMWare. You can also install the package and make the symlink BEFORE installing VMWare  to cut out the final command.

# dnf install elfutils-libelf-devel
# cp /usr/include/linux/version.h /lib/modules/$(uname -r)/build/include/linux/
# vmware-modconfig --console --install-all

Next up is 3D acceleration support. If you're using a nVidia card and their binary drivers you're good to go. But, if you're using MESA for 3D acceleration you'll need to add a line to your virtual machine's .vmx file. I just added it to the bottom of the file and all was well. Make sure VMWare is not running when you edit the .vmx file or it will over write your change when you shut it down.

mks.gl.allowBlacklistedDrivers = "TRUE

These were the only fixes I needed to make VMWare Workstation 14.1.1 functional on Fedora 28. In future releases of VMWare you might not need to do these fixes. I hope this helps and happy vm'ing.