Skip to main content

The search for the best Linux laptop: NixOS on a Panasonic Let's Note CF-SV7

·9 mins Draft

Initial rambling: my experience leading up to this moment #

After my disanchantment with the M1 MacBook Air (with its keyboard, in particular), I began looking for laptops so I could return to Linux.

My first instinct was to return to ThinkPads, as I’ve used in the past like the T440, T450s and X1 Yoga 3rd Gen. However, I also flip used ThinkPads as a hobby/side-hustle so I get to play with different and newer models. And while trying the T14 Gen 2 AMD, especially, I also begin to think like many others online that ThinkPads have getting worse over time.

With the T14 Gen 2 AMD in particular, not only was the build quality much worse than on previous generations (it felt more like cheap plastic and the keyboard also felt much worse), but my experience on Linux wasn’t very good either. We’re talking about a laptop that can be sold with Linux from the factory, that is also Ubuntu certified, but whose microphone mute LED doesn’t work properly, whose trackpad can’t use the proper the driver and also freezes randomly. But worst of all was that I was getting 20W of power consumptoin at idle, which resulted in lots heat and very poor battery life. I recognize that this may be my fault in misconfiguration but I enabled the usual TLP/power-profiles-daemon tools and even enabled the recent AMD P-State options, to no avail.

ThinkPad T490 #

A few months later and after my final decision to leave the Mac, I tried daily driving a ThinkPad T490 I had on hand. I would have to sacrifice lots of processing power when compared to both the Apple M1 and Ryzen 5 5650U CPUs but at least I would have a much smoother experience in Linux and also have one of the best keyboards I ever tried on a ThinkPad (only surpassed, in my experience, by the keyboard on the T450s). So I tried it for a few weeks. Power consumption was much better at around 7W idle, everything mostly worked. However, this time the dealbreaker was the annoying CPU throttling that kept getting the frequency down to 400Mhz. Simple tasks like saving a text file in Emacs became a nightmare in themselves, not to mention more demanding tasks. I tried the usual solutions: updating the BIOS and other firmware (I always updating everything to their most recent versions with Lenovo Commercial Vantage in Windows before even installing Linux, so I don’t risk missing some firmware update because it’s not available on fwupd), using throttled, and none of that solved the issue.

ThinkPad X1 Carbon 6th Gen #

So I jumped ship again, this time to a ThinkPad X1 Carbon 6th Gen. Overall a very similar laptop to the T490, only less bulky in general: a bit smaller, a bit thinner, a bit more lightweight, while preserving the same screen real estate. It also felt much more high quality with less cheaper plastic feeling, better trackpad feel and still a very good keyboard. More importantly, having the most recent firmware updates and using thermald, I had none of the throttling issues I was having on the T490. The only downside I could find when compared to the T490 was only really the fingerprint reader not having proper upstream Linux support in fprint, but only with some more reverse-engineered prototypes like python-validity. But that wasn’t really an issue because I didn’t like how I was using the fingerprint support on the T490 anyway. It envolved pressing enter before using my finger on swaylock, I couldn’t always readily use my password instead of the fingerprint (I would always have to make the fingerprint authentication fail on purpose, press Ctrl-C or wait for it to timeout. It was especially bad when I had the laptop closed but connected to an external monitor, keyboard, and mouse and had to open up the laptop only so I could unlock it). This would probably be a pretty sober choice to settle on, and probably would have ended up like that had I not found this hacker news comment that piqued my interest.

Now I couldn’t just ignore this new niche and exotic choice that was presented to me. I had to try it for myself.

(jvscholz?) (separar cada um destes paragrafos em mais paragrafos, separados por seccoes)

(dell e hp sempre ouvi falar um bocado mal; thinkpad, dell e hp sao basicametne as opcoes populares no ocidente e semper ouvi que thinkpad era a melhor das tres; experimentei um dell latitude 7490 dum amigo meu e nao fiquei impressionado, apesar de ser decente) (apesar de nao haver nos estados unidos, na europa tambem ainda ha presenca de fujitsu lifebook, que tambem costuma haver a precos interessantes; ate muito recentemente, estes fujitsu ainda tinham bateria removivel e upgrades de ram e ssd triviais) (em geral thinkpads estao bastante na moda e tem precos mais altos; se uma pessoa quiser so um random portatil empresarial mais barato pode fazer sentido cacar um dell latitude/precision ou um hp prodesk/elitedesk nos states e eventualmente um fujitsu lifebook na europa)

(carbon gen 6 estava um bom equilibrio)

(ubuntu certified mas bue mau: luz microfone, touchpad deixa de funcionar de vez em quando, idle power consumptoin de 20W, aquece bue) (tinha a ideia de que a amd tem estado a ganhar a intel, especialmente em mobile; desde a serie 4000 ryzen mobile; aparentemente e mais rapido e mais eficiente mas a minha experiencia em ilnux nao foi boa (admito que possa ser culpa minha mas pareceu-me ter encontrado pessoal com problemas tambem)) (confirmar na arch wiki que problemas ha)

