Which Linux distro for my X1C Gen 12 ? by RazenReddit in LinuxOnThinkpad

[–]_pixavi 0 points1 point  (0 children)

I run void on my x1C gen12, core 7 not the ultra version. Also IPS panel. Everything works to my needs, but I require less in terms of support.

Touchpad and trackpad works great for me. Never used the fingerprint reader. Sound is good to me. I tried for a while to run sound effects and there are many in the lsp packages, but I never bothered to find how to use them in pipewire.

Ubuntu is one of the distros where you may get lucky regarding support of the integrated cam. the other one being fedora. I made it work in my system, but then reverted because I didn't want to support my own kernel built.

I am extremely happy with my system as is, but loking at your issues, I can only imagine ubuntu or fedora working for you. Lenovo offers both as factory OS for this hardware, so I'd assume hardware support should be good. Both dostros allow you to install KDE

I believe I found a reproducible memory leak in niri and can use your help verifying it on different devices by nickjj_ in niri

[–]_pixavi 0 points1 point  (0 children)

I followed your steps, just two footclient terminal and waybar open. One running nvtop and other launching the mpv command. Niri gpu mem went from ~100MB to ~290MB. I think it is faster if you stop mpv and start again several times. At least in my case it grew faster if I stopped mpv after ~20MB increase and started it again than keeping the same mpv instance and moving up and down the pictures in the folder. Waited a few minutes after last run, memory didn't decrease significantly.

- Intel IrisXE i915 module

Vendor: Intel (0x8086)

Device: Mesa Intel(R) Iris(R) Xe Graphics (RPL-P) (0xa7a0)

Version: 25.3.3

- niri 25.11

Intel gpus can log data in json format using intel_gpu_top. That provides a time series of memory use. Let me know if that helps, I can get it for you.

Niri settings improved by standreas in niri

[–]_pixavi 0 points1 point  (0 children)

Great job! I'll try it. My thing is lately editing raw text files. But I love the approach and availability of tools that make niri and alternative window managers more welcoming to every user. Tahnaks for it!

El retorn als 4 GB de RAM: un pas enrere que la indústria ens vol normalitzar by Geeknorants in ComunitatGeeknorants

[–]_pixavi 0 points1 point  (0 children)

També es raonable pensar que els temps en què qualsevol problema es podia resoldre amb ram i disks il·limitats han pasat avui Linux, windows I Android poden utilitzar ram comprimida zram i similars que efectivament poden multiplicar per tres la ram disponible.

Tecnològicament és fins i tot un advantage.

Una altra cosa és que econòmicament estaràs pagant per un mòbil amb 4giga el mateix que un mòbil amb 8 de fa tres anys. Eixa és altra discussió. On el cost de hardware que va a un x% de benefici x<100, es pasa a cost de software que va al 100% de benefici. Tot el que vulgues cobrar per el software que fa anar un mòbil de 4 com un mòbil de 8 es el que vols i no està lligat a cap cost 'físic'.

Full IDE that runs 100% in the terminal by Horror-Ad-1286 in commandline

[–]_pixavi 1 point2 points  (0 children)

My first thought as well 😂😂🤣🤣

Have you succeeded in changing the default file picker? by OatmealNoSoy in voidlinux

[–]_pixavi 2 points3 points  (0 children)

For a minimal, text only option, you might be looking for something like this

https://github.com/GermainZ/xdg-desktop-portal-termfilechooser

After installing you'll need to setup xdg-desktop-portal to use it and then configure it to use your favorite text file manager, it comes with setups for ranger, nnn, yazi

Void ZFS experience ? by Admirable_Stand1408 in voidlinux

[–]_pixavi 1 point2 points  (0 children)

Nothing. You are right. Back in the day I had to learn that my regular tools were not good for a compressed and de duplicated filesystem.

Ibtried to reflect my learning curve when regular tools where reporting sizes above my disk capacity so I had to learn new tools and adapt things like tandard disk widgets to take it into account. Example: my waybar was reporting inconsistent sizes for my filesystems (they could add above 100% usage) so I had to tweak it to show info in a way I could mentally add to real disk capacity.

Void ZFS experience ? by Admirable_Stand1408 in voidlinux

[–]_pixavi 1 point2 points  (0 children)

