Ubuntu 18.04 EGPU not work

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP








up vote
2
down vote

favorite
1












I have a HP Spectre (intel i7 6500 U). I have been using 16.04, and installed 18.04 recently. I don't travel much, so I use EGPU to gain more GPU power all the time. I have a razer core at home and an Omen Accelerator in my office; and I have a GTX 970 and a GTX 1080ti. With 16.04, everything is working smoothly: I connect the GPU dock to the laptop via the thunderbolt 3 connector and use the prime-select tool to select NVIDIA. Even CUDA is working fine.



However, with 18.04, things have been difficult. Firstly, when I used nouveau, the desktop simply froze after I logged in.
Secondly, I installed the NVIDIA-390 driver directly through the Bionic repo. The installation seemed fine, and did not report any error. However, when I connected the GPU dock to the laptop, the error PKCS#7 appeared continuously.



See Picture 1



I could logged in via xorg, but the nouveau was loaded insteaf of NVIDIA. Moreovoer, nvidia-smi showed that the driver was not loaded. Finally, I installed NVIDIA-390 via the run file. This time nvidia-smi showed that the driver was loaded correctly, but I had the login loop for the xorg. S
trangely, most people don't see the wayland option when they have installed NVIDIA driver, but I can see both the wayland and xorg options in all circumstances. I have



So in summary, Nouveau makes my laptop with EGPU freeze; installation of nvidia-390 from the bionic repo does not load the driver properly; the installation of nvidia-390 through the run file seems alright but gives me the login loop.



Other than my laptop, I have a desktop with an NVIDIA 970, which works very smoothly under 18.04, including EGPU and cuda.



Any suggestion is deeply appreciated.







share|improve this question






















  • Did you check that secure boot is off?
    – ubfan1
    May 15 at 1:16










  • Thank you for you reply. But secure boot is off. Everything is fine with 16.04, and the installation for 18.04 is not complaining.
    – Xdedm Meng
    May 15 at 7:51














up vote
2
down vote

favorite
1












I have a HP Spectre (intel i7 6500 U). I have been using 16.04, and installed 18.04 recently. I don't travel much, so I use EGPU to gain more GPU power all the time. I have a razer core at home and an Omen Accelerator in my office; and I have a GTX 970 and a GTX 1080ti. With 16.04, everything is working smoothly: I connect the GPU dock to the laptop via the thunderbolt 3 connector and use the prime-select tool to select NVIDIA. Even CUDA is working fine.



However, with 18.04, things have been difficult. Firstly, when I used nouveau, the desktop simply froze after I logged in.
Secondly, I installed the NVIDIA-390 driver directly through the Bionic repo. The installation seemed fine, and did not report any error. However, when I connected the GPU dock to the laptop, the error PKCS#7 appeared continuously.



See Picture 1



I could logged in via xorg, but the nouveau was loaded insteaf of NVIDIA. Moreovoer, nvidia-smi showed that the driver was not loaded. Finally, I installed NVIDIA-390 via the run file. This time nvidia-smi showed that the driver was loaded correctly, but I had the login loop for the xorg. S
trangely, most people don't see the wayland option when they have installed NVIDIA driver, but I can see both the wayland and xorg options in all circumstances. I have



So in summary, Nouveau makes my laptop with EGPU freeze; installation of nvidia-390 from the bionic repo does not load the driver properly; the installation of nvidia-390 through the run file seems alright but gives me the login loop.



Other than my laptop, I have a desktop with an NVIDIA 970, which works very smoothly under 18.04, including EGPU and cuda.



Any suggestion is deeply appreciated.







share|improve this question






















  • Did you check that secure boot is off?
    – ubfan1
    May 15 at 1:16










  • Thank you for you reply. But secure boot is off. Everything is fine with 16.04, and the installation for 18.04 is not complaining.
    – Xdedm Meng
    May 15 at 7:51












up vote
2
down vote

favorite
1









up vote
2
down vote

favorite
1






1





I have a HP Spectre (intel i7 6500 U). I have been using 16.04, and installed 18.04 recently. I don't travel much, so I use EGPU to gain more GPU power all the time. I have a razer core at home and an Omen Accelerator in my office; and I have a GTX 970 and a GTX 1080ti. With 16.04, everything is working smoothly: I connect the GPU dock to the laptop via the thunderbolt 3 connector and use the prime-select tool to select NVIDIA. Even CUDA is working fine.



However, with 18.04, things have been difficult. Firstly, when I used nouveau, the desktop simply froze after I logged in.
Secondly, I installed the NVIDIA-390 driver directly through the Bionic repo. The installation seemed fine, and did not report any error. However, when I connected the GPU dock to the laptop, the error PKCS#7 appeared continuously.



