promitheas

joined 2 years ago
[–] promitheas 1 points 1 day ago

I think it might actually be just turning the display off now that you mention it. Here are the xfce4-power-manager settings I have for the display:

https://i.imgur.com/ZRlnhKt.png

 

Hey guys, up to a few days ago it was working fine, i.e. it wouldn't go to sleep ever. But probably some update or something else changed and now after 13 minutes my pc goes to sleep.

I read the power management/suspend page in the arch wiki, and now have the following:

# /etc/systemd/sleep.conf
[Sleep]
AllowSuspend=no
AllowHibernation=no
AllowSuspendThenHibernate=no
AllowHybridSleep=no

as well as:

# /etc/systemd/logind.conf
[Login]
HandleSuspendKey=suspend
IdleAction=ignore
IdleActionSec=0

(that last one I dont remember where I got it from)

I tried masking systemd targets, but after waiting without touching anything it still went to sleep after 12-13 minutes.

$ systemctl mask sleep.target suspend.target hibernate.target hybrid-sleep.target

Notice in the command below I have xfce4-power-manager (though it looks different than on my laptop) but I dont see it in control of sleep itself, but rather upower and NetworkManager control sleep.

$ systemd-inhibit
WHO                 UID  USER PID  COMM            WHAT                                                                       WHY                                       MODE
NetworkManager      0    root 734  NetworkManager  sleep                                                                      NetworkManager needs to turn off networks delay
UPower              0    root 1149 upowerd         sleep                                                                      Pause device polling                      delay
xfce4-power-manager 1000 user 1053 xfce4-power-man handle-power-key:handle-suspend-key:handle-hibernate-key:handle-lid-switch xfce4-power-manager handles these events  block

3 inhibitors listed.

I looked at the manual for upower as well as its wiki page but couldn't see anything about enabling/disabling/handling suspends in any way and after further reading it seems it doesn't directly handle suspends/hibernates, just informs stuff like systemd about power levels and such.

As for NetworkManager, does it really have the ability to force a suspend?

It gets really annoying when trying to watch a movie, or when I'm afk in a game but still want to keep an eye on it.

Can anyone please help me? Thanks in advance!

System info: Kernel: 6.12.10-arch1-1 DE/WM: bspwm

Edit: Checked both BIOS settings (Couldn't find anything related to power saving) and the settings for the monitors themselves (no power saving features there either). How would I check to see if it is indeed just the monitors going to sleep, and by extension how would I fix it?

My MoBo: ASUS ROG STRIX B550-F Gaming

[–] promitheas 4 points 4 days ago

I most certainly do not know how this specific thing is xD

I will say however, you took the saying "Improvise, Adapt, Overcome" to heart haha

 

Should I just buy the cheapest PS3 Eye camera from ebay and see whether I get the flat lens or round lens, and proceed accordingly?

Its a real hassle to determine if its a flat or round lens from the photos people upload on ebay, as they're not very good quality.

Edit: I found a really cheap one on ebay which was at auction and got the highest bid (it was a little over 4 euro with another 4 shipping, so honestly not bad at all). When it arrives I'll try out the steps in the video and report back here I guess. Hopefully it can help people when buying these cameras to not struggle looking for the rounded lenses and worry that if they dont get that one they cant do their project.

[–] promitheas 5 points 4 days ago

Thanks for the info! It would be good to be aware of the term

[–] promitheas 8 points 4 days ago (2 children)

Just a sidenote about ntfs & ext4.

ntfs doesnt require defragmentation on SSDs, and it actually might lower the lifespan of your SSD because of the increase in unnecessary read/writes.

ext4 IIRC works just fine as long as your drive is at most 90% full and you keep that last 10% free.

Its been a while since i read up on that fact about ext4 so someone more experienced can correct me if im wrong

[–] promitheas 7 points 4 days ago (3 children)

You've done what now?

[–] promitheas 12 points 4 days ago (3 children)

Whats alt-tech?

 
[–] promitheas 16 points 3 weeks ago (2 children)

After the situation with his former employee (i forget her name) coming out and exposing how toxic of a work environment that company is, i completely stopped watching (not that i was a regular viewer before) and do not give their vids the slightest bit of my time

[–] promitheas 5 points 3 weeks ago

I scripted something similar for my bspwm setup. They are useful

[–] promitheas 5 points 3 weeks ago (1 children)

Because thats what you've been brainwashed to think the world wants, so thats what you hear

[–] promitheas 6 points 3 weeks ago

Will install it now and check it out. Ill save this thread so i can give feedback in the future :)

