Monday, July 31, 2023

Samsung Odyssey + and SteamVR in xubuntu 22.04

UPDATE Ignore all of this. Install envision.
https://gitlab.com/gabmus/envision
some of this still applies but you can pretty much ignore the builds. Envision does it for you.

UPDATED for Kubuntu 24.04
Plasma X11. No wayland. I had way too many issues with wayland to want to even bother, even before vr setup.


Losely based on this
https://gitlab.freedesktop.org/monado/webpage/-/merge_requests/41/diffs
This is what I had to do to get my vr to work.

First install video Drivers.
I have an Nvidia RTX 2060, so I've installed the latest proprietary drivers from ubuntu. nvidia 550.67 I think. Manual installed via terminal as it's not included in additional drivers.   I decided to just skip 535, as my previous install had bugs that were solved by updating the driver, so didn't even bother with 535 this time around. You can google if you don't know how... it's easy (if you can't save xorg.conf, google "nvidia polkit")

Also had steam, bottles, and wine installed and working before I started any of this, so you may want to start there. Steam with steams deb, and wine installed both in flatpak for bottles and i386 arch (dpkg --add-architecture i386) winehq stable does not appear to have a package yet for 24.04, and so installed staging. that didn't quite work, it seems, so did a sudo apt install wine, which seems to have done something funny to staging, but I dunno. it's working, so don't really care.

Then install these:

   sudo apt install cmake ninja-build build-essential git wget unzip libeigen3-dev curl patch python3 pkg-config libx11-dev libx11-xcb-dev libxxf86vm-dev libxrandr-dev libxcb-randr0-dev libvulkan-dev glslang-tools libglvnd-dev libgl1-mesa-dev ca-certificates libusb-1.0-0-dev libudev-dev libhidapi-dev libwayland-dev libuvc-dev libavcodec-dev libopencv-dev libv4l-dev libcjson-dev libsdl2-dev libegl1-mesa-dev libgstreamer1.0-dev libgstreamer-plugins-base1.0-dev libbluetooth-dev libsystemd-dev xr-hardware libtbb-dev libglew-dev libpng-dev liblz4-dev libbz2-dev libboost-dev libboost-regex-dev libboost-filesystem-dev libboost-date-time-dev libboost-program-options-dev libboost-serialization-dev libgtest-dev libfmt-dev libuvc-dev mesa-common-dev libxxf86vm-dev libxcb-randr0-dev libxcb-keysyms1-dev libxcb-icccm4-dev libxcb-glx0-dev libxcb-dri2-0-dev libx11-xcb-dev libvulkan-dev libgl1-mesa-dev python3 vulkan-tools libvulkan1 doxygen libopenvr-dev


OpenXR-SDK

OpenXR-SDK compiled built in packages on kubuntu 24.04 so this wasn't needed. Leaving for just in case.


        git clone https://github.com/KhronosGroup/OpenXR-SDK.git
        cd OpenXR-SDK
        cmake . -G Ninja -DCMAKE_INSTALL_PREFIX=/usr -Bbuild
        sudo ninja -C build install

        sudo mkdir -p /etc/xdg/openxr/1/
        sudo ln -s /usr/share/openxr/1/openxr_monado.json /etc/xdg/openxr/1/active_runtime.json
           mkdir -p ~/.config/openxr/1
        ln -s /usr/share/openxr/1/openxr_monado.json ~/.config/openxr/1/active_runtime.json

BASALT

Installed basalt according to readme/ https://gitlab.freedesktop.org/monado/webpage/-/merge_requests/41/diffs
and now 6dof works? either way, my terminology may be wrong, but it's good.
git clone --recurse-submodules https://gitlab.freedesktop.org/mateosss/basalt
 
cd basalt

Edit these 2 files
nano thirdparty/Pangolin/src/image/image_io_jpg.cpp 
nano thirdparty/Pangolin/include/pangolin/log/packetstream_tags.h
  ^^Add this line under the first #include to both these files 

    #include <cstdint>

