if you have a laptop with a hybrid GPU
That is something I really care about. Thanks!
[Edit: I just checked. Something is handling the switch automatically on my system]
if you have a laptop with a hybrid GPU
That is something I really care about. Thanks!
[Edit: I just checked. Something is handling the switch automatically on my system]
I’m not a super-savvy user. Can someone explain to me why I should care about X vs Wayland? Everything seems to work with X, and as I’ve just read, many programs don’t support Wayland. So will this transition just lead to lots of broken software once someone decides they won’t ship with X by default anymore?
If this offer still stands: What info do you need?
$ uname -a
Linux bleistift2-Nitro-AN517-41 5.15.0-130-generic #140-Ubuntu SMP Wed Dec 18 17:59:53 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux
$ inxi -Fazy
System:
Kernel: 5.15.0-130-generic x86_64 bits: 64 compiler: gcc v: 11.4.0
parameters: BOOT_IMAGE=/boot/vmlinuz-5.15.0-130-generic
root=UUID=b284e9a4-a08c-4e5b-afa2-680e8254cd31 ro quiet splash
Desktop: Cinnamon 6.0.4 tk: GTK 3.24.33 wm: muffin vt: 7
dm: LightDM 1.30.0 Distro: Linux Mint 21.3 Virginia base: Ubuntu 22.04 jammy
Machine:
Type: Laptop System: Acer product: Nitro AN517-41 v: V1.08
serial: <superuser required>
Mobo: CZ model: Scala_CAS v: V1.08 serial: <superuser required>
UEFI: Insyde v: 1.08 date: 07/21/2021
CPU:
Info: model: AMD Ryzen 9 5900HX with Radeon Graphics bits: 64 type: MT MCP
arch: Zen 3 family: 0x19 (25) model-id: 0x50 (80) stepping: 0
microcode: 0xA50000C
Topology: cpus: 1x cores: 8 tpc: 2 threads: 16 smt: enabled cache:
L1: 512 KiB desc: d-8x32 KiB; i-8x32 KiB L2: 4 MiB desc: 8x512 KiB
L3: 16 MiB desc: 1x16 MiB
Speed (MHz): avg: 1304 high: 1756 min/max: 1200/3300 boost: enabled
scaling: driver: acpi-cpufreq governor: schedutil cores: 1: 1756 2: 1197
3: 1563 4: 1196 5: 1397 6: 1397 7: 1196 8: 1197 9: 1396 10: 1395 11: 1197
12: 1196 13: 1197 14: 1197 15: 1198 16: 1197 bogomips: 105400
Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm
Graphics:
Device-1: NVIDIA GA104M [GeForce RTX 3080 Mobile / Max-Q 8GB/16GB]
vendor: Acer Incorporated ALI driver: nvidia v: 550.120
alternate: nvidiafb,nouveau,nvidia_drm pcie: gen: 1 speed: 2.5 GT/s
lanes: 8 link-max: gen: 4 speed: 16 GT/s lanes: 16 ports: active: none
off: HDMI-A-1 empty: none bus-ID: 01:00.0 chip-ID: 10de:249c
class-ID: 0300
Device-2: AMD Cezanne vendor: Acer Incorporated ALI driver: amdgpu
v: kernel pcie: gen: 3 speed: 8 GT/s lanes: 16 link-max: gen: 4
speed: 16 GT/s ports: active: none off: eDP-1 empty: none bus-ID: 05:00.0
chip-ID: 1002:1638 class-ID: 0300
Device-3: Quanta HD User Facing type: USB driver: uvcvideo bus-ID: 3-3:3
chip-ID: 0408:a061 class-ID: 0e02
Display: x11 server: X.Org v: 1.21.1.4 driver: X:
loaded: amdgpu,ati,nvidia unloaded: fbdev,modesetting,nouveau,vesa
gpu: nvidia,amdgpu display-ID: :0 screens: 1
Screen-1: 0 s-res: 1920x1200 s-dpi: 96 s-size: 508x318mm (20.0x12.5")
s-diag: 599mm (23.6")
Monitor-1: HDMI-1-0 res: 1920x1200 hz: 60 dpi: 94
size: 518x324mm (20.4x12.8") diag: 611mm (24.1")
OpenGL: renderer: RENOIR (renoir LLVM 15.0.7 DRM 3.42 5.15.0-130-generic)
v: 4.6 Mesa 23.2.1-1ubuntu3.1~22.04.3 direct render: Yes
Sensors:
System Temperatures: cpu: 41.0 C mobo: N/A gpu: amdgpu temp: 38.0 C
Fan Speeds (RPM): N/A
Info:
Processes: 360 Uptime: 7m wakeups: 1 Memory: 14.97 GiB
used: 2.28 GiB (15.2%) Init: systemd v: 249 runlevel: 5 tool: systemctl
Compilers: gcc: 11.4.0 alt: 11/12 Packages: apt: 2494 lib: 1289 flatpak: 0
Shell: Bash v: 5.1.16 running-in: gnome-terminal inxi: 3.3.13
It’s a node process invoked by a run.sh
, which gets executed via a .desktop
file in the ~/.config/autostart
directory.
I went with a systemd unit now and it works.
The constant nagging by you systemd people worked. I’ve written a unit that does what I need it to do. That was more annoying than I think it needed to be, but well… my solution didn’t work at all.
Persist everything to disk in real time.
That’s the thing I’m trying to avoid.
- Built-in Local AI Assistant
Yess, because if I’ve learned one thing in the past year, then it’s that users love AI being shoved into everything!
Why stop at an AI assistant? Build AI into the kernel, I say! Let AI handle system calls, so everyone can be a low-level programmer! The kernel will just guess what your intentions were!
Remembering my screen layout so I don’t have to manually switch after every boot?
Different scaling for different screens that are attached at the same time?
~~nope, SIGCHLD.~~ Wrong.
But thanks.
~~It turns out I’m getting SIGCHLD. It might be related to how my script is started – it is a bash script that starts a node process and is itself run by Cinnamon’s (?) startup applications feature.~~
Wrong; still investigating
When I run the script myself and kill it, it gets the signal and acts correctly. Only when I poweroff the system, this doesn’t work.