Ubuntu 18.04 is very slow on high end laptop












0















I have just installed Ubuntu 18.04 on a laptop and it worked perfectly. After installing it on another one (Asus RoG, i7, Nvidia GTX 950M, 16gb RAM), everything worked so poorly.



How it manifests: Whenever I want to drag a window with my mouse, or to write something, or to select an area on the screen, the rendering is so slow.



black screen



EDIT1: After doing what pilot6 pointed out, I managed to go past the slowness, but got stuck in an infinite loop at the login screen. Heynnema tried to help me out, but my .Xauthority file was missing.



EDIT2: In the end I gave up and reinstalled it again, but this time I chose something else instead of 'nomodeset' (noapic, nolapic, acpi=off), after some research. That fixed my problem.










share|improve this question

























  • Comments are not for extended discussion; this conversation has been moved to chat.

    – Mitch
    Mar 2 at 6:54






  • 1





    Possible duplicate of Ubuntu 18.04 is too slow on my Asus r558ur

    – Pilot6
    Mar 3 at 14:25
















0















I have just installed Ubuntu 18.04 on a laptop and it worked perfectly. After installing it on another one (Asus RoG, i7, Nvidia GTX 950M, 16gb RAM), everything worked so poorly.



How it manifests: Whenever I want to drag a window with my mouse, or to write something, or to select an area on the screen, the rendering is so slow.



black screen



EDIT1: After doing what pilot6 pointed out, I managed to go past the slowness, but got stuck in an infinite loop at the login screen. Heynnema tried to help me out, but my .Xauthority file was missing.



EDIT2: In the end I gave up and reinstalled it again, but this time I chose something else instead of 'nomodeset' (noapic, nolapic, acpi=off), after some research. That fixed my problem.










share|improve this question

























  • Comments are not for extended discussion; this conversation has been moved to chat.

    – Mitch
    Mar 2 at 6:54






  • 1





    Possible duplicate of Ubuntu 18.04 is too slow on my Asus r558ur

    – Pilot6
    Mar 3 at 14:25














0












0








0








I have just installed Ubuntu 18.04 on a laptop and it worked perfectly. After installing it on another one (Asus RoG, i7, Nvidia GTX 950M, 16gb RAM), everything worked so poorly.



How it manifests: Whenever I want to drag a window with my mouse, or to write something, or to select an area on the screen, the rendering is so slow.



black screen



EDIT1: After doing what pilot6 pointed out, I managed to go past the slowness, but got stuck in an infinite loop at the login screen. Heynnema tried to help me out, but my .Xauthority file was missing.



EDIT2: In the end I gave up and reinstalled it again, but this time I chose something else instead of 'nomodeset' (noapic, nolapic, acpi=off), after some research. That fixed my problem.










share|improve this question
















I have just installed Ubuntu 18.04 on a laptop and it worked perfectly. After installing it on another one (Asus RoG, i7, Nvidia GTX 950M, 16gb RAM), everything worked so poorly.



How it manifests: Whenever I want to drag a window with my mouse, or to write something, or to select an area on the screen, the rendering is so slow.



black screen



EDIT1: After doing what pilot6 pointed out, I managed to go past the slowness, but got stuck in an infinite loop at the login screen. Heynnema tried to help me out, but my .Xauthority file was missing.



EDIT2: In the end I gave up and reinstalled it again, but this time I chose something else instead of 'nomodeset' (noapic, nolapic, acpi=off), after some research. That fixed my problem.







nvidia






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Mar 3 at 23:05









karel

60.6k13132155




60.6k13132155










asked Mar 1 at 21:16









OldDewOldDew

33




33













  • Comments are not for extended discussion; this conversation has been moved to chat.

    – Mitch
    Mar 2 at 6:54






  • 1





    Possible duplicate of Ubuntu 18.04 is too slow on my Asus r558ur

    – Pilot6
    Mar 3 at 14:25



















  • Comments are not for extended discussion; this conversation has been moved to chat.

    – Mitch
    Mar 2 at 6:54






  • 1





    Possible duplicate of Ubuntu 18.04 is too slow on my Asus r558ur

    – Pilot6
    Mar 3 at 14:25

















Comments are not for extended discussion; this conversation has been moved to chat.

– Mitch
Mar 2 at 6:54





Comments are not for extended discussion; this conversation has been moved to chat.

