trunkmaster / nextspace

NeXTSTEP-like desktop environment for Linux
https://trunkmaster.github.io
GNU General Public License v3.0
1.9k stars 69 forks source link

Screen Preferences testing #53

Open trunkmaster opened 5 years ago

trunkmaster commented 5 years ago

Test display management on real hardware (relayout, enable/disable, open/close laptop lid).

fkinos commented 9 months ago

Hi, I've been testing this since I got it running properly.

Multi-monitor support doesn't work, only my laptop screen lights up while the external monitor stays black but the mouse still shows up on its edge.

When closing the laptop lid it or removing the cable to the external monitor the other display is then set as the main one properly.

Closing the lid sometimes works but most of the time just causes the screen to go black and crashes.

trunkmaster commented 9 months ago

Hi, I've been testing this since I got it running properly.

Hi, that's good but I need more information.

Multi-monitor support doesn't work, only my laptop screen lights up while the external monitor stays black but the mouse still shows up on its edge.

When? On Login start, after log in or while changing Screen preferences? xrandr command output may help to understand exact settings on Xorg side.

When closing the laptop lid it or removing the cable to the external monitor the other display is then set as the main one properly.

Closing the lid sometimes works but most of the time just causes the screen to go black and crashes.

Most of the cases may be related to Linux itself. Please check video driver installed, power settings, exact conditions on crashes. For example, closing the lid may lead to suspend and after open Xorg may crash.

fkinos commented 8 months ago

When? On Login start, after log in or while changing Screen preferences? xrandr command output may help to understand exact settings on Xorg side.

Multi-monitor isn't working in any condition. Here's xrandr output, eDPI-1 is my laptop screen:

Screen 0: minimum 320 x 200, current 1920 x 1080, maximum 16384 x 16384
eDP-1 connected (normal left inverted right x axis y axis)
   1920x1080     60.01 +  60.01    59.97    59.96    59.93    48.01
   1680x1050     59.95    59.88
   1400x1050     59.98
   1600x900      59.99    59.94    59.95    59.82
   1280x1024     60.02
   1400x900      59.96    59.88
   1280x960      60.00
   1440x810      60.00    59.97
   1368x768      59.88    59.85
   1280x800      59.99    59.97    59.81    59.91
   1280x720      60.00    59.99    59.86    59.74
   1024x768      60.04    60.00
   960x720       60.00
   928x696       60.05
   896x672       60.01
   1024x576      59.95    59.96    59.90    59.82
   960x600       59.93    60.00
   960x540       59.96    59.99    59.63    59.82
   800x600       60.00    60.32    56.25
   840x525       60.01    59.88
   864x486       59.92    59.57
   700x525       59.98
   800x450       59.95    59.82
   640x512       60.02
   700x450       59.96    59.88
   640x480       60.00    59.94
   720x405       59.51    58.99
   684x384       59.88    59.85
   640x400       59.88    59.98
   640x360       59.86    59.83    59.84    59.32
   512x384       60.00
   512x288       60.00    59.92
   480x270       59.63    59.82
   400x300       60.32    56.34
   432x243       59.92    59.57
   320x240       60.05
   360x202       59.51    59.13
   320x180       59.84    59.32
HDMI-1 connected primary 1920x1080+0+0 (normal left inverted right x axis y axis) 673mm x
284mm
   1920x1080     60.00    50.00    59.94*
   1680x1050     59.88
   1600x900      60.00
   1280x1024     75.02    60.02
   1152x864      75.00
   1280x720      60.00    50.00    59.94
   1024x768      75.03    60.00
   800x600       75.00    60.32
   720x576       50.00
   720x480       60.00    59.94
   640x480       75.00    60.00    59.94
   720x400       70.08

Please check video driver installed, power settings, exact conditions on crashes.

Graphics information:

  Device-1: Intel TigerLake-LP GT2 [Iris Xe Graphics] driver: i915 v: kernel
  Device-2: Sunplus Innovation Integrated_Webcam_HD driver: uvcvideo
    type: USB
  Display: unspecified server: X.Org v: 1.20.14 with: Xwayland v: 23.2.4
    driver: X: loaded: modesetting unloaded: fbdev,vesa dri: iris gpu: i915
    resolution: 1: 1920x1080 2: N/A
  API: EGL v: 1.5 drivers: iris,swrast platforms: x11,surfaceless,device
  API: OpenGL v: 4.6 compat-v: 4.5 vendor: intel mesa v: 23.3.6
    renderer: Mesa Intel Xe Graphics (TGL GT2

Will test it more to see what exactly causes it to display a black screen or crash.

trunkmaster commented 8 months ago

I suppose it's a closed lid with connected external monitor to HDMI port. sudo journalctl /usr/NextSpace/Apps/Login.app/Login may provide additional information from login window point of view. At start Login.app prints "Screen size" and "Display frame" information.