[Bug 295788] graphics/drm-kmod: i915kms Hardware acceleration not working for Intel Braswell since >drm-510-kmod

[email protected]
Newsgroups gmane.os.freebsd.devel.x11
Message-ID <[email protected]/bugzilla/>
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=295788

--- Comment #10 from Roger Olofsson <[email protected]> ---
(In reply to Gleb Popov from comment #9)

Hi Gleb, 

I rebuilt and this time the debug symbols worked. I must have made a simple
mistake the first time.

The output from lldb now looks like this and I am looking at crocus_batch.c.

Roger

LoaderOpen(/usr/local/lib/xorg/modules/libglamoregl.so)
Assertion failed: (batch->hw_ctx_id), function crocus_init_batch, file
../src/gallium/drivers/crocus/crocus_batch.c, line 210.
Process 6842 stopped
* thread #1, name = 'Xorg', stop reason = signal SIGABRT
frame #0: 0x0000000829e254ca libc.so.7`__sys_thr_kill at thr_kill.S:4
(lldb) thread backtrace all
* thread #1, name = 'Xorg', stop reason = signal SIGABRT
* frame #0: 0x0000000829e254ca libc.so.7`__sys_thr_kill at thr_kill.S:4
frame #1: 0x0000000829d9df84 libc.so.7`__raise(s=6) at raise.c:50:10
frame #2: 0x0000000829e51ea9 libc.so.7`abort at abort.c:64:8
frame #3: 0x0000000829d80e21 libc.so.7`__assert(func=<unavailable>,
file=<unavailable>, line=<unavailable>, failedexpr=<unavailable>) at
assert.c:49:2
frame #4: 0x000000083f1e52eb
crocus_dri.so`crocus_init_batch(ice=0x00003d8522e2d1f0,
name=CROCUS_BATCH_RENDER, priority=0) at crocus_batch.c:210:4
frame #5: 0x000000083f25ee49
crocus_dri.so`crocus_create_context(pscreen=0x00003d852265b030,
priv=0x0000000000000000, flags=8) at crocus_context.c:323:7
frame #6: 0x000000083e5ae761
crocus_dri.so`st_api_create_context(fscreen=0x00003d8522706a80,
attribs=0x0000000820eb5760, error=0x0000000820eb575c,
shared_ctx=0x0000000000000000) at st_manager.c:986:11
frame #7: 0x000000083e054d20
crocus_dri.so`dri_create_context(screen=0x00003d8522706a80,
api=API_OPENGL_CORE, visual=0x0000000000000000, ctx_config=0x0000000820eb58b4,
error=0x0000000820eb591c, sharedContextPrivate=0x0000000000000000,
loaderPrivate=0x00003d8522e21b60) at dri_context.c:178:14
frame #8: 0x000000083e058b1b
crocus_dri.so`driCreateContextAttribs(psp=0x00003d8522706a80, api=3,
config=0x0000000000000000, shared=0x0000000000000000, num_attribs=2,
attribs=0x0000000820eb5920, error=0x0000000820eb591c, data=0x00003d8522e21b60)
at dri_util.c:652:31
frame #9: 0x000000084baba30c libEGL_mesa.so.0`___lldb_unnamed_symbol787 + 684
frame #10: 0x000000084baabb1f libEGL_mesa.so.0`___lldb_unnamed_symbol589 + 367
frame #11: 0x000000083a6ea18d
libglamoregl.so`glamor_egl_try_big_gl_api(scrn=0x00003d85226e5a00) at
glamor_egl.c:988:31
frame #12: 0x000000083a6e9ea9
libglamoregl.so`glamor_egl_init(scrn=0x00003d85226e5a00, fd=14) at
glamor_egl.c:1128:13
frame #13: 0x00000008359b9228
modesetting_drv.so`try_enable_glamor(pScrn=0x00003d85226e5a00) at
driver.c:984:13
frame #14: 0x00000008359b7d33
modesetting_drv.so`PreInit(pScrn=0x00003d85226e5a00, flags=0) at
driver.c:1211:5
frame #15: 0x000000000045db38 Xorg`InitOutput(pScreenInfo=0x000000000051a6e8,
argc=3, argv=0x0000000820eb5d40) at xf86Init.c:478:17
frame #16: 0x00000000002f1c99 Xorg`dix_main(argc=3, argv=0x0000000820eb5d40,
envp=0x0000000820eb5d60) at main.c:190:9
frame #17: 0x00000000004ddd0a Xorg`main(argc=3, argv=0x0000000820eb5d40,
envp=0x0000000820eb5d60) at stubmain.c:34:12
frame #18: 0x0000000829d722f0 libc.so.7`__libc_start1(argc=3,
argv=0x0000000820eb5d40, env=0x0000000820eb5d60, cleanup=<unavailable>,
mainX=(Xorg`main at stubmain.c:33)) at libc_start1.c:180:7
frame #19: 0x000000000029d384 Xorg`_start at crt1_s.S:80
thread #2, name = 'Xorg'
frame #0: 0x0000000829e268ea libc.so.7`__sys_poll at _poll.S:4
frame #1: 0x0000000828a889a1 libthr.so.3`__thr_poll(fds=0x0000000831114b30,
nfds=2, timeout=-1) at thr_syscalls.c:335:8
frame #2: 0x00000008286f4110 libudev.so.0`___lldb_unnamed_symbol284 + 208
frame #3: 0x0000000828a7ce22
libthr.so.3`thread_start(curthread=0x00003d8522242810) at thr_create.c:291:16
thread #3, name = 'Xorg:disk$0'
frame #0: 0x0000000828a7a0ac libthr.so.3`_umtx_op_err at _umtx_op_err.S:38
frame #1: 0x0000000828a8a092
libthr.so.3`_thr_umtx_timedwait_uint(mtx=<unavailable>, id=<unavailable>,
clockid=<unavailable>, abstime=<unavailable>, shared=<unavailable>) at
thr_umtx.c:233:10
frame #2: 0x0000000828a80739 libthr.so.3`_thr_sleep(curthread=<unavailable>,
clockid=<unavailable>, abstime=<unavailable>) at thr_kern.c:197:9 [artificial]
frame #3: 0x0000000828a7bcb1 libthr.so.3`cond_wait_common [inlined]
cond_wait_user(cvp=0x00003d85227cf520, mp=0x00003d8522243d88,
abstime=0x0000000000000000, cancel=1) at thr_cond.c:317:11
frame #4: 0x0000000828a7bbff libthr.so.3`cond_wait_common(cond=<unavailable>,
mutex=<unavailable>, abstime=0x0000000000000000, cancel=1) at thr_cond.c:377:11
frame #5: 0x000000083e0fc35d crocus_dri.so`cnd_wait(cond=0x00003d8522658860,
mtx=0x00003d8522658850) at threads_posix.c:135:13
frame #6: 0x000000083e0d9fa5
crocus_dri.so`util_queue_thread_func(input=0x00003d852261e9a0) at
u_queue.c:290:10
frame #7: 0x000000083e0fc680
crocus_dri.so`impl_thrd_routine(p=0x00003d852261e950) at threads_posix.c:67:29
frame #8: 0x0000000828a7ce22
libthr.so.3`thread_start(curthread=0x00003d8522244010) at thr_create.c:291:16

-- 
You are receiving this mail because:
You are the assignee for the bug.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.