– Mitch
Mar 2 at 6:54




1




1





Possible duplicate of Ubuntu 18.04 is too slow on my Asus r558ur

– Pilot6
Mar 3 at 14:25





Possible duplicate of Ubuntu 18.04 is too slow on my Asus r558ur

– Pilot6
Mar 3 at 14:25










1 Answer
1






active

oldest

votes


















1














Your initial problem of video slowness is caused by your Nvidia drivers needing reinstallation, and the removal of nomodeset in your /etc/default/grub.





Now, we clear up your login problem. If you've been starting graphic applications from the terminal using sudo, that's what probably caused your problem. Always use sudo -H.




  • boot to the GRUB menu

  • choose Advanced Options

  • choose Recovery mode

  • choose Root access

  • at the # prompt, type:



    • sudo mount -o remount,rw / # remount the disk as rw


    • cd /home/your_username # change directory


    • ls -al .*thority* # list some files




You should see something like this...



-rw------- 1 your_username your_username 407910 Nov  2 08:56 .ICEauthority
-rw------- 1 your_username your_username 58 Jun 23 2017 .Xauthority


If it DOES NOT show -rw------- then...





  • sudo chmod 600 .*thority* # change file protection


If it DOES SHOW root root then...




  • sudo chown your_username:your_username .*thority* # change file ownership


  • reboot # reboot the computer



Reboot and see if you can log in.






share|improve this answer


























  • Thank you for your answer, but after I write the "ls -al .*thority*" command, I don't see .Xauthority. I only see .ICEauthority. As a result, the other commands do not help me.

    – OldDew
    Mar 2 at 8:25











  • @OldDew is .ICEauthority owned by root:root, or by you? If root:root, then the other commands will still work for you.

    – heynnema
    Mar 2 at 12:43











  • Sorry for the long wait. In the end I gave up and reinstalled it again, but this time I chose something else instead of 'nomodeset' (noapic, nolapic, acpi=off), after some research. That fixed my problem. The install went smoothly and I never had those problems again. The problem would have been fixed by this answer if I had the .Xauthority file.

    – OldDew
    Mar 3 at 19:47











  • @OldDew but... by setting noapic, nolapic, acpi=off, you've partially crippled your computer.

    – heynnema
    Mar 3 at 20:16











  • That was the only way I could work around it. After installing it, I've changed them back to normal and now everything seems fine.

    – OldDew
    Mar 3 at 20:19












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%2f1122335%2fubuntu-18-04-is-very-slow-on-high-end-laptop%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









1














Your initial problem of video slowness is caused by your Nvidia drivers needing reinstallation, and the removal of nomodeset in your /etc/default/grub.





Now, we clear up your login problem. If you've been starting graphic applications from the terminal using sudo, that's what probably caused your problem. Always use sudo -H.




  • boot to the GRUB menu

  • choose Advanced Options

  • choose Recovery mode

  • choose Root access

  • at the # prompt, type:



    • sudo mount -o remount,rw / # remount the disk as rw


    • cd /home/your_username # change directory


    • ls -al .*thority* # list some files




You should see something like this...



-rw------- 1 your_username your_username 407910 Nov  2 08:56 .ICEauthority
-rw------- 1 your_username your_username 58 Jun 23 2017 .Xauthority


If it DOES NOT show -rw------- then...





  • sudo chmod 600 .*thority* # change file protection


If it DOES SHOW root root then...




  • sudo chown your_username:your_username .*thority* # change file ownership


  • reboot # reboot the computer



Reboot and see if you can log in.






share|improve this answer


























  • Thank you for your answer, but after I write the "ls -al .*thority*" command, I don't see .Xauthority. I only see .ICEauthority. As a result, the other commands do not help me.

    – OldDew
    Mar 2 at 8:25











  • @OldDew is .ICEauthority owned by root:root, or by you? If root:root, then the other commands will still work for you.

    – heynnema
    Mar 2 at 12:43











  • Sorry for the long wait. In the end I gave up and reinstalled it again, but this time I chose something else instead of 'nomodeset' (noapic, nolapic, acpi=off), after some research. That fixed my problem. The install went smoothly and I never had those problems again. The problem would have been fixed by this answer if I had the .Xauthority file.

    – OldDew
    Mar 3 at 19:47











  • @OldDew but... by setting noapic, nolapic, acpi=off, you've partially crippled your computer.

    – heynnema
    Mar 3 at 20:16











  • That was the only way I could work around it. After installing it, I've changed them back to normal and now everything seems fine.

    – OldDew
    Mar 3 at 20:19
