[–] promitheas 1 points 1 month ago

Thanks! I just joined and registered on the server. It will be good to have that available :)

[–] promitheas 1 points 1 month ago

Please could you guide me through that? How would I check that its set to e1000? I looked at the xml and and the model type is e1000, but again, I'm not sure im looking in the right place. Up to now I have been rawdogging qemu, so im not that familiar with virt-manager

 

Hello everyone! I recently decided to reignite my passion for learning about kernel development, so I printed out the third edition of Linux Device Drivers by J. Corbet + others. In the book it is stated that they assume you have the 2.6.10 kernel. I decided to set up a virtual machine using virt-manager so that I can work through most of the book (I realise VMs dont allow for many things when developing drivers, where physical access to hardware is required, but its the best option for now until I can get a RPi or something else).

I decided to go with Ubuntu Dapper Drake, as it has a kernel version pretty close to what is used in the book, so I figured there wouldn't be much friction when trying to install the specific 2.6.10 version (Dapper Drake is on 2.6.15, at least the one I got). However, I am encountering an issue with my networking. I have set up the NAT bridge from my regular WIFI internet connection to my virtual machines, set my dapper drake installation to use that in the NIC settings, but it doesnt connect.

Here are some commands and their output from the guest OS:

$ ifconfig -a
lo
<loopback information yada yada>

sit0
<yada yada>

$ lspci | grep -i ethernet
0000:01:00.0 Ethernet controller: Unknown device 1af4:1041 (rev 01)

The second command's output leads me to believe that a device is detected but the OS doesnt know what to do with it because I dont have the virtio drivers for networking installed.

I've searched everywhere for a way to download them either as source or as a .deb package so I can transfer them to the guest OS using a disk drive I will create, but I cant find them anywhere. Everywhere I look, everyone says that for linux they are already included in the kernel (might not be true for the distribution I have as a guest).

So here is my question(s) finally: Where can I find virtio-tools either as a .deb package or as source with instruction to build on a distribution of around the age of dapper drake, or if there is another way and I am wrongly fixated on this, how can I set up networking by passing through my regular internet from the host to the guest, so that I can use stuff like github to write the driver code on my host and easily transfer it to the guest for compilation/testing?

Please be gentle. Dapper drake released around 2006 and it wasn't until 2016 when I first used linux in any form, so I am used to a little more quality of life in my distributions xD /j

As always, many thanks in advance to everyone taking time to answer :)

 
 

Hello everyone! I have this issue with my steam on arch linux where it takes about 5 minutes and sometimes more to start, then I keep getting connection errors when trying to sign in. Ive opened an issue on the github page you can read for more details (logs etc)

Basically now I'm wondering if I should just reinstall steam and see if that fixes it. Here is the situation though. I have a steam library in my /home partition, as well as on a separate hard drive which is always mounted. I have copied the steamapps directory from the home side of things to a temporary location, so I assume if I reinstall and copy it back I should have all my games and stuff set up exactly as they were before the issue? Also, do I need to backup the steamapps directory from the hard drive which is separate to /home?

The reason I'm so hesitant to just wipe everything and reinstall, is because I spent a good couple of weeks trying to get Silent Hunter 3 set up with steamtinkerlaunch, and even on release it was quite a finnicky game, let alone 20-something years later on linux running through proton, and now I have it at a point where it works.

Anyway, I would love some help, so thanks in advance!

P.s. Updating system didn't solve issue

Just checked, and I have all the dependencies listed on the package page satisfied in some form. Now, whether some version is slightly outdated, I don't know how to check

Reinstalling steam doesn't seem to fix the issue.

pacman -R steam-native-runtime steam
pacman -S steam

When launching from the terminal again I get the same output. The 2 lines that stand out are the following:

src/clientdll/steamengine.cpp (2773) : Assertion Failed: CSteamEngine::BMainLoop appears to have stalled > 15 seconds without event signalled
src/clientdll/steamengine.cpp (2773) : Assertion Failed: CSteamEngine::BMainLoop appears to have stalled > 15 seconds without event signalled

Any ideas how I can troubleshoot this?

[SOLUTION] I had to run

pacman -Syu steam

which seems to have also installed a package called lsb-release

