eang.it Elvis Angelaccio's website https://eang.it/ Mon, 11 Dec 2023 23:55:36 +0100 Mon, 11 Dec 2023 23:55:36 +0100 Jekyll v4.3.2 Rediscovering Bikes <p>Every child in the world loves riding a bike. The moment when you can get rid of the training wheels and ride on your own is probably one of the first kind of freedom that a child can enjoy (and of course, their parents will probably remember that moment forever).</p> <p>Yet, when we grow up and we are no longer children, the society we live in pushes us towards cars as the primary mode of transportation. This is what happened to me as well: I only rode a bike when I was a kid and only as entertainment during summer vacations at my grandparents’ place. As I grew up and my grandparents eventually died, I stopped riding a bike. In fact, I cannot even remember when was the last time that I rode a bike at all.</p> <p>During mid and high-school, my parents had the task of moving me around. By car, of course. Because everyone uses a car to move around in the small city I grew up in. That, or maybe a moped which are very popular in Italy. Even in the biggest city I had near home, which was Rome, everyone uses a car or a moped to move around. So, naturally, learning to drive and buying my own car were very important goals that I had to reach as soon as possible, because that was all I know.</p> <p>After I started to travel to other countries in Europe, I eventually realized that in some cities, people actually move around using bikes. And I first realized that while standing on a bike lane in Berlin without even knowing what a bike lane was.</p> <p>Last year I <a href="/new-year-new-job">moved</a> to Florence, which can be described as a bike-friendly city, way more than Rome at least. There are quite a lot of bike lanes in Florence and many people use bikes. So after a few months here I casually decided to buy a bike, as I just wanted to try those bike lanes and I needed to do some sport anyway. And oh boy, <em>it was fucking awesome</em>.</p> <p>Riding a bike is a ton of fun, even if you are not a kid. But I already knew that, I guess. What I absolutely did <em>not</em> know was that riding a bike is the <em>fastest</em> way to move around in a city. With my bike I can reach the city center in about 15 minutes (~ 5 Kilometers). I’d need at least double that time if I used public transport. If I took my car I’d probably need the same time as public transport, with the additional problem of finding a parking slot (which is usually a very hard task in most cities).</p> <p>Think about this for a second:</p> <ul> <li>Moving around with a bike is the fastest mode of transportation for small distances</li> <li>You have fun while doing it</li> <li>You burn some fats while doing it</li> <li>You don’t need to spend money on tickets or gasoline</li> <li>You don’t pollute the environment while doing your very important things in your life</li> </ul> <p>…and I’m surely forgetting some other benefits.</p> <p>Isn’t this awesome? It is. Then why aren’t more people doing it? Why people prefer to use cars and get stuck in traffic, even if they need to move only for less then 10 Km? I don’t know. I was one of those people. I didn’t know any better, so probably neither do them.</p> <p>One year has passed since I bought my first bike. I lost weight, I saved money, I’m less stressed, I bought a second bike and a folding bike. I almost never use my car and I’m asking myself why I still own it.</p> Mon, 11 Dec 2023 21:00:00 +0100 https://eang.it/rediscovering-bikes/ https://eang.it/rediscovering-bikes/ bikes HP Elitebook 645 G9 Review <p>A couple of months ago I went looking for a new laptop to replace my old Thinkpad T450s. I’ve been a Thinkpad fan for years, but I was very disappointed when I looked at the current offerings from Lenovo.</p> <p>My main requirements from a laptop historically have been the following ones:</p> <ul> <li>Good and durable build quality (which means, no consumer laptops)</li> <li>IPS matte screen (non-touch)</li> <li>User-replaceable hardware components</li> <li>Good amount of I/O ports</li> <li>Good Linux support</li> </ul> <p>Additionally as we are in 2023, I really wanted a Ryzen cpu.</p> <p>Thinkpads used to meet all these requirements, but as of 2023 this is no longer the case:</p> <ul> <li>The Thinkpad T14 Gen 3 AMD has LPDDR5 soldered RAM.</li> <li>The Thinkpad T14s Gen 3 AMD has LPDDR5 soldered RAM and doesn’t even have an Ethernet port.</li> </ul> <p>The motivation for soldering the RAM is that the SODIMM standard is too old and bulky and cannot reach the faster speeds of DDR5. But going with an anti-consumer choice such as soldering the RAM is <em>not</em> a proper solution. Hopefully the CAMM modules introduced by Dell will solve this problem, but for now I was so pissed by this that I decided for the first time to consider alternative brands.</p> <p>The choice was basically between Dell and HP business laptops, since Ryzen CPUs are still quite hard to find in the “prosumer” laptop market.</p> <p>So, after going again through my list of requirements, the choice was actually quite simple: the HP Elitebook 645 G9 was the only one left…</p> <p>Here’s a picture of the laptop from the back:</p> <p><a href="/images/645-g9/back.webp"><img src="/images/645-g9/back.webp" alt="Back of the HP Elitebook 645 G9 laptop" class="centered-media" /></a></p> <p>I’ve never had an HP laptop before. In my mind HP had a bad reputation because of terrible consumer laptops, but their Probook/Elitebook lines of business laptops are supposed to have better quality and should be comparable to Thinkpads. But what really convinced me was <a href="https://www.youtube.com/watch?v=pGFXBkvn31k">this video</a> released by HP itself, where basically they show how you can replace pretty much everything in this laptop. I was <em>very</em> impressed.</p> <p>In this review, I’ll show how this laptop actually has almost all the features that Thinkpad laptops (used to) have!</p> <h1 id="hardware-specifications-and-price">Hardware Specifications and Price</h1> <p>In the Italian market there is currently only one available model to buy (with part number 5Y3J1EA#ABZ) and you cannot configure it at all, so this is what I bought. On the HP website it’s currently listed at 889€, but third-party online stores sell it for much less. I got mine for 630€, shipping costs included.</p> <p>Fortunately this model has the Ryzen 7 5875U, which is the best Ryzen variant that the 645 G9 can have.</p> <p>Here you can find the full hardware specifications:</p> <ul> <li>CPU: Ryzen 7 5875U (Zen 3/Barcelo, 7nm, 8c/16t).</li> <li>RAM: 2 DDR4-3200 SODIMM slots, supporting up to 64 GB of RAM (came with one 8GB DDR4 stick).</li> <li>Main SSD: 1 NVMe M.2 2280 slot (came with a low-tier Samsung 256GB SSD).</li> <li>1 WWAN slot: supports NVMe M.2 2242 M-keyed SSDs (came empty).</li> <li>1 WLAN slot (came with Realtek RTL8852BE).</li> <li>Display: 14’’ 1920x1080 IPS matte screen, 250 nits, 45% NTSC color gamut coverage.</li> <li>Webcam 720p with hardware shutter.</li> <li>Keyboard: backlit with Italian layout. HP claims it’s spill resistant.</li> <li>Battery: internal only, 42.75 Wh, 3 cells.</li> </ul> <p>The following picture shows the default hardware components that came with the laptop:</p> <p><a href="/images/645-g9/default-hardware.webp"><img src="/images/645-g9/default-hardware.webp" alt="Default hardware components in the 5Y3J1EA#ABZ model" class="centered-media" /></a></p> <p>I replaced the OEM 8GB DDR4 stick with 2x16GB Crucial DDR4 sticks, the OEM Samsung 256GB SSD with a Samsung 970 Evo Plus 1TB, and the (crappy) Realtek RTL8852BE with an Intel AX200. The WWAN slot was empty and I don’t use WWAN connectivity anyway, so I bought a Western Digital SN520 M.2 2242 SSD for this slot. Unfortunately it seems that WD stopped manufacturing these SSDs, so I was only able to buy one with 256GB capacity.</p> <p>The AMD Barcelo platform only supports PCIe Gen 3, so it was pointless to buy a faster PCIe Gen4 SSD for the main SSD slot. PCIe Gen 3 is fast enough for my needs though.</p> <p>After these hardware upgrades, the laptop internal looks like this:</p> <p><a href="/images/645-g9/upgraded-hardware.webp"><img src="/images/645-g9/upgraded-hardware.webp" alt="Upgraded hardware components" class="centered-media" /></a></p> <p>The only complaint I have about hardware maintenance on this laptop is that closing the base enclosure is <em>very</em> difficult, you will need a lot of pressure to put the plastic clips back in place.</p> <h1 id="io-connectivity">I/O Connectivity</h1> <p>On the laptop left side, there is a Kensington lock, an Ethernet port (which is becoming a rarity even on more expensive laptops), a full-size USB 3.2 Gen 1 port, and a Smartcard reader:</p> <p><a href="/images/645-g9/left.webp"><img src="/images/645-g9/left.webp" alt="Left side of the HP Elitebook 645 G9 laptop" class="centered-media" /></a></p> <p>Here’s a closer look to the Ethernet port in action:</p> <p><a href="/images/645-g9/ethernet.webp"><img src="/images/645-g9/ethernet.webp" alt="Ethernet port on the HP Elitebook 645 G9 laptop" class="centered-media" /></a></p> <p>On the right side, there is a proprietary charging port, a USB Type-C Power Delivery port with DisplayPort 1.4, another two full size USB 3.2 Gen 1 ports, an HDMI 2.1 port, a 3.5mm audio port, and an external SIM card slot. The SIM card slot looks sealed off and I haven’t bothered to check whether you can open it by removing the top enclosure of the laptop, as I won’t ever use it.</p> <p><a href="/images/645-g9/right.webp"><img src="/images/645-g9/right.webp" alt="Right side of the HP Elitebook 645 G9 laptop" class="centered-media" /></a></p> <p>The laptop came with a 45W charger with proprietary barrell connector, but fortunately the laptop can also be charged through the USB C port using any USB Power Delivery charger. It can also be charged while connected to a monitor that supports USB C Power Delivery.</p> <p><a href="/images/645-g9/power-delivery.webp"><img src="/images/645-g9/power-delivery.webp" alt="USB Power Delivery on the HP Elitebook 645 G9 laptop" class="centered-media" /></a></p> <p>Overall the connectivity is great. Basically the only thing missing is a SD card reader, which is a bit annoying but not a deal breaker.</p> <h1 id="linux-support">Linux support</h1> <p>The laptop came with Windows 10 and can be upgraded to Windows 11. I did an even better upgrade by installing Archlinux on the fresh Samsung 970 Evo SDD.</p> <p><a href="/images/645-g9/archlinux.webp"><img src="/images/645-g9/archlinux.webp" alt="Archlinux on the HP Elitebook 645 G9 laptop" class="centered-media" /></a></p> <p>I had no idea about the quality of the Linux support for this laptop, but I was quite confident that at least the basic things would work. Turns out that almost everything worked out of the box! In fact, the only hardware feature that did not work at all was the tiny LED on the mute/micmute function buttons. After digging around for a while, I realized that it was necessary to add an hack in the Linux kernel. So I did it and I submitted <a href="https://github.com/torvalds/linux/commit/9a6804aa1c92cd28e89e746ace44d5ba101db76c">my first patch</a> against the Linux kernel! Whooa!</p> <p>There was an annoying 1 minute system freeze after resuming from suspend. After finding a <a href="https://bugzilla.kernel.org/show_bug.cgi?id=216773">similar issue</a> in the Linux kernel bugzilla, I added a comment in that bug report and Mario Limonciello from AMD was able to <a href="https://github.com/torvalds/linux/commit/e2a56364485e7789e7b8f342637c7f3a219f7ede">adapt the fix</a> also for this laptop.</p> <p>Finally, another issue was that the WD SN 520 SSD was not “visible” to the kernel, but this was easily fixed with the <code class="language-plaintext highlighter-rouge">nvme_core.default_ps_max_latency_us=5500</code> kernel parameter (credits to: <a href="https://www.linux.org/threads/boot-problems-with-ubuntu-boot-hangs.24385/#post-74155">1</a>, <a href="https://bugzilla.kernel.org/show_bug.cgi?id=208123">2</a>).</p> <p>Another thing to note is that the smartcard reader does work, but it gets powered only when you actually insert a smartcard inside it (so I was initially fooled into thinking that it was not being recognized by Linux).</p> <h1 id="keyboard">Keyboard</h1> <p>The keyboard feels ok. The arrow keys have a weird size, but this allows a full-size PageUp/Down keys on the right edge, which is quite good actually. Key travel is shorter than Thinkpad’s keyboards, but you get used to it.</p> <p><a href="/images/645-g9/keyboard.webp"><img src="/images/645-g9/keyboard.webp" alt="Keyboard and touchpad on the HP Elitebook 645 G9 laptop" class="centered-media" /></a></p> <p>Below the keyboard there is something that looks like a fingerprint reader, but since I don’t see one neither in the BIOS nor in the OS, I suppose it is only a cover. HP itself specifies that the fingerprint reader is an optional addon. Since I don’t need to use it, I haven’t bothered to remove the top enclosure to check what is actually there and what could be added later if desired.</p> <p>The keyboard backlit has three levels of brightness and can be configured in the BIOS to shut-down after a period of time of inactivity, which is a nice feature. There are 5 status LEDs on the keyboard: one on the Power button, two on the mute/micmute buttons, one on the Caps-lock button and one the FN lock button. I noticed that the LEDs on Caps-lock and FN-lock gets powered-off whenever the backlit is powered-off by the inactivity timer, while they are always on (as expected) if you shutdown the keyboard backlit. This feels like a bug but I haven’t bothered to investigate it yet.</p> <p>I did not dare to test the spill-resistant feature claimed by HP.</p> <p>The touchpad is decent enough, even though I’m not a fan of the category in general. There is no trackpoint, but trackpoints on non-Thinkpad laptops usually suck anyway, so probably not a big loss.</p> <h1 id="display-and-webcam">Display and webcam</h1> <p>The display’s brightness is only 250 nits and the manufacturer is AOC which doesn’t seem to have a good reputation, but honestly the display looks good enough for my needs. Here’s a picture of the display at full brightness:</p> <p><a href="/images/645-g9/display.webp"><img src="/images/645-g9/display.webp" alt="Display of the HP Elitebook 645 G9 laptop" class="centered-media" /></a></p> <p>The display hinge opens (almost) at 180 degrees, which is one of the most beloved Thinkpad features.</p> <p><a href="/images/645-g9/hinge.webp"><img src="/images/645-g9/hinge.webp" alt="Hinge of the HP Elitebook 645 G9 laptop" class="centered-media" /></a></p> <p>Unfortunately the display is only 16:9. HP offers 16:10 displays on the bigger brother Elitebook 845 G9, but keep in mind that the 845 G9 does not have an Ethernet port.</p> <p>The top bezel hosts the webcam and two microphones on the sides. There is also an “IR Camera” that I believe is used by the Windows Hello “feature”. The webcam has a physical shutter ando also a LED that powers up whenever it’s active.</p> <p><a href="/images/645-g9/webcam.webp"><img src="/images/645-g9/webcam.webp" alt="Webcam of the HP Elitebook 645 G9 laptop" class="centered-media" /></a></p> <h1 id="performance-noise-and-temperatures">Performance, noise and temperatures</h1> <p>The Ryzen 5875U is awesome. It runs so quiet at idle you basically can’t hear it. Under heavy loads, it stays between 80 and 90 celsius degrees, which is to be expected. The double-heatsink design used by HP, which you can see from the above pictures, does the job pretty well.</p> <p>As for the actual performance, it can handle almost everything you throw at it, including videogames. It even beats my Ryzen 5 3600 desktop CPU in the Blender benchmark!</p> <p><a href="/images/645-g9/blender-benchmark.webp"><img src="/images/645-g9/blender-benchmark.webp" alt="Blender benchmark result by Elitebook 645 G9 laptop" class="centered-media" /></a></p> <h1 id="battery-life">Battery Life</h1> <p>HP claims “Up to 17 hours and 30 minutes with 42whr battery” but I doubt that’s really possible even on Windows. The KDE Plasma battery applet tells me I have around 6/7 hours left at 100% charging level, and that sounds more realistic.</p> <p>The battery doesn’t support charging thresholds set by Linux, unlike on Thinkpads. There is a similar feature that can be enabled from the BIOS, but it’s only an On/Off toggle that hardcodes a 80% charging threshold and doesn’t allow further fine-tunings. If you enable this feature, Linux would still see the battery as if it had a full 100% charging level available, which is quite confusing, so I decided to turn it off.</p> <p>The bad news about battery life is that there is quite a significant battery drain while the laptop is suspended. We are talking about 1.5% battery discharge per hour, on average. HP has been disabling (or at least, <a href="https://www.reddit.com/r/AMDLaptops/comments/lg0knl/comment/ikpwpb8/">hiding from the BIOS/ACPI</a>) the old S3 sleep mode in favor of the modern S0 sleep, so it’s not possible to enable S3 from the BIOS. It seems that most vendors <a href="https://www.youtube.com/watch?v=OHKKcd3sx2c">have been doing the same thing in the last couple years</a>, as the argument is that <a href="https://discussion.fedoraproject.org/t/please-improve-the-s0ix-experience-under-linux/79113/5">maintaining both S3 and S0 is too much work</a> for them and on paper <a href="https://discussion.fedoraproject.org/t/please-improve-the-s0ix-experience-under-linux/79113/2">a properly implemented S0 sleep should consume even less energy than the old S3</a>. In the S3 world it was the firmware that ensured a proper sleep state. With S0 instead, the OS is entirely responsible of putting all the hardware in the correct sleep state. This is not an easy task and not even Windows gets it right. After a bit of googling, I found <a href="https://github.com/torvalds/linux/commit/8e60615e8932167057b363c11a7835da7f007106">this commit</a> which should improve things and should land in Linux 6.3, so I’ll do further battery draining tests once I get on that kernel.</p> <h1 id="bios">BIOS</h1> <p>HP doesn’t support BIOS updates through <code class="language-plaintext highlighter-rouge">fwupdmgr</code>, but according to this <a href="https://blog.frehi.be/2022/05/04/updating-hp-bios-firmware-from-linux/">blog post</a> it should be possible to manually update the BIOS even without Windows installed.</p> <p>The (UEFI) BIOS on this laptop is quite minimal but I believe at least the essential options should be available. I can launch Linux from the built-in UEFI bootloader via EFISTUB, and that alone is enough for me.</p> <h1 id="conclusions">Conclusions</h1> <p>The Elitebook 645 G9 was quite a welcomed surprise. For a very cheap price you get very good hardware, the upgradability is excellent and Linux support is also good. In this price range (&lt; 700€) I don’t think there is anything better on the market right now.</p> Sun, 16 Apr 2023 19:00:00 +0200 https://eang.it/hp-elitebook-645-g9-review/ https://eang.it/hp-elitebook-645-g9-review/ pc linux hardware Shared With Me files in KIO GDrive <p>I’ve just <a href="https://invent.kde.org/network/kio-gdrive/-/merge_requests/18">merged</a> in kio-gdrive master the support for <a href="https://support.google.com/drive/answer/2375057">Shared With Me</a> files. This new feature will be shipped with the next KDE Gear 22.12 release.</p> <p>Your shared files and folders will be presented in a virtual “Shared With Me” folder (similar to the “Shared With Me” tab in the Google web-UI):</p> <p><a href="/images/kio-gdrive/shared-with-me.webp"><img src="/images/kio-gdrive/shared-with-me.webp" alt="Example of Shared With Me in Dolphin" class="centered-media" /></a></p> <p>The properties dialog in dolphin will also show the date the file/folder was shared with you (if available):</p> <p><a href="/images/kio-gdrive/shared-with-me-date.webp"><img src="/images/kio-gdrive/shared-with-me-date.webp" alt="Example of Shared With Me Date in Dolphin" class="centered-media" /></a></p> <p>Please test it and report any bugs you’ll find :)</p> Fri, 23 Sep 2022 19:00:00 +0200 https://eang.it/kio-gdrive-shared-with-me/ https://eang.it/kio-gdrive-shared-with-me/ kde kio-gdrive plasma New Year, New Job <p>Next week I’ll be starting a new job after 4 years since my last one. I’m very happy because I’m finally going to work with C++ and Qt; it was not easy to find this kind of job on the Italian market… I will also move from Rome to Florence which should be a nice quality of life upgrade.</p> <p>My new employer is Develer. Some of you might know it because they organize the annual <a href="https://qtday.it/">QtDay</a>. They also sponsor other conferences such as the italian Pycon and they are in general friendly to open source.</p> <p>In the past few months I had very little time for KDE stuff, hopefully this will change once I settle down in the next few weeks.</p> Sat, 29 Jan 2022 23:00:00 +0100 https://eang.it/new-year-new-job/ https://eang.it/new-year-new-job/ kde meta My New PC Build <p>Last september I upgraded my <a href="/images/pc/legacy-build.webp">old</a> PC build. While the <a href="https://pcpartpicker.com/user/eang/saved/#view=KMyKpg">previous build</a> was still working fine, it was almost 10 years old. About time to upgrade, since modern hardware is so much better.</p> <p>I was <em>very</em> lucky because I almost waited for the fall 2020 announcements from AMD (Ryzen 5000 series and RDNA2), but then I realized that the previous generation was more than enough for my needs, so I went with Ryzen 3000 + RDNA1. I didn’t know that a <a href="https://www.nytimes.com/wirecutter/blog/silicon-chip-shortage-delays/">global shortage</a> of CPUs was incoming and I probably managed to buy the last stock units at good prices, before the insane increases we witnessed at the end of 2020.</p> <p>This is what I got (Italian prices):</p> <ul> <li>Ryzen 5 3600 (189€)</li> <li>Noctua NH-U12S black (73€)</li> <li>ASRock B550 Pro4 (126€)</li> <li>Corsair Vengeance 2x8GB 3200 MHz (66€)</li> <li>Western Digital Blue SN550 1 TB NVME (118€)</li> <li>Sapphire Radeon RX 5600 XT (290€)</li> </ul> <p>If you like hardware boxes, the next picture is for you :)</p> <p><a href="/images/pc/new-pc-parts.webp"><img src="/images/pc/new-pc-parts.webp" alt="Hardware Boxes" class="centered-media" /></a></p> <p>Case and PSU were recycled from the previous build. After half a day of work, this is what the new build looked like:</p> <p><a href="/images/pc/cable-management-front.webp"><img src="/images/pc/cable-management-front.webp" alt="New PC Build" class="centered-media" /></a></p> <p>The picture doesn’t make justice to the black NH-U12S. It’s freaking awesome.</p> <p>Here’s a detail of the Ryzen 3600. Warning: might be considered porn.</p> <p><a href="/images/pc/ryzen-3600.webp"><img src="/images/pc/ryzen-3600.webp" alt="New PC Build" class="centered-media" /></a></p> <p>Finally, this is the cable management on the back, which was not easy to achieve:</p> <p><a href="/images/pc/cable-management-back.webp"><img src="/images/pc/cable-management-back.webp" alt="New PC Build Back" class="centered-media" /></a></p> <p>Full details on the new build are available <a href="https://pcpartpicker.com/list/DCDzy4">here</a>.</p> <p>Overall I’m pretty happy with this new hardware. Compiling source code has never been faster for me. I can play pretty much any game out there at full quality with a resolution of 1920x1200. Oh and I can play Doom 2016/Eternal on a Plasma Wayland session as if it were a native Linux game. Thanks to AMD+Steam+Proton everything works out of the box, it’s just mind blowing.</p> Mon, 05 Apr 2021 18:00:00 +0200 https://eang.it/my-new-pc-build/ https://eang.it/my-new-pc-build/ pc hardware Introducing User Feedback in Dolphin <p>I’m happy to announce that the next version of Dolphin will introduce support for reporting of some telemetry data to the KDE servers. It’s important to stress the the data will be submitted <em>only</em> if the user actively enables the feature from the Dolphin settings.</p> <p>Telemetry data can be very helpful to developers, but it may seem uninteresting to an end user. My personal opinion is that enabling telemetry is actually one of the easieast ways to contribute to KDE, if not the easieast. You just need to enable the reporting and you go on with your usual workflow.</p> <p>Dolphin relies on the <a href="https://api.kde.org/frameworks/kuserfeedback/html/index.html">KUserFeedback</a> framework to submit the data, which is already used by other projects such as Plasma or Kate.</p> <h2 id="what-kind-of-data-will-be-collected">What kind of data will be collected?</h2> <p>For now only the following data will be collected:</p> <ul> <li>Dolphin version</li> <li>Qt version</li> <li>Platform information: the name of the OS/Distro used</li> <li>Screen information: to find out how many screens people use</li> <li>Start count: how many times Dolphin gets started</li> <li>Usage time: to find out how many regular vs casual users we have</li> <li>Locale information: the language used</li> <li>Number of network shares: to find out how many people have Samba/NFS shares or SSHFS mounts.</li> <li>Settings information: to find out how many people enable tooltips, the information and folder panels, or the “open archives as folder” setting.</li> </ul> <p>An example of collected data can be seen from this screenshot:</p> <p><a href="/images/dolphin/collected-data-example.png"><img src="/images/dolphin/collected-data-example.png" alt="Example of collected data" class="centered-media" /></a></p> <h2 id="how-do-i-enable-the-data-reporting">How do I enable the data reporting?</h2> <p>In the new “User Feedback” panel in the Dolphin settings you will be able to enable the data submission and to choose how much data you prefer the send: only basic data (app version, Qt version, OS) or all the collected data which I described before.</p> <p><a href="/images/dolphin/user-feedback-panel.png"><img src="/images/dolphin/user-feedback-panel.png" alt="User Feedback panel from Dolphin settings" class="centered-media" /></a></p> <p>Note that surveys are currently not supported for Dolphin, so changing the “Participate in Surveys” bar actually does nothing.</p> <p>If you want to read more about the KDE privacy policy, please refer to the general <a href="https://kde.org/privacypolicy-apps/">software privacy policy</a> as well as the <a href="https://community.kde.org/Policies/Telemetry_Policy">telemetry policy</a>.</p> <p>Last but not least, feel free to inspect <a href="https://invent.kde.org/system/dolphin/-/merge_requests/45">the code</a> that added this feature to dolphin.</p> Thu, 05 Nov 2020 18:00:00 +0100 https://eang.it/user-feedback-dolphin-announce/ https://eang.it/user-feedback-dolphin-announce/ kde kuserfeedback dolphin Akademy & Hardware Acceleration <p>So today <a href="https://akademy.kde.org/2020">Akademy 2020</a> started. This year it is an online event, meaning that stuff happens on your browser with <a href="https://meet.kde.org/">BigBlueButton</a>.</p> <p>This gave me the motivation to fix hardware acceleration with Chromium on my system. You need a browser able to do hardware-accelereted video decoding if you don’t want to hear the noise of a CPU fan alongside the voice of our fellow KDE people, or if you just don’t want to waste power. Unfortunately hardware-accelereted video decoding on Linux browsers is still a mess in 2020, to the best of my knowledge.</p> <p>What I had to do to enable hardware-acceleration in Chromium on my ThinkPad T450s was:</p> <ol> <li>Switch back to Plasma on X11 :(</li> <li>Create <code class="language-plaintext highlighter-rouge">~/.config/chromium-flags.conf</code> with the following flags:</li> </ol> <figure class="highlight"><pre><code class="language-shell" data-lang="shell"><span class="nt">--ignore-gpu-blacklist</span> <span class="nt">--enable-gpu-rasterization</span> <span class="nt">--enable-zero-copy</span> <span class="nt">--disable-gpu-driver-bug-workarounds</span> <span class="nt">--use-gl</span><span class="o">=</span>desktop</code></pre></figure> <p>You also need to make sure that your Chromium package has been compiled with VA-API support. And of course you need to have VA-API enabled on your system.</p> <p>I haven’t tried with Firefox, but it should be possible to enable hardware-acceleration there as well (supposedly also on Wayland).</p> Fri, 04 Sep 2020 18:30:00 +0200 https://eang.it/hardware-acceleration-chromium/ https://eang.it/hardware-acceleration-chromium/ kde chromium akademy Akademy Report <p>“Who are you people?”</p> <p>That’s what the woman selling the ferry tickets at Varenna asked me once she realized I speaked Italian. She was definitely not used to a group of ~80 people wearing a blue badge. Another woman who was selling stuff on the street asked me if we were a school.</p> <p>It’s been an amazing week and a very productive Akademy. A lot has been discussed and a lot has been decided. On my side, I’ve hosted a Dolphin BoF where we discussed both boring things (e.g. where to send bugzilla notification mails) as well as the awesome new features we are getting into Dolphin. Alexander talked about the status of the <a href="https://feverfew.home.blog/2019/09/10/kiofuse-final-report/">KIO Fuse</a> project, while <a href="http://www.bivouak.fr/post/2019/07/26/First-Contributions-and-first-sprint">Méven</a> talked about his work on the kioslave for the recently used files.</p> <p>On the coding side, I wish I could have done more, but I lost a lot of times fighting with Google bureaucracy which was required to create a new API key for KIO GDrive. We need to urgently sort this out because it is blocking a working Google support in Kontact. Despite that, I managed to write a simple PoC of KUserFeedback usage in Dolphin. KUserFeedback is very easy to use if you just want the basic reportings (OS version, Qt version, and so on.). Hopefully it won’t be too hard to also get more interesting information, such as which are the features that our users use the most.</p> <p>And finally, a big thanks goes to the Akademy team and the local team for the organization of the event. See you next year!</p> Fri, 13 Sep 2019 20:30:00 +0200 https://eang.it/akademy-report/ https://eang.it/akademy-report/ kde akademy I'm travelling to Akademy <p>I’m writing this post on the train from Rome to Milan, but I guess better late than never. I’ll be in the city all week and I will host a Dolphin BoF on tuesday.</p> <p>See you! :)</p> <p><a href="https://akademy.kde.org/2019"> <img src="https://cdn.kde.org/akademy/2019/imgoing/Akademy2019BannerBoscoVerticale.png" width="840" height="206" alt="I'm going to Akademy 2019" /> </a></p> Sat, 07 Sep 2019 08:00:00 +0200 https://eang.it/i-am-travelling-to-akademy/ https://eang.it/i-am-travelling-to-akademy/ kde akademy PSA: Workaround for a working MTP <p>KDE Connect is awesome, we all know that. But sometimes you still want (or need) to acces the files on your Android phone via a good old USB cable. And to do so, you need a working implementation of the MTP protocol.</p> <p>Many people on bugzilla complain that the MTP support in Plasma is just broken. And indeed the MTP implementation we have has always been ignoring a fundamental limitation of MTP: the protocol doesn’t allow parallel operations, unlike the old Android USB mass storage did. In practice, if more than one process spawns an mtp ioslave, everything breaks.</p> <h3 id="the-workaround">The workaround</h3> <p>When you need to move files from your phone to your computer (or viceversa), either use only <em>one</em> dolphin window (tabs are your friends!), or use only Plasma’s Folder View.</p> <h4 id="what-works">What works</h4> <p>If you follow the workaround above, you will be able to copy/move files to/from your phone, or delete them.</p> <h4 id="what-doesnt-work">What doesn’t work</h4> <p>Everything else will still be broken, unfortunately:</p> <ul> <li>you cannot copy MTP files from dolphin to the desktop.</li> <li>you cannot open e.g. a PDF file from the MTP folder; copy it somewhere else first.</li> <li>you cannot open Amarok and dolphin at the same time.</li> <li>… you get the picture.</li> </ul> <h3 id="the-long-term-solution">The long term solution</h3> <p>Every time you open an MTP URL (e.g. <code class="language-plaintext highlighter-rouge">mtp:/Your Phone/Documents/</code>), an mtp ioslave gets spawned. As soon as you open another MTP URL from another process (e.g. Amarok or Okular), a second mtp ioslave spawns. This model is just wrong for MTP, as there should be at most one place where the MTP implementation lives. A possible solution could be to use a KDED module for that, moving the MTP-specific code from the ioslave to the kded plugin. Then the ioslave would just act as proxy between the applications and the kded plugin.</p> <p>We discussed this idea with David Faure at Akademy and we came up with a design to go forward. If anyone is interested in the technical details, there is a <a href="https://phabricator.kde.org/T9390">task</a> on phabricator you can look at.</p> <p>Cheers from Vienna!</p> Thu, 16 Aug 2018 10:00:00 +0200 https://eang.it/psa-workaround-for-a-working-mtp/ https://eang.it/psa-workaround-for-a-working-mtp/ kde kio mtp akademy plasma