See Picture 1



I could logged in via xorg, but the nouveau was loaded insteaf of NVIDIA. Moreovoer, nvidia-smi showed that the driver was not loaded. Finally, I installed NVIDIA-390 via the run file. This time nvidia-smi showed that the driver was loaded correctly, but I had the login loop for the xorg. S
trangely, most people don't see the wayland option when they have installed NVIDIA driver, but I can see both the wayland and xorg options in all circumstances. I have



So in summary, Nouveau makes my laptop with EGPU freeze; installation of nvidia-390 from the bionic repo does not load the driver properly; the installation of nvidia-390 through the run file seems alright but gives me the login loop.



Other than my laptop, I have a desktop with an NVIDIA 970, which works very smoothly under 18.04, including EGPU and cuda.



Any suggestion is deeply appreciated.







share|improve this question














I have a HP Spectre (intel i7 6500 U). I have been using 16.04, and installed 18.04 recently. I don't travel much, so I use EGPU to gain more GPU power all the time. I have a razer core at home and an Omen Accelerator in my office; and I have a GTX 970 and a GTX 1080ti. With 16.04, everything is working smoothly: I connect the GPU dock to the laptop via the thunderbolt 3 connector and use the prime-select tool to select NVIDIA. Even CUDA is working fine.



However, with 18.04, things have been difficult. Firstly, when I used nouveau, the desktop simply froze after I logged in.
Secondly, I installed the NVIDIA-390 driver directly through the Bionic repo. The installation seemed fine, and did not report any error. However, when I connected the GPU dock to the laptop, the error PKCS#7 appeared continuously.



See Picture 1



I could logged in via xorg, but the nouveau was loaded insteaf of NVIDIA. Moreovoer, nvidia-smi showed that the driver was not loaded. Finally, I installed NVIDIA-390 via the run file. This time nvidia-smi showed that the driver was loaded correctly, but I had the login loop for the xorg. S
trangely, most people don't see the wayland option when they have installed NVIDIA driver, but I can see both the wayland and xorg options in all circumstances. I have



So in summary, Nouveau makes my laptop with EGPU freeze; installation of nvidia-390 from the bionic repo does not load the driver properly; the installation of nvidia-390 through the run file seems alright but gives me the login loop.



Other than my laptop, I have a desktop with an NVIDIA 970, which works very smoothly under 18.04, including EGPU and cuda.



Any suggestion is deeply appreciated.









share|improve this question













share|improve this question




share|improve this question








edited May 15 at 0:57









stumblebee

2,3083922




2,3083922










asked May 14 at 20:37









Xdedm Meng

314




314











  • Did you check that secure boot is off?
    – ubfan1
    May 15 at 1:16










  • Thank you for you reply. But secure boot is off. Everything is fine with 16.04, and the installation for 18.04 is not complaining.
    – Xdedm Meng
    May 15 at 7:51
















  • Did you check that secure boot is off?
    – ubfan1
    May 15 at 1:16










  • Thank you for you reply. But secure boot is off. Everything is fine with 16.04, and the installation for 18.04 is not complaining.
    – Xdedm Meng
    May 15 at 7:51















Did you check that secure boot is off?
– ubfan1
May 15 at 1:16




Did you check that secure boot is off?
– ubfan1
May 15 at 1:16












Thank you for you reply. But secure boot is off. Everything is fine with 16.04, and the installation for 18.04 is not complaining.
– Xdedm Meng
May 15 at 7:51




Thank you for you reply. But secure boot is off. Everything is fine with 16.04, and the installation for 18.04 is not complaining.
– Xdedm Meng
May 15 at 7:51










1 Answer
1






active

oldest

votes

















up vote
2
down vote



accepted










Problem solved. I hope it will be useful for people having an Intel+Nvidia Egpu system like mine. Firstly, installation of nvidia 390 from the bionic repo doesn't work for me. Possibly the DKMS is not written correctly. When I use run file, things work, and I can use nvidia-smi to see my nvidia card information. Secondly, Nvidia seems unable to create the correct xorg.conf file in this situation, which results in the login loop. I copied the xorg file from my 16.04 partition and pasted it into /etc/X11/, then everything works. Perhaps the system loads the wrong xorg file Nvidia created, so that the system simply refuses to log in.



It is a bit painful, as the xorg file has to be manually adapted if you connect the computer to a different EGPU dock or if the laptop is running without the EGPU dock. I simply use the wayland session when the EGPU dock is not used.






