Ubuntu 17.10 - External monitor not detected when using Nvidia drivers

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








up vote
1
down vote

favorite












When using NVIDIA's video drivers, my laptop (Acer Nitro 5) doesn't detect my external monitor from an HDMI cable. I've tried removing and reinstalling using the latest drivers + different versions but nothing seems to work. However, when I switch to using the X.Org X server - Nouveau display driver, it can detect the external monitor and everything works just fine.



Obviously I'd like to use the drivers from Nvidia, and there's also some really weird bugs using the X.OrgXserver driver. For example when I close my laptop lid, it doesn't resume my session, so I have to manually power off my laptop.



Anyone know the problem and a possible solution? I've been combing the forums for a couple hours and nothing has worked. I've included the output of a couple commands using the X.OrgX server drivers and the Nvidia drivers. Thanks in advance.



lspci -v | grep -i vga
00:02.0 VGA compatible controller: Intel Corporation Device 591b (rev 04) (prog-if 00 [VGA controller])
01:00.0 VGA compatible controller: NVIDIA Corporation GP107M [GeForce GTX 1050 Mobile] (rev a1) (prog-if 00 [VGA controller])


Using X.OrgX server drivers



xrandr --listmonitors
Monitors: 2
0: +*eDP-1 1920/344x1080/194+1680+0 eDP-1
1: +HDMI-1-1 1680/474x1050/296+0+0 HDMI-1-1


Using Nvidia drivers (version 396.24)



xrandr --listmonitors
Monitors: 1
0: +*eDP-1 1920/344x1080/194+0+0 eDP-1


Edit did some more digging and lsmod | grep nvidia gives me empty output. However when I go to Software and Updates, it shows that I have selected the Nvidia driver binaries.



Edit2. Figured it out. So apparently if you boot in secure mode, it prevents the Nvidia driver modules from being loaded in. So you follow the instructions here Why do I get "Required key not available" when install 3rd party kernel modules or after a kernel upgrade? to disable secure boot, it works.







share|improve this question






















  • this is a fascinating post. you should add your answer in the answers section. did you just enable secure boot or did you install mokutil?
    – Joshua Besneatte
    May 14 at 1:52










  • @JoshuaBesneatte mokutil was default installed so I just sudo mokutil --disable-validation IIRC
    – user2889046
    May 17 at 7:09














up vote
1
down vote

favorite












When using NVIDIA's video drivers, my laptop (Acer Nitro 5) doesn't detect my external monitor from an HDMI cable. I've tried removing and reinstalling using the latest drivers + different versions but nothing seems to work. However, when I switch to using the X.Org X server - Nouveau display driver, it can detect the external monitor and everything works just fine.



Obviously I'd like to use the drivers from Nvidia, and there's also some really weird bugs using the X.OrgXserver driver. For example when I close my laptop lid, it doesn't resume my session, so I have to manually power off my laptop.



Anyone know the problem and a possible solution? I've been combing the forums for a couple hours and nothing has worked. I've included the output of a couple commands using the X.OrgX server drivers and the Nvidia drivers. Thanks in advance.



lspci -v | grep -i vga
00:02.0 VGA compatible controller: Intel Corporation Device 591b (rev 04) (prog-if 00 [VGA controller])
01:00.0 VGA compatible controller: NVIDIA Corporation GP107M [GeForce GTX 1050 Mobile] (rev a1) (prog-if 00 [VGA controller])


Using X.OrgX server drivers



xrandr --listmonitors
Monitors: 2
0: +*eDP-1 1920/344x1080/194+1680+0 eDP-1
1: +HDMI-1-1 1680/474x1050/296+0+0 HDMI-1-1


Using Nvidia drivers (version 396.24)



xrandr --listmonitors
Monitors: 1
0: +*eDP-1 1920/344x1080/194+0+0 eDP-1


Edit did some more digging and lsmod | grep nvidia gives me empty output. However when I go to Software and Updates, it shows that I have selected the Nvidia driver binaries.



