GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Cuda archive for 12.7 is not available. 12.8 is unsupported. 12.6.3 is in some random PR. · Issue #31 · tinygrad/open-gpu-kernel-modules

Cuda archive for 12.7 is not available. 12.8 is unsupported. 12.6.3 is in some random PR. #31

New issue
Copy link
New issue
Copy link
Open
Open
Cuda archive for 12.7 is not available. 12.8 is unsupported. 12.6.3 is in some random PR.#31
Copy link

Description

@Ph0rk0z
Ph0rk0z
opened on Feb 24, 2025
Issue body actions

NVIDIA Open GPU Kernel Modules Version

565

Operating System and Version

Ubuntu 22.04

Kernel Release

n/a

Please confirm you are running a stable release kernel (e.g. not a -rc). We do not accept bug reports for unreleased kernels.

  • I am running on a stable kernel release.

Build Command

none

Terminal output/Build Log

none

More Info

If you look at https://developer.nvidia.com/cuda-toolkit-archive, the archive stop at 12.6.3 and so the drivers cannot be downloaded.

The 12.6.3 driver is still a PR. Basically there is no repo to build against if you want up to date cuda. Just pick a random version and cross fingers?

Activity

  1. aikitoria commented on Mar 7, 2025

    @aikitoria
    aikitoria
    on Mar 7, 2025
    More actions

    I maintain more up to date branches here: https://github.com/aikitoria/open-gpu-kernel-modules

    Reacted by Forkoz, LuosjDD, Aleksandar Zvorinji, showgood163, Panchovix and btrude
  2. Ph0rk0z commented on Mar 8, 2025

    @Ph0rk0z
    Ph0rk0z
    on Mar 8, 2025
    Author
    More actions

    Thanks. Will try it out. My next hurdle is that I also have a 22g 2080ti. If it doesn't affect the 3090s, I'm golden. if it does I guess I just install the closed source modules and frown.

    edit: it still doesn't match cuda repo drivers. So I have to d/l cuda repo, dl the updated driver after. We'll see how that works out. Maybe I try my luck with drivers only since I am using conda for all environments.

  3. Ph0rk0z commented on Mar 9, 2025

    @Ph0rk0z
    Ph0rk0z
    on Mar 9, 2025
    Author
    More actions

    So I tested it with the provided driver (.04) and it works. Only a slight speed bump, much lower latency. Worse issue is not having 570.86.10 like cuda repo. You can't install it's driver packages and ubuntu assumes it's not installed. To compile NCCL and run the perf test, I needed to manually copy the libs, set paths. Plus more bleeding edge driver rather than the tested/shipped one in cuda may not be better for performance overall. 2080ti doesn't seem to affect anything.

    I mean, we are using this with cuda, right? Why make it hard?

  4. aikitoria commented on Mar 9, 2025

    @aikitoria
    aikitoria
    on Mar 9, 2025
    More actions

    I'm not sure about ubuntu I don't use it, I use Debian testing myself, didn't have any problems installing the 570.124.04 driver and the cuda 12.8 toolkit there. If you need a specific other version of the driver you can probably just rebase a close version to it with no merge conflicts, the change is very simple.

  5. Ph0rk0z commented on Mar 9, 2025

    @Ph0rk0z
    Ph0rk0z
    on Mar 9, 2025
    Author
    More actions

    Upon further inspection, I think the issue might be nvidia. The driver versions they put in their kernel repo don't match what they package. So the only way to have it work seamlessly would be to rip the source that is shipped and apply the patches on top of that.

    For instance, on my system, clinfo acts like no opencl is present despite the libs being under /usr/local/cuda. Even when added to the paths it doesn't all pick up. You can't install all packages relating to these things (like cuda runtime) because they pull in their own driver files too. I doubt it's distro dependent.

    Pytorch/conda seem to work just fine as-is so it's just a matter of fixing things for the rest of it.

  6. LuosjDD commented on Mar 9, 2025

    @LuosjDD
    LuosjDD
    on Mar 9, 2025
    More actions

    I maintain more up to date branches here: https://github.com/aikitoria/open-gpu-kernel-modules我在这里维护更更新的分支:https://github.com/aikitoria/open-gpu-kernel-modules

    I installed your branch and did some testing, but I cannot test the simpleP2P pass on the 2x RTX5070 Ti. The 2x RTX4070TiS works well.
    I have confirmed that RTX5070Ti BAR1 size meets the requirements, and the CUDA samples version is 12.8. Do you have any suggestions for this CUDA error? By the way, you should enable the issues Feature on your branch.

    `[./simpleP2P] - Starting...
    Checking for multiple GPUs...
    CUDA-capable device count: 2
    Checking GPU(s) for support of peer to peer memory access

    Peer access from NVIDIA GeForce RTX 5070 Ti (GPU0) -> NVIDIA GeForce RTX 5070 Ti (GPU1) : Yes
    Peer access from NVIDIA GeForce RTX 5070 Ti (GPU1) -> NVIDIA GeForce RTX 5070 Ti (GPU0) : Yes
    Enabling peer access between GPU0 and GPU1...
    Allocating buffers (64MB on GPU0, GPU1 and CPU Host)...
    Creating event handles...
    CUDA error at /home/a/test/cuda-samples/Samples/0_Introduction/simpleP2P/simpleP2P.cu:170 code=719(cudaErrorLaunchFailure) "cudaEventSynchronize(stop_event)"
    `

  7. aikitoria commented on Mar 9, 2025

    @aikitoria
    aikitoria
    on Mar 9, 2025
    More actions

    I don't currently have a system with multiple 50 series GPUs, so I'm unable to test it on that generation. It's possible the patch needs further changes. You will be on your own making it work for now

  8. Panchovix commented on Apr 7, 2025

    @Panchovix
    Panchovix
    on Apr 7, 2025
    More actions

    Just wondering, does applying P2P affects graphics workloads? (Not compute)

    When applying the patch of aikitoria, P2P works fine on 2 of my 4090s, but when trying to do graphics on either or a 5090 I have on the same PC, card doesn't boost as it should (Wine). I can confirm that re installing the driver from scratch fixes that issue (without P2P). Fedora 41.

    Also, do we have the .run file without or with kernel?

  9. aikitoria commented on Apr 7, 2025

    @aikitoria
    aikitoria
    on Apr 7, 2025
    More actions

    Cards are boosting correctly for me when running compute workload. Do you also get the issue just installing vanilla custom kernel modules (without the patch, but not signed by nvidia)?

  10. Panchovix commented on Apr 7, 2025

    @Panchovix
    Panchovix
    on Apr 7, 2025
    More actions

    Oh for compute they boost fine, but for graphics they don't, for some reason. Now I tried with --no-kernel-modules from the .run file and then applying the tinygrad patch and no luck either, still doesn't boost normally on graphics.

    I haven't tried with vanilla custom kernel modules yet, but it's highly factible that it comes from there actually and not the patch actually.

  11. Panchovix commented on Apr 7, 2025

    @Panchovix
    Panchovix
    on Apr 7, 2025
    More actions

    Oh and probably maybe another factor, on fedora I do have to rebuild the kernel to make p2p work after applying the patch (sudo dracut --regenerate-all --force), else it doesn't work.

  12. aikitoria commented on Apr 7, 2025

    @aikitoria
    aikitoria
    on Apr 7, 2025
    More actions

    Note sure about Fedora. For me on Debian the process to install it is always:

    1. uninstall previous driver using the uninstall script made by the last installation
    2. install the new driver version using the .run file provided by nvidia (choosing MIT licensed modules)
    3. run install script in the repo on branch matching the version exactly to replace the modules with modified ones
    4. reboot the computer (otherwise it doesn't work correctly)
  13. Panchovix commented on Apr 7, 2025

    @Panchovix
    Panchovix
    on Apr 7, 2025
    More actions

    Okay just tried without rebuilding the kernel after install.sh and it does detect P2P for the 4090s and work fine, but graphic workloads still don't boost correctly :(

    It is too late ATM for me so tomorrow I will try vanilla custom kernel modules.

  14. Panchovix commented on Jun 14, 2025

    @Panchovix
    Panchovix
    on Jun 14, 2025
    More actions

    @aikitoria Coming back after some, I wonder. How can you, for example, if want to update the driver, uninstall the old patched P2P driver and then install it again? (from your repo). I'm a bit new on Linux and after trying to uninstall and install 570.153 to 570.133 I borked my Fedora installation lol.

    EDIT: Also, is there a way to apply the 5090 patch into 575? From #29 (comment)

    EDIT: Okay I learnt how to do it (uninstall the driver correctly)

    Now, I did try to apply the patch mentioned above to 570.xxx driver, but when I install the patched driver, 5090s still don't work for some reason. What could be the issue?

  15. ChiikawaSama commented on Jul 10, 2025

    @ChiikawaSama
    ChiikawaSama
    on Jul 10, 2025
    More actions

    @aikitoria Coming back after some, I wonder. How can you, for example, if want to update the driver, uninstall the old patched P2P driver and then install it again? (from your repo). I'm a bit new on Linux and after trying to uninstall and install 570.153 to 570.133 I borked my Fedora installation lol.

    EDIT: Also, is there a way to apply the 5090 patch into 575? From #29 (comment)

    EDIT: Okay I learnt how to do it (uninstall the driver correctly)

    Now, I did try to apply the patch mentioned above to 570.xxx driver, but when I install the patched driver, 5090s still don't work for some reason. What could be the issue?
    hi there, have you solved the problem that 5090 cannot enable p2p correctly?

  16. aikitoria commented on Jul 10, 2025

    @aikitoria
    aikitoria
    on Jul 10, 2025
    More actions

    For 5090, you can try the new version of the patch here on tinygrad repo: https://github.com/tinygrad/open-gpu-kernel-modules/commits/570.148.08-p2p/

    May need updating to the driver version you want. I still don't have a multi 5090 setup on my side.

  17. Panchovix commented on Jul 11, 2025

    @Panchovix
    Panchovix
    on Jul 11, 2025
    More actions

    @aikitoria I tried with 570.148 but sadly issue persists :(

    Mentioned on here #44

    Not sure how to make it work sadly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402520 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.