1














Your initial problem of video slowness is caused by your Nvidia drivers needing reinstallation, and the removal of nomodeset in your /etc/default/grub.





Now, we clear up your login problem. If you've been starting graphic applications from the terminal using sudo, that's what probably caused your problem. Always use sudo -H.




  • boot to the GRUB menu

  • choose Advanced Options

  • choose Recovery mode

  • choose Root access

  • at the # prompt, type:



    • sudo mount -o remount,rw / # remount the disk as rw


    • cd /home/your_username # change directory


    • ls -al .*thority* # list some files




You should see something like this...



-rw------- 1 your_username your_username 407910 Nov  2 08:56 .ICEauthority
-rw------- 1 your_username your_username 58 Jun 23 2017 .Xauthority


If it DOES NOT show -rw------- then...





  • sudo chmod 600 .*thority* # change file protection


If it DOES SHOW root root then...




  • sudo chown your_username:your_username .*thority* # change file ownership


  • reboot # reboot the computer



Reboot and see if you can log in.






share|improve this answer


























  • Thank you for your answer, but after I write the "ls -al .*thority*" command, I don't see .Xauthority. I only see .ICEauthority. As a result, the other commands do not help me.

    – OldDew
    Mar 2 at 8:25











  • @OldDew is .ICEauthority owned by root:root, or by you? If root:root, then the other commands will still work for you.

    – heynnema
    Mar 2 at 12:43











  • Sorry for the long wait. In the end I gave up and reinstalled it again, but this time I chose something else instead of 'nomodeset' (noapic, nolapic, acpi=off), after some research. That fixed my problem. The install went smoothly and I never had those problems again. The problem would have been fixed by this answer if I had the .Xauthority file.

    – OldDew
    Mar 3 at 19:47











  • @OldDew but... by setting noapic, nolapic, acpi=off, you've partially crippled your computer.

    – heynnema
    Mar 3 at 20:16











  • That was the only way I could work around it. After installing it, I've changed them back to normal and now everything seems fine.

    – OldDew
    Mar 3 at 20:19














1












1








1







Your initial problem of video slowness is caused by your Nvidia drivers needing reinstallation, and the removal of nomodeset in your /etc/default/grub.





Now, we clear up your login problem. If you've been starting graphic applications from the terminal using sudo, that's what probably caused your problem. Always use sudo -H.




  • boot to the GRUB menu

  • choose Advanced Options

  • choose Recovery mode

  • choose Root access

  • at the # prompt, type:



    • sudo mount -o remount,rw / # remount the disk as rw


    • cd /home/your_username # change directory


    • ls -al .*thority* # list some files




You should see something like this...



-rw------- 1 your_username your_username 407910 Nov  2 08:56 .ICEauthority
-rw------- 1 your_username your_username 58 Jun 23 2017 .Xauthority


If it DOES NOT show -rw------- then...





  • sudo chmod 600 .*thority* # change file protection


If it DOES SHOW root root then...




  • sudo chown your_username:your_username .*thority* # change file ownership


  • reboot # reboot the computer



Reboot and see if you can log in.






share|improve this answer















Your initial problem of video slowness is caused by your Nvidia drivers needing reinstallation, and the removal of nomodeset in your /etc/default/grub.





Now, we clear up your login problem. If you've been starting graphic applications from the terminal using sudo, that's what probably caused your problem. Always use sudo -H.




  • boot to the GRUB menu

  • choose Advanced Options

  • choose Recovery mode

  • choose Root access

  • at the # prompt, type:



    • sudo mount -o remount,rw / # remount the disk as rw


    • cd /home/your_username # change directory


    • ls -al .*thority* # list some files




You should see something like this...



-rw------- 1 your_username your_username 407910 Nov  2 08:56 .ICEauthority
-rw------- 1 your_username your_username 58 Jun 23 2017 .Xauthority


If it DOES NOT show -rw------- then...





  • sudo chmod 600 .*thority* # change file protection


If it DOES SHOW root root then...




  • sudo chown your_username:your_username .*thority* # change file ownership


  • reboot # reboot the computer



Reboot and see if you can log in.







share|improve this answer