Im not sure why running a full system upgrade and also uninstalling and reinstalling steam didn't also grab this package when I did those, but there you go. I do a full system update by simply running yay as to my understanding that is the same as running yay -Syu but it first runs pacman -Syu. If anyone could provide some insight into why that might be I would appreciate that so I can learn from this experience. Thanks again everyone who tried to help!

 

Hello guys!

I want to completely remove qemu and all its optional packages. I went about removing most of them, but now I have this list of packages still installed:

$ pacman -Q | grep qemu
qemu-base 9.1.2-1
qemu-common 9.1.2-1
qemu-img 9.1.2-1
qemu-system-x86 9.1.2-1
qemu-system-x86-firmware 9.1.2-1

If I try to remove them with pacman -R <list of those package> I get the following message:

checking dependencies...
error: failed to prepare transaction (could not satisfy dependencies)
:: removing qemu-base breaks dependency 'qemu' required by libguestfs
 -> exit status 1

When I add libguestfs to that list, I get the following output:

pacman -R qemu-base qemu-common qemu-img qemu-system-x86 qemu-system-x86-firmware libguestfs
checking dependencies...
:: e2fsprogs optionally requires lvm2: for e2scrub
:: grub optionally requires dosfstools: For grub-mkrescue FAT FS and EFI support
:: grub optionally requires lzop: For grub-mkrescue LZO support
:: grub optionally requires mtools: For grub-mkrescue FAT FS support
:: htop optionally requires strace: attach to a running process
:: libblockdev-fs optionally requires btrfs-progs: for BTRFS filesystem support
:: libblockdev-fs optionally requires dosfstools: for VFAT filesystem support
:: libblockdev-fs optionally requires exfatprogs: for exFAT filesystem support
:: libblockdev-fs optionally requires f2fs-tools: for F2FS filesystem support
:: libblockdev-fs optionally requires nilfs-utils: for nilfs filesystem support
:: libblockdev-fs optionally requires xfsprogs: for XFS filesystem support
:: libvirt optionally requires lvm2: Logical Volume Manager support
:: libvirt optionally requires qemu-base: QEMU/KVM support
:: mkinitcpio optionally requires lzop: Use lzo compression for the initramfs image
:: reflector optionally requires rsync: rate rsync mirrors
:: steamtinkerlaunch optionally requires rsync: optional for backing up steamuser files from proton games
:: steamtinkerlaunch optionally requires strace: write a strace log of the launched game
:: udisks2 optionally requires btrfs-progs: for BTRFS support in libblockdev-fs
:: udisks2 optionally requires dosfstools: for FAT support in libblockdev-fs
:: udisks2 optionally requires exfatprogs: for exFAT support in libblockdev-fs
:: udisks2 optionally requires f2fs-tools: for F2FS support in libblockdev-fs
:: udisks2 optionally requires nilfs-utils: for NILFS support in libblockdev-fs
:: udisks2 optionally requires xfsprogs: for XFS support in libblockdev-fs

Packages (50) augeas-1.14.1-3  btrfs-progs-6.11-1  capstone-5.0.3-1  debootstrap-1.0.137-1  distro-info-1.10-1  distro-info-data-0.63-1  dosfstools-4.2-5  dtc-1.7.2-1  edk2-ovmf-202411-1  exfatprogs-1.2.6-1  f2fs-tools-1.16.0-3  gptfdisk-1.0.10-1  hivex-1.3.23-10
              iniparser-4.2.4-1  jfsutils-1.1.15-9  libewf-20140816-1  libldm-0.2.5-3  libslirp-4.8.0-1  libtraceevent-1:1.8.4-1  libtracefs-1.8.1-1  libxdp-1.4.3-1  lrzip-0.651-3  lsscsi-0.32-2  lvm2-2.03.28-1  lzop-1.04-4  mtools-1:4.0.46-1
              multipath-tools-0.10.0-1  ndctl-79-1  nilfs-utils-2.2.11-1  perl-libintl-perl-1.33-4  rsync-3.3.0-2  seabios-1.16.3-1  sleuthkit-4.12.1-3  squashfs-tools-4.6.1-2  strace-6.12-1  supermin-5.3.5-1  sysfsutils-2.1.1-2  syslinux-6.04.pre3.r3.g05ac953c-3
              thin-provisioning-tools-1.1.0-1  vde2-2.3.3-5  virtiofsd-1.13.0-1  wolfssl-5.7.4-1  xfsprogs-6.11.0-1  yara-4.5.1-1  libguestfs-1.54.0-1  qemu-base-9.1.2-1  qemu-common-9.1.2-1  qemu-img-9.1.2-1  qemu-system-x86-9.1.2-1  qemu-system-x86-firmware-9.1.2-1

