• 5 Posts
  • 77 Comments
Joined 1 year ago
cake
Cake day: September 29th, 2023

help-circle
  • If it’s a motivation issue, you will need to figure it out on your own. I could give you some advice but motivation depends on a specific use case. If you want I can share what motivates me but there’s no guarantee it will work for you.

    As for getting back on a tech horse, there’s a trick I’ve been using every time I was learning a new thing and it worked every single time. I start with a project idea. I write down the major goals I want to achieve and start working on it. At first I do the “quick start” adjusted to fit my project. It usually ends up with a working proof of concept and a list of things I don’t know/understand. Next, I learn about the those unknowns and update the project with what I have learned. This raises more unknowns which leads to more things to learn about. After few iterations, when I’m happy about the project, I start a new, more complex project. And so on.





  • I think, you should keep these two things (messing with containers accessing GPU and “just play a game”) separate. I mean on separate boxes. Because now you can’t “just play” because you’ve been elbows deep in OS internals. You can’t take apart your fridge and then expect it to just cool the water the next day

    I agree, that’s a valid point. But, I had a clean system, prepared for a normal user (clean install, official repositories, etc. And still GPU drivers refusded to work. I have covered all basics before I asked for help and even I got some good advice that worked, I ended up in the same place.

    Then I’m guessing these might need some KDE envs

    True, but sill for a regular user it looks like “Linux is ugly”

    Ah, you’re trying to breach the non-open wall. Is there an app on i* that allows you to set up an ftp/http file sharing server on the device? You probably could set it up as rclone upstream

    I know too well the unbreakable apple garden. And I don’t mind tinkering with it but again, we are at the regular user level, that wants things just to work.


  • Start with Gentoo or Arch (maybe Slackware). These are close to the grass, so the way to set things up is the way to fix things up

    I’ve tried Mint, openSUSE, Debian, Gentoo and Arch but I had other, non-regular user issues with those. I wanted to point out the standard issues.

    are these gtk based apps? Different toolsets require different envs

    Some were GTK based other were “optimised” for KDE

    Have you tried syncthing?

    Yes, I use it on a daily basis but there’s no easy way to get it working on iOS/iPadOS.








  • Why don’t more people use Linux?

    Because Linux breaks randomly, in many cases without user interaction. New driver update - external monitor stops working, games break, etc. Official desktop widgets - tend to break without any reason. Apps don’t follow desktop theme.

    I’m a software engineer and I work a lot and I want to spend my free time using OS, not fixing it. After my recent issues with graphic drivers I decided to buy a Windows PC just for gaming. I will stick with Linux for my home server and work.




  • bat /etc/default/grub
    
    ───────┬─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
            File: /etc/default/grub
    ───────┼─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
       1    GRUB_TIMEOUT=5
       2    GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)"
       3    GRUB_DEFAULT=saved
       4    GRUB_DISABLE_SUBMENU=true
       5    GRUB_TERMINAL_OUTPUT="console"
       6    GRUB_CMDLINE_LINUX="rhgb quiet rd.driver.blacklist=nouveau modprobe.blacklist=nouveau"
       7    GRUB_DISABLE_RECOVERY="true"
       8    GRUB_ENABLE_BLSCFG=true
    ───────┴─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
    


  • modinfo nvidia
    
    filename:       /lib/modules/6.10.6-200.fc40.x86_64/extra/nvidia/nvidia.ko.xz
    alias:          char-major-195-*
    version:        560.35.03
    supported:      external
    license:        NVIDIA
    firmware:       nvidia/560.35.03/gsp_tu10x.bin
    firmware:       nvidia/560.35.03/gsp_ga10x.bin
    srcversion:     73D9C383254E4CB4BF2CDFA
    alias:          pci:v000010DEd*sv*sd*bc06sc80i00*
    alias:          pci:v000010DEd*sv*sd*bc03sc02i00*
    alias:          pci:v000010DEd*sv*sd*bc03sc00i00*
    depends:        
    retpoline:      Y
    name:           nvidia
    vermagic:       6.10.6-200.fc40.x86_64 SMP preempt mod_unload 
    sig_id:         PKCS#7
    signer:         myhostname-2523446329
    sig_key:        2C:94:54:AD:F6:AE:17:12:62:63:78:D6:E3:D5:12:DE:A9:20:CD:08
    sig_hashalgo:   sha256
    signature:      55:A6:10:E5:CF:30:99:6D:24:8F:B9:B1:6A:BF:32:AA:BB:90:8E:CD:
                    39:AF:A3:94:F4:64:BF:DD:A8:87:A2:6B:E1:1B:77:7F:6E:59:A7:28:
                    7F:02:50:A5:54:CC:99:2F:2D:48:17:AC:66:9D:10:7B:CA:7C:FC:44:
                    F2:5B:37:7B:31:EC:30:E2:5C:F0:C5:A0:C6:EE:63:7E:2C:42:EE:48:
                    75:FD:08:30:86:96:E4:74:29:00:1A:BA:9A:CA:96:06:6D:40:0E:C8:
                    69:52:08:25:BD:95:30:2A:E6:C5:55:8C:12:86:6E:87:E9:BD:FA:62:
                    7C:D6:76:C9:16:0F:4A:26:56:53:21:AB:36:6C:B3:7E:0E:36:3C:EF:
                    43:80:CC:BD:49:8F:63:9F:C6:F7:3E:D2:86:81:C3:1E:7C:DA:05:75:
                    CE:31:19:BB:52:42:B5:D9:68:B0:31:1D:A9:4A:71:73:22:BC:FB:D6:
                    3E:91:0A:D4:80:81:ED:3D:95:C7:90:70:09:4E:24:9B:6F:A6:A8:BC:
                    5F:4A:90:00:5B:91:AD:12:5E:A3:35:F3:8B:29:12:2C:15:45:61:D2:
                    55:BE:7F:46:C6:60:4B:91:F8:1E:6F:70:D8:05:74:57:C3:82:26:79:
                    19:8D:BC:3D:C7:2B:2A:D0:14:A1:4B:00:5A:61:AA:2D:9F:B8:16:CA:
                    CD:BC:BB:8B:18:79:27:BE:26:34:64:A5:29:8B:5A:F1:54:19:46:B9:
                    23:16:D2:DB:07:0C:C3:81:17:86:20:D8:05:CD:49:43:0B:F3:36:01:
                    EE:4F:F9:25:29:C0:6A:3B:70:8C:95:95:37:D5:70:72:C2:E8:4D:FF:
                    5B:F3:7D:DA:E1:F7:89:F6:B3:1B:DD:C4:5A:08:80:31:25:23:B6:84:
                    D2:E0:46:AE:F7:21:FC:9A:DA:FD:F9:44:58:E8:36:F1:10:34:35:8C:
                    3E:09:25:6B:D9:BC:8B:E5:D9:31:02:56:76:CC:9D:41:B5:E0:15:3E:
                    DB:90:BF:92:EB:92:72:76:39:7F:BF:FD:6A:71:BD:C0:B1:EB:A5:98:
                    75:6A:CB:8A:70:48:AE:75:C4:DB:0C:A5:5B:F5:C6:16:C0:96:D6:B2:
                    66:A7:01:54:BB:A4:33:EE:31:65:A9:4F:4E:11:05:5F:DE:69:B3:25:
                    02:3D:E4:91:39:CB:7C:E9:24:E8:09:BA:80:9C:AB:2F:8D:45:84:62:
                    38:3F:97:7E:3A:7F:66:4F:9D:59:54:D1:51:55:53:C3:FD:CE:97:79:
                    97:84:FD:3A:C2:FD:E3:A7:CE:03:30:D6:98:0E:CE:C6:5A:2D:F5:7C:
                    29:38:4A:E7:9C:05:02:94:FE:CC:0E:A4
    parm:           NvSwitchRegDwords:NvSwitch regkey (charp)
    parm:           NvSwitchBlacklist:NvSwitchBlacklist=uuid[,uuid...] (charp)
    parm:           NVreg_ResmanDebugLevel:int
    parm:           NVreg_RmLogonRC:int
    parm:           NVreg_ModifyDeviceFiles:int
    parm:           NVreg_DeviceFileUID:int
    parm:           NVreg_DeviceFileGID:int
    parm:           NVreg_DeviceFileMode:int
    parm:           NVreg_InitializeSystemMemoryAllocations:int
    parm:           NVreg_UsePageAttributeTable:int
    parm:           NVreg_EnablePCIeGen3:int
    parm:           NVreg_EnableMSI:int
    parm:           NVreg_TCEBypassMode:int
    parm:           NVreg_EnableStreamMemOPs:int
    parm:           NVreg_RestrictProfilingToAdminUsers:int
    parm:           NVreg_PreserveVideoMemoryAllocations:int
    parm:           NVreg_EnableS0ixPowerManagement:int
    parm:           NVreg_S0ixPowerManagementVideoMemoryThreshold:int
    parm:           NVreg_DynamicPowerManagement:int
    parm:           NVreg_DynamicPowerManagementVideoMemoryThreshold:int
    parm:           NVreg_EnableGpuFirmware:int
    parm:           NVreg_EnableGpuFirmwareLogs:int
    parm:           NVreg_OpenRmEnableUnsupportedGpus:int
    parm:           NVreg_EnableUserNUMAManagement:int
    parm:           NVreg_MemoryPoolSize:int
    parm:           NVreg_KMallocHeapMaxSize:int
    parm:           NVreg_VMallocHeapMaxSize:int
    parm:           NVreg_IgnoreMMIOCheck:int
    parm:           NVreg_NvLinkDisable:int
    parm:           NVreg_EnablePCIERelaxedOrderingMode:int
    parm:           NVreg_RegisterPCIDriver:int
    parm:           NVreg_EnableResizableBar:int
    parm:           NVreg_EnableDbgBreakpoint:int
    parm:           NVreg_EnableNonblockingOpen:int
    parm:           NVreg_RegistryDwords:charp
    parm:           NVreg_RegistryDwordsPerDevice:charp
    parm:           NVreg_RmMsg:charp
    parm:           NVreg_GpuBlacklist:charp
    parm:           NVreg_TemporaryFilePath:charp
    parm:           NVreg_ExcludedGpus:charp
    parm:           NVreg_DmaRemapPeerMmio:int
    parm:           NVreg_RmNvlinkBandwidth:charp
    parm:           NVreg_ImexChannelCount:int
    parm:           NVreg_CreateImexChannel0:int
    parm:           rm_firmware_active:charp
    



  • I don’t have a response to share but I always lose my mind when I see AWS error messages, especially when using bazillion layers like CDK for Terraform, executed from the shell script that runs a python script in the CI/CD pipeline.

    One of the issues I will never forget was the debugging of permission issue. Dev reported an issue, something like “cannot access the SQS queue from a recently deployed script”. The error message was like “cannot access the queue due to missing policy in assumed role” (or something similar). So, I have checked the python script and related policies - all good. Next I’ve moved to a shell script, still no luck. After that I went through the CDK files, no issues. I was about to involve the AWS support when it turned out that the queue name has been changed manually in the AWS console. AWS, instead of point out that the queue is missing, raised an error about missing access permissions…