./scripts/install_deps.sh
make with debug(you can do a minimal install,  with this command, cmake -B build -G Ninja -DCMAKE_BUILD_TYPE=Release -DBASALT_BUILD_SHARED_LIBRARY_ONLY=on 
But I'd rather make ts easier if I need it.
 
cmake -B build -G Ninja -DCMAKE_BUILD_TYPE=RelWithDebInfo -DBASALT_INSTANTIATIONS_DOUBLE=off -DBUILD_TESTS=off

sudo ninja -C build install
or
sudo cmake --build build --target install


OpenHMD

https://github.com/OpenHMD/OpenHMD

git clone https://github.com/OpenHMD/OpenHMD.git
cd OpenHMD
cmake -G Ninja -B build -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr -DBUILD_SHARED_LIBS=ON
ninja -C build
sudo ninja -C build install 

 
Monado

Download and compile/install Monado

git clone https://gitlab.freedesktop.org/monado/monado.git
cd monado/
cmake -G Ninja -B build -DCMAKE_INSTALL_PREFIX=/usr
sudo ninja -C build install

create /etc/X11/xorg.conf.d/99-HMD.conf and insert this into contents

sudo nano /etc/X11/xorg.conf.d/99-HMD.conf

Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
    Option "AllowHMD" "yes"
EndSection

xrandr --output HDMI-0 --prop --set non-desktop 1

now run monado-service with your headset plugged in and you should get a grey output on the goggles. you should see in the terminal

press enter to exit monado-service(DO NOT CTRL X Z OR C YOU WILL EITHER HAVE TO KILL THE PROCESS OR REBOOT)

A bit about this xrandr command. I could make this load on login, but I run multiple monitors and my hdmi port uses one, so I switch it. also, I don't leave my headset plugged in, to save it's life. even plugged in and off, it's warm, so I leave it unplugged when not using, and then run this when I plug in, and test with monado-service.

check the man page for info on this line as well, as you will have a different setup than mine, and your variables will be different.
My full xrandr line denotes all 3 monitors and my headset like this

xrandr --output DP-5 --pos 0x0 --mode 1920x1080 --primary --output DP-1 --pos 1920x0 --mode 1680x1050 --output DP-3 --pos 3600x0 --mode 1920x1080 --scale 0.5x0.5 --output HDMI-0 --prop --set non-desktop 1

Install Steam and devices(again, lots of how tos on this)

steampowered.com download and install the deb.
I first installed steam, and configured with proton experimental before I even started doing this install. (along with bottles and wine) so you may want to make sure that steam is just working before starting this how to.

log in, and install steamvr 


Also I ran steam in a terminal, so I could check output for troubleshooting. You can also got to .steam/steam/logs/ vrmonitor.txt and vrserver.txt are really useful if you have issues.


Libcurl is installed with steam, and it's corrupt? incorrect? dunno... link it to actual, and all works fine.(i've been told this isn't proper, but really don't care since it seems to work....if devs want things proper, maybe they should include a script that corrects the issue? or tell it to valve, not a user who just want's his shit to work....)


   cd /home/$USER/.steam/steam/ubuntu12_32/steam-runtime/pinned_libs_64

   mv libcurl.so.4 libcurl.so.4.bak

   ln -s /usr/lib/x86_64-linux-gnu/libcurl.so.4 libcurl.so.4
Then,

~/.steam/steam/steamapps/common/SteamVR/bin/vrpathreg.sh adddriver /usr/share/steamvr-monado

something else is wrong here, but once I do this, instead of launching steamvr,
cd ~/.steam/steam/steamapps/common/SteamVR/bin
and run
./vrmonitor.sh
that'll launch something, set up stand or sit down, and then launch your game. works, but don't know how or why, as I'm having issues with steamvr...

This works with multiple monitors. Maybe older versions had issues, but this did not.


Saturday, February 15, 2020

CLEAN THE CELLS!!

I recently had an opportunity to visit the cells in downtown vancouver. All in all, I saw the inside of 6 different cells, 5 or which I could easily see were filthy. And the only reason for that, is because the jail pigs didn't let me stay long enough to inspect.
Thankfully, no bugs other than fruit flies. But everywhere, I could see old puke, spit, piss, and was that a turd? ya, pretty sure that was a turd. I'm not asking for ritz carlton or some shit, but just that the fucking pigs actually clean the cells. I realize you're pigs, and they you live in dirt, but that doesn't mean the rest of us want to be exposed to genuine biohazards. Just because you feral hogs, SAY that I did something wrong, doesn't mean I did, even according to your so called victim. Who told you the EXACT SAME FUCKING STORY, as I did.
Mary wasn't the most honest person. Not with herself, not with others. Which the pigs well knew. It took a long fucking time for me to understand that, because all my adult life has been about honesty.  My younger days, not so much, but that's another story, on my mother probably recollects well.  But I never saw her lie about being in pain.
But I did learn to understand it. Partially because of my past expereince, and partially because I understood trauma on an instinctual level.  And partially because of my total empathy for those that deserve it. And she fucking deserved. It was never fucking pity. I think she understood that, even though she misconstrued it as pity sometimes. I know she knows I suffered my own shit, and that she would never compare, but I can tell you, her's was worse.
Through it all, I know she suffered a shit ton. More than I can ever imagine. She did what she did to cope. she said what she said to cope. I took it personally sometimes, Who wouldn't? We were together for 8 years. I raged on fb, (to friends only, for the most part, I could have made a mistake, usually using custom and making sure she couldn't see it) Anyway, we both have our issues. Her's, mainly that she's dead. And mine, that I'm alive. Viva la vie?
Fuck the police. Fuck the police. FUCK EM!
If you don't know, a pig broke her leg.  They left her in cells for 20 hours. FOUR fucking times, they brought her to see the nurse. FOUR FUCKING times, the brought her in a wheelchair, because her leg was fucking BROKEN, and she couldn't walk. FOUR FUCKING TIMES, "she's faking it"
The surgeon said they shouldn't have waited so long to bring her in. And there was no reason for it, considering the swelling. The nurse couldn't tell there was a MASSIVE FUCKING amount of swelling?