Total Removed Size:  208.05 MiB

:: Do you want to remove these packages? [Y/n] n
 -> exit status 1

I'm seeing stuff in there about grub and some other packages I definitely DO NOT want to remove, so I'm wondering how I can proceed.

Thanks in advance!

 

Hello everyone!

So I installed BetterF3 using their .jar all-in-one installer and tweaked some of the settings to get my F3 to look how I want it, but after when I installed Complementary Shaders using their all-in-one .jar installer, it created a separate Iris & Sodium option in my minecraft launcher. I didnt think much of it as it is also installing fabric, so I thought my BetterF3 mod in my .minecraft/mods directory would be loaded automatically, but thats not the case.

The game looks amazing with the shader so I want to keep that on, but I also want my nice looking F3 menu back. How can i do that?

Thanks in advance!

P.s. In the image I attached, 1 is the fabric installation made with the BetterF3 installer, and 2 is the one made with the Complementary Shaders installer.

 

[SOLUTION AT END OF POST]

Hello again. A few days ago I made the post in the link above which is about getting Silent Hunter 3 working with the LSH3 megamod, and I got a great answer in there to use steamtinkerlaunch to run separate executables just once (e.g. to install JSGME mod manager and to install the actual megamod LSH3).

After playing for a bit I decided I want a little more control over what mods are installed, and decided to switch to the GWX megamod, so I completely uninstalled SH3 and its folder in the steamapps/common folder, and reinstalled it cleanly. Then using wine I ran the 4GB patch so that the game would use 4GB instead of 2GB memory which is required for running many mods. The memory usage can get quite high. After that I loaded all my desired mods with JSGME.

The game starts fine, and I can do all the training missions and the single missions, but I cant start a campaign. After the loading bar for entering a campaign patrol fills up, there is a delay of a couple minutes (normal for GWX as during that stage it is loading all its mods and any other mods you have enabled), and then crashes to desktop. This clearly means that it is running out of memory while loading mods. However after running the patcher to increase the memory limit of the executable I get a new sh3.exe file and my original gets renamed to sh3.exe.Backup, which seems to show that the patch has been applied correctly.

Could anyone help me diagnose this issue please?

Thanks in advance!

Edit 1 (SOLUTION): So what ended up working for me was simply making the game run using proton 6.3-8. I did try version 4.3 as well, but that didnt seem to be working that well with the widegui mod I have. Thanks to all who gave suggestions!

Edit 2: Editing to add 2 more things to the solution. Because of frequent crashes while in the career patrol, I ended up lowering the Particle Density to 90 and also do not create any saves while out on patrol. Not sure which of the two actually stopped the crashing, but so far I've played for about 20 hours with no crash.

 

Hello guys! Recently re watched Das Boot (amazing film btw for those who haven't seen it, highly recommend) and that inspired me to install my SH3 from steam. The thing is its the first time I'm going to be playing on Linux, and I'm a bit stumped on how I can install the LSH3 supermod. The instructions for the 2022 version of LSH3 state that you simply run the provided .exe (due to this being steam proton I placed it in the game directory but this doesn't seem to be required) and run it. However I can't seem to figure out how I can use an existing proton environment to run an executable which is not the actual steam game for that environment. Can anybody help with this?

As a bonus question, because this game is quite old there are quite a few mods available for it, and the best way to activate them after downloading (on windows at least) is through JSGME. However I also cant figure out how to install that in the game directory. I have downloaded its installer but dont know how to actually run it.

I have included the link to the LSH3 2022 install manual as well as a screenshot of my game directory with files related to this post circled.

Any insight would be amazing!

8
submitted 5 months ago* (last edited 5 months ago) by promitheas to c/[email protected]
 

Hey everyone. Im trying to get into wormhole pvp as a hunter, and today I spent pretty much all day going down a chain with no explorers sited. I even spent a few hours camped at the wormhole to a HS system 4 or so jumps from Jita. The only people I saw were a few capsules, some cruisers in a fleet (probably defending their home), and a buzzard. I would jump to my perches on any relic or data site often, but there was no one. Am i doing something wrong?

Thanks!

view more: next ›