Ubuntu gets frozen when turn on second screen












2














I have a desktop computer with GPU GeForce 1050 with one HDMI and one Display Port. I want to connect my screens each to each port so that one will be showing a desktop, and other will be an extension of the desktop. I used to use mini-DP for the second display and everything works ok. Since recently the problem appeared: whenever the screen connected via DP is on, the system gets frozen. I checked the processes and it shows that with DP-connected screen on, nvidia-modeset starts consuming all the CPU resources. As soon as the screen is off, everything works ok.



I re-installed drives few times (new and old), purchased a new DP cable (as was suggested in one of the forums) - nothing helps. Yet, the screen itself works perfectly if I connect it via HDMI. I also tried to use HDMI splitter, but I could not manage to setup extended desktop, only duplicated view.



Any suggestions how to solve the problem and have two screens working as one desktop?



Thanks a lot.



Addition: I use Ubuntu 16.04 with Mate desktop. Nvidia drivers 384.111.



UPD: nvidia-smi -a shows "Power Draw: Unknown Error"










share|improve this question
























  • 1) Unplug DP-screen and Open a terminal session and run dmesg; 2) Plug DP-screen; 3) Run dmesgagain and read the output. Maybe some useful information will be shown there.
    – Redbob
    Feb 2 at 3:32










  • @Redbob, thank you for the recommendation. I have tried that, but no difference in the dmesg output. However, I have found out that OS does not get frozen (I can still connect by ssh and it works), but rather all the input devices (mouse and keyboard) stop to respond when I make the DP-connected screen on. Re-plugging them did not help.
    – Olga
    Feb 2 at 20:56


















2














I have a desktop computer with GPU GeForce 1050 with one HDMI and one Display Port. I want to connect my screens each to each port so that one will be showing a desktop, and other will be an extension of the desktop. I used to use mini-DP for the second display and everything works ok. Since recently the problem appeared: whenever the screen connected via DP is on, the system gets frozen. I checked the processes and it shows that with DP-connected screen on, nvidia-modeset starts consuming all the CPU resources. As soon as the screen is off, everything works ok.



I re-installed drives few times (new and old), purchased a new DP cable (as was suggested in one of the forums) - nothing helps. Yet, the screen itself works perfectly if I connect it via HDMI. I also tried to use HDMI splitter, but I could not manage to setup extended desktop, only duplicated view.



Any suggestions how to solve the problem and have two screens working as one desktop?



Thanks a lot.



Addition: I use Ubuntu 16.04 with Mate desktop. Nvidia drivers 384.111.



UPD: nvidia-smi -a shows "Power Draw: Unknown Error"










share|improve this question
























  • 1) Unplug DP-screen and Open a terminal session and run dmesg; 2) Plug DP-screen; 3) Run dmesgagain and read the output. Maybe some useful information will be shown there.
    – Redbob
    Feb 2 at 3:32










  • @Redbob, thank you for the recommendation. I have tried that, but no difference in the dmesg output. However, I have found out that OS does not get frozen (I can still connect by ssh and it works), but rather all the input devices (mouse and keyboard) stop to respond when I make the DP-connected screen on. Re-plugging them did not help.
    – Olga
    Feb 2 at 20:56
















2












2








2


3





I have a desktop computer with GPU GeForce 1050 with one HDMI and one Display Port. I want to connect my screens each to each port so that one will be showing a desktop, and other will be an extension of the desktop. I used to use mini-DP for the second display and everything works ok. Since recently the problem appeared: whenever the screen connected via DP is on, the system gets frozen. I checked the processes and it shows that with DP-connected screen on, nvidia-modeset starts consuming all the CPU resources. As soon as the screen is off, everything works ok.



I re-installed drives few times (new and old), purchased a new DP cable (as was suggested in one of the forums) - nothing helps. Yet, the screen itself works perfectly if I connect it via HDMI. I also tried to use HDMI splitter, but I could not manage to setup extended desktop, only duplicated view.



Any suggestions how to solve the problem and have two screens working as one desktop?



Thanks a lot.



Addition: I use Ubuntu 16.04 with Mate desktop. Nvidia drivers 384.111.



UPD: nvidia-smi -a shows "Power Draw: Unknown Error"










share|improve this question















I have a desktop computer with GPU GeForce 1050 with one HDMI and one Display Port. I want to connect my screens each to each port so that one will be showing a desktop, and other will be an extension of the desktop. I used to use mini-DP for the second display and everything works ok. Since recently the problem appeared: whenever the screen connected via DP is on, the system gets frozen. I checked the processes and it shows that with DP-connected screen on, nvidia-modeset starts consuming all the CPU resources. As soon as the screen is off, everything works ok.



I re-installed drives few times (new and old), purchased a new DP cable (as was suggested in one of the forums) - nothing helps. Yet, the screen itself works perfectly if I connect it via HDMI. I also tried to use HDMI splitter, but I could not manage to setup extended desktop, only duplicated view.