FUCK YOU!



It is not your job to judge these people you bring into custody. You are supposed to be impartial. But you aren't. You're fucking feral hog pig scum. You wonder why you get such flack from the general public?



It's because of how you act.


Grow the fuck up pigs.


About 2 months before she passed, I started having suspicions that the surgery had failed. We were still waiting for the doctors... The pain she was dealing with was immense. The added stress of the prosecution asking for jail time after their pigs broke her leg, was too much. The fact that the state refuses to offer a safe supply to users, led to her death.

She just wanted to end the pain for a bit. She didn' try to kill herself. But there is no safe supply on the streets of vancouver. People want fentynal. Dealers sell it. She wanted. The first week we were together, she was using a fentynal patch. I had no idea what it was at the time. No clue.

Full circle, the shit killed her, because she just wanted heroin, but there could be no safe supply in a fascist state that want's people to fucking die.

Wrote half of this a while ago, and half of this today, but I started about half way through, so here's the rest of what I wrote whenever I actually wrote this(about a year I think, but I"m sure the pigs could tell you)

, nor does it mean you should anyway, as I'm pretty sure your job involves impartiality, not that you scumfucks care tho, right? How is that constitution act toilet paper working out?
Also, pretty sure that peeps need their methadone in the morning you stupid fucks. I don't give a shit what your policies say, if people are withdrawing, you have a duty to assist. But it's not like you give a fuck about the people you arrest. Hence why you jail pigs got 2 fingers from me. Put my hands on the wall? OK!!
Fuck you. You're exposing people who are already sick, to more sickness. Ya, some may already be sick, but you fucks gotta clean up after that shit. Hey, the world isn't fair, if that's what you were gonna say, pig. (don't you love getting that shoved in your face??)
Oh, and to the pig that said I had nothing to worry about, not only are you fucking sadistic piece of shit, you're a bottom feeding piece of shit too.
Hope you all die slow painful humiliating deaths like my father did. He didn't deserve it. But every single one of you pigs does.
CLEAN THE FUCKING CELLS PIGS!
On a side note, NEVER TALK TO PIGS!
#ACAB #FTP #YesAllFuckingPigs

Sunday, January 14, 2018

Why we need to be intersectional.

You know why we on the left have to be intersectional? Because those on the right have been at it for years. Think about it, those who hate, hate everyone, and will believe anything. So it isn't hard to see that those on the right would be willing to work with eachother more willingly. Militias, KKK, white pride groups, libertarians, and conservatives/republicans have been working together for, well, just about ever.

This is easy for them. With such a low value moral compass, they are unable to discern right from wrong, and can't be bothered checking facts and sources, because quite plain and simply, they're fucking lazy scumfucks.

We're in a very dark time in human history. And it's gonna get worse before it gets better. And liberals(and everyone else really) needs to stop being so resistant to the idea of intersectional activism. The right hasn't, and it's gotten them trump, and harper. 2 of the most vile racist this continent has ever seen in a leader.

Monday, November 28, 2016

Fuck the police: Chapter 3

It's been nearly a year since I've done any real activism. 9 or 10 months since my last video, an 1 week less a year I have lived in Vancouver.
I have lost friends. Many I called friends, but were truly never there for me in the first place, so I really don't give a shit. Now that I don't participate, my life is much quieter. I can sit back, and post online to my hearts content, without having to fear cops busting down the door for some bullshit trumped up reason. I can walk home, without having to fear porkrott(#109322) and friends following me, harassing me for no other reason than to get a rise out of me.
I give it to them, because fuck them. They want to play games with peoples lives? What gives them the right? A part of me died in london. A good part. A noble part. Shattered, not only by the noises of barnyard animals, but the silence as well. Some made themselves known, and I remember each and every one of you. I can almost fill both hands.
I have always tried to ephasize that I was not the only one. And don't come on here, all self righteous like, and comment, "well you should have known better". I should have known that they were going to target my partner? Fuck you. The only reason they targetted her, was because they couldn't get to me. Except through her. So trump up bullshit on her, and fuck up her life, to get to mine.
Fuck the police.
Thatt's how the pigs in london operated. They spent a year trying to get me, and eventually resorted to physical violence on the street. The nights of constant worry the pigs were gonna come slamming on my door, just to inflict violence on my family, for the sole reason that they're all bastards, well, poor wittle piggies hurt by words, then they should probably stop being piggies...
"Revenge is a dish best served fucking frozen"
Ancient Sith Proverb