SteveTech

joined 2 years ago
[–] SteveTech@programming.dev 7 points 5 days ago

I hadn't restarted my serial logger after I rebooted my laptop, leaving me with no clue about what caused the crash.

Probably way too late now, but if it was a proper kernel panic, it should've saved the dmesg in the kernel's pstore which saves to either ACPI or EFI storage (depending on BIOS or UEFI), which systemd then extracts to /var/lib/systemd/pstore/ on next reboot.

[–] SteveTech@programming.dev 4 points 1 week ago

Oh damn, phoronix comments are usually bad, but they really got off the rails this time!

[–] SteveTech@programming.dev 8 points 2 weeks ago (1 children)

I've never tried it, but there's Waypipe.

[–] SteveTech@programming.dev 8 points 3 weeks ago

For the AMD version, if you're going for an almost all Type A layout or something, it's handy to note that the Type A expansion card have idle power issues in the back ports.

Diagram showing expansion card compatibility

https://knowledgebase.frame.work/en_us/expansion-card-functionality-on-framework-laptop-13-amd-ryzen-7040-series-SkrVx7gAh

[–] SteveTech@programming.dev 2 points 4 weeks ago

I've seen an S3 option in Smokeless_UMAF, so maybe you can enable real suspend, but I haven't tried on my Framework 13 AMD.

[–] SteveTech@programming.dev 4 points 4 weeks ago

It seems like it's fixed now, but if possible use one of the mirrors, so everyone's not hitting that one server all that hard, it's usually faster too.

Or even better, use the torrent.

[–] SteveTech@programming.dev 2 points 4 weeks ago

Most thermal paste isn't electrically conductive, so that blob inbetween the capacitors shouldn't be an issue, but it would be good to know what thermal paste it is to be sure.

[–] SteveTech@programming.dev 2 points 1 month ago

Yes, but it doesn't look like KPROBES_ON_FTRACE is supported on arm64. I did find this patch though which implements it: https://patchwork.kernel.org/project/linux-arm-kernel/patch/20191218140622.57bbaca5@xhacker.debian/

If you don't know how to apply a patch, you can either paste the link into b4, or download the mbox and apply it with git am.

[–] SteveTech@programming.dev 4 points 1 month ago (1 children)

Ahh okay, that description kinda sounds like floppy drive power, but it probably is a proprietary thing.

Floppy disk drive power connector

[–] SteveTech@programming.dev 2 points 1 month ago (1 children)

Could also be slimline sata.

A slimline sata adaptor and DVD drive with a slimline sata connector

[–] SteveTech@programming.dev 2 points 2 months ago

Probably a long shot, but if you live in Australia (or maybe also New Zealand), Jaycar often sells the Ender 3 V3 SE for AU$250, which seemed like a really good price compared to other places I found.

[–] SteveTech@programming.dev 16 points 2 months ago

I couldn't find a hard answer to whether this supports EPYC only, or Ryzen too; so I put together this script to read the CPUID to detect for INVLPGB support according to the AMD64 Programmer’s Manual, and my 7800X3D does not support INVLPGB.

(Let me know if I've made an error though!)

Code

#include <stdio.h>
#include <stdint.h>

int main() {
    uint32_t eax, ebx, ecx, edx;

    eax = 0x80000008;

    __asm__ __volatile__ (
        "cpuid"
        : "=a" (eax), "=b" (ebx), "=c" (ecx), "=d" (edx)
        : "a" (eax)
    );

    printf("EBX: 0x%x\n", ebx);

    if (ebx & (1 << 3)) {
        printf("CPU supports INVLPGB\n");
    } else {
        printf("CPU does not support INVLPGB\n");
    }

    return 0;
}

 

This is more of a public note to self, but if anyone else had screwed up fonts, default cursors, and missing minimise/maximise buttons in flatpaks on KDE Wayland, put this in your /usr/share/xdg-desktop-portal/kde-portals.conf:

[preferred]
default=kde;gtk;
org.freedesktop.impl.portal.Settings=kde;gtk;

Then restart xdg-desktop-portal.

Source: https://bugs.kde.org/show_bug.cgi?id=474746#c12

Apparently this will be fixed in 5.27.9 releasing on the 24th anyway, but I've tried so many different 'solutions' and this had been annoying me for weeks.

 
view more: next ›