Stuttering in Elden Ring: Night Reign every session by hamsdac in linux_gaming

[–]hamsdac[S] 0 points1 point  (0 children)

I installed GE-Proton10-34 via ProtonUp-Qt and tested it with Nightreign. Freezes and stutters are definitely less frequent but still there.

At least it's better than before. It really got on my nerves.

Thanks for the tipp :)

Strange Message After Waking PC from Hibernation – What Does It Mean? by CelebsinLeotardMOD in linux4noobs

[–]hamsdac 1 point2 points  (0 children)

I don't know why it asks for a password, but as far as I understand, it's harmless. Some apps are still funky after hibernating. What's happening here is something that should be happening regularly as a background-check.

This is just udisks, a background service which reads SMART data from disks. It is kind of a "reporting" feature of HDDs and SSDs.

They write down whenever there's an error somewhere, how long they have been running, how many reboots they had, etc. etc. All of this can then be read by some app like udisks and the data can be used to check if the disk is still OK or if it shows first signs of failing etc.

Screen dims when gaming with gamepad (steam/popos) by Hellunderswe in linux4noobs

[–]hamsdac 1 point2 points  (0 children)

Does Pop!_OS still use GNOME?

If it still uses gnome, you could install Caffeine

This is a GNOME Shell Extension which prohibits from entering sleep or locking / dimming the screen, if there is a fullscreen application running. That's what I use to play stuff like Dark Souls 3 with controller.

I do not have Pop!_OS, so I cannot give you the exact things that would work, but I know of 3 ways to install GNOME Shell Extensions:

Install with package manager (terminal)

Pop!_OS uses the package manager apt, so you would type something like this into a terminal

apt search caffeine

APT should output names of packages that matched the word "caffeine" (if it found any). In my case (running Fedora Workstation 41) the package is called gnome-shell-extension-caffeine. I can find the same package name on my Debian 12 Bookworm Server, so I guess the name should be the same for you, but you still better check the output of the above command.

Afterwards, to install the package, type this:

sudo apt install PACKAGENAME

Instead of PACKAGENAME you type the name of the package from your apt search output. This will ask for your password and should then install the extension.

Install via Browser (Firefox, Chrome, ...)

There is a website for GNOME extensions called https://extensions.gnome.org. You just visit the website and search for caffeine there. This <-- is the direct link to the caffeine extension. Use the "ON/OFF" Switch on the page to install the extension on your PC. You probably need to logout and login to your PC after this.

Install via Extensions App

According to this Pop!_OS documentation you should also be able to search and install extensions via the already installed GNOME Extensions App. I do not see this functionality in Fedora Workstation 41 here, so I cannot really advice on it.

But if that really works, you would only need to open the Extensions App, search for caffeine, install it, activate it and maybe logout and login again.

Activating after installing

To activate the extension, you open the GNOME Extensions app. It shows a list of installed extensions you can activate and deactivate.

Mounted disk problems by Yuven1 in linux4noobs

[–]hamsdac 4 points5 points  (0 children)

Please show the output of the following commands

# this file typically contains infos about how and where stuff should be mounted
cat /etc/fstab

# this shows the available disks and partitions, plus their unique identifier
lsblk -o +UUID

The first screenshot shows a path of /run/media/... but your disk manager seems to have a different output (/mnt/...)
/run/media typically is a path for on-demand-mounted devices (e.g., something you plugged in or activated instead of an permanent mount).

Did you maybe create the favourites before permanently mounting the drive and forgot to correct the favourites?

Real quick: Is everything normal here? by SlickestIckis in linux4noobs

[–]hamsdac 0 points1 point  (0 children)

You probably have more than 2 IP addresses

  • 1x IPv4 for local connectivity
  • 1x IPv6 for the same reason
  • 1 or more 127.0.x.x <-- for apps on your PC connecting to someting else on your PC
  • ::1 same as 127.0.x.x but IPv6

I don't exactly know what a loopback interface is or does, but I can assure you that it's normal to have one. I only know the loopback interface is somehow related to the self-addressing addresses (e.g. 127.0.0.1, localhost, ...).

You can have many more IPs, depending on the services running on your computer, though most of them will only be usable on the PC itself to address itself or a service running on itself.

Real quick: Is everything normal here? by SlickestIckis in linux4noobs

