Skip to main content
Recent Posts
51
Applications & Software / Is it possibly to reduce disk space used by gnugpg cache - in some simple way?
Last post by wanwalk -
Hi there!

My gnugpg cache is using 2.2 GBs. Can I somehow reuse some of that space without engaging in too advanced stuff?

I am pressed between not too much disk space on a side and too little time for system management on the other.

Willing to face consequences :-)

Like wiping some OS from my hard disk in order to make more space available,  and it would NOT be Artix!  That is may main distro.
53
Applications & Software / Re: How package edl
Last post by gripped -
I'm pretty sure venv's shouldn't be used in PKGBUILD's ?
Instead you should be creating extra packages, where dependencies cannot be met from current repo's (or the AUR).

There is a edl-git package on the AUR.

The dependencies on the AUR webpage state
Quote
python (python37AUR, python311AUR, python310AUR)
As the package is fairly up to date and claims a requirement for older python versions that suggest to me it's likely that it (or an AUR dep)  doesn't work with 3.12.
Which seems to be what you are encountering ?
54
Forum / Swap shows 0 Kb. But created 9 GB partition as swap durin Artix runit install
Last post by pbs_mhl -
Code: [Select]
sudo fdisk -l
gives below output
Disk /dev/nvme0n1: 476.94 GiB, 512110190592 bytes, 1000215216 sectors
Disk model: WD PC SN740 SDDQMQD-512G-1201          
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: A6166BDD-953B-482F-95EC-991AABD87B18

Device            Start        End   Sectors   Size Type
/dev/nvme0n1p1     2048    1050623   1048576   512M EFI System
/dev/nvme0n1p2  1050624   19924991  18874368     9G Linux swap
/dev/nvme0n1p3 19924992 1000206866 980281875 467.4G Linux filesystem

but htop shows no swap 0K/0K

Please help to resolve ? This is first time fresh installation, I have setup many useful application and then noticed there is no swap.

Note: This is on Artix with runit on KDE plasma
55
Applications & Software / experimenting with lxqt 2.1
Last post by replabrobin -
I used latest lxqt-runit iso and made a vm. After that lxqt opened in X11 mode. I updated packages in the vm and latest lxqt was installed ie version 2.1.

After reboot the 2.1 version was working fine and I was able to configure it mostly. Thei is X11 version. I was able to get the panel almost like I prefer. Seems lxqt-panel always leaves a small window height in place even when autohiding. I was able to remove the grey line by using my standard background colur and setting opacity==1. I was not able (as yet) to change the tasks background to match so my buttons still have a grep bg.

To get a wayland session I had to install labwc from AUR and the arch linux package lxqt-wayland-session. Neither of these require systemd, but build from aur rquires that base-devel is present.

After this I rebooted and see that the sddm login now has extra sessions labwc and LXQt (wayland).

The labwc session is completely minimal it just has a primitive right button menu with options Reconfigure and Exit. I imagine it can be used to setup an openbox style configuration.

The LXQt (Wayland) session works pretty well and seemed to be identical in layout and operation of the panel/taskbar and styling.

It seems that the lxqt-panel can show the gvim icon etc in wayland, I suppose that's because of gtk3, but I am not an expert.

This is the best experience I've had so far with wayland. However, I imagine it will be hard to duplicate my openbox setup as it's using older gtk styles.

I forgot to say that intially the wayland session would not start, I think that's because the autostart was trying to iuse connman which I don't think is installed in lxqt-runit by default. At login there was a session configuration window shown.
56
Applications & Software / Re: How package edl
Last post by kiblaster -
From https://github.com/bkerler/edl/issues/550#issuecomment-2131498616:
Quote
instead of "sudo python setup.py install"

just do "sudo pip3 install edl"

(I had to 'sudo pip3 install timecode' before it worked, but probably only because im mixing sudo and venvs)
Using venv it worked.
I had to install timecode and setuptools.
Not sure to how you do in the package.

Edit: when I ran edl it was missing pylzma and when I tried to install it with pip I had the same error:
Code: [Select]
src/pylzma/pylzma_aes.c:158:5: error: initialization of ‘long int’ from ‘void *’ makes integer from pointer without a cast [-Wint-conversion]
57
Applications & Software / How package edl
Last post by kiblaster -
https://github.com/bkerler/edl
It installs some files that I'd like to keep tracked.

Code: [Select]
git clone https://github.com/bkerler/edl.git
cd edl
git submodule update --init --recursive
chmod +x ./install-linux-edl-drivers.sh
bash ./install-linux-edl-drivers.sh
python3 setup.py build
sudo python3 setup.py install

