X crashing after sleep, Dell 7490 laptop with Intel modesetting driver, xrandr weirdness too, Ubuntu 18.10












0















First I encountered various problems trying to use xrandr to set up external monitors after they had successfully configured then disconnected and reconnected, possibly after the laptop was put to sleep in between. In those cases, every attempt to use xrandr, even --auto resulted in xrandr: Configure crtc 1 failed. I mention this because I suspect it is related to the bigger problem...



Later I put my laptop to sleep then woke it up and got just a black screen. I hit ctrl+alt+f5 and the virtual terminal was working fine so then I hit ctrl+alt+f2 to go back to the default GUI and saw just a white underscore cursor in the top left corner. ctrl+alt+f1 brought me to the alternate GUI which started up just fine and presented a GUI login prompt. ctrl+alt+f2 then took me to a text tty2 which I did not expect.



Here are what I think are some key log entries:



dmesg:



[drm:intel_display_resume [i915]] *ERROR* Restoring old state failed with -22


Xorg.0.log:



[  2439.364] (II) event3  - Power Button: device removed
[ 2439.400] (II) event5 - Video Bus: device removed
[ 2439.424] (II) event1 - Power Button: device removed
[ 2439.440] (II) event2 - Sleep Button: device removed
[ 2439.456] (II) event7 - Integrated Webcam_HD: Integrate: device removed
[ 2439.488] (II) event8 - DELL081C:00 044E:121F Mouse: device removed
[ 2439.521] (II) event10 - DELL081C:00 044E:121F Touchpad: device removed
[ 2439.552] (II) event11 - DELL081C:00 044E:121F UNKNOWN: device removed
[ 2439.576] (II) event9 - Intel HID events: device removed
[ 2439.600] (II) event6 - Dell WMI hotkeys: device removed
[ 2439.616] (II) event4 - AT Translated Set 2 keyboard: device removed
[ 2439.632] (II) AIGLX: Suspending AIGLX clients for VT switch
[ 2447.245] (II) AIGLX: Resuming AIGLX clients after VT switch
[ 2448.382] (EE) modeset(0): failed to set mode: No such file or directory
[ 2448.382] (EE)
Fatal server error:
[ 2448.382] (EE) EnterVT failed for screen 0
[ 2448.382] (EE)
[ 2448.382] (EE)
Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
[ 2448.382] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[ 2448.382] (EE)
[ 2448.382] (II) AIGLX: Suspending AIGLX clients for VT switch
[ 2449.545] (EE) Server terminated with error (1). Closing log file.


I don't know how to proceed with further troubleshooting from here.