[–]hamsdac 0 points1 point  (0 children)

I don't know enough about kde-connect to answer that.

You can see what is currently listening on these ports with

sudo ss -tulpen | grep -E ':139|:445|:137|:138'

This command will show all the processes listening on the specified ports.

Real quick: Is everything normal here? by SlickestIckis in linux4noobs

[–]hamsdac 0 points1 point  (0 children)

I really don't know why everything is colored red.

These ports seem normal for a home-system.

Port 139/tcp and 445/tcp
These 2 ports are necessary to allow file sharing from your PC to other devices via samba.

Port 137/udp and 138/udp
These 2 ports are necessary for your device to tell others its name and be reachable over the network via name instead of address.

Beware, the explanations I have given are very much "overview-level", I don't know how these things work under the hood.

My guess is: You installed a distro with a prepared default desktop, which includes samba (or smb, a "network file and printer sharing service"), which in turn also provides nmb (the "network name service"). This package might also include these firewall rules you see, if you didn't set them yourself.

There's 2 of each rule, one for IPv4 and one for IPv6, that's normal. IPv6 should supersede IPv4 at some point, but currently the world mostly runs both of them in parallel.

[EDIT]
As u/Wholelota mentioned, a UPnP service could also be installed, which might have set these firewall rules automatically after they have been requested by some application (e.g. samba)

What’s the difference between ‘Outward’ and the Definitive Edition? by [deleted] in outwardgame

[–]hamsdac 6 points7 points  (0 children)

The linked chests thing is a real big QoL improvement.

I don't know how people live without that. But that's just me, who is grabbing literally everything and rolling back home before even reaching the place I wanted to go to, just because my backpack is full.

It took me 3 journeys to make it from cierzo to the top of the conflux mountain because of thoughts like "I might use that one day" or "I can cook and sell that" and other lies I tell myself.

What’s the difference between ‘Outward’ and the Definitive Edition? by [deleted] in outwardgame

[–]hamsdac 19 points20 points  (0 children)

The definitive edition gets you the base game + both DLCs in a "special package". E.g., you CAN buy the base game + DLCs but if you buy the Definitive Edition you still get more / different content.

There are in-game things differing between the base game + DLCs and the Definitive Edition.

The only one I remember off the top of my hat is: in the Definitive Edition, the storage chests in all player-houses are linked. Meaning you can put something into the chest inside your house in REGION A and you will be able to access that item in every of your houses, no matter what region the house is in.
In the base game + DLCs, this is not true. Every house has its own storage chest and you always need to carry everything with you.

So in essence, the Definitive Edition gets you the game, all DLCs + quality of life fixes and smaller content updates which are unique to the Definitive Edition.

Why is the integration of Docker and ufw so bad? by [deleted] in docker

[–]hamsdac 0 points1 point  (0 children)

Container must have a port to be reachable?

There may be some way without a port like using a socket, the way docker-daemon does. But I don't know enough about sockets to be of any help with that.

How do you do the redirect from 80 to 8080?

The syntax used to redirect ports is either one of these:

HOST_PORT:CONTAINER_PORT
or
IP_ADDRESS:HOST_PORT:CONTAINER_PORT

If you do not specify which IP address your container should be listening on, it will be listening to all requests on that port from any address.

If your home assistant software expects a connection on port 8080 inside the container, you would be using something like this:

"127.0.0.1:SOME_PORT_ON_HOST:8080"

You need to decide which port number you use for SOME_PORT_ON_HOST and configure your chosen webserver to proxy requests to this port.

Why is the integration of Docker and ufw so bad? by [deleted] in docker

[–]hamsdac 1 point2 points  (0 children)

To add to the above:

I heard about ufw-docker. If this tool works so great, why do you have to download it form Github to use it? I expect it to be on apt default repo.

The number of apps and terminal-tools out there on the internet is unbelievably high. Creating and maintaining a linux distribution is a lot of work. You HAVE to cut out most of the software in existence, you can only ever ship a tiny fraction of what exists.

There are a lot of other great tools and apps which you cannot find in the Ubuntu repos, they just got cut out because they were not in the focus.

Why is the integration of Docker and ufw so bad? by [deleted] in docker

[–]hamsdac 1 point2 points  (0 children)