I made initial package with makedeps from requirements.txt no idea about the deps.
A script "install-linux-edl-drivers.sh" installs a bunch of udev rules.
I noticed that setup.py installs conflicting files with the one makedep from the AUR:

Code: [Select]
pacman -Ql python-exscript  | grep bin
python-exscript /usr/bin/
python-exscript /usr/bin/exscript
python-exscript /usr/bin/otp

Code: [Select]
pkgname=edl	
pkgver=3.52.1
pkgrel=1
pkgdesc="Qualcomm Sahara / Firehose Attack Client / Diag Tools"
url="https://github.com/bkerler/edl"
license=(GPLv3)
arch=(any)
depends=()
makedepends=(python-wheel python-pyusb python-pyserial python-docopt python-pycryptodome python-pycryptodomex python-lxml python-colorama python-capstone python-keystone python-qrcode python-requests python-passlib python-exscript)
source=("$pkgname-$pkgver.tar.gz::https://github.com/bkerler/edl/archive/refs/tags/$pkgver.tar.gz")

build() {
  cd ${pkgname}-${pkgver}
  git submodule update --init --recursive
  python3 setup.py build
}

package() {
  cd ${pkgname}-${pkgver}
  python3 setup.py build install
  install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname
  install -Dm644 LICENSE Drivers/50-android.rules "$pkgdir"/etc/udev/rules.d/50-android.rules
  install -Dm644 LICENSE Drivers/51-edl.rules "$pkgdir"/etc/udev/rules.d/51-edl.rules
  install -Dm644 LICENSE Drivers/69-libmtp.rules "$pkgdir"/etc/udev/rules.d/69-libmtp.rules
  install -Dm644 LICENSE Drivers/blacklist-qcserial.conf "$pkgdir"/etc/modprobe.d/blacklist-qcserial.conf
}

I installed makedeps , and I cannot compile it I have this error with the head of the repo:
Code: [Select]
Searching for pylzma
Reading https://pypi.org/simple/pylzma/
Downloading https://files.pythonhosted.org/packages/03/d8/10ef072c3cd4301a65a1b762b09eefa02baf8da23b9ea77ebe9546499975/pylzma-0.5.0.tar.gz#sha256=b874172afbf37770e643bf2dc9d9b6b03eb95d8f8162e157145b3fe9e1b68a1c
Best match: pylzma 0.5.0
Processing pylzma-0.5.0.tar.gz
Writing /tmp/easy_install-i0wxkd6a/pylzma-0.5.0/setup.cfg
Running pylzma-0.5.0/setup.py -q bdist_egg --dist-dir /tmp/easy_install-i0wxkd6a/pylzma-0.5.0/egg-dist-tmp-ifbtgykb
/usr/lib/python3.12/site-packages/setuptools/_distutils/dist.py:261: UserWarning: Unknown distribution option: 'tests_require'
  warnings.warn(msg)
/usr/lib/python3.12/site-packages/setuptools/_distutils/dist.py:261: UserWarning: Unknown distribution option: 'test_suite'
  warnings.warn(msg)
no previously-included directories found matching 'src/sdk.orig'
/usr/lib/python3.12/site-packages/setuptools/_distutils/cmd.py:66: SetuptoolsDeprecationWarning: setup.py install is deprecated.
!!

        ********************************************************************************
        Please avoid running ``setup.py`` directly.
        Instead, use pypa/build, pypa/installer or other
        standards-based tools.

        See https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html for details.
        ********************************************************************************

!!
  self.initialize_options()