share|improve this question



























    0















    First I encountered various problems trying to use xrandr to set up external monitors after they had successfully configured then disconnected and reconnected, possibly after the laptop was put to sleep in between. In those cases, every attempt to use xrandr, even --auto resulted in xrandr: Configure crtc 1 failed. I mention this because I suspect it is related to the bigger problem...



    Later I put my laptop to sleep then woke it up and got just a black screen. I hit ctrl+alt+f5 and the virtual terminal was working fine so then I hit ctrl+alt+f2 to go back to the default GUI and saw just a white underscore cursor in the top left corner. ctrl+alt+f1 brought me to the alternate GUI which started up just fine and presented a GUI login prompt. ctrl+alt+f2 then took me to a text tty2 which I did not expect.



    Here are what I think are some key log entries:



    dmesg:



    [drm:intel_display_resume [i915]] *ERROR* Restoring old state failed with -22


    Xorg.0.log:



    [  2439.364] (II) event3  - Power Button: device removed
    [ 2439.400] (II) event5 - Video Bus: device removed
    [ 2439.424] (II) event1 - Power Button: device removed
    [ 2439.440] (II) event2 - Sleep Button: device removed
    [ 2439.456] (II) event7 - Integrated Webcam_HD: Integrate: device removed
    [ 2439.488] (II) event8 - DELL081C:00 044E:121F Mouse: device removed
    [ 2439.521] (II) event10 - DELL081C:00 044E:121F Touchpad: device removed
    [ 2439.552] (II) event11 - DELL081C:00 044E:121F UNKNOWN: device removed
    [ 2439.576] (II) event9 - Intel HID events: device removed
    [ 2439.600] (II) event6 - Dell WMI hotkeys: device removed
    [ 2439.616] (II) event4 - AT Translated Set 2 keyboard: device removed
    [ 2439.632] (II) AIGLX: Suspending AIGLX clients for VT switch
    [ 2447.245] (II) AIGLX: Resuming AIGLX clients after VT switch
    [ 2448.382] (EE) modeset(0): failed to set mode: No such file or directory
    [ 2448.382] (EE)
    Fatal server error:
    [ 2448.382] (EE) EnterVT failed for screen 0
    [ 2448.382] (EE)
    [ 2448.382] (EE)
    Please consult the The X.Org Foundation support
    at http://wiki.x.org
    for help.
    [ 2448.382] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
    [ 2448.382] (EE)
    [ 2448.382] (II) AIGLX: Suspending AIGLX clients for VT switch
    [ 2449.545] (EE) Server terminated with error (1). Closing log file.


    I don't know how to proceed with further troubleshooting from here.










    share|improve this question

























      0












      0








      0








      First I encountered various problems trying to use xrandr to set up external monitors after they had successfully configured then disconnected and reconnected, possibly after the laptop was put to sleep in between. In those cases, every attempt to use xrandr, even --auto resulted in xrandr: Configure crtc 1 failed. I mention this because I suspect it is related to the bigger problem...



      Later I put my laptop to sleep then woke it up and got just a black screen. I hit ctrl+alt+f5 and the virtual terminal was working fine so then I hit ctrl+alt+f2 to go back to the default GUI and saw just a white underscore cursor in the top left corner. ctrl+alt+f1 brought me to the alternate GUI which started up just fine and presented a GUI login prompt. ctrl+alt+f2 then took me to a text tty2 which I did not expect.



      Here are what I think are some key log entries:



      dmesg:



      [drm:intel_display_resume [i915]] *ERROR* Restoring old state failed with -22


      Xorg.0.log:



      [  2439.364] (II) event3  - Power Button: device removed
      [ 2439.400] (II) event5 - Video Bus: device removed
      [ 2439.424] (II) event1 - Power Button: device removed
      [ 2439.440] (II) event2 - Sleep Button: device removed
      [ 2439.456] (II) event7 - Integrated Webcam_HD: Integrate: device removed
      [ 2439.488] (II) event8 - DELL081C:00 044E:121F Mouse: device removed
      [ 2439.521] (II) event10 - DELL081C:00 044E:121F Touchpad: device removed
      [ 2439.552] (II) event11 - DELL081C:00 044E:121F UNKNOWN: device removed
      [ 2439.576] (II) event9 - Intel HID events: device removed
      [ 2439.600] (II) event6 - Dell WMI hotkeys: device removed
      [ 2439.616] (II) event4 - AT Translated Set 2 keyboard: device removed
      [ 2439.632] (II) AIGLX: Suspending AIGLX clients for VT switch
      [ 2447.245] (II) AIGLX: Resuming AIGLX clients after VT switch
      [ 2448.382] (EE) modeset(0): failed to set mode: No such file or directory
      [ 2448.382] (EE)
      Fatal server error:
      [ 2448.382] (EE) EnterVT failed for screen 0
      [ 2448.382] (EE)
      [ 2448.382] (EE)
      Please consult the The X.Org Foundation support
      at http://wiki.x.org
      for help.
      [ 2448.382] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
      [ 2448.382] (EE)
      [ 2448.382] (II) AIGLX: Suspending AIGLX clients for VT switch
      [ 2449.545] (EE) Server terminated with error (1). Closing log file.


      I don't know how to proceed with further troubleshooting from here.










      share|improve this question














      First I encountered various problems trying to use xrandr to set up external monitors after they had successfully configured then disconnected and reconnected, possibly after the laptop was put to sleep in between. In those cases, every attempt to use xrandr, even --auto resulted in xrandr: Configure crtc 1 failed. I mention this because I suspect it is related to the bigger problem...



      Later I put my laptop to sleep then woke it up and got just a black screen. I hit ctrl+alt+f5 and the virtual terminal was working fine so then I hit ctrl+alt+f2 to go back to the default GUI and saw just a white underscore cursor in the top left corner. ctrl+alt+f1 brought me to the alternate GUI which started up just fine and presented a GUI login prompt. ctrl+alt+f2 then took me to a text tty2 which I did not expect.



      Here are what I think are some key log entries:



      dmesg:



      [drm:intel_display_resume [i915]] *ERROR* Restoring old state failed with -22


      Xorg.0.log:



      [  2439.364] (II) event3  - Power Button: device removed
      [ 2439.400] (II) event5 - Video Bus: device removed
      [ 2439.424] (II) event1 - Power Button: device removed
      [ 2439.440] (II) event2 - Sleep Button: device removed
      [ 2439.456] (II) event7 - Integrated Webcam_HD: Integrate: device removed
      [ 2439.488] (II) event8 - DELL081C:00 044E:121F Mouse: device removed
      [ 2439.521] (II) event10 - DELL081C:00 044E:121F Touchpad: device removed
      [ 2439.552] (II) event11 - DELL081C:00 044E:121F UNKNOWN: device removed
      [ 2439.576] (II) event9 - Intel HID events: device removed
      [ 2439.600] (II) event6 - Dell WMI hotkeys: device removed
      [ 2439.616] (II) event4 - AT Translated Set 2 keyboard: device removed
      [ 2439.632] (II) AIGLX: Suspending AIGLX clients for VT switch
      [ 2447.245] (II) AIGLX: Resuming AIGLX clients after VT switch
      [ 2448.382] (EE) modeset(0): failed to set mode: No such file or directory
      [ 2448.382] (EE)
      Fatal server error:
      [ 2448.382] (EE) EnterVT failed for screen 0
      [ 2448.382] (EE)
      [ 2448.382] (EE)
      Please consult the The X.Org Foundation support
      at http://wiki.x.org
      for help.
      [ 2448.382] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
      [ 2448.382] (EE)
      [ 2448.382] (II) AIGLX: Suspending AIGLX clients for VT switch
      [ 2449.545] (EE) Server terminated with error (1). Closing log file.


      I don't know how to proceed with further troubleshooting from here.







      suspend dell intel-graphics 18.10






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Jan 18 at 3:45









      SparrSparr

      553210




      553210






















          0






          active

          oldest

          votes











          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%2f1110741%2fx-crashing-after-sleep-dell-7490-laptop-with-intel-modesetting-driver-xrandr-w%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          0






          active

          oldest

          votes








          0






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes
















          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%2f1110741%2fx-crashing-after-sleep-dell-7490-laptop-with-intel-modesetting-driver-xrandr-w%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á

           ⁒  ․,‪⁊‑⁙ ⁖, ⁇‒※‌, †,⁖‗‌⁝    ‾‸⁘,‖⁔⁣,⁂‾
”‑,‥–,‬ ,⁀‹⁋‴⁑ ‒ ,‴⁋”‼ ⁨,‷⁔„ ‰′,‐‚ ‥‡‎“‷⁃⁨⁅⁣,⁔
⁇‘⁔⁡⁏⁌⁡‿‶‏⁨ ⁣⁕⁖⁨⁩⁥‽⁀  ‴‬⁜‟ ⁃‣‧⁕‮ …‍⁨‴ ⁩,⁚⁖‫ ,‵ ⁀,‮⁝‣‣ ⁑  ⁂– ․, ‾‽ ‏⁁“⁗‸ ‾… ‹‡⁌⁎‸‘ ‡⁏⁌‪ ‵⁛ ‎⁨ ―⁦⁤⁄⁕