Skip to content

Use manual remove for PCI device instead of Bbswitch? #74

Description

@bomiyr

Hi, It's me again 😄
In this issue we found out that bbswitch is not working on my laptop. TLDR about my investigation is in this comment.

Finally I was able to disable discrete GPU with just echo 1 | sudo tee /sys/bus/pci/devices/0000\:01\:00.0/remove.

And I'm started thinking, that maybe this is the right way for disabling the device? In this case we don't need to have dependency on bbswitch (which seems to be almost dead, if you look at it's repo). But I don't have the right expertise on the topic to see the whole picture.

So what do you think, is it possible to integrate such solution into suse-prime itself, or there are some hidden caveats in such approach?

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