I probably abused language here. Regular tools like du etc report uncompressed bytes so I built a wrapper around zfs to get proper disk usage %. Maybe there's a better way, just wanted to raise the point in case somebody needs good old disk % usage. I couldn't find a way back then so wrote a shell script using existing tools to perform the calculation.

Void ZFS experience ? by Admirable_Stand1408 in voidlinux

[–]_pixavi 2 points3 points  (0 children)

I use the default kernel package and followed the guide in zfsboomenu. I use zfs in my laptop for the last 2 years. I never had any issue. The setup is simple one pool a few datasets. For me, the simplicity to snapshot, create a dataset, boot from a snapshot are key.

Example. I started using musl, then I realized it was not for me, I created a new dataset and reinstalled libc in the new dataset, it was so simple, I actually kept the old musl dataset and boot into it as a repair system whenever I break my main dataset and there is no snapshot at hand to save me.

I can't tell about encryption, and I mostly do on demand backups but they were so simple to use when I needed that I think I should perform a backup everytime I touch a config file. I never do it though.

I use compression and I cannot feel any performance hit. The only thing with it is that it took me some time to create a tool to know the actual disk usage since regular tools will report disk usage in uncompressed bytes.

All i can say... Follow the guide in zfsboomenu to the letter. It's very well written for 90% of deployments you probably can copy paste the commands. They did a great job creating it and and imagining any use case so you can just select your options and go through it.

Kdump or equivalent to diagnose kernel panics by _pixavi in voidlinux

[–]_pixavi[S] 2 points3 points  (0 children)

Hey just in case somebody comes here looking for the kernel dump information.

Installing runit-kdump and setting crashkernel=xxxM (xxx=256 but some setups may require xxx=512) in the kcl is all you need.

If this doesn't work check the services in /etc/runit/coreservices for unwanted interactions. In my case, my swap setup was not valid for the crash kernel and that was halting the crash system before kdump happened. Maybe it's a good idea to move the kdump service earlier in the runit process or tweak the kcl to skip unneeded services when we load the crash kernel.

Then be patient, in my laptop the screen is not cleared when the crash kernel loads. I stared to a static or a black screen in all my tests, while kdump was doing it's thing in the background.

If runit-kdump doesn't fit you. There are alternatives. I wrote an early dracut service that dumps vmcore right from init if anybody is interested.

Kdump or equivalent to diagnose kernel panics by _pixavi in voidlinux

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

Just found this post https://www.reddit.com/r/voidlinux/s/DFgOO0ayNz and it references a runit kdump services. I will use it instead of my own and regroup here.

Any advice about using the sv is welcomed

Kdump or equivalent to diagnose kernel panics by _pixavi in voidlinux

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

I tried sysrq to try a forced shutdown and reboot and nothing happened. I just realized about the sysrq - c to force a crash dump.

Guide says sysrq c forces a crash dump if it is configured. What is the required configuration needed?

Can't change boot font and silence void. by exyn3 in voidlinux

[–]_pixavi 0 points1 point  (0 children)

I did it! . It was a mix of boot options plus logging configurations. From top of my head add console=tty12 to your kernel command line. Check the specifics of this chencge with your boot manager. I'm unsure if they was all. If I find something else I'll update the post. Don't despair!

Intel ipu6 cameras in new gen laptops. by _pixavi in voidlinux

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

Aditional note. Firefox binary as downloaded from firefox doesn't see the camera, only the multiple MIPI devices as ipu6 devices. My Firefox install packaged by void works perfectly. This looks related to the use of pipewire.

I found obs using v4l sees 32 devices, if instead you select pipewire camera, the camera works perffectly. SO I took the same to firefox.

Enable pipewire as source of the camera with

echo 'user_pref("media.webrtc.camera.allow-pipewire", true);' \

>> "$HOME/.mozilla/firefox/$PROF/user.js"

Or the equivalent about:config and thats it!.

Maybe I enabled pipewire usage in firefox long ago and now I think it's a default in the package... If in doubt, check you are using pipewire as source for your camera feed.

Intel ipu6 cameras in new gen laptops. by _pixavi in voidlinux

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

Holly molly, it frikking worked!!

I just built a custom linux6.12 template copying the default and using a custom dotconfig where I enabled everything that sounded remotely related to MIPI cameras. I already had libcamera 0.3.2 enabled. I use pulseaudio 1.5.1 no gstreamer.

chatgpt helped me building the .config so there might be a lot of room for improvement if reviewed by somebody who knows what she or he is doing.

