[Bug 95140] does not work with xserver 1.18.3 : core dump at kgem->retire() + different PixmapSyncDirtyHelper prototype

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Apr 26 18:25:08 UTC 2016


https://bugs.freedesktop.org/show_bug.cgi?id=95140

--- Comment #11 from Jason Vas Dias <jason.vas.dias at gmail.com> ---
Eureka! 
Xorg X-Server 1.18.3 & xf86-video-intel 2.99.917+ with kgem.c patch above 
X-Windows Initialization finally succeeded !
xterm displayed OK !

The magic undocumented xorg.conf incantations I had to type were :

 $ more /etc/X11/xorg.conf 
Section "ServerLayout"
        Identifier     "X Intel"
        Screen         0  "Screen0" 0 0
        Inactive       "Radeon"
        InputDevice    "Mouse0" "CorePointer"
        InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "ServerFlags"
#         Option       "AutoAddDevices" "false"
#         Option       "AutoEnableDevices" "false"
#         Option       "AutoAddGPU" "false"
EndSection

Section "Files"
        ModulePath   "/usr/lib64/xorg/modules"
        FontPath     "/usr/share/fonts/X11/misc/"
        FontPath     "/usr/share/fonts/X11/TTF/"
        FontPath     "/usr/share/fonts/X11/OTF/"
        FontPath     "/usr/share/fonts/X11/Type1/"
        FontPath     "/usr/share/fonts/X11/100dpi/"
        FontPath     "/usr/share/fonts/X11/75dpi/"
EndSection

Section "InputDevice"
        Identifier  "Keyboard0"
        Driver      "evdev"
EndSection

Section "InputDevice"
        Identifier  "Mouse0"
        Driver      "synaptics"
        Option      "Protocol" "auto"
        Option      "Device" "/dev/input/mice"
#       Option      "ZAxisMapping" "4 5 6 7"
EndSection

Section "Monitor"
#        Modeline     "1920x1080 at 60.0"  152.54  1920 2010 2070 2226  1080 1086
1095 1142 +hsync -vsync
        Identifier   "Monitor0"
        VendorName   "Monitor Vendor"
        ModelName    "Monitor Model"
        Option       "DPMS" "true"
EndSection

Section "Device"
        Identifier  "Intel"
        Screen      0
        Driver      "intel"
        BusID       "PCI:0:2:0"
        Option      "Monitor-eDP-1" "eDP-1"
#                   OK, this is slightly documented in man xorg.conf
        Option      "Monitor-DisplayPort-0" "eDP-1"
#                   But this is totally undocumented!
#                   Eventually found by googling for 'xorg.conf multihead':
#                   https://wiki.archlinux.org/index.php/multihead
EndSection

Section "Device"
        Identifier  "Radeon"
        Screen      0#
        Driver      "ati"
        BusID       "PCI:1:0:0"
EndSection

Section "Screen"
        Identifier "Screen0"
        Device     "Intel"
        Monitor    "Monitor0"
        SubSection "Display"
                Viewport   0 0
                Depth      24
        EndSubSection
EndSection

I also had to install xkeyboard-config, which I had neglected, and to 
$ mount -t devpts /dev/pts
before xterm would work .

NOTE: without the patches to both src/uxa/intel_driver.c and src/sna/kgem.c
given above, xf86-video-intel A) does not compile with gcc-5.3.0; B) still
gets a core dump on kgem->retire() .

But really, if X-Server is incapable of operating without being told what
output to use via Device Section Option 'Monitor-DisplayPort-XXXXX' then
this ought to be properly documented somewhere .
I'd like to see an xf86-video-intel 'DisplayPort' option or an actual
X-Server command-line option like '-p / --port' eDP-1 .

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/intel-gfx-bugs/attachments/20160426/2398215f/attachment.html>


More information about the intel-gfx-bugs mailing list