Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 Aug 2016 22:12:24 -0700
From:      Matthew Macy <mmacy@nextbsd.org>
To:        "felix" <felix@userspace.com.au>
Cc:        "" <freebsd-x11@freebsd.org>
Subject:   Re: drm-4.7-final tagged  - CFT  for drm-next   was Re: drm-4.7-rc1 tagged
Message-ID:  <15696ea2c31.f8632d64340051.7406347233886672713@nextbsd.org>
In-Reply-To: <20160817043835.GA1094@hewie.yelnah>
References:  <1567da024af.bfcdfbc455906.5120985150976586422@nextbsd.org> <15686fbfed7.b47b2120143737.5219243845741262240@nextbsd.org> <20160814124342.GA1125@hewie.yelnah> <1568b4317e9.11b24266b159467.3434767500385208720@nextbsd.org> <20160814234007.GA5735@hewie.yelnah> <1568d21aacd.f8cd4ff3172638.3926950928184142414@nextbsd.org> <20160817022728.GB1121@hewie.yelnah> <1569662fb09.113c2c473333960.3325846795888264818@nextbsd.org> <20160817030811.GA1088@hewie.yelnah> <15696851c1b.d56f9c2a335434.4630262176866876934@nextbsd.org> <20160817043835.GA1094@hewie.yelnah>

next in thread | previous in thread | raw e-mail | index | archive | help



 ---- On Tue, 16 Aug 2016 21:38:35 -0700 Felix Hanley <felix@userspace.com.au> wrote ---- 
 > On Tue, Aug 16, 2016 at 08:22:01PM -0700, Matthew Macy wrote: 
 > >  
 > > That doesn't look like a system hang. It just looks like X is hung. 
 > >  
 > > Are you using SNA or UXA? And can you try starting X from another machine over ssh? If you background and then run procstat -kk on the X process as root you can see where it's wedged. 
 >  
 > This is the procstat results: 
 >  
 >       PID    TID COMM             TDNAME           KSTACK                        
 >      1078 100661 Xorg             -                mi_switch+0x167 sleepq_switch+0xe7 sleepq_catch_signals+0x32c sleepq_timedwait_sig+0x10 _cv_timedwait_sig_sbt+0x21f seltdwait+0x71 kern_select+0x9aa sys_select+0x54 amd64_syscall+0x2db Xfast_syscall+0xfb  
 >      1078 100672 Xorg             -                mi_switch+0x167 sleepq_switch+0xe7 sleepq_catch_signals+0x32c sleepq_wait_sig+0xf _sleep+0x32b umtxq_sleep+0x131 do_wait+0x200 __umtx_op_wait_uint_private+0x7d amd64_syscall+0x2db Xfast_syscall+0xfb  
 >  
 > I have no xorg.conf and it is using SNA, this is the Xorg.0.old log: 
 >  

It's not hanging where it normally would when it has SNA issues, but could you please try configuring it to use UXA?


-M
 


> [    77.206]  
 > X.Org X Server 1.18.4 
 > Release Date: 2016-07-19 
 > [    77.206] X Protocol Version 11, Revision 0 
 > [    77.206] Build Operating System: FreeBSD 12.0-CURRENT amd64  
 > [    77.206] Current Operating System: FreeBSD hewie 12.0-CURRENT FreeBSD 12.0-CURRENT #9 f414b1c(drm-next): Tue Aug 16 23:08:45 ICT 2016     root@hewie:/usr/obj/usr/src/sys/GENERIC amd64 
 > [    77.207] Build Date: 04 August 2016  08:28:49AM 
 > [    77.207]   
 > [    77.207] Current version of pixman: 0.34.0 
 > [    77.207]     Before reporting problems, check http://wiki.x.org 
 >     to make sure that you have the latest version. 
 > [    77.207] Markers: (--) probed, (**) from config file, (==) default setting, 
 >     (++) from command line, (!!) notice, (II) informational, 
 >     (WW) warning, (EE) error, (NI) not implemented, (??) unknown. 
 > [    77.208] (==) Log file: "/var/log/Xorg.0.log", Time: Wed Aug 17 11:27:14 2016 
 > [    77.210] (==) Using config file: "/etc/X11/xorg.conf" 
 > [    77.210] (==) Using system config directory "/usr/local/share/X11/xorg.conf.d" 
 > [    77.211] (==) No Layout section.  Using the first Screen section. 
 > [    77.211] (==) No screen section available. Using defaults. 
 > [    77.211] (**) |-->Screen "Default Screen Section" (0) 
 > [    77.211] (**) |   |-->Monitor "<default monitor>" 
 > [    77.212] (==) No monitor specified for screen "Default Screen Section". 
 >     Using a default monitor configuration. 
 > [    77.212] (==) Automatically adding devices 
 > [    77.212] (==) Automatically enabling devices 
 > [    77.212] (==) Not automatically adding GPU devices 
 > [    77.213] (==) Max clients allowed: 256, resource mask: 0x1fffff 
 > [    77.219] (==) FontPath set to: 
 >     /usr/local/share/fonts/misc/, 
 >     /usr/local/share/fonts/TTF/, 
 >     /usr/local/share/fonts/OTF/, 
 >     /usr/local/share/fonts/Type1/, 
 >     /usr/local/share/fonts/100dpi/, 
 >     /usr/local/share/fonts/75dpi/ 
 > [    77.219] (==) ModulePath set to "/usr/local/lib/xorg/modules" 
 > [    77.219] (II) The server relies on devd to provide the list of input devices. 
 >     If no devices become available, reconfigure devd or disable AutoAddDevices. 
 > [    77.219] (II) Loader magic: 0x812b20 
 > [    77.219] (II) Module ABI versions: 
 > [    77.219]     X.Org ANSI C Emulation: 0.4 
 > [    77.219]     X.Org Video Driver: 20.0 
 > [    77.219]     X.Org XInput driver : 22.1 
 > [    77.219]     X.Org Server Extension : 9.0 
 > [    77.219] (--) PCI:*(0:0:2:0) 8086:1616:103c:802d rev 9, Mem @ 0xb1000000/16777216, 0xc0000000/268435456, I/O @ 0x00003000/64, BIOS @ 0x????????/65536 
 > [    77.220] (II) LoadModule: "glx" 
 > [    77.221] (II) Loading /usr/local/lib/xorg/modules/extensions/libglx.so 
 > [    77.258] (II) Module glx: vendor="X.Org Foundation" 
 > [    77.258]     compiled for 1.18.4, module version = 1.0.0 
 > [    77.258]     ABI class: X.Org Server Extension, version 9.0 
 > [    77.258] (==) AIGLX enabled 
 > [    77.258] (==) Matched intel as autoconfigured driver 0 
 > [    77.258] (==) Matched fbdev as autoconfigured driver 1 
 > [    77.258] (==) Matched vesa as autoconfigured driver 2 
 > [    77.258] (==) Assigned the driver to the xf86ConfigLayout 
 > [    77.258] (II) LoadModule: "intel" 
 > [    77.262] (II) Loading /usr/local/lib/xorg/modules/drivers/intel_drv.so 
 > [    77.284] (II) Module intel: vendor="X.Org Foundation" 
 > [    77.284]     compiled for 1.18.4, module version = 2.99.917 
 > [    77.284]     Module class: X.Org Video Driver 
 > [    77.284]     ABI class: X.Org Video Driver, version 20.0 
 > [    77.285] (II) LoadModule: "fbdev" 
 > [    77.291] (WW) Warning, couldn't open module fbdev 
 > [    77.291] (II) UnloadModule: "fbdev" 
 > [    77.291] (II) Unloading fbdev 
 > [    77.292] (EE) Failed to load module "fbdev" (module does not exist, 0) 
 > [    77.292] (II) LoadModule: "vesa" 
 > [    77.292] (II) Loading /usr/local/lib/xorg/modules/drivers/vesa_drv.so 
 > [    77.297] (II) Module vesa: vendor="X.Org Foundation" 
 > [    77.297]     compiled for 1.18.4, module version = 2.3.4 
 > [    77.297]     Module class: X.Org Video Driver 
 > [    77.297]     ABI class: X.Org Video Driver, version 20.0 
 > [    77.297] (II) intel: Driver for Intel(R) Integrated Graphics Chipsets: 
 >     i810, i810-dc100, i810e, i815, i830M, 845G, 854, 852GM/855GM, 865G, 
 >     915G, E7221 (i915), 915GM, 945G, 945GM, 945GME, Pineview GM, 
 >     Pineview G, 965G, G35, 965Q, 946GZ, 965GM, 965GME/GLE, G33, Q35, Q33, 
 >     GM45, 4 Series, G45/G43, Q45/Q43, G41, B43 
 > [    77.300] (II) intel: Driver for Intel(R) HD Graphics: 2000-6000 
 > [    77.300] (II) intel: Driver for Intel(R) Iris(TM) Graphics: 5100, 6100 
 > [    77.300] (II) intel: Driver for Intel(R) Iris(TM) Pro Graphics: 5200, 6200, P6300 
 > [    77.300] (II) VESA: driver for VESA chipsets: vesa 
 > [    77.300] (--) Using syscons driver with X support (version 2.0) 
 > [    77.300] (--) using VT number 9 
 >  
 > [    78.626] (II) intel(0): Using Kernel Mode Setting driver: i915, version 1.6.0 20160711 
 > [    78.632] (WW) Falling back to old probe method for vesa 
 > [    78.632] (WW) VGA arbiter: cannot open kernel arbiter, no multi-card support 
 > [    78.640] (--) intel(0): Integrated Graphics Chipset: Intel(R) HD Graphics 5500 
 > [    78.640] (--) intel(0): CPU: x86-64, sse2, sse3, ssse3, sse4.1, sse4.2, avx, avx2; using a maximum of 2 threads 
 > [    78.640] (II) intel(0): Creating default Display subsection in Screen section 
 >     "Default Screen Section" for depth/fbbpp 24/32 
 > [    78.641] (==) intel(0): Depth 24, (--) framebuffer bpp 32 
 > [    78.641] (==) intel(0): RGB weight 888 
 > [    78.641] (==) intel(0): Default visual is TrueColor 
 > [    78.659] (II) intel(0): Output HDMI1 has no monitor section 
 > [    78.659] (II) intel(0): Enabled output HDMI1 
 > [    78.660] (II) intel(0): Output DP1 has no monitor section 
 > [    78.660] (II) intel(0): Enabled output DP1 
 > [    78.661] (II) intel(0): Output HDMI2 has no monitor section 
 > [    78.661] (II) intel(0): Enabled output HDMI2 
 > [    78.661] (--) intel(0): Using a maximum size of 256x256 for hardware cursors 
 > [    78.662] (II) intel(0): Output VIRTUAL1 has no monitor section 
 > [    78.662] (II) intel(0): Enabled output VIRTUAL1 
 > [    78.694] (==) intel(0): TearFree disabled 
 > [    78.695] (==) intel(0): DPI set to (96, 96) 
 > [    78.695] (II) Loading sub module "dri2" 
 > [    78.695] (II) LoadModule: "dri2" 
 > [    78.695] (II) Module "dri2" already built-in 
 > [    78.695] (II) Loading sub module "present" 
 > [    78.696] (II) LoadModule: "present" 
 > [    78.696] (II) Module "present" already built-in 
 > [    78.696] (II) UnloadModule: "vesa" 
 > [    78.696] (II) Unloading vesa 
 > [    78.696] (==) Depth 24 pixmap format is 32 bpp 
 > [    78.723] (II) intel(0): SNA initialized with Broadwell (gen8) backend 
 > [    78.723] (==) intel(0): Backing store enabled 
 > [    78.723] (==) intel(0): Silken mouse enabled 
 > [    78.725] (II) intel(0): HW Cursor enabled 
 > [    78.725] (II) intel(0): RandR 1.2 enabled, ignore the following RandR disabled message. 
 > [    78.730] (==) intel(0): DPMS enabled 
 > [    78.740] (II) intel(0): [DRI2] Setup complete 
 > [    78.740] (II) intel(0): [DRI2]   DRI driver: i965 
 > [    78.740] (II) intel(0): [DRI2]   VDPAU driver: va_gl 
 > [    78.740] (II) intel(0): direct rendering: DRI2 enabled 
 > [    78.740] (II) intel(0): hardware support for Present enabled 
 > [    78.741] (--) RandR disabled 
 > [    78.824] (II) AIGLX: enabled GLX_MESA_copy_sub_buffer 
 > [    78.824] (II) AIGLX: enabled GLX_ARB_create_context 
 > [    78.824] (II) AIGLX: enabled GLX_ARB_create_context_profile 
 > [    78.824] (II) AIGLX: enabled GLX_EXT_create_context_es{,2}_profile 
 > [    78.824] (II) AIGLX: enabled GLX_INTEL_swap_event 
 > [    78.824] (II) AIGLX: enabled GLX_SGI_swap_control and GLX_MESA_swap_control 
 > [    78.824] (II) AIGLX: enabled GLX_EXT_framebuffer_sRGB 
 > [    78.825] (II) AIGLX: enabled GLX_ARB_fbconfig_float 
 > [    78.825] (II) AIGLX: enabled GLX_EXT_fbconfig_packed_float 
 > [    78.825] (II) AIGLX: GLX_EXT_texture_from_pixmap backed by buffer objects 
 > [    78.825] (II) AIGLX: enabled GLX_ARB_create_context_robustness 
 > [    78.825] (II) AIGLX: Loaded and initialized i965 
 > [    78.825] (II) GLX: Initialized DRI2 GL provider for screen 0 
 > [    78.988] (II) config/devd: probing input devices... 
 > [    78.988] (II) config/devd: adding input device (null) (/dev/kbdmux) 
 > [    78.988] (II) LoadModule: "kbd" 
 > [    78.989] (II) Loading /usr/local/lib/xorg/modules/input/kbd_drv.so 
 > [    78.989] (II) Module kbd: vendor="X.Org Foundation" 
 > [    78.989]     compiled for 1.18.4, module version = 1.8.1 
 > [    78.989]     Module class: X.Org XInput Driver 
 > [    78.989]     ABI class: X.Org XInput driver, version 22.1 
 > [    78.989] (II) Using input driver 'kbd' for 'kbdmux' 
 > [    78.989] (**) kbdmux: always reports core events 
 > [    78.989] (**) kbdmux: always reports core events 
 > [    78.989] (**) Option "Protocol" "standard" 
 > [    78.989] (**) Option "XkbRules" "base" 
 > [    78.990] (**) Option "XkbModel" "pc105" 
 > [    78.990] (**) Option "XkbLayout" "us" 
 > [    78.990] (**) Option "config_info" "devd:kbdmux" 
 > [    78.990] (II) XINPUT: Adding extended input device "kbdmux" (type: KEYBOARD, id 6) 
 > [    79.053] (II) config/devd: kbdmux is enabled, ignoring device ukbd0 
 > [    79.053] (II) config/devd: kbdmux is enabled, ignoring device atkbd0 
 > [    79.054] (II) config/devd: adding input device (null) (/dev/sysmouse) 
 > [    79.054] (II) LoadModule: "mouse" 
 > [    79.054] (II) Loading /usr/local/lib/xorg/modules/input/mouse_drv.so 
 > [    79.056] (II) Module mouse: vendor="X.Org Foundation" 
 > [    79.056]     compiled for 1.18.4, module version = 1.9.1 
 > [    79.056]     Module class: X.Org XInput Driver 
 > [    79.056]     ABI class: X.Org XInput driver, version 22.1 
 > [    79.056] (II) Using input driver 'mouse' for 'sysmouse' 
 > [    79.056] (**) sysmouse: always reports core events 
 > [    79.056] (**) Option "Device" "/dev/sysmouse" 
 > [    79.056] (==) sysmouse: Protocol: "Auto" 
 > [    79.056] (**) sysmouse: always reports core events 
 > [    79.056] (==) sysmouse: Emulate3Buttons, Emulate3Timeout: 50 
 > [    79.056] (**) sysmouse: ZAxisMapping: buttons 4 and 5 
 > [    79.056] (**) sysmouse: Buttons: 5 
 > [    79.056] (**) Option "config_info" "devd:sysmouse" 
 > [    79.056] (II) XINPUT: Adding extended input device "sysmouse" (type: MOUSE, id 7) 
 > [    79.056] (**) sysmouse: (accel) keeping acceleration scheme 1 
 > [    79.056] (**) sysmouse: (accel) acceleration profile 0 
 > [    79.056] (**) sysmouse: (accel) acceleration factor: 2.000 
 > [    79.057] (**) sysmouse: (accel) acceleration threshold: 4 
 > [    79.057] (II) sysmouse: SetupAuto: hw.iftype is 4, hw.model is 0 
 > [    79.057] (II) sysmouse: SetupAuto: protocol is SysMouse 
 > [    79.057] (II) config/devd: device /dev/psm0 already opened 
 > _______________________________________________ 
 > freebsd-x11@freebsd.org mailing list 
 > https://lists.freebsd.org/mailman/listinfo/freebsd-x11 
 > To unsubscribe, send any mail to "freebsd-x11-unsubscribe@freebsd.org" 
 > 




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?15696ea2c31.f8632d64340051.7406347233886672713>