Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
duckinator [2023/01/18 06:24] – duckinatorduckinator [2023/10/13 07:51] (current) – duckinator
Line 8: Line 8:
   * AKA: duckie, puppy   * AKA: duckie, puppy
  
-I do a lot of work with Python and C. You may know me from my work at [[https://rubytogether.org|Ruby Together]], helping maintain RubyGems and Bundler.+I do a lot of work with Python, Rust, and C. You may know me from my work at [[https://rubycentral.org|Ruby Central]], helping maintain %%RubyGems%% and Bundler.
  
 ---- ----
  
-===== Building Latest Version Of Odamex =====+===== Notes =====
  
-<code> +  * [[https://klarasystems.com/articles/automation-and-hacking-your-freebsd-cli/]] &mdash; Info about some CLI tools integrating with libxo for JSON, XML, etc output. 
-mkdir build && cd build && LDFLAGS="-L/usr/local/lib -R/usr/local/lib -lexecinfo -lcompat" cmake .. && make +  * [[https://github.com/Juniper/libxo]]
-</code>+
  
-===== Resolved Problems =====+===== RX 6600 support =====
  
-  * There's a ''%%signal-desktop%%'' package, now. ([[https://smallest.dog/blog/signal-on-freebsd/|I previously fixed it with a VM and X-forwarding]].)+It looks like support for the AMD RX 6600 GPU will be in [[https://www.freebsd.org/releases/14.0R/schedule/|FreeBSD 14.0]], and may also be added to a 13.x release at some point.
  
-==== Discord ====+The [[https://lists.freebsd.org/archives/freebsd-current/|FreeBSD-CURRENT mailing list]] may also be relevant, since (as I understand it) -CURRENT is currently for development of 14.0.
  
-Install ''%%steam-linux-utils%%'', then run this script to set up Discord (in ~/software/Discord):+===== Containers ===== 
 + 
 +[[https://smallest.dog/resources/containers-on-freebsd/|This information is now on my website.]] 
 + 
 +===== Discord ===== 
 + 
 +Unreliable, buggy, WIP.
  
 <code> <code>
-mkdir -p ~/software && cd ~/software && curl -L 'https://discord.com/api/download?platform=linux&format=tar.gz' | tar xzf -+sudo pkg install linux-c7-nss linux-c7-atk linux-c7-at-spi2-atk linux-c7-cups-libs linux-c7-libdrm linux-c7-gtk3 linux-c7-alsa-lib linux-c7-ca-certificates
 </code> </code>
  
-Then, to run Discord:+Use this script:
  
 <code> <code>
-/usr/bin/env LD_LIBRARY_PATH=/usr/local/steam-utils/lib64/fakeudev:/compat/linux/lib64/nss /home/puppy/software/Discord/Discord --no-sandbox --no-zygote --in-process-gpu --v=0+#!/compat/linux/bin/sh 
 + 
 +mkdir -p ~/software 
 +cd ~/software 
 + 
 +if [ ! -d Discord ]; then 
 +    curl -L 'https://discord.com/api/download?platform=linux&format=tar.gz' | tar xzf - 
 +fi 
 + 
 +cd Discord 
 + 
 +#PA_SOCK_PATH=$(sockstat | awk -v me=$(whoami) -F'[ \t]+' '$1 == me && $2 == "pulseaudio" && $6 ~ /native/ { print $6; exit 0 }') 
 +#export PULSE_SERVER=unix:${PA_SOCK_PATH} 
 + 
 +/usr/bin/env ./Discord --no-sandbox --no-zygote --in-process-gpu --v=0 "$@"
 </code> </code>
  
-If you want, copy ''%%~/software/Discord/discord.desktop%%'' somewhere and change the ''%%Exec=...%%'' line to specify the above command, and put it... wherever .desktop files go.+===== Building Latest Version Of Odamex =====
  
-NOTE: Only text chat seems to work.+<code> 
 +mkdir build && cd build && LDFLAGS="-L/usr/local/lib -R/usr/local/lib -lexecinfo -lcompat" cmake .. && make 
 +</code>
  
 ===== Problems Encountered/Things To Document Fixes For ===== ===== Problems Encountered/Things To Document Fixes For =====
Line 46: Line 67:
 ==== Audio ==== ==== Audio ====
  
-!!! This has been made a lot more complicated and harder to debug by the fact that apparently PulseAudio got installed anyway and I don't know how or why, and it starts with Firefox for some reason even though Firefox used to work without it.+!!! This has been made a lot more complicated and harder to debug by the fact that apparently %%PulseAudio%% got installed anyway and I don't know how or why, and it starts with Firefox for some reason even though Firefox used to work without it.
  
-Initially, I had lots of general audio glitchiness. Intermittent static/buzzing noises. Using virtual_oss allowed me to record desktop audio (with OBS, recordmydesktop, etc). The solution appears to be using an 8ms buffer for virtual_oss and avoiding PulseAudio. (Any time I install PulseAudio, I have trouble keeping it from starting and taking over audio for the whole system -- which is a problem, given how poorly it performs on my system.)+Initially, I had lots of general audio glitchiness. Intermittent static/buzzing noises. Using virtual_oss allowed me to record desktop audio (with OBS, recordmydesktop, etc). The solution appears to be using an 8ms buffer for virtual_oss and avoiding %%PulseAudio%%. (Any time I install %%PulseAudio%%, I have trouble keeping it from starting and taking over audio for the whole system -- which is a problem, given how poorly it performs on my system.)
  
 NOTE: I am having trouble with intermittent audio glitchiness again. Apparently it wasn't a solution so much as an improvement. NOTE: I am having trouble with intermittent audio glitchiness again. Apparently it wasn't a solution so much as an improvement.
Line 75: Line 96:
   * Ripping a *CD* (using ''%%abcde%%'') takes upwards of half an hour:idea: for some reason. On my girlfriend's computer, it takes roughly 5 minutes per CD. We swapped disc drives for unrelated reasons, and it still took half an hour on my system and about 5 minutes on her system. (TODO: Try seeing if it's reproducible on other OSes on my system.)   * Ripping a *CD* (using ''%%abcde%%'') takes upwards of half an hour:idea: for some reason. On my girlfriend's computer, it takes roughly 5 minutes per CD. We swapped disc drives for unrelated reasons, and it still took half an hour on my system and about 5 minutes on her system. (TODO: Try seeing if it's reproducible on other OSes on my system.)
  
-===== Things I'd Like Ports/Packages For =====+===== Ports/Packages That Are Missing Or Outdated ===== 
 + 
 +These ports either don't exist, or are outdated enough that it caused me problems:
  
-  * [[https://github.com/Xfennec/progress|progress]] +  * [[https://github.com/Xfennec/progress|progress]] &mdash; no port/package. 
-  * [[https://discord.com/|Discord]]+  * [[https://discord.com/|Discord]] &mdash; proper port/package is missing, but usable via web browser. 
 +  * [[https://odamex.net/|Odamex]] &mdash; latest version as of 2023-01-18 is 10.3.0. [[https://www.freshports.org/games/odamex/|version in ports]] is 0.7.0, which is multiple years old.
  
-===== Things From The Above List That Got Ports/Packages =====+These ports were previously nonexistent or outdated, but are now both existent up-to-date enough that it doesn't cause me issues:
  
-  * [[https://www.signal.org/|Signal]] +  * [[https://www.signal.org/|Signal]] &mdash; now available as ''%%signal-desktop%%'' 
-  * [[https://github.com/postmodern/ruby-install|ruby-install]]+  * [[https://github.com/postmodern/ruby-install|ruby-install]] &mdash; now up-to-date
  
 ---- ----
  • duckinator.1674023059.txt.gz
  • Last modified: 2023/01/18 06:24
  • by duckinator