Current-Users archive

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

Very recent NetBSD-current Xorg panic



Hi, My laptop, an HP Envy 17, has been running NetBSD (among others) -current since I've had it, almost seven years ago. It has an Intel 530 graphics, as well as NVidia GeForce GTX 950m, the latter has never worked for me under NetBSD, to get Xorg running, I usually run 'Xorg -configure' and get rid of all the configured options - screen, device, monitor - relating to the NVidia card. Up until 10.99.2 as of 03/01/2023, all was fine, more or less; Xorg ran using DRI2, everything was accelerated as expected, I didn't even have some of the graphics glitches which appeared previously. This morning I upgraded the instance to my yesterday's build - as of 07/01/2023. Now Xorg dumps core as follows:

---------

Reading symbols from /usr/X11R7/bin/Xorg...
(No debugging symbols found in /usr/X11R7/bin/Xorg)
[New process 3404]
[New process 3397]
[New process 3229]
[New process 3555]
Core was generated by `Xorg'.
Program terminated with signal SIGABRT, Aborted.
#0  0x00006fa66dcb845a in _lwp_kill () from /usr/lib/libc.so.12
[Current thread is 1 (process 3404)]
(gdb) bt
#0  0x00006fa66dcb845a in _lwp_kill () from /usr/lib/libc.so.12
#1  0x00006fa66dcb895a in abort () from /usr/lib/libc.so.12
#2  0x0000000000aa3854 in OsAbort ()
#3  0x0000000000a9eb6e in AbortServer ()
#4  0x0000000000a9f7de in FatalError ()
#5  0x0000000000aa44d2 in ?? ()
#6  <signal handler called>
#7 0x00006fa6665dec79 in _mesa_sha1_format () from /usr/X11R7/lib/modules/dri/i965_dri.so #8 0x00006fa6665d9161 in brw_disk_cache_init () from /usr/X11R7/lib/modules/dri/i965_dri.so
#9  0x00006fa6664baa93 in ?? () from /usr/X11R7/lib/modules/dri/i965_dri.so
#10 0x00006fa6668fdc03 in ?? () from /usr/X11R7/lib/modules/dri/i965_dri.so
#11 0x0000000000aaefeb in ?? ()
#12 0x0000000000ab834f in ?? ()
#13 0x000000000098d3a0 in _CallCallbacks ()
#14 0x0000000000ab0201 in GlxExtensionInit ()
#15 0x00000000009d7841 in InitExtensions ()
#16 0x000000000094bca7 in dix_main ()
#17 0x000000000094ba1d in ___start ()
#18 0x00007f7ff7681820 in ?? () from /usr/libexec/ld.elf_so
#19 0x0000000000000001 in ?? ()
#20 0x00007f7fff7a6fd0 in ?? ()
#21 0x0000000000000000 in ?? ()
(gdb) quit

startx results in (I guess the same):

X.Org X Server 1.21.1.5
X Protocol Version 11, Revision 0
Current Operating System: NetBSD tarkus.lorien.lan 10.99.2 NetBSD 10.99.2 (GENERIC) #5: Sat Jan 7 01:31:38 GMT 2023 sysbuild%ymir.lorien.lan@localhost:/home/sysbuild/sysbuild/amd64/obj/home/sysbuild/src/sys/arch/amd64/compile/GENERIC amd64

Current version of pixman: 0.38.4
        Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Sun Jan  8 10:44:14 2023
(==) Using config file: "/etc/X11/xorg.conf"
(EE)
(EE) Backtrace:
(EE) 0: /usr/X11R7/bin/X (xorg_backtrace+0x44) [0xa5c6c5]
(EE) 1: /usr/X11R7/bin/X (os_move_fd+0x79) [0xa58465]
(EE) 2: /usr/lib/libc.so.12 (__sigtramp_siginfo_2+0x0) [0x7d363a2b8510]
(EE) 3: /usr/X11R7/lib/modules/dri/i965_dri.so (__driDriverGetExtensions_i965+0x122e6f) [0x7d3632fdec79] (EE) 4: /usr/X11R7/lib/modules/dri/i965_dri.so (__driDriverGetExtensions_i965+0x11d357) [0x7d3632fd9161] (EE) 5: /usr/X11R7/lib/modules/dri/i965_dri.so (__driDriverGetExtensions_r200+0x24fbb3) [0x7d3632ebaa93] (EE) 6: /usr/X11R7/lib/modules/dri/i965_dri.so (__driDriverGetExtensions_i915+0x44978) [0x7d36332fdc03]
(EE) 7: /usr/X11R7/bin/X (_XSERVTransConvertAddress+0xb4a) [0xa62feb]
(EE) 8: /usr/X11R7/bin/X (glxProbeDriver+0x6c5) [0xa6c34f]
(EE) 9: /usr/X11R7/bin/X (_CallCallbacks+0x35) [0x9413a0]
(EE) 10: /usr/X11R7/bin/X (GlxExtensionInit+0x146) [0xa64201]
(EE) 11: /usr/X11R7/bin/X (InitExtensions+0x85) [0x98b841]
(EE) 12: /usr/X11R7/bin/X (dix_main+0x1a7) [0x8ffca7]
(EE)
(EE) Segmentation fault at address 0x10
(EE)
Fatal server error:
(EE) Caught signal 11 (Segmentation fault). Server aborting
(EE)

The same build appears to be working fine on the build machine using .. radeon0 at pci1 dev 0 function 0: ATI Technologies FirePro W5000 (rev. 0x00)
..


(again, decent DRI2 performance here).

I tried the kernel from the previous build - which was working OK - but obviously it didn't work, as the problem appears to be in /usr/X11R7/lib/modules/dri/i965_dri.so .


I examined the cvs changes between 03/01 and 07/01 and could not find anything directly related to Intel graphics, with the possible exception of:



cvs diff -u -r 1.2 -r 1.3 igpioreg.h
Index: igpioreg.h
===================================================================
RCS file: /cvsroot/src/sys/dev/ic/igpioreg.h,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- igpioreg.h  26 Mar 2022 19:35:35 -0000      1.2
+++ igpioreg.h  7 Jan 2023 00:39:20 -0000       1.3
@@ -1,4 +1,4 @@
-/* $NetBSD: igpioreg.h,v 1.2 2022/03/26 19:35:35 riastradh Exp $ */
+/* $NetBSD: igpioreg.h,v 1.3 2023/01/07 00:39:20 msaitoh Exp $ */

 /*
  * Copyright (c) 2021 Emmanuel Dreyfus
@@ -180,9 +180,9 @@

        /* Lewisburg */
        { "INT3536",    0,   0,   7, 0x100, 0x110 },
-       { "INT3536",    1,  72,  13, 0x100, 0x110 },
-       { "INT3536",    3, 133,  14, 0x100, 0x110 },
-       { "INT3536",    4, 144,  17, 0x100, 0x110 },
+       { "INT3536",    1,  72, 132, 0x100, 0x110 },
+       { "INT3536",    3, 133, 143, 0x100, 0x110 },
+       { "INT3536",    4, 144, 178, 0x100, 0x110 },
        { "INT3536",    5, 179, 246, 0x100, 0x110 },

        /* Emmitsburg */

I don't yet know if this is related, I'll back this out and try to rebuild.

--
----
Chavdar Ivanov


Home | Main Index | Thread Index | Old Index