Any suggestions how to solve the problem and have two screens working as one desktop?



Thanks a lot.



Addition: I use Ubuntu 16.04 with Mate desktop. Nvidia drivers 384.111.



UPD: nvidia-smi -a shows "Power Draw: Unknown Error"







16.04 nvidia multiple-monitors hdmi displayport






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Feb 2 at 1:09

























asked Feb 1 at 23:03









Olga

316




316












  • 1) Unplug DP-screen and Open a terminal session and run dmesg; 2) Plug DP-screen; 3) Run dmesgagain and read the output. Maybe some useful information will be shown there.
    – Redbob
    Feb 2 at 3:32










  • @Redbob, thank you for the recommendation. I have tried that, but no difference in the dmesg output. However, I have found out that OS does not get frozen (I can still connect by ssh and it works), but rather all the input devices (mouse and keyboard) stop to respond when I make the DP-connected screen on. Re-plugging them did not help.
    – Olga
    Feb 2 at 20:56




















  • 1) Unplug DP-screen and Open a terminal session and run dmesg; 2) Plug DP-screen; 3) Run dmesgagain and read the output. Maybe some useful information will be shown there.
    – Redbob
    Feb 2 at 3:32










  • @Redbob, thank you for the recommendation. I have tried that, but no difference in the dmesg output. However, I have found out that OS does not get frozen (I can still connect by ssh and it works), but rather all the input devices (mouse and keyboard) stop to respond when I make the DP-connected screen on. Re-plugging them did not help.
    – Olga
    Feb 2 at 20:56


















1) Unplug DP-screen and Open a terminal session and run dmesg; 2) Plug DP-screen; 3) Run dmesgagain and read the output. Maybe some useful information will be shown there.
– Redbob
Feb 2 at 3:32




1) Unplug DP-screen and Open a terminal session and run dmesg; 2) Plug DP-screen; 3) Run dmesgagain and read the output. Maybe some useful information will be shown there.
– Redbob
Feb 2 at 3:32












@Redbob, thank you for the recommendation. I have tried that, but no difference in the dmesg output. However, I have found out that OS does not get frozen (I can still connect by ssh and it works), but rather all the input devices (mouse and keyboard) stop to respond when I make the DP-connected screen on. Re-plugging them did not help.
– Olga
Feb 2 at 20:56






@Redbob, thank you for the recommendation. I have tried that, but no difference in the dmesg output. However, I have found out that OS does not get frozen (I can still connect by ssh and it works), but rather all the input devices (mouse and keyboard) stop to respond when I make the DP-connected screen on. Re-plugging them did not help.
– Olga
Feb 2 at 20:56












1 Answer
1






active

oldest

votes


















2














Looks like after long time I found an answer: apparently the problem was in mismatch between mate and nvidia drivers. When I re-installed drivers of version 4** it started to work perfectly with both display and mini-display ports.






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',
    autoActivateHeartbeat: false,
    convertImagesToLinks: true,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: 10,
    bindNavPrevention: true,
    postfix: "",
    imageUploader: {
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    },
    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%2f1002206%2fubuntu-gets-frozen-when-turn-on-second-screen%23new-answer', 'question_page');
    }
    );

    Post as a guest















    Required, but never shown

























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    2














    Looks like after long time I found an answer: apparently the problem was in mismatch between mate and nvidia drivers. When I re-installed drivers of version 4** it started to work perfectly with both display and mini-display ports.






    share|improve this answer


























      2














      Looks like after long time I found an answer: apparently the problem was in mismatch between mate and nvidia drivers. When I re-installed drivers of version 4** it started to work perfectly with both display and mini-display ports.






      share|improve this answer
























        2












        2








        2






        Looks like after long time I found an answer: apparently the problem was in mismatch between mate and nvidia drivers. When I re-installed drivers of version 4** it started to work perfectly with both display and mini-display ports.






        share|improve this answer












        Looks like after long time I found an answer: apparently the problem was in mismatch between mate and nvidia drivers. When I re-installed drivers of version 4** it started to work perfectly with both display and mini-display ports.







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Dec 5 at 23:29









        Olga

        316




        316






























            draft saved

            draft discarded




















































            Thanks for contributing an answer to Ask Ubuntu!


            • Please be sure to answer the question. Provide details and share your research!

            But avoid



            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.


            To learn more, see our tips on writing great answers.





            Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


            Please pay close attention to the following guidance:


            • Please be sure to answer the question. Provide details and share your research!

            But avoid



            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.


            To learn more, see our tips on writing great answers.




            draft saved


            draft discarded














            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1002206%2fubuntu-gets-frozen-when-turn-on-second-screen%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown





















































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown

































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown







            Popular posts from this blog

            Ellipse (mathématiques)

            Quarter-circle Tiles

            Mont Emei