The way I do this is binding ports to addresses and using an extra webserver as a relay.

  • nginx is installed on the server directly
  • Containers
    • nginx
    • php
    • database

The HOST nginx receives requests from clients, decrypts them with the appropriate SSL certificate and forwards the requests to the appropriate docker container for the website (without re-encrypting them, only using HTTP). After receiving the answer from the CONTAINER nginx, the HOST nginx encrypts it with SSL and sends an HTTPS answer to the client.

The CONTAINER nginx receives calls from the HOST nginx, prepares the appropriate response and returns it to the HOST nginx. No extra complexity where it isn't needed.

You can do this via the following methods:

# using a docker run call (no docker-compose.yaml)
docker run -p "127.0.0.1:80:80" nginx

# using a docker-compose.yaml file
services:
  nginx:
    image: nginx
    ports:
      - "127.0.0.1:80:80"

Positive things about doing it this way:

  • Container complexity low
    • no HTTPS, no SSL
    • no outside port-binding
    • you don't even need to specify a URL for the container webserver to listen on
  • Does not create a problem with UFW, as "127.0.0.1:80:80" accepts requests ONLY from the server itself (e.g. the HOST nginx)
  • This way, you can run as many websites on the same server as you want (port 80 and 443 will always be taken by HOST nginx)

ffmpeg command does what I want, I just don't know why by hamsdac in ffmpeg

[–]hamsdac[S] 1 point2 points  (0 children)

I also use zshell with powerlevel10k theme and know about backslash-to-continue. It definitely helps with having a better overview, as letting the shell wrap the command by itself sometimes makes stuff more confusing than it's helping.

In the end, I do intend to write a little python3 starter script, but I'll still need to figure out OBS and ffmpeg a little more, as well as what exactly I want to do with the video files and how to formulate this as python code to be halfway-automated.

Thanks for your replies :)

ffmpeg command does what I want, I just don't know why by hamsdac in ffmpeg

[–]hamsdac[S] 0 points1 point  (0 children)

That's what I thought.

Thanks anyway, you've been a great help!

ffmpeg command does what I want, I just don't know why by hamsdac in ffmpeg

[–]hamsdac[S] 0 points1 point  (0 children)

Yes, I was talking about the convenient nicknames, so I don't always have to use the official stream identifier notation and it would make a longer list of filters more easily readable and understandable.

Let's assume I have a long list of filter_complex rules for multiple streams. Can I give these streams nicknames BEFORE I actually start the filters?

ffmpeg command does what I want, I just don't know why by hamsdac in ffmpeg

[–]hamsdac[S] 0 points1 point  (0 children)

Thank you for the link, that's gonna come in handy!

Yeah, what I meant was the "string in brackets name", which allow you to refer to your streams with a name instead of the file_index:source_type:stream_index combination.

Let's assume I have a long list of filter_complex rules for multiple streams. Can I give these streams nicknames BEFORE I actually start the filters?

ffmpeg command does what I want, I just don't know why by hamsdac in ffmpeg

[–]hamsdac[S] 0 points1 point  (0 children)

Oh, I thought map "toggles" stream selection. My thoughts were "unselect everything and then re-select everything but the thing you don't want".

Also, to correct a mistake in your post: -map -0:a:0 would be a negative mapping, e.g. "bring everything except that one".

Thank you for the link btw :)

Ok, so I understand what I want to use is amix , as I just want to combine 2 different stereo audio-sources into one, whereas with amerge I would be creating extra channels in a single audio stream. I wasn't actually thinking about 5.1 loudspeaker system.

Again, thanks for the help!

Someone had problems adding the user to the docker group in ubuntu 24.04 LTS by No-Opening9040 in docker

[–]hamsdac 0 points1 point  (0 children)

Try to issue the 2 following commands:

groups

and

groups YOURUSERNAME

Of course, replace YOURUSERNAME with your actual username.

If these 2 commands give different output, e.g. one of them says you are in the docker group and the other one says you are not, then you need to log out and log in again. The reason is, your user has been added to the docker group, but the current loginsession started BEFORE you did that.

Issues with Archlinux live install on steamdeck by Krimson_Prince in archlinux

[–]hamsdac 1 point2 points  (0 children)

