Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 20 Feb 2018 11:39:45 +0000
From:      Johannes Lundberg <johalun0@gmail.com>
To:        freebsd-current <freebsd-current@freebsd.org>
Subject:   Recent world+kernel has broken Linux 3D apps?
Message-ID:  <CAECmPwtYgp6bnG7HR0z8PH23c5v5nwUmtBta8ckFJSzjiWgq3A@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
Before rebuilding world my system was running Linux games fine with a
couple of months old world/kernel and drm-next-kmod.

Since updating world+kernel last week all Linux 3D apps fail (native
binaries like glxgears and supertuxkart works fine).

linux-c6/c7, intel/modesetting, does no difference
This is on Dell Intel Broadwell laptop.

Doom 3 fail like this:

----- R_ReloadARBPrograms -----
glprogs/test.vfpsignal caught: Segmentation fault
si_code 1
Trying to exit gracefully..


And glxgears (in /compat/linux/usr/bin/)

johannes@jd2:~ % /compat/linux/usr/bin/glxgears
Couldn't dlopen libudev.so.1 or libudev.so.0, driver detection may be
broken.
Couldn't dlopen libudev.so.1 or libudev.so.0, driver detection may be
broken.
Couldn't dlopen libudev.so.1 or libudev.so.0, driver detection may be
broken.
Couldn't dlopen libudev.so.1 or libudev.so.0, driver detection may be
broken.
Couldn't dlopen libudev.so.1 or libudev.so.0, driver detection may be
broken.
libdrm aub dumping is deprecated.

Use intel_aubdump from intel-gpu-tools instead.  Install intel-gpu-tools,
then run (for example)

    $ intel_aubdump --output=trace.aub glxgears -geometry 500x500

See the intel_aubdump man page for more details.
bo_create: buf 1 (swizzle test) 32768b
bo_unreference final: 1 (swizzle test)
libGL: Can't open configuration file /home/johannes/.drirc: No such file or
directory.
intelNewTextureObject
intelNewTextureObject
intelNewTextureObject
intelNewTextureObject
intelNewTextureObject
intelNewTextureObject
intelNewTextureObject
intelNewTextureObject
intelNewTextureObject
intelNewTextureObject
intelNewTextureObject
intelNewTextureObject
bo_create: buf 1 (transform feedback offsets) 16b
bo_create: buf 2 (xfb primitive counts) 4096b
intelNewTextureObject
intelNewTextureObject
intelNewTextureObject
intelNewTextureObject
intelNewTextureObject
intelNewTextureObject
intelNewTextureObject
intelNewTextureObject
intelNewTextureObject
intelNewTextureObject
intelNewTextureObject
intelNewTextureObject
Mesa warning: couldn't open libtxc_dxtn.so, software DXTn
compression/decompression unavailable
libGL: Can't open configuration file /home/johannes/.drirc: No such file or
directory.
bo_create: buf 3 (batchbuffer) 32768b
drm_intel_gem_bo_purge_vma_cache: cached=0, open=1, limit=-1
bo_map: 3 (batchbuffer), map_count=1
bo_map: 3 (batchbuffer) -> 0x1000
bo_create: buf 4 (pipe_control workaround) 4096b
bo_create: buf 5 (program cache) 4096b
drm_intel_gem_bo_purge_vma_cache: cached=0, open=2, limit=-1
bo_map_gtt: mmap 5 (program cache), map_count=1
intel_bufmgr_gem.c:1461: Error mapping buffer 5 (program cache): Invalid
argument .
drm_intel_gem_bo_purge_vma_cache: cached=0, open=1, limit=-1
bo_create: buf 6 (shader time) 393216b
bo_create: buf 7 (bufferobj) 65536b
enter intel_update_renderbuffers, drawable 0x614b80
enter intel_update_dri2_buffers, drawable 0x614b80
attaching buffer 3, at 1, cpp 4, pitch 1536
bo_create_from_handle: 3 (dri2 back buffer)
intel_miptree_create_layout target GL_TEXTURE_2D format
MESA_FORMAT_B8G8R8X8_UNORM level 0..0 slices 1 <-- 0x778210
intel_miptree_set_level_info level 0, depth 1, offset 0,0
intel_miptree_set_total_width_height: 300x300x4
intel_alloc_private_renderbuffer_storage: GL_DEPTH_COMPONENT:
MESA_FORMAT_Z24_UNORM_X8_UINT (300x300)
intel_miptree_create_layout target GL_TEXTURE_2D format
MESA_FORMAT_Z24_UNORM_X8_UINT level 0..0 slices 1 <-- 0x778440
intel_miptree_set_level_info level 0, depth 1, offset 0,0
intel_miptree_set_total_width_height: 300x300x4
bo_create: buf 9 (miptree) 409600b
bo_create: buf 10 (hiz) 98304b
mt 0x778440 level 0: HiZ enabled
intel_alloc_private_renderbuffer_storage: GL_STENCIL_INDEX:
MESA_FORMAT_S_UINT8 (300x300)
intel_miptree_create_layout target GL_TEXTURE_2D format MESA_FORMAT_S_UINT8
level 0..0 slices 1 <-- 0x778890
intel_miptree_set_level_info level 0, depth 1, offset 0,0
intel_miptree_set_total_width_height: 300x304x1
bo_create: buf 11 (miptree) 102400b
Running synchronized to the vertical refresh.  The framerate should be
approximately the same as the monitor refresh rate.
bo_create: buf 12 (bufferobj) 32768b
drm_intel_gem_bo_purge_vma_cache: cached=0, open=2, limit=-1
bo_map_gtt: mmap 12 (bufferobj), map_count=1
intel_bufmgr_gem.c:1461: Error mapping buffer 12 (bufferobj): Invalid
argument .
drm_intel_gem_bo_purge_vma_cache: cached=0, open=1, limit=-1


Segmentation fault (core dumped)



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