(panasonic supostamente suporta fwupd) (suspend estava a dar kernel panic; contar historia que dava a primeira em ubuntu e nixos mas depois ou nao suspendia ou tentava suspender e reiniciava (no windows dava sempre); havia uma luz a piscar que nao estava a perceber mas depois a ler a arch wiki fez-se luz: era caps lock a piscar que significa kernel panic (aparentemente alguns dos meus amigos sabiam que isto queria dizer kernel panic); a minha tentativa de procurar no lado japones da internet nao deu resultados, toda a gente simplesmente desligava o suspend ou so hibernava; faltava acrescentar um kernel module) (consegui 3.30W idle no ubuntu, ainda nao consegui menos de 4.70W idle no nixos com tlp e thermald) (por instrucoes scroll circular; tambem acrescentar uma config mais decente para touchpad em synaptics, que aquilo vem sem aceleracao que no touchpad significa que esta demasiado rapido para movimentos precisos e demasiado lento para movimentos maiores; acabei por querer usar wayland, que obriga a libinput, que nao tem suporte para circular scrolling (links para os issues)) (supostamente aguenta queda de 70cm) (made in japan, supostamente com rigor; aparentemente sao bastante caros novos) (ports galore: vga, ethernet, hdmi, thunderbolt 3, usb-a, dvd reader, physical wifi switch (experimetnar se esta a funcionar)) (dealbreaker do thinkpad foi teclado; o pessoal na internet em geral considera teclado do thinkpad melhor que o do let’s note mas a realidade é que estou a gostar bastante do teclado, especialmente quando teclo mais rápido (que realmente é capaz de fazer toda a diferenca no feel dum teclado para mim)); gostei muito do teclado do t450s e mais ou menos do do carbon gen6; nao gosto do t14 gen 2 amd (por tecla a direita do espaco como altgr; de momento estou com intl em vez de altgr-intl) (dos portateis mais leves que ja usei: mais leve que um macbook air e mais leve que um x1 carbon gen 6; pesa basicamente 1kg) (bateria enorme, vinha 70Wh de origem e esta com 61Wh restante; para referencia, com um consumo 7W isto daria mais de 8:30 horas de bateria) (algum nivel de hidpi e 16:10, que é cada vez mais raro) (bios em ingles; bios mostra numero de horas que o portatil ja esteve ligado; desliguei dvd reader e wwan na bios dado que nao vou usar e para tentar ter consumo energetico mais baixo no lniux; spammar delete da para ir a bios) (afinal nao reslvi o kernel panic, continuaa acontecer) (s3 sleep, com as dificuldades que tive inicialmente estava com receio que fosse modern standby (porque estava quente quando o tirei da mochila e com as ventoinhas ligadas)) (principais “criticas”: pouco suporte online (em ingles) ao pesquisar por problemas; ja me aconteceu varias vezes abrir o powertop e dar segfault ou abrir o powertop e aparecer umas mensagens sinistras do dmesg a dizer rcu cpu stall (ver foto); nao percebi o significado disso, pesquisa rapida disse que podia ser ram (mas ferrament ade diagnostico dizia que estava tudo bem) ou que era interrupts do bluetooth (que era plausivel mas desligando o bluetooth na bios continuava a acontecer)); nao tornou a acontecer quando nao corria o powertop touchpad é um bocado pequeno; gostava que houvesse circular scrolling no libinput (faz bastante sentido, da para rodar mais outer para ter mais precisao e mais inner para scrollar mais rapido, tudo sem levantar o dedo do touchpad); linha fv esta bastante interessante por ter ecra 14 polegadas, 3:2, touchpad maior (let’s note mantem ventoinha para a esquerda (ver se o fv tambem), enquanto que em 2019 os thinkpads passaram para a direita que vai para cima da mao que pode ter o rato em muitos casos) aparentemente um problema que pode acontecer e uns padroes estranhos no ecra (o meu tem muito subtil que so se ve com fundo uniforme) (t440, t450s, x1 yoga gen 3, mac, t14 gen 2 amd, mac, t490, carbon gen 6, panasonic) (8th gen intel para ter aquele salto de performance maior mas ja haver bastantes usados e baratos; tambem acho que foi dos primeiros a ter 16gb ram) (carrego por usb-c e tenho usb-c displays) (comprei pelo buyee, que e um proxy service que participou por mim num leilao no japao) (bueye air mail, nao e preciso protective packaging) (dhl tratou da alfandega toda por mim, tive de pagar 50 euros para eles fazerem esse servico, saiu do japao na segunda e quarta a tarde estava em minha casa) (referral buyee; dizer que no futuro quero experimentar from japan que e identico mas que me deixa pagar em yen (buyee estica-se um bocado no cambio, pagando com revolut no buyee ainda devo conseguir poupar mais um bocado; tambem por referral do from japan))

(todo: por imagem (talvez foto minha mesmo com o neofetch e assim)) (market share no japao, e o portatil empresarial de eleicao (algures entre 40 a 70 % market share)) (ver como por altgr no sway)

References #