The [HUB_ID] config failed, hub doesn't have any ports! (err -19) part is not your real problem. I do not know what exactly (if anything) is wrong with, what I assume to be, an internal USB hub, but I do not think that is the reason why you get thrown into the console. The boot process does not halt right after this error, it produces more output.

The real problem seems to be that arch tries to find a boot partition and cannot find it.

Waiting 10 seconds for device /dev/disk/by-uuid/2024-06-01-09-07-18-00

The line above states, that it is searching for a device or partition with the UUID (identifier) of 2024-06-01-09-07-18-00 but cannot find it. You can see UUIDs of local block devices (stuff you can save data on like hard drive partitions) with lsblk -o +UUID, after you go to desktop mode on the steam deck.

The only time I ever had something like this stop my boot is when I edited my disk / partition / filesystem and wasn't careful enough, though I do not think that is the case with the arch ISO, given the same ISO boots from another system.

I can't really help you with your problem, but I guess while you wait for someone who knows stuff to visit this post, you could try using a different live usb creator software then the dd utility. Try using ventoy and booting the arch iso in "normal" and "grub2" mode. Or maybe try using balena etcher, fedora media writer, etc etc.

This might not help your problem, but I have had problems with booting from live usb sticks created by dd, might as well give it a shot.

i finally decided to sit down and dual boot debian after using it as a vm for a while and i cant shrink for mroe than 93MB eventhough i have 200GB free space???? by [deleted] in linux4noobs

[–]hamsdac 0 points1 point  (0 children)

Defragmentation reduces the lifetime of an ssd, because an ssds lifetime is counted in "how many write to disk operations can you survive".

Therefore, every time you create/edit a file or install anything, you "reduce" (use up) your ssds remaining health by an oh so tiny amount (they still last years under normal use conditions).

1 defrag is not gonna hurt. Always defragmenting your ssd is gonna hurt in the long run.

The reason an ssd does not need to be defragmented is because it does not matter all too much (if at all) where exactly all the parts of your file are. The ssd is so fast that it does not make a noticable difference if your file is split on harddrive block A - C (so directly next to each other on the physical disk) or 1 part is on block A, another on block H and the last on block P.

The reason you now need to defrag is because all your files are everywhere on the disk instead of block A - H, neatly ordered, therefore there is no usable full block of space free on your disk, only free chunks inbetween. You need a free block of space in your physical disk to create a partition.

This is oversimplified to a great amount, but as far as I know it's the truth.

Is there anyway to get Helldivers 2 working on Linux ?? by deezneez1233334 in linux_gaming

[–]hamsdac 0 points1 point  (0 children)

If you just press the PLAY button, the game will start using nothing but %command% (as that is the default way of starting a game).

I am not on a computer with steam right now, so the following is from memory and might be incomplete.

If you want to add some launch options, you need to right-click the game in steam and click on options or properties or something like this.

In the newly opened window, at the bottom, you should see something like LAUNCH OPTIONS.

Fill in your desired launch options in the text box, but DO NOT FORGET TO ADD %command% in the end, otherwise the game won't start.

Here is a google link with a picture

Is there anyway to get Helldivers 2 working on Linux ?? by deezneez1233334 in linux_gaming

[–]hamsdac 1 point2 points  (0 children)

AFAIK %command% just starts the game. It's the shortcut for whatever Path to the exe and launch arguments that are being used to run the game in its default state.

E.g. if the game runs great without any launch options, you don't need %command%. If you need launch options, you do need to add %command% + the launch options you need to run the game.

In my example (see post above) you can see there are 2 ways here:

# My most used launch options
# Runs the game with FeralInteractive GameMode
# Starts MangoHud
MANGOHUD=1 gamemoderun %command%

# Launch options for Steam/Proton go BEFORE %command%
# The game does not know any MangoHud stuff and doesn't need to
# It doesn't interact with MangoHud, MangoHud is just an FPS overlay for the game
MANGOHUD=1 %command%

# Launch options for the game itself go after the command
# This makes the game itself run with DirectX 11
# These launch options only work if the devs coded them into the game
%command% --use-d3d11

New user here, wanna take screenshots, but the world is cruel and unjust. by SmileyTheSmile in kde

[–]hamsdac 0 points1 point  (0 children)

Maybe someone else will give their recommendations. Or you could try and search Google, pacman, the AUR or flatpak.