Edit2. Figured it out. So apparently if you boot in secure mode, it prevents the Nvidia driver modules from being loaded in. So you follow the instructions here Why do I get "Required key not available" when install 3rd party kernel modules or after a kernel upgrade? to disable secure boot, it works.







share|improve this question






















  • this is a fascinating post. you should add your answer in the answers section. did you just enable secure boot or did you install mokutil?
    – Joshua Besneatte
    May 14 at 1:52










  • @JoshuaBesneatte mokutil was default installed so I just sudo mokutil --disable-validation IIRC
    – user2889046
    May 17 at 7:09












up vote
1
down vote

favorite









up vote
1
down vote

favorite











When using NVIDIA's video drivers, my laptop (Acer Nitro 5) doesn't detect my external monitor from an HDMI cable. I've tried removing and reinstalling using the latest drivers + different versions but nothing seems to work. However, when I switch to using the X.Org X server - Nouveau display driver, it can detect the external monitor and everything works just fine.



Obviously I'd like to use the drivers from Nvidia, and there's also some really weird bugs using the X.OrgXserver driver. For example when I close my laptop lid, it doesn't resume my session, so I have to manually power off my laptop.



Anyone know the problem and a possible solution? I've been combing the forums for a couple hours and nothing has worked. I've included the output of a couple commands using the X.OrgX server drivers and the Nvidia drivers. Thanks in advance.



lspci -v | grep -i vga
00:02.0 VGA compatible controller: Intel Corporation Device 591b (rev 04) (prog-if 00 [VGA controller])
01:00.0 VGA compatible controller: NVIDIA Corporation GP107M [GeForce GTX 1050 Mobile] (rev a1) (prog-if 00 [VGA controller])


Using X.OrgX server drivers



xrandr --listmonitors
Monitors: 2
0: +*eDP-1 1920/344x1080/194+1680+0 eDP-1
1: +HDMI-1-1 1680/474x1050/296+0+0 HDMI-1-1


Using Nvidia drivers (version 396.24)



xrandr --listmonitors
Monitors: 1
0: +*eDP-1 1920/344x1080/194+0+0 eDP-1


Edit did some more digging and lsmod | grep nvidia gives me empty output. However when I go to Software and Updates, it shows that I have selected the Nvidia driver binaries.



Edit2. Figured it out. So apparently if you boot in secure mode, it prevents the Nvidia driver modules from being loaded in. So you follow the instructions here Why do I get "Required key not available" when install 3rd party kernel modules or after a kernel upgrade? to disable secure boot, it works.







share|improve this question














When using NVIDIA's video drivers, my laptop (Acer Nitro 5) doesn't detect my external monitor from an HDMI cable. I've tried removing and reinstalling using the latest drivers + different versions but nothing seems to work. However, when I switch to using the X.Org X server - Nouveau display driver, it can detect the external monitor and everything works just fine.



Obviously I'd like to use the drivers from Nvidia, and there's also some really weird bugs using the X.OrgXserver driver. For example when I close my laptop lid, it doesn't resume my session, so I have to manually power off my laptop.



Anyone know the problem and a possible solution? I've been combing the forums for a couple hours and nothing has worked. I've included the output of a couple commands using the X.OrgX server drivers and the Nvidia drivers. Thanks in advance.



lspci -v | grep -i vga
00:02.0 VGA compatible controller: Intel Corporation Device 591b (rev 04) (prog-if 00 [VGA controller])
01:00.0 VGA compatible controller: NVIDIA Corporation GP107M [GeForce GTX 1050 Mobile] (rev a1) (prog-if 00 [VGA controller])


Using X.OrgX server drivers



xrandr --listmonitors
Monitors: 2
0: +*eDP-1 1920/344x1080/194+1680+0 eDP-1
1: +HDMI-1-1 1680/474x1050/296+0+0 HDMI-1-1


Using Nvidia drivers (version 396.24)