/tmp/easy_install-i0wxkd6a/pylzma-0.5.0/setup.py:105: UnsupportedPlatformWarning: Multithreading is not supported on the platform "linux",
please contact [email protected] for more informations.
  warn("""\
src/pylzma/pylzma.c: In function ‘PyInit_pylzma’:
src/pylzma/pylzma.c:296:5: warning: ‘PyEval_InitThreads’ is deprecated [-Wdeprecated-declarations]
  296 |     PyEval_InitThreads();
      |     ^~~~~~~~~~~~~~~~~~
In file included from /usr/include/python3.12/Python.h:95,
                 from src/pylzma/pylzma.c:26:
/usr/include/python3.12/ceval.h:132:37: note: declared here
  132 | Py_DEPRECATED(3.9) PyAPI_FUNC(void) PyEval_InitThreads(void);
      |                                     ^~~~~~~~~~~~~~~~~~
src/pylzma/pylzma_aes.c:158:5: error: initialization of ‘long int’ from ‘void *’ makes integer from pointer without a cast [-Wint-conversion]
  158 |     NULL,                                /* printfunc  tp_print;   */
      |     ^~~~
src/pylzma/pylzma_aes.c:158:5: note: (near initialization for ‘CAESDecrypt_Type.tp_vectorcall_offset’)
error: Setup script exited with error: command '/usr/bin/gcc' failed with exit code 1

58
Applications & Software / Re: screensharing makes games unplayable
Last post by Underfed9105 -
Hmmm, at this point this seems like more of an GSP <-> nvidia-open issue, could you try installing full proprietary package and disable GSP by creating a file:
Code: [Select]
# /etc/modprobe.d/nvidia.conf
# https://download.nvidia.com/XFree86/Linux-x86_64/565.57.01/README/gsp.html
options nvidia NVreg_EnableGpuFirmware=0
It's just for a test if it changes anything, you can switch back to nvidia-open and delete that file, because that'd mean it's just wayland shenanigans, and if it is actually a wayland issue then I'm out of ideas...

Also I'm not sure what 18 as a value means here, and from the what I got on reddit it seems like it forces GSP firmware to be always active in this mode on nvidia-open, so that's why I recommend trying going with nvidia-dkms instead.

Marking this one as offtopic, because it's performance related and just what I noticed on my GTX 1060:
Spoiler (click to show/hide)

I swapped to nvidia-dkms instead of nvidia-open-dkms and added the nvidia.conf file with "options nvidia NVreg_EnableGpuFirmware=0" in the /etc/modprobe.d/ directory and the issue still persists, Thanks for trying at least.
59
Applications & Software / Re: screensharing makes games unplayable
Last post by Shoun2137 -
Hmmm, at this point this seems like more of an GSP <-> nvidia-open issue, could you try installing full proprietary package and disable GSP by creating a file:
Code: [Select]
# /etc/modprobe.d/nvidia.conf
# https://download.nvidia.com/XFree86/Linux-x86_64/565.57.01/README/gsp.html
options nvidia NVreg_EnableGpuFirmware=0
It's just for a test if it changes anything, you can switch back to nvidia-open and delete that file, because that'd mean it's just wayland shenanigans, and if it is actually a wayland issue then I'm out of ideas...

Also I'm not sure what 18 as a value means here, and from the what I got on reddit it seems like it forces GSP firmware to be always active in this mode on nvidia-open, so that's why I recommend trying going with nvidia-dkms instead.

Marking this one as offtopic, because it's performance related and just what I noticed on my GTX 1060:
Spoiler (click to show/hide)
60
Applications & Software / Re: screensharing makes games unplayable
Last post by Underfed9105 -
Code: [Select]
amd_iommu=on iommu=pt
This is enabled by default on any ryzen platform, so it's redundant.
You didn't provided:
cat /proc/driver/nvidia/params
and I assume you don't have anything nvidia related in /etc/modprobe.d/?
If you run pure wayland, you should route every game through valve's gamescope compositor.
cat /proc/driver/nvidia/params
Code: [Select]
ResmanDebugLevel: 4294967295
RmLogonRC: 1
ModifyDeviceFiles: 1
DeviceFileUID: 0
DeviceFileGID: 0
DeviceFileMode: 438
InitializeSystemMemoryAllocations: 1
UsePageAttributeTable: 4294967295
EnableMSI: 1
EnablePCIeGen3: 0
MemoryPoolSize: 0
KMallocHeapMaxSize: 0
VMallocHeapMaxSize: 0
IgnoreMMIOCheck: 0
TCEBypassMode: 0
EnableStreamMemOPs: 0
EnableUserNUMAManagement: 1
NvLinkDisable: 0
RmProfilingAdminOnly: 1
PreserveVideoMemoryAllocations: 1
EnableS0ixPowerManagement: 0
S0ixPowerManagementVideoMemoryThreshold: 256
DynamicPowerManagement: 3
DynamicPowerManagementVideoMemoryThreshold: 200
RegisterPCIDriver: 1
EnablePCIERelaxedOrderingMode: 0
EnableResizableBar: 0
EnableGpuFirmware: 18
EnableGpuFirmwareLogs: 2
RmNvlinkBandwidthLinkCount: 0
EnableDbgBreakpoint: 0
OpenRmEnableUnsupportedGpus: 1
DmaRemapPeerMmio: 1
ImexChannelCount: 2048
CreateImexChannel0: 0
RegistryDwords: ""
RegistryDwordsPerDevice: ""
RmMsg: ""
GpuBlacklist: ""
TemporaryFilePath: "/var/tmp"
ExcludedGpus: ""

yes, /etc/modprobe.d/ is completely empty.

I would like this issue fixed without having to use gamescope since when I don't screenshare games work perfectly fine without gamescope and I get around a 20% performance loss when using gamescope.