Skip to content
0
  • Recent
  • Tags
  • Popular
  • SAMSON Connect
  • Get SAMSON
  • Recent
  • Tags
  • Popular
  • SAMSON Connect
  • Get SAMSON
Collapse
SAMSON Forum
  1. Home
  2. SAMSON
  3. Getting started
  4. SAMSON with hybrid graphics cards (Intel/Nvidia)

SAMSON with hybrid graphics cards (Intel/Nvidia)

Scheduled Pinned Locked Moved Getting started
20 Posts 2 Posters 15.9k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • DmitriyMarinD
    DmitriyMarinD
    DmitriyMarin
    wrote on last edited by DmitriyMarin
    #11

    Have you tried to install SAMSON with primusrun and then launching SAMSON with it?

    If there is a configuration file for optirun/primusrun which allows specifying which apps should use GPU you may try specifying GPU for SAMSON.

    Is it possible for you to try with nvidia-prime? It should provide better OpenGL support compared to optirun since optirun has an additional layer VirtualGL which might be causing this issue.

    Dmitriy,
    The SAMSON Team, https://s-c.io

    IvanI 1 Reply Last reply
    0
    • DmitriyMarinD DmitriyMarin

      Have you tried to install SAMSON with primusrun and then launching SAMSON with it?

      If there is a configuration file for optirun/primusrun which allows specifying which apps should use GPU you may try specifying GPU for SAMSON.

      Is it possible for you to try with nvidia-prime? It should provide better OpenGL support compared to optirun since optirun has an additional layer VirtualGL which might be causing this issue.

      IvanI
      IvanI
      Ivan
      wrote on last edited by Ivan
      #12

      @dmitriymarin said in SAMSON with hybrid graphics cards (Intel/Nvidia):

      Have you tried to install SAMSON with primusrun and then launching SAMSON with it?

      I tried, and that did not help.

      If there is a configuration file for optirun/primusrun which allows specifying which apps should use GPU you may try specifying GPU for SAMSON.

      There is no such a file :( It is controlled by the prefix in the command line when I calling the app.

      Is it possible for you to try with nvidia-prime? It should provide better OpenGL support compared to optirun since optirun has an additional layer VirtualGL which might be causing this issue.

      I have no such a command nvidia-prime... If I understand correct, primusrun have no such an extra layer.

      DmitriyMarinD 1 Reply Last reply
      0
      • IvanI Ivan

        @dmitriymarin said in SAMSON with hybrid graphics cards (Intel/Nvidia):

        Have you tried to install SAMSON with primusrun and then launching SAMSON with it?

        I tried, and that did not help.

        If there is a configuration file for optirun/primusrun which allows specifying which apps should use GPU you may try specifying GPU for SAMSON.

        There is no such a file :( It is controlled by the prefix in the command line when I calling the app.

        Is it possible for you to try with nvidia-prime? It should provide better OpenGL support compared to optirun since optirun has an additional layer VirtualGL which might be causing this issue.

        I have no such a command nvidia-prime... If I understand correct, primusrun have no such an extra layer.

        DmitriyMarinD
        DmitriyMarinD
        DmitriyMarin
        wrote on last edited by DmitriyMarin
        #13

        @ivan said in SAMSON with hybrid graphics cards (Intel/Nvidia):

        I tried, and that did not help.

        Apparently, SAMSON might be having a problem properly detecting your GPU during the installation, even with primusrun.

        Nvidia PRIME does not go with Bumblebee/optirun/primusrun, it is an Nvidia technology and it also allows one to switch between CPU and Nvidia GPU without additional layers giving a direct OpenGL access, which is more preferable. It is done via GPU offloading. But it comes with a downside: for a switch between CPU and GPU to take an effect one needs to log out and log in back (OS needs to do some re-initializations).
        0_1551542253508_nvidia-prime.png
        You can check whether you have Nvidia PRIME or not in the Nvidia X Server Settings. Nvidia PRIME is either installed together with an nvidia proprietary driver or you can install it via (after installing nvidia proprietary drivers):

        sudo apt install nvidia-prime 
        

        Note: To use Nvidia PRIME you might need to remove Bumblebee/optirun/primusrun.

        Note: In case, if you are using Nvidia PRIME, SAMSON should be installed with an active Nvidia GPU and to use SAMSON it would be necessary to enable to Nvidia GPU.

        Personally, on my laptop with Ubuntu 16.04 and equipped with Nvidia GeForce GTX 670MX I have the nvidia-384 driver installed with Nvidia PRIME. I had Bumblebee installed many years ago, but I could not make it work with CUDA.
        0_1551542531017_samson-about-gpu.png

        Dmitriy,
        The SAMSON Team, https://s-c.io

        1 Reply Last reply
        0
        • IvanI
          IvanI
          Ivan
          wrote on last edited by
          #14

          I installed Linux Mint 19.1 and installed nvidia-driver-390. Now interface has no such troubles. Thank you for advices.

          DmitriyMarinD 1 Reply Last reply
          1
          • IvanI
            IvanI
            Ivan
            wrote on last edited by
            #15

            Should interface eat so much 96% CPU from one of cores ?

            DmitriyMarinD 1 Reply Last reply
            0
            • IvanI Ivan

              I installed Linux Mint 19.1 and installed nvidia-driver-390. Now interface has no such troubles. Thank you for advices.

              DmitriyMarinD
              DmitriyMarinD
              DmitriyMarin
              wrote on last edited by
              #16

              @Ivan
              Great! I am glad that you solved the issue! Apparently, it was a problem with drivers. Do you use primusrun/optirun or just nvidia GPU directly?

              Dmitriy,
              The SAMSON Team, https://s-c.io

              IvanI 1 Reply Last reply
              0
              • IvanI Ivan

                Should interface eat so much 96% CPU from one of cores ?

                DmitriyMarinD
                DmitriyMarinD
                DmitriyMarin
                wrote on last edited by
                #17

                @ivan
                Yes, sorry, it can consume quite a lot sometimes. For me, for example, just the interface consumes sometimes 30-50% of one CPU core. To decrease the CPU consumption, you can hide the Document view (Ctrl/Cmd+1) or the Inspector (Ctrl/Cmd+I) when you do not need them. There is an issue with them which causes such consumption. It will be fixed in the next version of SAMSON.

                Dmitriy,
                The SAMSON Team, https://s-c.io

                IvanI 1 Reply Last reply
                0
                • DmitriyMarinD DmitriyMarin

                  @Ivan
                  Great! I am glad that you solved the issue! Apparently, it was a problem with drivers. Do you use primusrun/optirun or just nvidia GPU directly?

                  IvanI
                  IvanI
                  Ivan
                  wrote on last edited by
                  #18

                  @dmitriymarin Now I am using Nvidia PRIME like you showed in screenshot above. I do not think, that it is driver issue, but it is how you utilize them. I am also developing some software with OpenGL, however by using lower version API (1.2). So it works both Intel and Nvidia cards. I think, that advanced functions like in OpenGL 3.2 should be used using procedure addresses like it is doing with SDL_GL_GetProcAddress.

                  1 Reply Last reply
                  0
                  • DmitriyMarinD DmitriyMarin

                    @ivan
                    Yes, sorry, it can consume quite a lot sometimes. For me, for example, just the interface consumes sometimes 30-50% of one CPU core. To decrease the CPU consumption, you can hide the Document view (Ctrl/Cmd+1) or the Inspector (Ctrl/Cmd+I) when you do not need them. There is an issue with them which causes such consumption. It will be fixed in the next version of SAMSON.

                    IvanI
                    IvanI
                    Ivan
                    wrote on last edited by Ivan
                    #19

                    @dmitriymarin said in SAMSON with hybrid graphics cards (Intel/Nvidia):

                    @ivan
                    Yes, sorry, it can consume quite a lot sometimes. For me, for example, just the interface consumes sometimes 30-50% of one CPU core. To decrease the CPU consumption, you can hide the Document view (Ctrl/Cmd+1) or the Inspector (Ctrl/Cmd+I) when you do not need them. There is an issue with them which causes such consumption. It will be fixed in the next version of SAMSON.

                    Will wait :) SAMSON has very cute interface, however such cost of one core for that it is not acceptable!

                    1 Reply Last reply
                    0
                    • DmitriyMarinD
                      DmitriyMarinD
                      DmitriyMarin
                      wrote on last edited by
                      #20

                      Dear @Ivan ,
                      Thanks to issues raised on the forum, we have fixed the issue in SAMSON causing problems with the viewport when using Intel integrated graphics processor. This issue might have been causing the problem you have posted in this thread. The new installation of SAMSON should resolve the issue.

                      Dmitriy,
                      The SAMSON Team, https://s-c.io

                      1 Reply Last reply
                      0

                      Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                      Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                      With your input, this post could be even better 💗

                      Register Login
                      Reply
                      • Reply as topic
                      Log in to reply
                      • Oldest to Newest
                      • Newest to Oldest
                      • Most Votes


                      • Login

                      • Login or register to search.
                      • First post
                        Last post