Skip to content

Ask questions about the codebase here #148

Closed

Description

@s66104444

[mtijanic] Please use this issue to ask simple questions about the codebase, such as what a certain feature is, how a given codepath works, what a given acronym means, etc. Please keep your questions as specific as possible.

-- Original user post below this line --

I see a lot of RM in the code related to the RMAPI module, what does this RM and GSP-RM mean exactly?

Activity

  1. mtijanic commented on May 13, 2022

    @mtijanic
    Collaborator

    Hello and thank you for your interest!

    RM stands for "Resource Manager" and it is the internal name of the driver that gets compiled into nvidia.ko module - both the open source one (sometimes referred to as "OpenRM" internally) and the proprietary version. It can also refer to the team working on this code.

    Depending on the context, GSP-RM can refer either to the new driver architecture that uses the "GSP" microcontroller, or it can refer to the code running on said microcontroller. To avoid ambiguity, the latter is often called "Physical RM" instead, and code running in kernel is called "Kernel RM".

    RMAPI is the interface nvidia.ko (RM) exposes to other kernel modules and to userspace.

  2. mtijanic commented on May 13, 2022

    @mtijanic
    Collaborator

    Meta: Do you think it makes sense to group these questions into a single issue, which we could then pin?

  3. s66104444 commented on May 13, 2022

    @s66104444
    Author

    Thanks! Yes, I think it's a good idea to group these questions into a single issue.

  4. changed the title [-]RM[/-] [+]Ask questions about the codebase here[/+] on May 13, 2022
  5. pinned this issue on May 13, 2022
  6. mtijanic commented on May 13, 2022

    @mtijanic
    Collaborator

    Okay, this is now a pinned generic code-related Q&A issue.

  7. antdking commented on May 13, 2022

    @antdking

    Would it be possible to enable Github Discussions, which has a cleaner structure for quick questions?

  8. mtijanic commented on May 13, 2022

    @mtijanic
    Collaborator

    @antdking Please see #44 . I do agree Discussions would be a much cleaner option, and I expect we'll enable them soon enough. Will gladly retire this issue when that happens, but until such a time this is the best we have for these quick one-off questions.

  9. DemiMarie commented on May 13, 2022

    @DemiMarie

    Will this driver support GPU virtualization with untrusted guests on consumer hardware? This would be a huge win for Qubes OS, which is currently forced to rely on software rendering. Support for CUDA or for enterprise GPUs would not be as helpful, as Qubes OS is an end-user operating system focused on the desktop use-case.

  10. mtijanic commented on May 13, 2022

    @mtijanic
    Collaborator

    @DemiMarie At this point all I can say is that the current codebase does not support virtualization - neither as a host nor a guest. I don't currently have any information about future changes in this regard.

  11. locked and limited conversation to collaborators on May 13, 2022
  12. converted this issue into a discussion #157 on May 13, 2022
  13. unpinned this issue on May 14, 2022
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

    questionFurther information is requested

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions