----- Original message -----
From: Matthieu Herrb <matth...@herrb.eu>
To: Jon Fineman <j...@fineman.me>
Cc: bugs@openbsd.org
Subject: Re: Turning off Accel crashes X11
Date: Thursday, November 14, 2019 1:02 AM

On Wed, Nov 13, 2019 at 09:14:13PM -0500, Jon Fineman wrote:
> >Synopsis:    Turning off Accel crashes X11
> >Category:    System
> >Environment:
>       System      : OpenBSD 6.6
>       Details     : OpenBSD 6.6-current (GENERIC.MP) #439: Fri Nov  8 
> 14:00:31 MST 2019
>                        
> dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
> 
>       Architecture: OpenBSD.amd64
>       Machine     : amd64
> >Description:
>       In xorg.conf setting Option "Accel" "false" causes X11 to crash
> >How-To-Repeat:
>       In /etc/X11/xorg.conf in the Device section setting:
>       Option "Accel" "false"
>       Causes X11 to crash when restarted.
> >Fix:
>       Leave the setting default.
> 

Hi,

Thanks for the report.

Could you try to get an X backtrace (following the instructions in
/usr/xenocara/README on how to get a core file, and then running egdb
from ports on it) ? or at lease provide us the /var/log/Xorg.0.log
file from a crash ?

Thanks in advance.
-- 
Matthieu Herrb



Some further info. When I restart xenodm with the flag set I remain at the 
console tty for root. 
Normally I would be transferred to the xenodm login window. When I manually 
switch to that
window it is just blank. I can type but nothing happens. So saying it crashes 
might not be
quite accurate.

Below are the xorg.conf and Xorg.0.org log files. I am working on the dump. 
Some hints would be appreciated.


Section "Device"
        Identifier "graphicsdriver"
        Driver "AMDGPU"
        ### Option "SWCursor" "false"
        ### Option "Accel" "false"
        Option "Accel" "false"
        ### Option "EnablePageFlip" "false"
        Option "TearFree" "true"
        ### Option "AccelMethod" "none"
EndSection

Section "InputClass"
        Identifier "touchpad"
        Driver "synaptics"
        MatchIsTouchpad "on"
        #Device "wsmouse"

        # Enable clickpad/multitouch support
        Option "ClickPad" "true"

        # Middle-button emulation is not supported
        Option "EmulateMidButtonTime" "0"

        # Define right soft button at the bottom
        Option "SoftButtonAreas" "50% 0 82% 0 0 0 0 0"
        Option "TapButton1" "1"
        Option "TapButton2" "2"
        Option "TapButton3" "3"
        Option "VertEdgeScroll" "on"
        Option "VertTwoFingerScroll" "on"
        Option "HorizEdgeScroll" "on"
        Option "HorizTwoFingerScroll" "on"
        Option "CircularScrolling" "on"
        Option "CircScrollTrigger" "2"
        Option "EmulateTwoFingerMinZ" "40"
        Option "EmulateTwoFingerMinW" "8"
        Option "CoastingSpeed" "0"
        Option "FingerLow" "35"
EndSection



[341486.708] (--) checkDevMem: using aperture driver /dev/xf86
[341486.719] (--) Using wscons driver on /dev/ttyC4
[341486.738] 
X.Org X Server 1.20.5
X Protocol Version 11, Revision 0
[341486.739] Build Operating System: OpenBSD 6.6 amd64 
[341486.739] Current Operating System: OpenBSD laptop.jonjfineman.me 6.6 
GENERIC.MP#439 amd64
[341486.739] Build Date: 08 November 2019  02:26:05PM
[341486.739]  
[341486.739] Current version of pixman: 0.38.4
[341486.739]    Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
[341486.739] Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[341486.739] (==) Log file: "/var/log/Xorg.0.log", Time: Thu Nov 14 16:50:01 
2019
[341486.740] (==) Using config file: "/etc/X11/xorg.conf"
[341486.740] (==) Using system config directory 
"/usr/X11R6/share/X11/xorg.conf.d"
[341486.741] (==) No Layout section.  Using the first Screen section.
[341486.741] (==) No screen section available. Using defaults.
[341486.741] (**) |-->Screen "Default Screen Section" (0)
[341486.741] (**) |   |-->Monitor "<default monitor>"
[341486.743] (==) No device specified for screen "Default Screen Section".
        Using the first device section listed.
[341486.743] (**) |   |-->Device "graphicsdriver"
[341486.743] (==) No monitor specified for screen "Default Screen Section".
        Using a default monitor configuration.
[341486.743] (==) Automatically adding devices
[341486.743] (==) Automatically enabling devices
[341486.743] (==) Not automatically adding GPU devices
[341486.743] (==) Max clients allowed: 256, resource mask: 0x1fffff
[341486.744] (==) FontPath set to:
        /usr/X11R6/lib/X11/fonts/misc/,
        /usr/X11R6/lib/X11/fonts/TTF/,
        /usr/X11R6/lib/X11/fonts/OTF/,
        /usr/X11R6/lib/X11/fonts/Type1/,
        /usr/X11R6/lib/X11/fonts/100dpi/,
        /usr/X11R6/lib/X11/fonts/75dpi/
[341486.744] (==) ModulePath set to "/usr/X11R6/lib/modules"
[341486.744] (II) The server relies on wscons to provide the list of input 
devices.
        If no devices become available, reconfigure wscons or disable 
AutoAddDevices.
[341486.744] (II) Loader magic: 0x9f681e28000
[341486.744] (II) Module ABI versions:
[341486.744]    X.Org ANSI C Emulation: 0.4
[341486.744]    X.Org Video Driver: 24.0
[341486.744]    X.Org XInput driver : 24.1
[341486.744]    X.Org Server Extension : 10.0
[341486.745] (--) PCI:*(0@0:1:0) 1002:98e4:1025:1192 rev 218, Mem @ 
0xe0000000/268435456, 0xf0000000/8388608, 0xf0d00000/262144, I/O @ 
0x00003000/256, BIOS @ 0x????????/131072
[341486.745] (II) LoadModule: "glx"
[341486.749] (II) Loading /usr/X11R6/lib/modules/extensions/libglx.so
[341486.754] (II) Module glx: vendor="X.Org Foundation"
[341486.754]    compiled for 1.20.5, module version = 1.0.0
[341486.754]    ABI class: X.Org Server Extension, version 10.0
[341486.754] (II) LoadModule: "amdgpu"
[341486.757] (II) Loading /usr/X11R6/lib/modules/drivers/amdgpu_drv.so
[341486.758] (II) Module amdgpu: vendor="X.Org Foundation"
[341486.758]    compiled for 1.20.5, module version = 19.1.0
[341486.758]    Module class: X.Org Video Driver
[341486.758]    ABI class: X.Org Video Driver, version 24.0
[341486.758] (II) AMDGPU: Driver for AMD Radeon:
        All GPUs supported by the amdgpu kernel driver
[341486.783] (II) AMDGPU(0): [KMS] Kernel modesetting enabled.
[341486.802] (II) AMDGPU(0): Creating default Display subsection in Screen 
section
        "Default Screen Section" for depth/fbbpp 24/32
[341486.802] (==) AMDGPU(0): Depth 24, (--) framebuffer bpp 32
[341486.802] (II) AMDGPU(0): Pixel depth = 24 bits stored in 4 bytes (32 bpp 
pixmaps)
[341486.802] (==) AMDGPU(0): Default visual is TrueColor
[341486.802] (**) AMDGPU(0): Option "Accel" "false"
[341486.802] (**) AMDGPU(0): Option "TearFree" "true"
[341486.802] (==) AMDGPU(0): RGB weight 888
[341486.802] (II) AMDGPU(0): Using 8 bits per RGB (8 bit DAC)
[341486.802] (--) AMDGPU(0): Chipset: "Unknown AMD Radeon GPU" (ChipID = 0x98e4)
[341486.802] (II) Loading sub module "fb"
[341486.802] (II) LoadModule: "fb"
[341486.806] (II) Loading /usr/X11R6/lib/modules/libfb.so
[341486.807] (II) Module fb: vendor="X.Org Foundation"
[341486.807]    compiled for 1.20.5, module version = 1.0.0
[341486.807]    ABI class: X.Org ANSI C Emulation, version 0.4
[341486.807] (**) AMDGPU(0): GPU acceleration disabled, using ShadowFB
[341486.807] (II) Loading sub module "shadow"
[341486.807] (II) LoadModule: "shadow"
[341486.811] (II) Loading /usr/X11R6/lib/modules/libshadow.so
[341486.920] (II) Module shadow: vendor="X.Org Foundation"
[341486.920]    compiled for 1.20.5, module version = 1.1.0
[341486.920]    ABI class: X.Org ANSI C Emulation, version 0.4
[341486.920] (II) AMDGPU(0): KMS Pageflipping: enabled
[341486.921] (II) AMDGPU(0): Output eDP has no monitor section
[341486.921] (II) AMDGPU(0): Output HDMI-A-0 has no monitor section
[341486.921] (II) AMDGPU(0): Output DisplayPort-0 has no monitor section
[341486.934] (WW) AMDGPU(0): 3 ZaphodHeads crtcs unavailable. Some outputs will 
stay off.
[341486.935] (II) AMDGPU(0): EDID for output eDP
[341486.935] (II) AMDGPU(0): Manufacturer: CMN  Model: 15dc  Serial#: 0
[341486.935] (II) AMDGPU(0): Year: 2015  Week: 45
[341486.935] (II) AMDGPU(0): EDID Version: 1.4
[341486.935] (II) AMDGPU(0): Digital Display Input
[341486.935] (II) AMDGPU(0): 6 bits per channel
[341486.935] (II) AMDGPU(0): Digital interface is DisplayPort
[341486.935] (II) AMDGPU(0): Max Image Size [cm]: horiz.: 34  vert.: 19
[341486.935] (II) AMDGPU(0): Gamma: 2.20
[341486.935] (II) AMDGPU(0): No DPMS capabilities specified
[341486.935] (II) AMDGPU(0): Supported color encodings: RGB 4:4:4 
[341486.935] (II) AMDGPU(0): First detailed timing is preferred mode
[341486.935] (II) AMDGPU(0): Preferred mode is native pixel format and refresh 
rate
[341486.935] (II) AMDGPU(0): redX: 0.569 redY: 0.332   greenX: 0.328 greenY: 
0.581
[341486.935] (II) AMDGPU(0): blueX: 0.163 blueY: 0.147   whiteX: 0.313 whiteY: 
0.329
[341486.935] (II) AMDGPU(0): Manufacturer's mask: 0
[341486.935] (II) AMDGPU(0): Supported detailed timing:
[341486.935] (II) AMDGPU(0): clock: 76.4 MHz   Image Size:  344 x 193 mm
[341486.935] (II) AMDGPU(0): h_active: 1366  h_sync: 1434  h_sync_end 1479 
h_blank_end 1592 h_border: 0
[341486.935] (II) AMDGPU(0): v_active: 768  v_sync: 772  v_sync_end 779 
v_blanking: 800 v_border: 0
[341486.935] (II) AMDGPU(0):  N156BGA-EB2
[341486.935] (II) AMDGPU(0):  CMN
[341486.935] (II) AMDGPU(0):  N156BGA-EB2
[341486.935] (II) AMDGPU(0): EDID (in hex):
[341486.935] (II) AMDGPU(0):    00ffffffffffff000daedc1500000000
[341486.935] (II) AMDGPU(0):    2d1901049522137802c3f59155549429
[341486.935] (II) AMDGPU(0):    25505400000001010101010101010101
[341486.935] (II) AMDGPU(0):    010101010101da1d56e250002030442d
[341486.935] (II) AMDGPU(0):    470058c110000018000000fe004e3135
[341486.935] (II) AMDGPU(0):    364247412d4542320a20000000fe0043
[341486.935] (II) AMDGPU(0):    4d4e0a202020202020202020000000fe
[341486.935] (II) AMDGPU(0):    004e3135364247412d4542320a2000f1
[341486.935] (II) AMDGPU(0): Printing probed modes for output eDP
[341486.935] (II) AMDGPU(0): Modeline "1366x768"x60.0   76.42  1366 1434 1479 
1592  768 772 779 800 -hsync -vsync (48.0 kHz eP)
[341486.935] (II) AMDGPU(0): Modeline "1280x720"x60.0   76.42  1280 1434 1479 
1592  720 772 779 800 -hsync -vsync (48.0 kHz e)
[341486.935] (II) AMDGPU(0): Modeline "1024x768"x60.0   76.42  1024 1434 1479 
1592  768 772 779 800 -hsync -vsync (48.0 kHz e)
[341486.935] (II) AMDGPU(0): Modeline "800x600"x60.0   76.42  800 1434 1479 
1592  600 772 779 800 -hsync -vsync (48.0 kHz e)
[341486.935] (II) AMDGPU(0): Modeline "640x480"x60.0   76.42  640 1434 1479 
1592  480 772 779 800 -hsync -vsync (48.0 kHz e)
[341486.935] (II) AMDGPU(0): EDID for output HDMI-A-0
[341486.935] (II) AMDGPU(0): EDID for output DisplayPort-0
[341486.936] (II) AMDGPU(0): Output eDP connected
[341486.936] (II) AMDGPU(0): Output HDMI-A-0 disconnected
[341486.936] (II) AMDGPU(0): Output DisplayPort-0 disconnected
[341486.936] (II) AMDGPU(0): Using exact sizes for initial modes
[341486.936] (II) AMDGPU(0): Output eDP using initial mode 1366x768 +0+0
[341486.936] (II) AMDGPU(0): mem size init: gart size :bf89a000 vram size: 
s:1777a000 visible:1777a000
[341486.936] (==) AMDGPU(0): DPI set to (96, 96)
[341486.936] (==) AMDGPU(0): Using gamma correction (1.0, 1.0, 1.0)
[341486.936] (II) Loading sub module "ramdac"
[341486.936] (II) LoadModule: "ramdac"
[341486.936] (II) Module "ramdac" already built-in
[341486.936] (II) AMDGPU(0): Front buffer pitch: 6144 bytes
[341486.937] (==) AMDGPU(0): DRI3 disabled
[341486.937] (==) AMDGPU(0): Backing store enabled
[341486.937] (WW) AMDGPU(0): Direct rendering disabled
[341486.937] (II) AMDGPU(0): 2D and 3D acceleration disabled
[341486.937] (==) AMDGPU(0): DPMS enabled
[341486.937] (==) AMDGPU(0): Silken mouse enabled
[341486.968] (II) Initializing extension Generic Event Extension
[341486.969] (II) Initializing extension SHAPE
[341486.970] (II) Initializing extension MIT-SHM
[341486.971] (II) Initializing extension XInputExtension
[341486.972] (II) Initializing extension XTEST
[341486.973] (II) Initializing extension BIG-REQUESTS
[341486.975] (II) Initializing extension SYNC
[341486.976] (II) Initializing extension XKEYBOARD
[341486.977] (II) Initializing extension XC-MISC
[341486.978] (II) Initializing extension SECURITY
[341486.979] (II) Initializing extension XFIXES
[341486.980] (II) Initializing extension RENDER
[341486.981] (II) Initializing extension RANDR
[341486.984] (II) Initializing extension COMPOSITE
[341486.985] (II) Initializing extension DAMAGE
[341486.986] (II) Initializing extension MIT-SCREEN-SAVER
[341486.987] (II) Initializing extension DOUBLE-BUFFER
[341486.988] (II) Initializing extension RECORD
[341486.990] (II) Initializing extension DPMS
[341486.991] (II) Initializing extension Present
[341486.992] (II) Initializing extension DRI3
[341486.992] (II) Initializing extension X-Resource
[341486.993] (II) Initializing extension XVideo
[341486.994] (II) Initializing extension XVideo-MotionCompensation
[341486.994] (II) Initializing extension GLX
[341486.996] (II) AIGLX: Screen 0 is not DRI2 capable
[341487.087] (II) IGLX: Loaded and initialized swrast
[341487.087] (II) GLX: Initialized DRISWRAST GL provider for screen 0
[341487.087] (II) Initializing extension XFree86-VidModeExtension
[341487.088] (II) Initializing extension XFree86-DGA
[341487.089] (II) Initializing extension XFree86-DRI
[341487.089] (II) Initializing extension DRI2
[341487.091] (II) AMDGPU(0): Setting screen physical size to 361 x 203
[341487.271] (EE) Received signal 6 sent by process 0, uid 0
[341487.272] (EE) 
Fatal server error:
[341487.272] (EE) Caught signal 6 (Abort trap). Server aborting
[341487.272] (EE) 
[341487.272] (EE) 
Please consult the The X.Org Foundation support 
         at http://wiki.x.org
 for help. 
[341487.272] (EE) Please also check the log file at "/var/log/Xorg.0.log" for 
additional information.
[341487.272] (EE) 
[341487.275] (EE) Server terminated with error (1). Closing log file.


Reply via email to