Intel Xorg Driver and CustomEDID crash

Bug #1637073 reported by Steven Ellis
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
xserver-xorg-video-intel (Ubuntu)
New
Undecided
Unassigned

Bug Description

Running MythBuntu 16.04.1 on a Gigibyte Brix N3150 with integrated Intel graphics.

To avoid the xfce bug from https://bugs.launchpad.net/ubuntu/+source/xfce4-settings/+bug/1308105 I've previously forced the EDID settings via an xorg.conf file with NVidia graphics.

If i use the following xorg.conf file with Intel graphics the mythfe (MythTV Frontend) user can't login.

Section "Device"
   Identifier "Intel Graphics"
   Driver "intel"
   Option "AccelMethod" "sna"
   Option "TearFree" "true"
   Option "CustomEDID" "HDMI3:/etc/X11/samsung.edid"

EndSection

Revision history for this message
Steven Ellis (steven-openmedia) wrote :

Captured the EDID file

root@mythfe-1604:~# get-edid > samsung.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 3
No EDID on bus 4
No EDID on bus 5
No EDID on bus 6
No EDID on bus 7
No EDID on bus 8
1 potential busses found: 2
256-byte EDID successfully retrieved from i2c bus 2
Looks like i2c was successful. Have a good day.

Validated the EDID Data

parse-edid < samsung.edid
Checksum Correct

Section "Monitor"
 Identifier "SAMSUNG"
 ModelName "SAMSUNG"
 VendorName "SAM"
 # Monitor Manufactured week 47 of 2009
 # EDID version 1.3
 # Digital Display
 DisplaySize 160 90
 Gamma 2.20
 Option "DPMS" "false"
 Horizsync 26-81
 VertRefresh 24-75
 # Maximum pixel clock is 230MHz
 #Not giving standard mode: 1152x864, 75Hz
 #Not giving standard mode: 1280x800, 60Hz
 #Not giving standard mode: 1280x960, 60Hz
 #Not giving standard mode: 1280x1024, 60Hz
 #Not giving standard mode: 1440x900, 60Hz
 #Not giving standard mode: 1440x900, 75Hz
 #Not giving standard mode: 1680x1050, 60Hz
 #Not giving standard mode: 1600x1200, 60Hz

 #Extension block found. Parsing...
 Modeline "Mode 13" 74.25 1280 1390 1430 1650 720 725 730 750 +hsync +vsync
 Modeline "Mode 0" 148.50 1920 2008 2052 2200 1080 1084 1089 1125 +hsync +vsync
 Modeline "Mode 1" 85.50 1360 1424 1536 1792 768 771 777 795 +hsync +vsync
 Modeline "Mode 2" 148.500 1920 2008 2052 2200 1080 1084 1089 1125 +hsync +vsync
 Modeline "Mode 3" 148.500 1920 2448 2492 2640 1080 1084 1089 1125 +hsync +vsync
 Modeline "Mode 4" 74.250 1280 1390 1420 1650 720 725 730 750 +hsync +vsync
 Modeline "Mode 5" 74.250 1280 1720 1760 1980 720 725 730 750 +hsync +vsync
 Modeline "Mode 6" 74.250 1920 2008 2052 2200 1080 1082 1087 1125 +hsync +vsync interlace
 Modeline "Mode 7" 74.250 1920 2448 2492 2640 1080 1082 1089 1125 +hsync +vsync interlace
 Modeline "Mode 8" 27.027 720 736 798 858 480 489 495 525 -hsync -vsync
 Modeline "Mode 9" 27.000 720 732 796 864 576 581 586 625 -hsync -vsync
 Modeline "Mode 10" 74.250 1920 2558 2602 2750 1080 1084 1089 1125 +hsync +vsync
 Modeline "Mode 11" 74.250 1920 2448 2492 2640 1080 1084 1089 1125 +hsync +vsync
 Modeline "Mode 12" 74.250 1920 2008 2052 2200 1080 1084 1089 1125 +hsync +vsync
 Modeline "Mode 14" 74.25 1280 1720 1760 1980 720 725 730 750 +hsync +vsync
 Modeline "Mode 15" 74.25 1920 2008 2052 2200 540 542 547 562 +hsync +vsync interlace
 Modeline "Mode 16" 74.25 1920 2448 2492 2640 540 542 547 562 +hsync +vsync interlace
 Option "PreferredMode" "Mode 13"
EndSection

Revision history for this message
Steven Ellis (steven-openmedia) wrote :

With the CustomEDID line commented out we can kill Xorg and the mythfe user auto-logins as expected

from auth.log

Oct 27 18:17:09 mythfe-1604 lightdm: pam_unix(lightdm-greeter:session): session closed for user lightdm
Oct 27 18:17:10 mythfe-1604 lightdm: pam_unix(lightdm-autologin:session): session opened for user mythfe by (uid=0)
Oct 27 18:17:10 mythfe-1604 systemd-logind[776]: New session c61 of user mythfe.
Oct 27 18:17:10 mythfe-1604 gnome-keyring-daemon[29205]: couldn't access control socket: /run/user/1000/keyring/control: No such file or directory
Oct 27 18:17:11 mythfe-1604 polkitd(authority=local): Registered Authentication Agent for unix-session:c61 (system bus name :1.564 [/usr/lib/policykit-1-gnome/polkit-gnome-authentication-agent-1], object path /org/gnome/PolicyKit1/AuthenticationAgent, locale en_NZ.UTF-8)

Oct 27 18:17:17 mythfe-1604 pkexec: pam_unix(polkit-1:session): session opened for user root by (uid=1000)
Oct 27 18:17:17 mythfe-1604 pkexec: pam_systemd(polkit-1:session): Cannot create session: Already running in a session
Oct 27 18:17:17 mythfe-1604 pkexec[29305]: mythfe: Executing command [USER=root] [TTY=unknown] [CWD=/home/mythfe] [COMMAND=/usr/lib/update-notifier/package-system-locked]

Revision history for this message
Steven Ellis (steven-openmedia) wrote :

If we re-enable CustomEDID and kill Xorg.conf we see the following error appear during the login process

Oct 27 18:30:40 mythfe-1604 audit[30225]: ANOM_ABEND auid=4294967295 uid=0 gid=0 ses=4294967295 pid=30225 comm="Xorg" exe="/usr/lib/xorg/Xorg" sig=6

In addition looking at the Xorg.0.log we can see weird EDID values being reported.

[335046.207] (II) intel(0): EDID vendor "<E9>U", prod id 1097243512
[335046.207] (II) intel(0): Printing DDC gathered Modelines:

[335046.208] (--) intel(0): unexpected EDID version 0.64

[335046.208] (II) intel(0): EDID vendor "<8C>^?", prod id 610150224
[335046.209] (II) DDCModeFromDetailedTiming: Ignoring tiny 0x192 mode
[335046.209] (--) intel(0): HDMI max TMDS frequency 225000KHz

affects: xfce4-settings (Ubuntu) → xserver-xorg-video-intel (Ubuntu)
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.