NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: OpenGL issues - glxgears failure or segfault



Hello,

no clue about this? I noticed that the numbers with the hex-value can go on forever.

with a fresh reboot and no X11, I can read this information:

[     1.053049] agp0 at pchb0: G4X-family chipset
[     1.053049] agp0: detected 32252k stolen memory
[     1.053049] agp0: aperture at 0xc0000000, size 0x10000000
[     1.053049] i915drmkms0 at pci0 dev 2 function 0: vendor 8086 product 0046 (rev. 0x02) [     1.053049] vendor 8086 product 3b64 (miscellaneous communications, revision 0x06) at pci0 dev 22 function 0 not configured

<...>

[     5.269417] kern.module.path=/stand/amd64/9.2/modules
[     5.269417] kern info: [drm] Memory usable by graphics device = 512M
[     5.269417] kern info: [drm] Supports vblank timestamp caching Rev 2 (21.10.2013). [     5.269417] kern info: [drm] Driver supports precise vblank timestamp query.
[     5.269417] i915drmkms0: interrupting at ioapic0 pin 16 (i915drmkms0)
[     5.319449] intelfb0 at i915drmkms0
[     5.319449] intelfb0: framebuffer at 0xffffb88065070000, size 1366x768, depth 32, stride 5504

Thanks,
Riccardo


Riccardo Mottola wrote:
Hi,

I traced down my WebGL problems to core OpenGL issues.
If I run glxgears I get bad results.
The display does not show rotating gears but either two images vibrating between (strobo-effect like) or even just one frozen image.

Sometimes I get a crash, like this:
$ glxgears
Running synchronized to the vertical refresh.  The framerate should be
approximately the same as the monitor refresh rate.
i965: Failed to submit batchbuffer: Input/output error


This is on a laptop with integrated Iron Lake graphics running NetBSD/amd64.

I just did check dmesg to type out the details here, but see it flooded with this errors:

[   128.377135] 0001327c :  00000000
[   128.377135] 00013280 :  7a006002
[   128.377135] 00013284 :  00024104
[   128.377135] 00013288 :  00000000
[   128.377135] 0001328c :  00000000
[   128.377135] 00013290 :  7a006002
[   128.377135] 00013294 :  00024184
[   128.377135] 00013298 :  00000000
[   128.377135] 0001329c :  00000000
[   128.377135] 000132a0 :  7a006002
[   128.377135] 000132a4 :  00024204
[   128.377135] 000132a8 :  00000000
[   128.377135] 000132ac :  00000000
[   128.377135] 000132b0 :  7a006002
[   128.377135] 000132b4 :  00024284
[   128.377135] 000132b8 :  00000000
[   128.377135] 000132bc :  00000000
[   128.377135] 000132c0 :  7a006002
[   128.387142] 000132c4 :  00024304
[   128.387142] 000132c8 :  00000000
[   128.387142] 000132cc :  00000000
[   128.387142] 000132d0 :  7a005502
[   128.387142] 000132d4 :  00024004
[   128.387142] 000132d8 :  fffff204
[   128.387142] 000132dc :  00000000
[   128.387142] 000132e0 :  02000022
[   128.387142] 000132e4 :  00000000
[   128.387142] 000132e8 :  18800180
[   128.387142] 000132ec :  1f9d9000
[   128.387142] 000132f0 :  02000000
[   128.387142] 000132f4 :  00000000
[   128.387142] 000132f8 :  7a005402
[   128.387142] 000132fc :  00024004
[   128.387142] 00013300 :  fffff205
[   128.387142] 00013304 :  00000000
[   128.387142] 00013308 :  7a006002
[   128.387142] 0001330c :  00024084
[   128.387142] 00013310 :  00000000
[   128.387142] 00013314 :  00000000
[   128.387142] 00013318 :  7a006002
[   128.387142] 0001331c :  000
[  8185.721137] kern error: [drm:(/usr/src/sys/external/bsd/drm2/dist/drm/i915/intel_sprite.c:132)intel_pipe_update_start] *ERROR* Potential atomic update failure on pipe A: -35 [ 24956.434454] kern error: [drm:(/usr/src/sys/external/bsd/drm2/dist/drm/i915/intel_sprite.c:132)intel_pipe_update_start] *ERROR* Potential atomic update failure on pipe A: -35 [ 25038.667770] kern error: [drm:(/usr/src/sys/external/bsd/drm2/dist/drm/i915/intel_sprite.c:132)intel_pipe_update_start] *ERROR* Potential atomic update failure on pipe A: -35 [ 25866.454467] kern error: [drm:(/usr/src/sys/external/bsd/drm2/dist/drm/i915/intel_sprite.c:132)intel_pipe_update_start] *ERROR* Potential atomic update failure on pipe A: -35

now, If I rerun glxgears, I get a segfault:
$ glxgears
Running synchronized to the vertical refresh.  The framerate should be
approximately the same as the monitor refresh rate.
[1]   Segmentation fault (core dumped) glxgears

Thread 1 "" received signal SIGSEGV, Segmentation fault.
0x0000717487fe5850 in brw_workaround_depthstencil_alignment () from /usr/X11R7/lib/modules/dri/i965_dri.so
(gdb) bt
#0  0x0000717487fe5850 in brw_workaround_depthstencil_alignment () from /usr/X11R7/lib/modules/dri/i965_dri.so #1  0x0000717487fa34d5 in ?? () from /usr/X11R7/lib/modules/dri/i965_dri.so
#2  0x000000017f001f8a in draw ()
#3  0x000000017f00353d in main ()

doesn't look nice!!

Riccardo





Home | Main Index | Thread Index | Old Index