share|improve this answer



share|improve this answer








edited Mar 3 at 14:03

























answered Mar 1 at 23:56









heynnemaheynnema

21.1k22360




21.1k22360













  • Thank you for your answer, but after I write the "ls -al .*thority*" command, I don't see .Xauthority. I only see .ICEauthority. As a result, the other commands do not help me.

    – OldDew
    Mar 2 at 8:25











  • @OldDew is .ICEauthority owned by root:root, or by you? If root:root, then the other commands will still work for you.

    – heynnema
    Mar 2 at 12:43











  • Sorry for the long wait. In the end I gave up and reinstalled it again, but this time I chose something else instead of 'nomodeset' (noapic, nolapic, acpi=off), after some research. That fixed my problem. The install went smoothly and I never had those problems again. The problem would have been fixed by this answer if I had the .Xauthority file.

    – OldDew
    Mar 3 at 19:47











  • @OldDew but... by setting noapic, nolapic, acpi=off, you've partially crippled your computer.

    – heynnema
    Mar 3 at 20:16











  • That was the only way I could work around it. After installing it, I've changed them back to normal and now everything seems fine.

    – OldDew
    Mar 3 at 20:19



















  • Thank you for your answer, but after I write the "ls -al .*thority*" command, I don't see .Xauthority. I only see .ICEauthority. As a result, the other commands do not help me.

    – OldDew
    Mar 2 at 8:25











  • @OldDew is .ICEauthority owned by root:root, or by you? If root:root, then the other commands will still work for you.

    – heynnema
    Mar 2 at 12:43











  • Sorry for the long wait. In the end I gave up and reinstalled it again, but this time I chose something else instead of 'nomodeset' (noapic, nolapic, acpi=off), after some research. That fixed my problem. The install went smoothly and I never had those problems again. The problem would have been fixed by this answer if I had the .Xauthority file.

    – OldDew
    Mar 3 at 19:47











  • @OldDew but... by setting noapic, nolapic, acpi=off, you've partially crippled your computer.

    – heynnema
    Mar 3 at 20:16











  • That was the only way I could work around it. After installing it, I've changed them back to normal and now everything seems fine.

    – OldDew
    Mar 3 at 20:19

















Thank you for your answer, but after I write the "ls -al .*thority*" command, I don't see .Xauthority. I only see .ICEauthority. As a result, the other commands do not help me.

– OldDew
Mar 2 at 8:25





Thank you for your answer, but after I write the "ls -al .*thority*" command, I don't see .Xauthority. I only see .ICEauthority. As a result, the other commands do not help me.

– OldDew
Mar 2 at 8:25













@OldDew is .ICEauthority owned by root:root, or by you? If root:root, then the other commands will still work for you.

– heynnema
Mar 2 at 12:43





@OldDew is .ICEauthority owned by root:root, or by you? If root:root, then the other commands will still work for you.

– heynnema
Mar 2 at 12:43













Sorry for the long wait. In the end I gave up and reinstalled it again, but this time I chose something else instead of 'nomodeset' (noapic, nolapic, acpi=off), after some research. That fixed my problem. The install went smoothly and I never had those problems again. The problem would have been fixed by this answer if I had the .Xauthority file.

– OldDew
Mar 3 at 19:47





Sorry for the long wait. In the end I gave up and reinstalled it again, but this time I chose something else instead of 'nomodeset' (noapic, nolapic, acpi=off), after some research. That fixed my problem. The install went smoothly and I never had those problems again. The problem would have been fixed by this answer if I had the .Xauthority file.

– OldDew
Mar 3 at 19:47













@OldDew but... by setting noapic, nolapic, acpi=off, you've partially crippled your computer.

– heynnema
Mar 3 at 20:16





@OldDew but... by setting noapic, nolapic, acpi=off, you've partially crippled your computer.

– heynnema
Mar 3 at 20:16













That was the only way I could work around it. After installing it, I've changed them back to normal and now everything seems fine.

– OldDew
Mar 3 at 20:19





That was the only way I could work around it. After installing it, I've changed them back to normal and now everything seems fine.

– OldDew
Mar 3 at 20:19


















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.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1122335%2fubuntu-18-04-is-very-slow-on-high-end-laptop%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

flock() on closed filehandle LOCK_FILE at /usr/bin/apt-mirror

Mangá

Eduardo VII do Reino Unido