Page 3 of 8 FirstFirst 12345 ... LastLast
Results 21 to 30 of 71

Thread: X won't show anything if the monitor hasn't been on since system boot - Monitor blank on console 7th

  1. #21
    Join Date
    Dec 2016
    Location
    Burlington - Canada
    Posts
    101

    Default Re: X won't show anything if the monitor hasn't been on since system boot - Monitor blank on console

    Quote Originally Posted by arvidjaar View Post
    Well, you can blindly type but yes, ssh into system will certainly be easier. You can also run cron job or systemd timer that executes it shortly after boot.

    Is it your correct monitor (or, better, video input where monitor is connected)?
    I have only one monitor connected to the system and to test, I disconnected the cable from one DP on the graphic card and connected to another DP port and it changed:
    Code:
    grep . /sys/class/drm/*/{enabled,status}
    /sys/class/drm/card0-DP-1/enabled:disabled
    /sys/class/drm/card0-DP-2/enabled:enabled
    /sys/class/drm/card0-DP-3/enabled:disabled
    /sys/class/drm/card0-HDMI-A-1/enabled:disabled
    /sys/class/drm/card0-DP-1/status:disconnected
    /sys/class/drm/card0-DP-2/status:connected
    /sys/class/drm/card0-DP-3/status:disconnected
    /sys/class/drm/card0-HDMI-A-1/status:disconnected
    I am just burning openSUSE Leap on an USB to rescue the GRUB. As soon it is done burning, I will reboot to test the monitor being off and SSH into MX and run the grep . /sys/class/drm/*/{enabled,status} command.

    Thank you

  2. #22
    Join Date
    Dec 2016
    Location
    Burlington - Canada
    Posts
    101

    Default Re: X won't show anything if the monitor hasn't been on since system boot - Monitor blank on console

    So this is the situation now: The MX system is booted up, I ssh-ed into it, and this is the output:

    Code:
    grep . /sys/class/drm/*/{enabled,status}
    /sys/class/drm/card0-DP-1/enabled:disabled
    /sys/class/drm/card0-DP-2/enabled:disabled
    /sys/class/drm/card0-DP-3/enabled:disabled
    /sys/class/drm/card0-HDMI-A-1/enabled:disabled
    /sys/class/drm/card0-DP-1/status:disconnected
    /sys/class/drm/card0-DP-2/status:disconnected
    /sys/class/drm/card0-DP-3/status:disconnected
    /sys/class/drm/card0-HDMI-A-1/status:disconnected
    Turning the monitor on and running the command from the ssh session:
    Code:
    grep . /sys/class/drm/*/{enabled,status}
    /sys/class/drm/card0-DP-1/enabled:disabled
    /sys/class/drm/card0-DP-2/enabled:enabled
    /sys/class/drm/card0-DP-3/enabled:disabled
    /sys/class/drm/card0-HDMI-A-1/enabled:disabled
    /sys/class/drm/card0-DP-1/status:disconnected
    /sys/class/drm/card0-DP-2/status:connected
    /sys/class/drm/card0-DP-3/status:disconnected
    /sys/class/drm/card0-HDMI-A-1/status:disconnected
    But the monitor has no problems getting the signal while off during boot on MX Linux. But the same scenario is not true on openSUSE (i.e. monitor being off during boot, and turned on after fully booted openSUSE OS)

    What can I do next?

    Thank you for your time.

  3. #23
    Join Date
    Sep 2012
    Posts
    7,856

    Default Re: X won't show anything if the monitor hasn't been on since system boot - Monitor blank on console

    Quote Originally Posted by simorgh View Post
    What can I do next?
    You can do the same with openSUSE. This will show whether this is kernel or user space issue.

  4. #24
    Join Date
    Dec 2016
    Location
    Burlington - Canada
    Posts
    101

    Default Re: X won't show anything if the monitor hasn't been on since system boot - Monitor blank on console

    Quote Originally Posted by arvidjaar View Post
    You can do the same with openSUSE. This will show whether this is kernel or user space issue.
    With no GRUB to access my main oepnSUSE Leap, I have to now try to restore GRUB. Have never done before!

  5. #25
    Join Date
    Dec 2016
    Location
    Burlington - Canada
    Posts
    101

    Default Re: X won't show anything if the monitor hasn't been on since system boot - Monitor blank on console

    Quote Originally Posted by arvidjaar View Post
    You can do the same with openSUSE. This will show whether this is kernel or user space issue.
    So I have my main openSUSE Leap 15.3 up and running.
    When the system is booted with monitor on the whole time, this is the output:
    Code:
    grep . /sys/class/drm/*/{enabled,status}/sys/class/drm/card0-DP-1/enabled:disabled
    /sys/class/drm/card0-DP-2/enabled:enabled
    /sys/class/drm/card0-DP-3/enabled:disabled
    /sys/class/drm/card0-HDMI-A-1/enabled:disabled
    /sys/class/drm/card0-DP-1/status:disconnected
    /sys/class/drm/card0-DP-2/status:connected
    /sys/class/drm/card0-DP-3/status:disconnected
    /sys/class/drm/card0-HDMI-A-1/status:disconnected
    Which in my unprofessional opinion should be normal.

    By turning the monitor and SSH into the machine, the output is:
    Code:
    grep . /sys/class/drm/*/{enabled,status}/sys/class/drm/card0-DP-1/enabled:disabled
    /sys/class/drm/card0-DP-2/enabled:disabled
    /sys/class/drm/card0-DP-3/enabled:disabled
    /sys/class/drm/card0-HDMI-A-1/enabled:disabled
    /sys/class/drm/card0-DP-1/status:disconnected
    /sys/class/drm/card0-DP-2/status:disconnected
    /sys/class/drm/card0-DP-3/status:disconnected
    /sys/class/drm/card0-HDMI-A-1/status:disconnected
    Booting the system with monitor off and SSH into the machine, the output is:
    Code:
    grep . /sys/class/drm/*/{enabled,status}/sys/class/drm/card0-DP-1/enabled:disabled
    /sys/class/drm/card0-DP-2/enabled:disabled
    /sys/class/drm/card0-DP-3/enabled:disabled
    /sys/class/drm/card0-HDMI-A-1/enabled:disabled
    /sys/class/drm/card0-DP-1/status:disconnected
    /sys/class/drm/card0-DP-2/status:disconnected
    /sys/class/drm/card0-DP-3/status:disconnected
    /sys/class/drm/card0-HDMI-A-1/status:disconnected
    Turning the monitor on, after it being off the entire boot time, it won't show anything and says 'DisplayPort NO Signal'.
    The output is the same as above.

    Changing to console 1, and the output from the SSH session is:
    Code:
    grep . /sys/class/drm/*/{enabled,status}
    /sys/class/drm/card0-DP-1/enabled:disabled
    /sys/class/drm/card0-DP-2/enabled:enabled
    /sys/class/drm/card0-DP-3/enabled:disabled
    /sys/class/drm/card0-HDMI-A-1/enabled:disabled
    /sys/class/drm/card0-DP-1/status:disconnected
    /sys/class/drm/card0-DP-2/status:connected
    /sys/class/drm/card0-DP-3/status:disconnected
    /sys/class/drm/card0-HDMI-A-1/status:disconnected
    Changing back to console 7, the output from the SSH session is:
    Code:
    /sys/class/drm/card0-DP-1/enabled:disabled
    /sys/class/drm/card0-DP-2/enabled:disabled
    /sys/class/drm/card0-DP-3/enabled:disabled
    /sys/class/drm/card0-HDMI-A-1/enabled:disabled
    /sys/class/drm/card0-DP-1/status:disconnected
    /sys/class/drm/card0-DP-2/status:connected
    /sys/class/drm/card0-DP-3/status:disconnected
    /sys/class/drm/card0-HDMI-A-1/status:disconnected
    I am no wiser.
    What do these mean?

    When I was testing with MX Linux, the monitor didn't have any problem coming on and showing the desktop.

    Appreciate your advice.

  6. #26
    Join Date
    Sep 2012
    Posts
    7,856

    Default Re: X won't show anything if the monitor hasn't been on since system boot - Monitor blank on console

    Quote Originally Posted by simorgh View Post
    Booting the system with monitor off and SSH into the machine, the output is:
    Code:
    grep . /sys/class/drm/*/{enabled,status}
    /sys/class/drm/card0-DP-1/enabled:disabled
    /sys/class/drm/card0-DP-2/enabled:disabled
    /sys/class/drm/card0-DP-3/enabled:disabled
    /sys/class/drm/card0-HDMI-A-1/enabled:disabled
    /sys/class/drm/card0-DP-1/status:disconnected
    /sys/class/drm/card0-DP-2/status:disconnected
    /sys/class/drm/card0-DP-3/status:disconnected
    /sys/class/drm/card0-HDMI-A-1/status:disconnected
    Turning the monitor on, after it being off the entire boot time, it won't show anything and says 'DisplayPort NO Signal'.
    The output is the same as above.
    It means kernel does not detect connected monitor. Do openSUSE and MX Linux use the same driver for your card? What are kernel versions in both cases? Have you tested the latest kernels from Kernel:stable:Backport or even Kernel:HEAD:Backport? If they do not work as well, you need to open bug report.

  7. #27
    Join Date
    Sep 2012
    Posts
    7,856

    Default Re: X won't show anything if the monitor hasn't been on since system boot - Monitor blank on console

    Quote Originally Posted by simorgh View Post
    Changing to console 1, and the output from the SSH session is:
    Code:
    grep . /sys/class/drm/*/{enabled,status}
    /sys/class/drm/card0-DP-2/enabled:enabled
    /sys/class/drm/card0-DP-2/status:connected
    And do you see anything on connected monitor at this point?

  8. #28
    Join Date
    Dec 2016
    Location
    Burlington - Canada
    Posts
    101

    Default Re: X won't show anything if the monitor hasn't been on since system boot - Monitor blank on console

    Quote Originally Posted by arvidjaar View Post
    It means kernel does not detect connected monitor. Do openSUSE and MX Linux use the same driver for your card? What are kernel versions in both cases?
    When I upgraded to my current graphics card (Radeon RX 6800) whatever both openSUSE Leap and Tumbleweed had in kernel didn't help with the situation. I then upgraded the driver to amdgpu pro, following https://en.opensuse.org/SDB:AMDGPU-PRO but it didn't help either.
    When testing with MX Linux 21, (kernel 5.10.70) it didn't had any problems showing the desktop even the monitor was off the whole boot time. I did not install any additional driver(s), only what is implemented in the MX kernel.
    When testing with Tumbleweed, which was last weeks, the kernel was at 5.15.x something.
    On my main openSUSE Leap 15.3, I have the latest kernel available through the main repo (5.3.18-59.34-default).

    Quote Originally Posted by arvidjaar View Post
    Have you tested the latest kernels from Kernel:stable:Backport or even Kernel:HEAD:Backport?
    I don't know how to go about doing that, would you mind direct me how to go about doing it?!
    Thank you.

  9. #29
    Join Date
    Dec 2016
    Location
    Burlington - Canada
    Posts
    101

    Default Re: X won't show anything if the monitor hasn't been on since system boot - Monitor blank on console

    Quote Originally Posted by arvidjaar View Post
    And do you see anything on connected monitor at this point?
    Booting the system with the monitor OFF, and SSH into it from another computer, turn the monitor ON, will not show anything on openSUSE, and the status on the command will be disabled and disconnected. Even though the monitor is ON. I have to change to console 1 to get to the command line (CTRL+ALT+F1, tty1), then the monitor shows the command line prompt.
    Running the command from another machin (SSH session) will result in card0-DP-2 being enabled and connected..... But changing back to console 7 (CTRL+ALT+F7) will say: "DisplayPort NO Signal"

    I hope it makes sense

  10. #30
    Join Date
    Nov 2009
    Location
    West Virginia Sector 13
    Posts
    16,344

    Default Re: X won't show anything if the monitor hasn't been on since system boot - Monitor blank on console

    Seems like you are going to a lot of trouble to fix a simple problem. For what ever reason your monitor is not talking to the system to initialize the needed hand shakes. Easiest is to just assure tht the monitor is turned on with the computer. Use a switched power strip and all should be good

    Others are not seeing this problem so it is unique to your hardware mix.

Page 3 of 8 FirstFirst 12345 ... LastLast

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •