Results 1 to 3 of 3

Thread: Default GPU is getting automatically switched irrespective of NVIDIA Prime settings

  1. #1
    Join Date
    Aug 2023
    Beans
    1

    Unhappy Default GPU is getting automatically switched irrespective of NVIDIA Prime settings

    My laptop is automatically switching to Intel integrated graphics from NVIDIA dedicated graphics by itself. It works for some time after I do 'sudo prime-select nvidia' and reboot, but then it switches automatically. I have set the prime profile as performance mode, and Ubuntu power mode is also set to performance. Pytorch or tensorflow can't find any CUDA device. I'm using NVIDIA drivers 535 on Ubuntu 23.04.

    I have also checked BIOS settings. I have two options there - switchable graphics and Intel only. No NVIDIA only option. So I set it to switchable graphics.

    Laptop: Lenovo IdeaPad Gaming 3 16IAH7
    CPU: 12th Gen Intel® Core™ i7-12700H × 20
    Dedicated GPU: NVIDIA RTX 3060 Mobile

  2. #2
    Join Date
    Jul 2008
    Location
    The Left Coast of the USA
    Beans
    Hidden!
    Distro
    Kubuntu

    Re: Default GPU is getting automatically switched irrespective of NVIDIA Prime settin

    There have been a number of posts regarding NVIDIA drivers and 23.04. That could be the issue. Also, if that is a very new bit of hardware, it may not be supported yet.

    I can't offer much more than that, being an AMD GPU user, but just so you know.
    Last edited by QIII; August 31st, 2023 at 12:45 PM.
    Please read The Forum Rules and The Forum Posting Guidelines

    A thing discovered and kept to oneself must be discovered time and again by others. A thing discovered and shared with others need be discovered only the once.
    This universe is crazy. I'm going back to my own.

  3. #3
    Join Date
    Sep 2009
    Location
    Pennsylvania
    Beans
    4,053
    Distro
    Xubuntu

    Re: Default GPU is getting automatically switched irrespective of NVIDIA Prime settin

    Another thing to consider: the 535 driver has seen many problems. You may want to try the 525 driver and see what happens.

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •