You are not logged in.

#1 2015-01-10 22:45:21

Gavster
Member
From: Connecticut
Registered: 2012-11-07
Posts: 11

[Solved] Screen goes black when I run "xrandr" with displayport connec

I am running Arch on a Dell Latitude E6500 with Xorg, nouveau, and Gnome 3. The graphics chipset is identified by lspci as "01:00.0 VGA compatible controller: NVIDIA Corporation G98M [Quadro NVS 160M] (rev a1)".  So far, everything has gone swimmingly with the integrated monitor. Today, I tried to connect an external monitor via DisplayPort. I initially connected the monitor with the system booted and logged in graphically. The external monitor did not receive a signal, so I ran xrandr in an xterm to see if it was being detected. As soon as I ran the command, the laptop screen went black. On a reboot (this time with the DisplayPort cable plugged in from the start), the boot process stopped at the end of the systemd messages (ie, the boot was successful, but X did not appear to start). Connecting to the system via ssh from another machine, I set DISPLAY=:0 and ran xrandr:

Screen 0: minimum 320 x 200, current 1280 x 800, maximum 8192 x 8192
LVDS-1 connected primary 1280x800+0+0 (normal left inverted right x axis y axis) 331mm x 207mm
   1280x800      60.03*+  40.02  
   1024x768      59.92  
   800x600       59.86  
   640x480       59.38  
   720x400       59.55  
   640x400       59.95  
   640x350       59.77  
VGA-1 disconnected (normal left inverted right x axis y axis)
DP-1 connected (normal left inverted right x axis y axis)
   1920x1200     59.95 +
   1600x1200     60.00  
   1280x1024     75.02    60.02  
   1152x864      75.00  
   1024x768      75.08    60.00  
   800x600       75.00    60.32  
   640x480       75.00    60.00  
   720x400       70.08  
DP-2 disconnected (normal left inverted right x axis y axis)

So, X does appear to be running, but isn't actually rendering to either monitor. I noted that there is no "*" next to a graphics mode for DP-1, which I took to mean that no mode was selected.

I then ran "xrandr --output DP-1 --auto" in an attempt to wake up the monitor. This had no effect on either monitor (I still had the boot messages on the integrated monitor, and a blank screen on the external), but running xrandr again showed that the default 1920x1200 mode was selected:

Screen 0: minimum 320 x 200, current 3200 x 1200, maximum 8192 x 8192
LVDS-1 connected primary 1280x800+0+0 (normal left inverted right x axis y axis) 331mm x 207mm
   1280x800      60.03*+  40.02  
   1024x768      59.92  
   800x600       59.86  
   640x480       59.38  
   720x400       59.55  
   640x400       59.95  
   640x350       59.77  
VGA-1 disconnected (normal left inverted right x axis y axis)
DP-1 connected 1920x1200+1280+0 (normal left inverted right x axis y axis) 519mm x 320mm
   1920x1200     59.95*+
   1600x1200     60.00  
   1280x1024     75.02    60.02  
   1152x864      75.00  
   1024x768      75.08    60.00  
   800x600       75.00    60.32  
   640x480       75.00    60.00  
   720x400       70.08  
DP-2 disconnected (normal left inverted right x axis y axis)

The Xorg log shows the monitor connected through DisplayPort being detected with nothing that immediately looks like an error:

[    22.289] (II) NOUVEAU(0): EDID for output DP-1
[    22.289] (II) NOUVEAU(0): Manufacturer: DEL  Model: a02b  Serial#: 842084435
[    22.289] (II) NOUVEAU(0): Year: 2009  Week: 7
[    22.289] (II) NOUVEAU(0): EDID Version: 1.4
[    22.289] (II) NOUVEAU(0): Digital Display Input
[    22.289] (II) NOUVEAU(0): 8 bits per channel
[    22.289] (II) NOUVEAU(0): Digital interface is DisplayPort
[    22.289] (II) NOUVEAU(0): Max Image Size [cm]: horiz.: 52  vert.: 32
[    22.289] (II) NOUVEAU(0): Gamma: 2.20
[    22.289] (II) NOUVEAU(0): DPMS capabilities: Off
[    22.289] (II) NOUVEAU(0): Supported color encodings: RGB 4:4:4 
[    22.289] (II) NOUVEAU(0): First detailed timing is preferred mode
[    22.289] (II) NOUVEAU(0): Preferred mode is native pixel format and refresh rate
[    22.289] (II) NOUVEAU(0): redX: 0.674 redY: 0.319   greenX: 0.188 greenY: 0.706
[    22.289] (II) NOUVEAU(0): blueX: 0.148 blueY: 0.064   whiteX: 0.313 whiteY: 0.329
[    22.289] (II) NOUVEAU(0): Supported established timings:
[    22.289] (II) NOUVEAU(0): 720x400@70Hz
[    22.289] (II) NOUVEAU(0): 640x480@60Hz
[    22.289] (II) NOUVEAU(0): 640x480@75Hz
[    22.289] (II) NOUVEAU(0): 800x600@60Hz
[    22.289] (II) NOUVEAU(0): 800x600@75Hz
[    22.289] (II) NOUVEAU(0): 1024x768@60Hz
[    22.289] (II) NOUVEAU(0): 1024x768@75Hz
[    22.289] (II) NOUVEAU(0): 1280x1024@75Hz
[    22.289] (II) NOUVEAU(0): Manufacturer's mask: 0
[    22.289] (II) NOUVEAU(0): Supported standard timings:
[    22.289] (II) NOUVEAU(0): #0: hsize: 1280  vsize 1024  refresh: 60  vid: 32897
[    22.289] (II) NOUVEAU(0): #1: hsize: 1600  vsize 1200  refresh: 60  vid: 16553
[    22.289] (II) NOUVEAU(0): #2: hsize: 1152  vsize 864  refresh: 75  vid: 20337
[    22.289] (II) NOUVEAU(0): Supported detailed timing:
[    22.289] (II) NOUVEAU(0): clock: 154.0 MHz   Image Size:  519 x 320 mm
[    22.289] (II) NOUVEAU(0): h_active: 1920  h_sync: 1968  h_sync_end 2000 h_blank_end 2080 h_border: 0
[    22.289] (II) NOUVEAU(0): v_active: 1200  v_sync: 1203  v_sync_end 1209 v_blanking: 1235 v_border: 0
[    22.290] (II) NOUVEAU(0): Serial No: G283H929210S
[    22.290] (II) NOUVEAU(0): Monitor name: DELL 2408WFP
[    22.290] (II) NOUVEAU(0): Ranges: V min: 56 V max: 76 Hz, H min: 30 H max: 83 kHz, PixClock max 175 MHz
[    22.290] (II) NOUVEAU(0): EDID (in hex):
[    22.290] (II) NOUVEAU(0): 	00ffffffffffff0010ac2ba053303132
[    22.290] (II) NOUVEAU(0): 	07130104a534207822b325ac5130b426
[    22.290] (II) NOUVEAU(0): 	105054a54b008180a940714f01010101
[    22.290] (II) NOUVEAU(0): 	010101010101283c80a070b023403020
[    22.290] (II) NOUVEAU(0): 	360007402100001a000000ff00473238
[    22.290] (II) NOUVEAU(0): 	3348393239323130530a000000fc0044
[    22.290] (II) NOUVEAU(0): 	454c4c20323430385746500a000000fd
[    22.290] (II) NOUVEAU(0): 	00384c1e5311010a2020202020200012
[    22.290] (II) NOUVEAU(0): Printing probed modes for output DP-1
[    22.290] (II) NOUVEAU(0): Modeline "1920x1200"x60.0  154.00  1920 1968 2000 2080  1200 1203 1209 1235 +hsync -vsync (74.0 kHz eP)
[    22.290] (II) NOUVEAU(0): Modeline "1600x1200"x60.0  162.00  1600 1664 1856 2160  1200 1201 1204 1250 +hsync +vsync (75.0 kHz e)
[    22.290] (II) NOUVEAU(0): Modeline "1280x1024"x75.0  135.00  1280 1296 1440 1688  1024 1025 1028 1066 +hsync +vsync (80.0 kHz e)
[    22.290] (II) NOUVEAU(0): Modeline "1280x1024"x60.0  108.00  1280 1328 1440 1688  1024 1025 1028 1066 +hsync +vsync (64.0 kHz e)
[    22.290] (II) NOUVEAU(0): Modeline "1152x864"x75.0  108.00  1152 1216 1344 1600  864 865 868 900 +hsync +vsync (67.5 kHz e)
[    22.290] (II) NOUVEAU(0): Modeline "1024x768"x75.1   78.80  1024 1040 1136 1312  768 769 772 800 +hsync +vsync (60.1 kHz e)
[    22.290] (II) NOUVEAU(0): Modeline "1024x768"x60.0   65.00  1024 1048 1184 1344  768 771 777 806 -hsync -vsync (48.4 kHz e)
[    22.290] (II) NOUVEAU(0): Modeline "800x600"x75.0   49.50  800 816 896 1056  600 601 604 625 +hsync +vsync (46.9 kHz e)
[    22.290] (II) NOUVEAU(0): Modeline "800x600"x60.3   40.00  800 840 968 1056  600 601 605 628 +hsync +vsync (37.9 kHz e)
[    22.290] (II) NOUVEAU(0): Modeline "640x480"x75.0   31.50  640 656 720 840  480 481 484 500 -hsync -vsync (37.5 kHz e)
[    22.290] (II) NOUVEAU(0): Modeline "640x480"x60.0   25.20  640 656 752 800  480 490 492 525 -hsync -vsync (31.5 kHz e)
[    22.290] (II) NOUVEAU(0): Modeline "720x400"x70.1   28.32  720 738 846 900  400 412 414 449 -hsync +vsync (31.5 kHz e)

Googling has turned up a number of people having issues with DisplayPort, but in these cases the external monitor simply needs to be enabled (xrandr --auto, a BIOS setting, etc). Has anyone experienced this situation, where the working primary monitor stops working?

Thanks!

Last edited by Gavster (2015-01-25 17:00:50)

Offline

#2 2015-01-25 17:00:00

Gavster
Member
From: Connecticut
Registered: 2012-11-07
Posts: 11

Re: [Solved] Screen goes black when I run "xrandr" with displayport connec

I got a displayport -> HDMI cable to try the laptop with my television. This worked seamlessly, with X auto-detecting the new monitor and correctly enabling it with a default of 1920x1080 (interlaced). I also was able to change it to 1280x720 (progressive) with xrandr. Since the monitor I originally tried with straight displayport also has an HDMI input, I tried the new cable there and again was met with success. I'll mark this as solved with the likely culprit being something very strange with my displayport cable (I had ruled the cable out since the EDID was properly reporting the monitor model and supported resolutions).

Offline

Board footer

Powered by FluxBB