• 1 Post
  • 166 Comments
Joined 2 years ago
cake
Cake day: June 20th, 2023

help-circle




  • Thank you for the detailed answer, this is very informative. I should read up some more on the underflow issue. This is the first time I’ve heard that term. I’m familiar with buffer underflows, but this sounds a little more complex.

    You are right, it did start happening just recently (within the last couple of weeks maybe). I forgot to mention that I am running this through a 4-port KVM. I didn’t think it relevant before because I’m not seeing any issues when using another port (my work PC), but I can’t rule it out.

    It has been some time since I played with it, but I think the reason I went out-of-repo at the time was to get recent enough versions of amdgpu and rocm to run ollama. I was following some online guide and had no idea what I was doing so I probably messed something up.

    It sounds like it should be safe to uninstall the out-of-repo amdgpu and rocm packages. I am not doing any local AI right now so I can probably leave it out. I do use the PC for gaming, but from what I’ve been reading it sounds like the standard drivers are good enough for that now.

    Thank you everyone for your help. I didn’t expect anyone to actually reply and you guys have been awesome! I am going to swap the cables first of all since that’s an easy thing to try and see if anything changes.


  • Thank you for responding! I’m not sure how to find the versions, but here goes:

    glxinfo reports:

    Extended renderer info (GLX_MESA_query_renderer):
        Vendor: AMD (0x1002)
        Device: Radeon RX 7900 XTX (radeonsi, navi31, LLVM 20.1.6, DRM 3.63, 6.15.9-201.fc42.x86_64) (0x744c)
        Version: 25.1.4
        Accelerated: yes
        Video memory: 24576MB
    
    OpenGL renderer string: Radeon RX 7900 XTX (radeonsi, navi31, LLVM 20.1.6, DRM 3.63, 6.15.9-201.fc42.x86_64)
    
    

    AMDgpu package:

    $ dnf info amdgpu
    Updating and loading repositories:
    Repositories loaded.
    Available packages
    Name           : amdgpu
    Epoch          : 1
    Version        : 6.2.60203
    Release        : 2044426.el9
    

    The exact kernel version is 6.15.9-201

    I am slo seeing some amdgpu related stuff in dmesg:

    amdgpu 0000:03:00.0: [drm] Registered 4 planes with drm panic
    amdgpu 0000:03:00.0: [drm] REG_WAIT timeout 1us * 100 tries - dcn32_program_compbuf_size line:138
    

    What could cause an underflow? I have two displays running: Primary is 3840x2160@60 (150% scale, HDR mode), Secondary is 2560x1440@60. Could cables be an issue?





  • In my humble opinion, being monocultural as a developer is a path to obsolescence. Be T-shaped: know your specialty really well, but also a bunch of stuff more superficially.

    If you have a little hands on experience with Go on top of your Java expertise, you are imo more valuable to your employer. They may even be mid transition from Java to Go, where you would be very useful indeed.

    Besides, it’s just healthy to keep learning new things.





  • As a dev: for all their flaws, web apps are easier to distribute, portable, and have a lot of support in frameworks. They also require little infrastructure in most cases.

    As a user: web apps run without installing anything, are mostly portable between my browsers of choice, and run in a sandbox to protect my computer.

    Probably 90% of my needs can be served by a web app if it is well designed. If I can’t have a web app, I will look for a flatpak version and failing that I will look for it in my distro.


  • This. Especially if you’re a naturalized citizen. The certificate of naturalization is expensive and hard to replace. It should not be your only id. Keep it in a safe place.

    If you are a permanent resident, you should already know that you must carry your card on you at all times. That is more important now then ever.

    Note that you will need to mail the original certificate to the authorities to get your passport. You will get it back after a couple of weeks, but in the meantime you will have nothing, unless you paid to get a certified copy. It is a large piece of paper that cannot be folded, so it’s not practical to carry around.

    While you’re at it, get your driver’s license updated with the federal id. Make sure the BMV records reflect your status. Register to vote. In other words, document your citizenship in as many ways as possible.

    During my recent travels I carried a photocopy of my naturalization document plus my passport. I was not asked for it, but my reasoning was that if they took my passport I at least had something. I also had a physical notebook with important info in it, i.e., not just in my phone.





  • My main one is to learn shortcuts on your most used programs. Using the mouse for everything is a waste of time, but that has been said multiple times.

    My second is to create scripts to do a bunch of repetitive tasks. For example, I have a script I run on my work PC after I log on to the VPN that starts my “always on” programs (like notepad++), unlocks the hosts file, etc. I have some sendto scripts for converting files with pandoc, fetching multiple git repos in one go, etc. It just speeds up things and avoids errors versus me doing them manually.

    On Windows I use PowerShell and on Linux I use bash, meaning they work without additional software installed.


  • Yeah, I get it. I’ve had many libraries fail me in as many ways, which is why I consider it lucky to not have to implement my own. I work in .net these days, but there have been times where I had to just dig into the xml inside the xlsx and use xml tools. Those were mostly one-offs, thankfully.

    Back when I did Java I had a frustrating experience with IBM’s libxml causing our app to crash after several days due to a memory leak. I didn’t have access to the production environment so it took me probably 3 weeks to find the cause and only after digging through a crash dump provided by the sysadmin. Not related, but you triggered my traumatic memory :)