xrandr --listmonitors
Monitors: 1
0: +*eDP-1 1920/344x1080/194+0+0 eDP-1


Edit did some more digging and lsmod | grep nvidia gives me empty output. However when I go to Software and Updates, it shows that I have selected the Nvidia driver binaries.



Edit2. Figured it out. So apparently if you boot in secure mode, it prevents the Nvidia driver modules from being loaded in. So you follow the instructions here Why do I get "Required key not available" when install 3rd party kernel modules or after a kernel upgrade? to disable secure boot, it works.









share|improve this question













share|improve this question




share|improve this question








edited May 13 at 22:24

























asked May 13 at 21:49









user2889046

63




63











  • this is a fascinating post. you should add your answer in the answers section. did you just enable secure boot or did you install mokutil?
    – Joshua Besneatte
    May 14 at 1:52










  • @JoshuaBesneatte mokutil was default installed so I just sudo mokutil --disable-validation IIRC
    – user2889046
    May 17 at 7:09
















  • this is a fascinating post. you should add your answer in the answers section. did you just enable secure boot or did you install mokutil?
    – Joshua Besneatte
    May 14 at 1:52










  • @JoshuaBesneatte mokutil was default installed so I just sudo mokutil --disable-validation IIRC
    – user2889046
    May 17 at 7:09















this is a fascinating post. you should add your answer in the answers section. did you just enable secure boot or did you install mokutil?
– Joshua Besneatte
May 14 at 1:52




this is a fascinating post. you should add your answer in the answers section. did you just enable secure boot or did you install mokutil?
– Joshua Besneatte
May 14 at 1:52












@JoshuaBesneatte mokutil was default installed so I just sudo mokutil --disable-validation IIRC
– user2889046
May 17 at 7:09




@JoshuaBesneatte mokutil was default installed so I just sudo mokutil --disable-validation IIRC
– user2889046
May 17 at 7:09










1 Answer
1






active

oldest

votes

















up vote
0
down vote



accepted










Figured it out. So apparently if you boot in secure mode, it prevents the Nvidia driver modules from being loaded in. So you follow the instructions here Why do I get "Required key not available" when install 3rd party kernel modules or after a kernel upgrade? to disable secure boot, it works.






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%2f1035868%2fubuntu-17-10-external-monitor-not-detected-when-using-nvidia-drivers%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
    0
    down vote



    accepted










    Figured it out. So apparently if you boot in secure mode, it prevents the Nvidia driver modules from being loaded in. So you follow the instructions here Why do I get "Required key not available" when install 3rd party kernel modules or after a kernel upgrade? to disable secure boot, it works.






    share|improve this answer
























      up vote
      0
      down vote



      accepted










      Figured it out. So apparently if you boot in secure mode, it prevents the Nvidia driver modules from being loaded in. So you follow the instructions here Why do I get "Required key not available" when install 3rd party kernel modules or after a kernel upgrade? to disable secure boot, it works.






      share|improve this answer






















        up vote
        0
        down vote



        accepted







        up vote
        0
        down vote



        accepted






        Figured it out. So apparently if you boot in secure mode, it prevents the Nvidia driver modules from being loaded in. So you follow the instructions here Why do I get "Required key not available" when install 3rd party kernel modules or after a kernel upgrade? to disable secure boot, it works.






        share|improve this answer












        Figured it out. So apparently if you boot in secure mode, it prevents the Nvidia driver modules from being loaded in. So you follow the instructions here Why do I get "Required key not available" when install 3rd party kernel modules or after a kernel upgrade? to disable secure boot, it works.







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered May 13 at 22:25









        user2889046

        63




        63






















             

            draft saved


            draft discarded


























             


            draft saved


            draft discarded














            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1035868%2fubuntu-17-10-external-monitor-not-detected-when-using-nvidia-drivers%23new-answer', 'question_page');

            );

            Post as a guest













































































            Popular posts from this blog

            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

            How do I move numbers in filenames, in a batch renaming operation?