Not as much as I did figuring the XY.
You’re welcome! Always glad to lighten someone’s day.
Not as much as I did figuring the XY.
You’re welcome! Always glad to lighten someone’s day.
looks like I won’t be doing it, because function name --wraps
from fish has no equivalent on zsh =p but I never knew fish before this, so one more point for this thread in learning new stuff, thanks @anon71037787
Also running an older board CPU / DDR3 etc & much older TV as a monitor so it is very understandable.
Seems like most of the games you are trying to run are newer so sending a message to the developer is really the only way to get information on what is the problem without fiddling with settings; Steam support will only support Arch based linux on Steam Deck; if you talk with support they will just tell you that they do not support Linux that is not a standard Ubuntu installation (not even PopOS).
You could also try PopOS on your system in virtual box to get support help from Steam. Hope this helped more then PDB.
You can just drop it. --wraps
is only for autocomplete. If think you can port all the magic from zsh to fish, if you want. Is something holding you on zsh?
Oh, I am not talking about kernel bombs, but more so small annoyances. I got one kernel panic in my 12 years on Linux, and that was like at the very beginning on a Kubuntu, or something like that.
The kernel issues I am talking about are more like “this shouldnt happen” and “it temporarily destroys my workflow” and they were all recognized upstream, so not distro specific.
Not for me: I always look for solutions, who could satisfy me grandma. So long as something requires more understanding, that the vast majority of people already have, its a bug in my eyes.
Recoverability thanks to snapshots is awesome, and it shouldnt be needed in the first place.
Placing the stability of a system on other versions of the same software, seems minor ambitious
That is maybe the official stance. I have already worked through issues with them from the Flatpak distribution (on KaOS) and I see issues raised up from Fedora, Arch and everything else.
The official support may be limited to Ubuntu, but their Github is open to every distro.
just got used to it, I like how it does arrays and a few other bits and pieces. But nothing holding me to it, except feeling too lazy now to move all my scripts to a new shell =p
I really liked what you did there with add and remove, really nifty <3
I even hid an easter egg
I have to disagree that this code “does remove files safely” and “makes reasonable defaults about the handling of dependencies”.
function remove --wraps "pacman -Runs"
sudo pacman -Runs --noconfirm $argv
if command_failed
sudo pacman -Rcns $argv &&
if not command_failed
echo "You can always rollback to a previous state of your system, simply by selecting 'Garuda Snapshots' in the boot menu."
end
end
end
Using --noconfirm
while recursively removing packages is insane, and pacman -Rcns
is one of the most aggressive removal commands possible. The fact that you have it print out a reassuring message says it all (“you can always restore a snapshot after this command soft-bricks your computer” ).
If you actually want to make it safe and newbie-friendly, leave the dependencies out of it: pacman -R
, and if that fails pacman -Rc
. If you want to remove orphans afterward, you can use the non-recursive cleanup function from the other thread.
In my opinion that would be much safer, especially since you have it set up so the user cannot control what is happening.
I have never had problems with this.
Rcns
runs only if Runs
errors out, and asks the user for permission.
I added the statement about the rollback since I intend the command for newbies, and those might be confirming sketchy -Rcns despite the fact that they don’t know what they are doing.
So when they delete something unintentionally, they should at least know about the rollback functionality. And they can control, if they are going to run Rcns
as the system asks them.
I found much more stress and annoyance with the softer commands since they almost never remove the application I ask it to remove, as it always has something to complain about.
But this is offtopic
About the main topic:
Without having had any issues with Zen, and personally being fine with it as the default kernel, did we evaluate Clear Linux kernel?
I guess we did, so what were the reasons against it?
I am simply interested, if there is something that I should know, since I intend to try it over the course of the next days.
Does any of you guys run it?
I am not sure I understand this but yeah clear kernel is great for intel based platforms. clear kernel is essentially a collection of patches that make linux work better and faster on intel based hardware and this is not just a placebo effect.
Every single benchmark that I read, shows almost exactly the same performance improvements on AMD as well.
I suggest it as a default kernel.
I’ve been going through my “never played” category of Steam, and one thing I noticed yesterday when I wen through some “newer” and more resource intensive games, like Shadows Awakening and Iron Harvest 1920 was that the game was playing fine and nice… but then I suddenly out of nowhere have a huge performance drop (from 60fps to 5-10fps). Pausing the game and waiting a minute or two would bring the performance back… but it’s bothersome.
Haven’t tested with Clear yet to see if it would solve this, though. Maybe I’ll look into this later today.
(edit) then again, I just remembered that while playing some older games, like Lords of Magic, I also have some performance issues…
Why don’t you guys just do some bench marking of the kernels that you like and decide your own self , which one is best for you .
for example
System Information
Operating System Garuda Linux
Kernel Linux 6.5.6-273-tkg-linux-tkg-pds-generic_v3 x86_64
Model Dell Inc. Inspiron 7570
Motherboard Dell Inc. 06K08K
BIOS Dell Inc. 1.25.0
CPU Information
Name Intel Core i7-8550U
Topology 1 Processor, 4 Cores, 8 Threads
Identifier GenuineIntel Family 6 Model 142 Stepping 10
Base Frequency 4.00 GHz
L1 Instruction Cache 32.0 KB x 4
L1 Data Cache 32.0 KB x 4
L2 Cache 256 KB x 4
L3 Cache 8.00 MB
Memory Information
Size 7.50 GB
╭─ankur@ankur in ~/Downloads/test/Geekbench-6.2.1-Linux took 6m56s
╰─λ garuda-inxi
System:
Kernel: 6.5.6-273-tkg-linux-tkg-pds-generic_v3 arch: x86_64 bits: 64
compiler: gcc v: 13.2.1 clocksource: tsc available: hpet,acpi_pm
parameters: intel_pstate=passive split_lock_detect=off
BOOT_IMAGE=/@/boot/vmlinuz-linux-tkg-pds-generic_v3
root=UUID=4db91e48-f647-49c5-9e3e-ea266109ffe7 rw rootflags=subvol=@
quiet loglevel=3 ibt=off
Desktop: Hyprland info: waybar vt: 1 dm: SDDM Distro: Garuda Linux
base: Arch Linux
Machine:
Type: Laptop System: Dell product: Inspiron 7570 v: N/A
serial: <superuser required> Chassis: type: 10 serial: <superuser required>
Mobo: Dell model: 06K08K v: A00 serial: <superuser required> UEFI: Dell
v: 1.25.0 date: 07/13/2022
Battery:
ID-1: BAT0 charge: 6.6 Wh (100.0%) condition: 6.6/42.0 Wh (15.7%)
volts: 12.7 min: 11.4 model: Samsung SDI DELL CYMGM79 type: Li-ion
serial: <filter> status: full
CPU:
Info: model: Intel Core i7-8550U bits: 64 type: MT MCP arch: Coffee Lake
gen: core 8 level: v3 note: check built: 2017 process: Intel 14nm family: 6
model-id: 0x8E (142) stepping: 0xA (10) microcode: 0xF4
Topology: cpus: 1x cores: 4 tpc: 2 threads: 8 smt: enabled cache:
L1: 256 KiB desc: d-4x32 KiB; i-4x32 KiB L2: 1024 KiB desc: 4x256 KiB
L3: 8 MiB desc: 1x8 MiB
Speed (MHz): avg: 637 high: 900 min/max: 400/4000 scaling:
driver: intel_cpufreq governor: ondemand cores: 1: 400 2: 801 3: 900 4: 900
5: 900 6: 400 7: 400 8: 400 bogomips: 32026
Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
Vulnerabilities: <filter>
Graphics:
Device-1: Intel UHD Graphics 620 vendor: Dell driver: i915 v: kernel
arch: Gen-9.5 process: Intel 14nm built: 2016-20 ports: active: eDP-1
empty: DP-1,DP-2,HDMI-A-1 bus-ID: 00:02.0 chip-ID: 8086:5917
class-ID: 0300
Device-2: NVIDIA GM108M [GeForce 940MX] vendor: Dell driver: nvidia
v: 535.113.01 alternate: nouveau,nvidia_drm non-free: 535.xx+
status: current (as of 2023-09) arch: Maxwell code: GMxxx
process: TSMC 28nm built: 2014-19 pcie: gen: 1 speed: 2.5 GT/s lanes: 4
link-max: gen: 3 speed: 8 GT/s bus-ID: 01:00.0 chip-ID: 10de:134d
class-ID: 0302
Device-3: Sunplus Innovation Integrated_Webcam_HD driver: uvcvideo
type: USB rev: 2.0 speed: 480 Mb/s lanes: 1 mode: 2.0 bus-ID: 1-5:2
chip-ID: 1bcf:28c1 class-ID: 0e02
Display: wayland server: X.org v: 1.21.1.8 with: Xwayland v: 23.2.1
compositor: Hyprland driver: X: loaded: modesetting,nvidia unloaded: nouveau
alternate: fbdev,intel,nv,vesa dri: iris gpu: i915 display-ID: 1
Monitor-1: eDP-1 model: BOE Display 0x06b4 built: 2016 res: 1920x1080
hz: 60 dpi: 142 gamma: 1.2 scale: 1 size: 344x194mm (13.54x7.64")
diag: 395mm (15.5") ratio: 16:9 modes: 1920x1080
API: Vulkan v: 1.3.264 layers: 9 device: 0 type: integrated-gpu name: Intel
UHD Graphics 620 (KBL GT2) driver: mesa intel v: 23.2.1-arch1.2
device-ID: 8086:5917 surfaces: xcb,xlib,wayland device: 1
type: discrete-gpu name: NVIDIA GeForce 940MX driver: nvidia v: 535.113.01
device-ID: 10de:134d surfaces: xcb,xlib,wayland device: 2 type: cpu
name: llvmpipe (LLVM 16.0.6 256 bits) driver: mesa llvmpipe
v: 23.2.1-arch1.2 (LLVM 16.0.6) device-ID: 10005:0000
surfaces: xcb,xlib,wayland
API: EGL Message: EGL data requires eglinfo. Check --recommends.
Audio:
Device-1: Intel Sunrise Point-LP HD Audio vendor: Dell driver: snd_hda_intel
v: kernel alternate: snd_soc_skl,snd_soc_avs bus-ID: 00:1f.3
chip-ID: 8086:9d71 class-ID: 0403
API: ALSA v: k6.5.6-273-tkg-linux-tkg-pds-generic_v3 status: kernel-api
with: aoss type: oss-emulator tools: alsactl,alsamixer,amixer
Server-1: sndiod v: N/A status: off tools: aucat,midicat,sndioctl
Server-2: PipeWire v: 0.3.81 status: active with: 1: pipewire-pulse
status: active 2: wireplumber status: active 3: pipewire-alsa type: plugin
4: pw-jack type: plugin tools: pactl,pw-cat,pw-cli,wpctl
Network:
Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet
vendor: Dell driver: r8169 v: kernel pcie: gen: 1 speed: 2.5 GT/s lanes: 1
port: d000 bus-ID: 02:00.0 chip-ID: 10ec:8168 class-ID: 0200
IF: enp2s0 state: down mac: <filter>
Device-2: Intel Wireless 7265 driver: iwlwifi v: kernel pcie: gen: 1
speed: 2.5 GT/s lanes: 1 bus-ID: 03:00.0 chip-ID: 8086:095a class-ID: 0280
IF: wlp3s0 state: up mac: <filter>
Bluetooth:
Device-1: Intel Bluetooth wireless interface driver: btusb v: 0.8 type: USB
rev: 2.0 speed: 12 Mb/s lanes: 1 mode: 1.1 bus-ID: 1-7:3 chip-ID: 8087:0a2a
class-ID: e001
Report: btmgmt ID: hci0 rfk-id: 0 state: up address: <filter> bt-v: 4.2
lmp-v: 8 status: discoverable: no pairing: no class-ID: 6c010c
RAID:
Hardware-1: Intel 82801 Mobile SATA Controller [RAID mode] driver: ahci
v: 3.0 port: f060 bus-ID: 00:17.0 chip-ID: 8086:282a rev: N/A class-ID: 0104
Drives:
Local Storage: total: 1.14 TiB used: 37.14 GiB (3.2%)
SMART Message: Required tool smartctl not installed. Check --recommends
ID-1: /dev/sda maj-min: 8:0 vendor: Seagate model: ST1000LM035-1RK172
size: 931.51 GiB block-size: physical: 4096 B logical: 512 B speed: 6.0 Gb/s
tech: HDD rpm: 5400 serial: <filter> fw-rev: SDM3 scheme: GPT
ID-2: /dev/sdb maj-min: 8:16 vendor: Micron model: 1100 SATA 256GB
size: 238.47 GiB block-size: physical: 4096 B logical: 512 B speed: 6.0 Gb/s
tech: SSD serial: <filter> fw-rev: L003 scheme: GPT
Partition:
ID-1: / raw-size: 931.22 GiB size: 931.22 GiB (100.00%)
used: 37.14 GiB (4.0%) fs: btrfs dev: /dev/sda2 maj-min: 8:2
ID-2: /boot/efi raw-size: 300 MiB size: 299.4 MiB (99.80%)
used: 576 KiB (0.2%) fs: vfat dev: /dev/sda1 maj-min: 8:1
ID-3: /home raw-size: 931.22 GiB size: 931.22 GiB (100.00%)
used: 37.14 GiB (4.0%) fs: btrfs dev: /dev/sda2 maj-min: 8:2
ID-4: /var/log raw-size: 931.22 GiB size: 931.22 GiB (100.00%)
used: 37.14 GiB (4.0%) fs: btrfs dev: /dev/sda2 maj-min: 8:2
ID-5: /var/tmp raw-size: 931.22 GiB size: 931.22 GiB (100.00%)
used: 37.14 GiB (4.0%) fs: btrfs dev: /dev/sda2 maj-min: 8:2
Swap:
Kernel: swappiness: 133 (default 60) cache-pressure: 50 (default 100)
zswap: no
ID-1: swap-1 type: zram size: 7.5 GiB used: 58.8 MiB (0.8%) priority: 100
comp: zstd avail: lzo,lzo-rle,lz4,lz4hc,842 max-streams: 8 dev: /dev/zram0
Sensors:
System Temperatures: cpu: 49.0 C pch: 49.5 C mobo: N/A
Fan Speeds (rpm): N/A
Info:
Processes: 258 Uptime: 20m wakeups: 2570 Memory: total: 8 GiB
available: 7.5 GiB used: 2.5 GiB (33.3%) Init: systemd v: 254
default: graphical tool: systemctl Compilers: gcc: 13.2.1 clang: 16.0.6
Packages: pm: pacman pkgs: 1583 libs: 424 tools: pamac,paru Shell: fish
v: 3.6.1 running-in: foot inxi: 3.3.30
Garuda (2.6.17-1):
System install date: 2023-09-17
Last full system update: 2023-10-12
Is partially upgraded: No
Relevant software: snapper NetworkManager dracut nvidia-dkms
Windows dual boot: Probably (Run as root to verify)
Failed units:
I have seen lot’s of kernel fights and till now I found no one a perfect winning kernel
My system is almost 7 years old and it’s outer body(around keyboard) is getting a little bit rusty due to reaction with sweat of my sweaty hands
Because we don’t like the simple stuff?
Yeah, people just wants more simpler thing and for that they make everything as much complex as possible
I think a lot of the perceived difference in performance would unlikely hold up evidence-based tests.
On the other side, does Clear Linux first have the resources - as being sponsored by Intel - and the expertise to pull this off. And in a stable fashion at that.
And the benchmarks seem to support that.
I feel like cursing so much that I’d be banned.
I think… and please, laugh all you want because I’m also laughing… I think I’ve been running all my games so far using my stupid Intel chipset instead of my nVidia RTX, and that’s what’s been the cause of more than a couple games not working and others having bad performance.
Because I didn’t know I had to add prime-run %command%
to their launch parameters on Steam. This feels so f*ing stupid. Do I really need to manually put this in each and every single game?
I mean, I just tested Conglomerate 451 and at first I had 5fps on the main menu. I thought something was wrong, since this was even after I endured the 5fps to reach the settings in-game and reduce everything to low. Then it hit me “could it be that the game isn’t using my nvidia card?”
and that’s when I found the prime-run thing, ran it again with it, and I had 60fps on the main menu.
Oh, Lord, if I had a list of all the things I’ve done wrong out of the same type errors in Linux, well…I’d have to laugh to keep from crying. Some I’ve done by rote for years, then discovered they’e no longer necessary–and haven’t been for years. LOL.
Maybe we should form a club?
I’m up for it =p
now I’m trying to figure out a way to disable this intel gpu and use only my nvidia one… but I’ve already seen there’s no way to do it on my BIOS =(
(edit)
well, these things seem to have made it work.
https://wiki.archlinux.org/title/NVIDIA_Optimus#Use_NVIDIA_graphics_only
The real solution is to learn how to play broodwars. Being born before gaming, and having tried most games, i have concluded the only game worth playing is broodwars. The way I see it is the average human can only play so many games in his life might as well make them count. I can’t play broodwars now because im old and body can’t take it. But you sound young, you really shouldn’t be playing anything else. Glad I could help. No need to thank me.