share|improve this answer






















    Your Answer







    StackExchange.ready(function()
    var channelOptions =
    tags: "".split(" "),
    id: "89"
    ;
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function()
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled)
    StackExchange.using("snippets", function()
    createEditor();
    );

    else
    createEditor();

    );

    function createEditor()
    StackExchange.prepareEditor(
    heartbeatType: 'answer',
    convertImagesToLinks: true,
    noModals: false,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: 10,
    bindNavPrevention: true,
    postfix: "",
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    );



    );








     

    draft saved


    draft discarded


















    StackExchange.ready(
    function ()
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1036271%2fubuntu-18-04-egpu-not-work%23new-answer', 'question_page');

    );

    Post as a guest






























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes








    up vote
    2
    down vote



    accepted










    Problem solved. I hope it will be useful for people having an Intel+Nvidia Egpu system like mine. Firstly, installation of nvidia 390 from the bionic repo doesn't work for me. Possibly the DKMS is not written correctly. When I use run file, things work, and I can use nvidia-smi to see my nvidia card information. Secondly, Nvidia seems unable to create the correct xorg.conf file in this situation, which results in the login loop. I copied the xorg file from my 16.04 partition and pasted it into /etc/X11/, then everything works. Perhaps the system loads the wrong xorg file Nvidia created, so that the system simply refuses to log in.



    It is a bit painful, as the xorg file has to be manually adapted if you connect the computer to a different EGPU dock or if the laptop is running without the EGPU dock. I simply use the wayland session when the EGPU dock is not used.






    share|improve this answer


























      up vote
      2
      down vote



      accepted










      Problem solved. I hope it will be useful for people having an Intel+Nvidia Egpu system like mine. Firstly, installation of nvidia 390 from the bionic repo doesn't work for me. Possibly the DKMS is not written correctly. When I use run file, things work, and I can use nvidia-smi to see my nvidia card information. Secondly, Nvidia seems unable to create the correct xorg.conf file in this situation, which results in the login loop. I copied the xorg file from my 16.04 partition and pasted it into /etc/X11/, then everything works. Perhaps the system loads the wrong xorg file Nvidia created, so that the system simply refuses to log in.



      It is a bit painful, as the xorg file has to be manually adapted if you connect the computer to a different EGPU dock or if the laptop is running without the EGPU dock. I simply use the wayland session when the EGPU dock is not used.






      share|improve this answer
























        up vote
        2
        down vote



        accepted







        up vote
        2
        down vote



        accepted






        Problem solved. I hope it will be useful for people having an Intel+Nvidia Egpu system like mine. Firstly, installation of nvidia 390 from the bionic repo doesn't work for me. Possibly the DKMS is not written correctly. When I use run file, things work, and I can use nvidia-smi to see my nvidia card information. Secondly, Nvidia seems unable to create the correct xorg.conf file in this situation, which results in the login loop. I copied the xorg file from my 16.04 partition and pasted it into /etc/X11/, then everything works. Perhaps the system loads the wrong xorg file Nvidia created, so that the system simply refuses to log in.



        It is a bit painful, as the xorg file has to be manually adapted if you connect the computer to a different EGPU dock or if the laptop is running without the EGPU dock. I simply use the wayland session when the EGPU dock is not used.






        share|improve this answer














        Problem solved. I hope it will be useful for people having an Intel+Nvidia Egpu system like mine. Firstly, installation of nvidia 390 from the bionic repo doesn't work for me. Possibly the DKMS is not written correctly. When I use run file, things work, and I can use nvidia-smi to see my nvidia card information. Secondly, Nvidia seems unable to create the correct xorg.conf file in this situation, which results in the login loop. I copied the xorg file from my 16.04 partition and pasted it into /etc/X11/, then everything works. Perhaps the system loads the wrong xorg file Nvidia created, so that the system simply refuses to log in.



        It is a bit painful, as the xorg file has to be manually adapted if you connect the computer to a different EGPU dock or if the laptop is running without the EGPU dock. I simply use the wayland session when the EGPU dock is not used.







        share|improve this answer














        share|improve this answer



        share|improve this answer








        edited May 17 at 10:07

























        answered May 17 at 9:47









        Xdedm Meng

        314




        314






















             

            draft saved


            draft discarded


























             


            draft saved


            draft discarded














            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1036271%2fubuntu-18-04-egpu-not-work%23new-answer', 'question_page');

            );

            Post as a guest













































































            Popular posts from this blog

            Which professions warranted travel in Medieval times?

            How do so many people here on Academia.SE, and in general, afford lavish higher education programs?

            Trouble downloading packages list due to a “Hash sum mismatch” error