Making Steam’s magic work when using a Dual Shock 4 controller

A few kernel versions (or Steam versions) ago, my Dual Shock 4 controller spontaneously stopped working in Steam. Big Picture mode said “no controller detected” and only games that had their own native DS4 support managed to still use it. Looks like you need some udev rules to make sure all things are good. For my wired DS4v2 I stuck this: SUBSYSTEM=="usb", ATTRS{idVendor}=="28de", MODE="0666" KERNEL=="uinput", MODE="0660", GROUP="myusername", OPTIONS+="static_node=uinput" KERNEL=="hidraw*", ATTRS{idVendor}=="054c", ATTRS{idProduct}=="09cc", MODE="0666" into /etc/udev/rules.d/99-ds4.rules. And reloaded udev. Thanks Xard and others from Freenode’s #gamingonlinux for the pointers. ...

November 25, 2018 · Psy-Q

Wanna use a Mayflash DolphinBar with Dolphin on Linux? You’ll need this udev rule

This is what I needed, I put it in /etc/udev/rules.d/80-dolphinbar.rules: SUBSYSTEM=="hidraw", ATTRS{idVendor}=="057e", ATTRS{idProduct}=="0306", MODE="0666" I can’t remember where I found this, I’m pretty sure I didn’t figure this out for myself. If you need a DolphinBar, Aliexpress should have you covered. It could be that the vendor code differs for yours, so make sure to watch dmesg when you plug it in.

July 27, 2018 · Psy-Q

Game recommendation: JYDGE

JYDGE by Finnish twin-stick shooter experts 10tons is for you if you enjoyed Hotline Miami, Robotron 2048, Crimsonland or JYDGE’s sister game Neon Chrome. ...

January 31, 2018 · Psy-Q

Yet another way to get a tear-free, stutter-free desktop with Plasma/KDE and Nvidia

Note 2024-10-07: None of this should be necessary nowadays as the components in play here have come a long way since 2018. So the proprietary Nvidia driver is a large, steaming, smelly pile of shit. At least that’s the impression you get when you read what developers say about it. There’s a bug here and a workaround there, and we haven’t even started talking about the messy situation that is EGLstreams yet. So why do people use Nvidia cards on Linux? Because so far, they give good bang for the buck, use relatively little energy for what they do and work with all commercial games. I’m pretty sure those are the reasons, anyway. ...

January 24, 2018 · Psy-Q

Using Xbox 360-compatible controllers properly inside WINE

Update: There are now easier ways to manage this, for example through Lutris. If you manage your WINEs in Lutris, you simply have a checkbox whether to include dumbxinputemu or not. If you need to use WINE to play some Windows games, the lack of Xinput support might get on your nerves. WINE maps joystick devices to Dinput. That works for some older games, but buttons need to be mapped manually, and many newer games don’t detect the controllers at all because they expect Xinput. ...

December 26, 2017 · Psy-Q

Fix crackling audio in some games in WINE

Some games happen to have wonderful audio (and music), like Wolfenstein: The New Order. Some games happen not to be available natively for Linux, like… err… also Wolfenstein: The New Order. So we play them with WINE, and sometimes there are slight audio issues. But have no fear: If you get audio crackling in such games (especially if your audio device is not running at 44.1 KHz), the following environment variable might fix it for you like it did for me: ...

April 7, 2017 · Psy-Q

Did your mouse turn all weird in Debian and now you suck at Quake?

Update: This issue is largely resolved nowadays because modern desktop environments include configuration tools for libinput and its acceleration profiles. If you have a recent Debian testing release, you might have noticed that your mouse now behaves very differently. For me, I noticed it when my aiming turned wobbly in Quake. Quake has extremely tight controls and shouldn’t feel as if you’re playing a 2016 console FPS with jelly dildos in place of fingers. So I was a bit surprised when it suddenly did. Also, I couldn’t reliably hit e.g. a close button on a window. ...

May 11, 2016 · Psy-Q

Using joysticks/controllers with keyboard-based games in GNU/Linux

If you’re one of those people who only now discover GNU/Linux for gaming (with Steam and all), you might find this useful: http://www.ryochan7.com/projects/antimicro/ I’ve tried several tools that map controller input to keyboard keys, but AntiMicro is the most reliable and easiest to use in my opinion. Many GNU/Linux developers forget to implement native Linux joystick device support into their games, but often this is crucial for games like Stealth Bastard Deluxe or Super Meat Boy. If you encounter such a game, AntiMicro will let you play it just fine with any USB controller, ranging from cheap-ass $2 Chinese crap up to expensive Logitech controllers. ...

July 4, 2013 · Psy-Q

Nvidia Optimus support now built-in on Debian testing

I was very surprised to see that Bumblebee (a way to use Nvidia’s Optimus technology on GNU/Linux) now works flawlessly on GNU/Linux. The Debian guys somehow managed to get all the fiddly components talking to each other, and this shit works flawlessly. You’ll need jessie (the current testing release). It’s as easy as: apt-get install bumblebee nvidia-kernel-dkms glx-alternative-nvidia nvidia-glx After that, I just had to do: update-alternatives --config glx To select my old Mesa GLX so that by default, it would use the built-in Intel graphics card even for 3D stuff. Finally there’s this handy hint from the GNU/Linux devs at Valve. ...

July 2, 2013 · Psy-Q