mranderson17

joined 1 year ago
[–] mranderson17@infosec.pub 1 points 1 week ago* (last edited 1 week ago) (1 children)

the qobuz webapp is hi-res too, I just use it in Firefox and my dac reports the same bit/sample rate that qobuz does. AFAIK there's no compression there though I haven't extensively verified that, only that the end result is 24bit/192kHz if that's what qobuz says is playing.

EDIT: Also, qobuz is nice because there's very few things you can click on in the web interface which cause the music to stop playing. I really appreciate that feature.... looking at you bandcamp....

[–] mranderson17@infosec.pub 2 points 3 weeks ago (1 children)

Ah, I should have been more clear. The CRITERIA section of the sway documentation states that class matches support regex, so instead of using a * as you did in your example you'd use a regex any .*. So I think (untested of course) that for_window [class="steam_app_.*"] allow_tearing yes should work.

The comment in the code for allow_tearing notes that it must be enabled on the output as well. Here is the relevant output documentation. There are several other notes/recommendations there as well you should probably pay attention to.

[–] mranderson17@infosec.pub 1 points 3 weeks ago* (last edited 3 weeks ago) (3 children)

Are your games all wine/proton games? For me in sway they all have the same class followed by some uid thing:

] > swaymsg -t get_tree
[...]
  #92: output "DP-5"
    #70: workspace "21"
      #126: con "Automobilista 2" (xwayland, pid: 171976, instance: "steam_app_1066890", class: "steam_app_1066890", X11 window: 0x5400001)

Or gamescope:

] > swaymsg -t get_tree
[...]
  #92: output "DP-5"
    #70: workspace "21"
      #124: con "Assetto Corsa" (xdg_shell, pid: 170694, app_id: "gamescope")

EDIT: Also allow_tearing was added to master 3 weeks ago, so this is definitely not in the current release. FYI to anyone who might try it.

[–] mranderson17@infosec.pub 18 points 1 month ago

Or add EA anti-cheat 6 months after release like they did for EA WRC.

[–] mranderson17@infosec.pub 1 points 1 month ago

Yeah, it changes without skipping a beat for me in pipewire, even in things like zoom/teams.

[–] mranderson17@infosec.pub 6 points 1 month ago (2 children)

I use a little oneliner with tofi (rofi/wofi would also work) to select the current output and avoid pavucontrol. It's mapped to a sway binding but would probably work in any wm/de:

pactl set-default-sink $(pactl list short sinks |awk '{print $2}' |tofi $tofi_args)

I'm using pipewire so the functionality of pactl is actually provided through pipewire-pulse I think

[–] mranderson17@infosec.pub 3 points 2 months ago* (last edited 2 months ago)

The SQLite database is encrypted, though there was a period of time where it wasn't I think which may persist if your DB is older, but the key is stored right next to it on the filesystem. Signal desktop doesn't use your keyring or any of the other available methods to unlock it's database which is why you don't have to enter anything when starting the application, and why you can move it between machines by simply copying the .config/Signal dir. So while they are "encrypted", it's effectively clear text if you have access to the directory the database is stored in.

[–] mranderson17@infosec.pub 1 points 2 months ago

Interesting, it is working for me in wayland and the drop down menus are fine but I'm using sway which is a totally different wayland implementation than what KDE is doing. I'm glad you found a workaround.

[–] mranderson17@infosec.pub 9 points 2 months ago* (last edited 2 months ago) (2 children)

Unfortunately I don't know what is causing the exact issue you are having, however here are a few things I found when doing this myself that are "gotchas" (not immediately obvious).

  1. This is the reason your fonts are all Times New Roman. Go to that key using protontricks regedit and delete all the font replacements.

  2. Anything you put in $HOME/.steam/root/steamapps/common/assettocorsa stays there, even if you uninstall the game. If you want to "start over" you have to uninstall the game and then delete the whole assettocorsa directory there, and the wine prefix in $HOME/.steam/root/steamapps/compatdata/244210

  3. AC and content manager work without .net changes in the latest GE but you do need corefonts which you can install with protontricks. If you want to be extra sure you have the right .net you can install dotnet472 but I don't believe this is necessary anymore as it will be installed automatically or is already installed. You may get a wine .net error the first time you launch the game but it's only the first time.

  4. If you choose to use CSP you have to unzip the archive you get from either Patreon or acstuff.ru and manually copy the dwrite.dll file into $HOME/.steam/root/steamapps/common/assettocorsa on EVERY upgrade. The zip installer built into CM doesn't do this correctly on Linux. It will cause rain not to work if you choose to use the Patreon version if you don't do this manual step.

I think you should start over and make sure the assettocorsa directory is clean before re-installing the game. It could be missing fonts, but it's hard to say. You can back it up somewhere if you have data in there you need.

[–] mranderson17@infosec.pub 6 points 3 months ago

Does Bazzite use a gamescope session on wayland by default? Gamescope has a bug which prevents the wayland client from drawing the steam overlay. I suppose it's unlikely to be the same issue but I happen to be dealing with it on my system (not Bazzite) so I immediately made the connection.

[–] mranderson17@infosec.pub 8 points 3 months ago* (last edited 3 months ago) (1 children)

What version of kde? I haven't tried it, or read about it beyond the changelog, however the latest beta release says that it supports RDP to connect to plasma desktops which is quite an interesting development if it works the way it sounds like it does:

Remote Desktop system integration to allow RDP clients to connect to Plasma desktops, plus a new page in System Settings for configuring this

For the "from anywhere" component you could use a vpn, but if you're looking for a simple solution with zero configuration than nomachine or rustdesk seem more appropriate. Just thought the RDP support was worth sharing.

[–] mranderson17@infosec.pub 7 points 5 months ago (1 children)

So, I'm not sure if the process has changed in the last decade or so but in a long-ago computer forensics class step 0, before all else, was to never operate data recovery on the original disk. Create a block level image of the entire device, then work on that.

My go to steps for recovery have been the following in the years since:

  1. create an image of the entire disk (not a partition) using ddrescue ddrescue -d /dev/sdX <path_to_image>.img
  2. Run test disk on it selecting the partitions as necessary testdisk <path_to_image>.img

If the disk has a complicated partition layout, or more effort is required to find the correct partition you can also mount parts of the disk.

  1. create an image of the entire disk (not a partition) using ddrescue

    ddrescue -d /dev/sdX <path_to_image>.img

  2. Mount the image as a loopback device with the appropriate offset

    losetup --offset <some_offset_like_8192> --show -v -r -f -P <path_to_image>.img this will mount individual partitions:

    loop58        7:58   0 465.8G  1 loop
    ├─loop58p1  259:7    0   1.5G  1 part
    ├─loop58p2  259:8    0 450.6G  1 part
    └─loop58p3  259:9    0  13.7G  1 part
    
  3. Then operate testdisk on whatever partition you want.

All that said there are a lot of variables here and things don't always work perfectly. I hope you do find a way to recover them.

view more: next ›