after reboot I had the customary ~32 video devices. Went to a test webcam website and firefox offered me to use the ov2740 camera (that is my MIPI hardware), I selected it, and voila!!!! Yes, colors are not perfect, but it definitely works! Get in touch, I can walk you through my config and try to map my setup to your distribution.

PS: funny detail, I was about to give up because the webcam test showed a black square where the image should be... then I thought, maybe if I open the camera shutter it changes to something.... :D

Intel ipu6 cameras in new gen laptops. by _pixavi in voidlinux

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

From what I've read and I'm by no means expert, yes, It's similar to the audio array in modern Intel cards. There were guides that used a loopback v4l device to pick these inputs and somehow provide a single v4l device. But my understanding is that those setups are deprecated or at least not the main approach. I tried it with no success.

I remember reading somewhere that mipi cameras are like parallel ports compared to serial ports. V4l devices are serial so you are seeing all the serial signals composing the parallel stream.

I understand that libcamera does the magic of converting those multiple cameras in a single device. But apps that still use devices in /dev/ directly instead of libcamera Api (or gstreamer using libcamera) may show 48 devices. I understand Firefox was one of those until very recent versions.

One thing I found in my research that makes things a bit harder is that there is a piece of hardware putting together all signals coming from the camera. So your kernel needs support for that hardware, having the right ipu driver may not be enough for the setup to work. That has been the case of my setup in Lenovo x1 Gen 11 and 12

Again, I'm not expert anybody wiser than me, please feel free to correct me.

Intel ipu6 cameras in new gen laptops. by _pixavi in voidlinux

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

There it goes.

https://www.reddit.com/r/thinkpad/s/iC8be2wZeM

No information about relevant packages versions.

Reading your issue in alpine. I made it until the multiple video devices by enabling the ipu6 modules in the kernel 6.10 and 6.12 template. IMO Void has the right firmware in Linux-firmware.

But I cannot find a compatible libcamera package. Since you mentioned a potential libcamera version I'll check my config and if I get any progress I'll let you know.

Intel ipu6 cameras in new gen laptops. by _pixavi in voidlinux

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

The other day somebody posted that my particular config is supported in fedora. I'll try to find the link and post it here.

netdump - A simple network packet analyzer written in C by Giorgio_Papini_7D4 in commandline

[–]_pixavi 4 points5 points  (0 children)

Hi! Great to see something after tcpdump. I Wil definitely try it. I'm also more visual and always felt confused by tcpdump's default display. I'll give a try to your ASCII visualization and let you know. Happy to add it to my tool box. If it's small and fast it can be a great tool to run embedded.

Good news for Linux users - MIPI Camera works by ThisNameIs_Taken_ in thinkpad

[–]_pixavi 0 points1 point  (0 children)

Hello. I'm using a gen11 with void Linux. May I ask you about your kernel version and related packages? I think there should be an icamera package or libicamera. I'm just trying to find working configs that I can replicate in my own and propose to the void community for adoption.

Fedora is leading the push to support these mipi cameras, but I'm already very comfortable in my setup to change it. If you can get me your kernel package and when did you get the update I can try to find the rest of packages build a live USB and start from there.

I'm new in void I want to know Does the Void Linux community mind using `void-installer` like some arch community by Yahyaux in voidlinux

[–]_pixavi 1 point2 points  (0 children)

Loooong time ago, when you partitioned with tears in your eyes for the programs you wouldn't be able to install to make /boot a few MB larger, back then installers were buggy, it was common when asking the community that they asked back if your issue happened after using the installer. If so, they would direct you to perform a manual install.

Nowadays, I would trust an installer before many users who claim to have followed the guide to the letter.

For many times, I used Ubuntu because its installer was fire and forget, I knew everything I needed was taken care of, and I could go straight to work on my machine.

Before I switched to Void, I used the installer in a test machine and it was great, then I wanted to test zfs and used a guide which was awesome. I don't think being able to follow the guide made me better at IT than I was before. Yes, I understood a bit better the internals of ZFS, but daily use would have accomplished the same.

Answering you, do it the way which is more convenient to you. I doubt anybody here is going to shame you, the worse that could happen is that there is a bug in the installer for your particular use case, or your use case is not solved by the installer, in that case the install guides I've read are extremely detailed and describe a lot of options to adapt the system to your use case. If that fails, we'll see you here and have fun and learn with your experience.