TLDR Problem:
The nativ screen of my laptop turns black after the graphics card takes over after boot. Other connected screen work fine.
Prerequisits:
- Hardware
- Laptop: XMG P507 Pro
- Graphics Card: Geforce GTX 1070 Mobile
- CPU: Intel i7 with on board GPU
- Nativ screen: Resolution Full HD
- Attached screen via HDMI for debugging
- Software
- Ubuntu 20.04.1 (5.13.0-30-generic)
- tried nvidia-driver-(390,430,470,515)(-server)
Problem description:
On boot the nativ screen just works fine with BIOS and GRUB. After the nvidia GPU takes over in the boot process of Ubuntu the nativ screen turns black. I can debug the computer by attaching a screen using HDMI, when using nvidia drivers.
Analysis
xrandr
tells me that the screen has a resolution of 640x480 and it is activated:
DP-0 connected 640x480+2560+0 (0x1d6) normal (normal left inverted right x axis y axis) 0mm x 0mm
Identifier: 0x1d8
Timestamp: 109907
Subpixel: unknown
Gamma: 1.0:1.0:1.0
Brightness: 1.0
Clones:
CRTC: 1
CRTCs: 1 0 2 3
Transform: 1.000000 0.000000 0.000000
0.000000 1.000000 0.000000
0.000000 0.000000 1.000000
filter:
_MUTTER_PRESENTATION_OUTPUT: 0
CTM: 0 1 0 0 0 0 0 0 0 1 0 0 0 0 0 0
0 1
CscMatrix: 65536 0 0 0 0 65536 0 0 0 0 65536 0
Backlight: 100
range: (0, 100)
EDID:
00ffffffffffff003ac4000000000000
0000010495000078ee91a3544c99260f
50540020000001010101010101010101
01010101010100000000000000000000
00000000000000000000000000000000
00000000000000000000000000000000
00000000000000000000000000000000
00000000000000000000000000000092
BorderDimensions: 4
supported: 4
Border: 0 0 0 0
range: (0, 65535)
SignalFormat: DisplayPort
supported: DisplayPort
ConnectorType: Panel
ConnectorNumber: 3
_ConnectorLocation: 3
non-desktop: 0
supported: 0, 1
This hints that there is something wrong with the EDID. So when I disconnect the screen and run: sudo get-edid | parse-edid
This is read-edid version 3.0.2. Prepare for some fun.
Attempting to use i2c interface
No EDID on bus 0
No EDID on bus 1
No EDID on bus 2
No EDID on bus 3
No EDID on bus 4
No EDID on bus 5
No EDID on bus 6
Looks like no busses have an EDID. Sorry!
Attempting to use the classical VBE interface
mmap /dev/zero: Operation not permitted
error initialising realmode interface
do you have full superuser (root) permissions?
I'm sorry nothing was successful. Maybe try some other arguments
if you played with them, or send an email to Matthew Kern <pyrophobicman@gmail.com>.
When activating intel for the dispaly, the nativ screen works fine. But the HMDI connected screen is not recognized. xrandr
gives me the following:
xrandr: Failed to get size of gamma for output default
Screen 0: minimum 1920 x 1080, current 1920 x 1080, maximum 1920 x 1080
default connected primary 1920x1080+0+0 (0x526) normal (normal) 0mm x 0mm
Identifier: 0x525
Timestamp: 31131
Subpixel: unknown
Clones:
CRTC: 0
CRTCs: 0
Transform: 1.000000 0.000000 0.000000
0.000000 1.000000 0.000000
0.000000 0.000000 1.000000
filter:
_MUTTER_PRESENTATION_OUTPUT: 0
non-desktop: 0
supported: 0, 1
1920x1080 (0x526) 159.667MHz *current
h: width 1920 start 0 end 0 total 1920 skew 0 clock 83.16KHz
v: height 1080 start 0 end 0 total 1080 clock 77.00Hz
With intel get-edid
also can’t find an edid.
When booting into Windows, the nvidia card works fine. I can also retrieve the information from the edid there.
When switching to nouveau, booth nativ and HDMI screen turn black.
data (1.7 MB)