tech-x11 archive

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

Re: libdrm+kernel patches/fixes from wayland porting work



> Date: Sat, 1 Feb 2025 14:24:48 -0800
> From: Jeff Frasca <thatguy%jeff-frasca.name@localhost>
> 
> I just looked at your change to drm_getunique, and not only does that look
> like a totally reasonable solution to the problem I was having, my
> compositor starts up just fine with stock kernel, MesaLib from pkgsrc and
> stock libdrm.
> 
> Forget my patches.  NetBSD-current is good.  And I can pull this down for
> personal use if I want to run release code (which I will probably do for
> my bare metal install and one of my dev VMs).

Cool!

> That said, I've still got stuff to work on here, as it does not cleanly
> shut down (something that works fine on Linux and OpenBSD).  Instead,
> the screen blanks and my fans spin up.  The machine hasn't hung or
> panicked, as I can still do a clean shutdown via SSH.  I will dig more
> on that front.

Diagnostics that might be helpful when this happens:

1. output of `top -t' over ssh

2. dtrace -n 'profile:::profile-97 { @[stack()] = count() }'

   and then hit ^C after a few seconds and share the output

3. entering ddb at the console and getting stack traces on each CPU
   with

	db{0}> bt
	...
	db{0}> mach cpu 1
	db{1}> bt
	...
	db{1}> mach cpu 2
	db{2}> bt
	...

   and so on


Home | Main Index | Thread Index | Old Index