Blender port

Hello,

I’ve been able to compile Blender3 via HaikuPort (I had to apply just a patch on 2 files).

Everything seems to work fine, except the Shading module as per below which is raising an error.

Any idea how I can identify the piece of code responsible of that error ?

9 Likes

How well does it run with just a monkey statue on your hardware?

Without any hardware acceleration I’m pretty surprised by the display of the model. Maybe if I had some time making a video on YouTube…

My hardware is a NUC intel so not the best hardware to do 3D modeling :wink:

1 Like

Ahoy @DigitalBox ,

Is it an experimental porting attempt or you need a Blender in version 3.x ?

I ask as Blender 3 is available for Haiku …

~> pkgman search blender -D
Repository  Name             Version    Arch  
----------------------------------------------
HaikuPorts  blender          2.79b-27   x86_64
LOTE        blender          2.79b-27   x86_64
HaikuPorts  blender_source   2.79b-27   source
HaikuPorts  blender3         3.3.12-1   x86_64     <--------------<<<
HaikuPorts  blender3_source  3.3.12-1   source
LOTE        blender28        2.83.18-2  x86_64
LOTE        blender29        2.93.7-2   x86_64
~> 

:nerd_face:

Of course, if you wanted to kill your time and cook it for yourself – who am I to interfere with your intent ? :smiley:

1 Like

blender3 is available via pkgman indeed however as of today it’s not working fine :

runtime_loader: Cannot open file libpystring.so.0.0 (needed by /boot/system/lib/libOpenColorIO.so.2.0.1): No such file or directory

That’s why I’ve started to compile it again via HaikuPorts with some minor ajustements.

I’ve proposed a PR and noticed this error is no more raised.

However I’m not 100% happy with the results due to some crashed during the execution of the application (as for instance in the Shading module).

No I don’t waste my time :stuck_out_tongue:

4 Likes

Based on the screenshot of Debugger, the program is paused inside of MediaKit code (specifically, the BMediaNode::WaitForMessage()). It tries to communicate with the kernel using the function _kern_read_port_etc(), which does a syscall, and that’s where things seem to go wrong.

This likely isn’t the problem, some other thread is the crashing one most likely. I’d guess this is just another variant of #19074 ([media_addon_server] BTimeSource::PerformanceTimeFor: performance time too large) – Haiku

Ok interesting. I’ve the same kind of crash when trying to do a render (F11)

I’m just wondering if the issue is the same for everyone or if it depends on the machine.

With blender2, the rendering is working fine with no crash.

I’ve put the crash report details (not sure how to analyze it though…)

Debug information for team /boot/system/apps/Blender3/Blender (1620):
CPU(s): 4x Intel Core™ i5-6260U
Memory: 7,89 Gio total, 1,97 Gio used
Haiku revision: hrev57937+113 Sep 12 2024 21:59 (x86_64)

Active Threads:
	thread 1620: Blender (main)
	thread 1621: pthread func 
	thread 1622: pthread func 
	thread 1623: pthread func 
	thread 1624: pthread func 
	thread 1625: SDLTimer 
	thread 1626: SDLApplication 
	thread 1629: _BMediaRoster_ 
	thread 1630: Blender control 
	thread 1631: pthread func 
	thread 1633: w>Blender 
	thread 1634: llvmpipe-0 
	thread 1635: llvmpipe-1 
	thread 1636: llvmpipe-2 
	thread 1637: llvmpipe-3 
	thread 1638: pthread func 
	thread 1639: pthread func 
	thread 1640: pthread func 
	thread 1641: pthread func 
	thread 1642: Blender:disk$0 
	thread 1646: w>Offscreen Context Windows 
	thread 1655: w>Blender Render 
	thread 1659: w>Offscreen Context Windows 
	thread 1663: team 1620 debug task 
	thread 1662: pthread func 
		state: Call ([!])

		Frame		IP			Function Name
		-----------------------------------------------
		00000000	0xc79f727127	_kern_debugger + 0x7 
			Disassembly:
				_kern_debugger:
				0x000000c79f727120:   48c7c0eb000000  mov $0xeb, %rax
				0x000000c79f727127:             0f05  syscall <--

		0x7fce61112560	0xb0efd486da	BGLView::UnlockGL() + 0x7a 
		0x7fce61112590	0x13d9d57d664	HAIKU_GL_MakeCurrent + 0x94 
		0x7fce611125c0	0x13d9d5555bf	SDL_GL_MakeCurrent_REAL + 0x7f 
		0x7fce611125d0	0x19a2b9ae411	GHOST_ContextSDL::activateDrawingContext() + 0x11 
		0x7fce611125f0	0x19a2ade8dc6	DRW_render_context_enable + 0x46 
		0x7fce61112650	0x19a2b7967f4	engine_render_view_layer.constprop.0 + 0x3b4 
		0x7fce611126a0	0x19a2b7971e0	RE_engine_render + 0x1d0 
		0x7fce611126c0	0x19a2b79b05a	do_render_engine + 0x3a 
		0x7fce611127e0	0x19a2b79d6e3	do_render_full_pipeline + 0x543 
		0x7fce61113d20	0x19a2b79ecfd	RE_RenderFrame + 0xfd 
		0x7fce61113d50	0x19a2be245df	render_startjob(void*, short*, short*, float*) + 0x9f 
		0x7fce61113d70	0x19a2a8979b8	do_job_thread + 0x28 
		0x7fce61113d90	0xc79f735575	pthread_thread_entry(void*, void*) + 0x15 
		00000000	0x7fe7692f4258	commpage_thread_exit + 0 

		Registers:
			  rip:	0x000000c79f727129
			  rsp:	0x00007fce61112538
			  rbp:	0x00007fce61112560
			  rax:	0x00000000000000eb
			  rbx:	0x0000110dd973f120
			  rcx:	0x000000c79f727129
			  rdx:	0x00007fce61112034
			  rsi:	0x000000c79f7bd52f
			  rdi:	0x000000b0efd60aa5
			   r8:	0x0000000000000000
			   r9:	0x0000000000000000
			  r10:	0x0000000000000000
			  r11:	0x0000000000000206
			  r12:	0x0000000000000654
			  r13:	0x0000110dd973f268
			  r14:	0x0000110dd84137f8
			  r15:	0x0000110de7677b68
			   cs:	0x002b
			   ds:	0x0000
			   es:	0x0000
			   fs:	0x0000
			   gs:	0x0000
			   ss:	0x0023
			  st0:	0
			  st1:	0
			  st2:	0
			  st3:	0
			  st4:	0
			  st5:	0
			  st6:	0
			  st7:	0
			  mm0:	{0, 0, 0, 0}
			  mm1:	{0, 0, 0, 0}
			  mm2:	{0, 0, 0, 0}
			  mm3:	{0, 0, 0, 0}
			  mm4:	{0, 0, 0, 0}
			  mm5:	{0, 0, 0, 0}
			  mm6:	{0, 0, 0, 0}
			  mm7:	{0, 0, 0, 0}
			 ymm0:	{0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}
			 ymm1:	{0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}
			 ymm2:	{0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}
			 ymm3:	{0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}
			 ymm4:	{0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}
			 ymm5:	{0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}
			 ymm6:	{0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}
			 ymm7:	{0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}
			 ymm8:	{0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}
			 ymm9:	{0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}
			ymm10:	{0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}
			ymm11:	{0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}
			ymm12:	{0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}
			ymm13:	{0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}
			ymm14:	{0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}
			ymm15:	{0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}

Loaded Images:
	ID		Text Base	Text End	Data Base	Data End	Type	Name
	--------------------------------------------------------------------------------
	10902	0x92381f000	0x923832000	0x923832000	0x923833000	lib    	/boot/system/lib/python3.10/vendor-packages/numpy/fft/_pocketfft_internal.cpython-310.so
	10877	0x995048000	0x995057000	0x995057000	0x995058000	lib    	/boot/system/lib/python3.10/lib-dynload/array.cpython-310.so
	10878	0xb4e3ea000	0xb4e3f5000	0xb4e3f5000	0xb4e3f7000	lib    	/boot/system/lib/python3.10/lib-dynload/_struct.cpython-310.so
	10519	0xb773b9000	0xb77407000	0xb77407000	0xb77408000	lib    	/boot/system/lib/libImath-3_1.so.29.10.0
	10907	0xcf1e71000	0xcf1e87000	0xcf1e87000	0xcf1e89000	lib    	/boot/system/lib/python3.10/vendor-packages/numpy/random/_mt19937.cpython-310.so
	10895	0xd3fcad000	0xd3ff81000	0xd3ff81000	0xd3ff84000	lib    	/boot/system/lib/libgfortran.so.5.0.0
	10554	0xd5c681000	0xd5c714000	0xd5c714000	0xd5c721000	lib    	/boot/system/lib/libssl.so.3
	10517	0x11dcaaa000	0x11dcad1000	0x11dccd0000	0x11dccd2000	lib    	/boot/system/lib/libOpenCL.so.1.0.0
...
	38869	0x10f0b6bb000	0x10f0b6bc000	         4	r-x        	none          	libLLVM-12.so mmap area
	38870	0x10f0b6bc000	0x10f0b6bd000	         4	r--        	none          	libLLVM-12.so mmap area
	38871	0x10f0b7f7000	0x10f0b7f8000	         4	rw-        	none          	libLLVM-12.so mmap area
	38872	0x10f0b7f8000	0x10f0b7f9000	         4	r-x        	none          	libLLVM-12.so mmap area
	38873	0x10f0b7f9000	0x10f0b7fa000	         4	r--        	none          	libLLVM-12.so mmap area
	38239	0x10f0b94a000	0x10f0b955000	        44	r-x        	none          	_sfc64.cpython-310.so_seg0ro
	38240	0x10f0b955000	0x10f0b957000	         8	rw-        	none          	_sfc64.cpython-310.so_seg1rw
	37054	0x11169e13000	0x11169f76000	      1420	r-x        	none          	libfdk-aac.so.2.0.2_seg0ro
	37055	0x1116a175000	0x1116a17b000	        24	rw-        	none          	libfdk-aac.so.2.0.2_seg1rw
	37056	0x1116a17b000	0x1116a17f000	        16	rw-        	none          	libfdk-aac.so.2.0.2_seg2rw
	36966	0x111eb1b9000	0x111eb1ba000	         4	r-x        	none          	libboost_system.so.1.83.0_seg0r
	36967	0x111eb1ba000	0x111eb1bb000	         4	rw-        	none          	libboost_system.so.1.83.0_seg1r
	38207	0x115b6994000	0x115b6995000	         4	r-x        	none          	_contextvars.cpython-310.so_seg
	38208	0x115b6995000	0x115b6996000	         4	rw-        	none          	_contextvars.cpython-310.so_seg
	37121	0x11618cd2000	0x11618d2d000	       364	r-x        	none          	liblcms2.so.2.0.16_seg0ro
	37122	0x11618d2d000	0x11618d33000	        24	rw-        	none          	liblcms2.so.2.0.16_seg1rw
	37116	0x1176d44c000	0x1176d45c000	        64	r-x        	none          	libdeflate.so.0_seg0ro
	37117	0x1176d65b000	0x1176d65c000	         4	rw-        	none          	libdeflate.so.0_seg1rw
	37063	0x11911d82000	0x11911d9a000	        96	r-x        	none          	libspeex.so.1.5.2_seg0ro
	37064	0x11911f99000	0x11911f9a000	         4	rw-        	none          	libspeex.so.1.5.2_seg1rw
	37065	0x11cb8fc9000	0x11cb9002000	       228	r-x        	none          	libtheoraenc.so.1.1.2_seg0ro
	37066	0x11cb9201000	0x11cb9202000	         4	rw-        	none          	libtheoraenc.so.1.1.2_seg1rw
	36960	0x11d1c5da000	0x11d1c694000	       744	r-x        	none          	libboost_locale.so.1.83.0_seg0r
	36961	0x11d1c694000	0x11d1c699000	        20	rw-        	none          	libboost_locale.so.1.83.0_seg1r
	36916	0x11f57462000	0x11f5801c000	     12008	r-x        	none          	libavcodec.so.60.31.102_seg0ro
	36917	0x11f5801c000	0x11f5807d000	       388	rw-        	none          	libavcodec.so.60.31.102_seg1rw
	36918	0x11f5807d000	0x11f585d0000	      5452	rw-        	none          	libavcodec.so.60.31.102_seg2rw
	37069	0x11fe909c000	0x11fe90d2000	       216	r-x        	none          	libvorbis.so.0.4.9_seg0ro
	37070	0x11fe92d1000	0x11fe92d2000	         4	rw-        	none          	libvorbis.so.0.4.9_seg1rw
	37092	0x1256e0f2000	0x1256e0f9000	        28	r-x        	none          	libogg.so.0.8.5_seg0ro
	37093	0x1256e2f8000	0x1256e2f9000	         4	rw-        	none          	libogg.so.0.8.5_seg1rw
	37037	0x127e19b3000	0x127e1a0f000	       368	r-x        	none          	libglapi.so.0.0.0_seg0ro
	37038	0x127e1a0f000	0x127e1a17000	        32	rw-        	none          	libglapi.so.0.0.0_seg1rw
	37039	0x127e1a17000	0x127e1a18000	         4	rw-        	none          	libglapi.so.0.0.0_seg2rw
	36842	0x128facc6000	0x128fadce000	      1056	r-x        	none          	libiconv.so.2.6.1_seg0ro
	36843	0x128fadce000	0x128fadd1000	        12	rw-        	none          	libiconv.so.2.6.1_seg1rw
	37113	0x12a55b6a000	0x12a56e17000	     19124	r-x        	none          	libx265.so.199_seg0ro
	37114	0x12a57016000	0x12a5702a000	        80	rw-        	none          	libx265.so.199_seg1rw
	37115	0x12a5702a000	0x12a5703a000	        64	rw-        	none          	libx265.so.199_seg2rw
	36964	0x12fd5b72000	0x12fd5b79000	        28	r-x        	none          	libboost_chrono.so.1.83.0_seg0r
	36965	0x12fd5b79000	0x12fd5b7a000	         4	rw-        	none          	libboost_chrono.so.1.83.0_seg1r
	36945	0x130dfff6000	0x130e010c000	      1112	r-x        	none          	libzstd.so.1.5.6_seg0ro
	36946	0x130e010c000	0x130e010d000	         4	rw-        	none          	libzstd.so.1.5.6_seg1rw
	38167	0x13c013cd000	0x13c013e8000	       108	r-x        	none          	_datetime.cpython-310.so_seg0ro
	38168	0x13c013e8000	0x13c013eb000	        12	rw-        	none          	_datetime.cpython-310.so_seg1rw
	36940	0x13d9d418000	0x13d9d5be000	      1688	r-x        	none          	libSDL2-2.0.so.0.3000.2_seg0ro
	36941	0x13d9d5be000	0x13d9d5c9000	        44	rw-        	none          	libSDL2-2.0.so.0.3000.2_seg1rw
	36942	0x13d9d5c9000	0x13d9d5cb000	         8	rw-        	none          	libSDL2-2.0.so.0.3000.2_seg2rw
	37244	0x140ff7c1000	0x14100300000	     11516	r-x        	none          	Software Pipe_seg0ro
	37245	0x14100300000	0x1410034e000	       312	rw-        	none          	Software Pipe_seg1rw
	37246	0x1410034e000	0x14100385000	       220	rw-        	none          	Software Pipe_seg2rw
	36932	0x1430bc1f000	0x1430bc34000	        84	r-x        	none          	libswresample.so.4.12.100_seg0r
	36933	0x1430bc34000	0x1430bc36000	         8	rw-        	none          	libswresample.so.4.12.100_seg1r
	36893	0x14966770000	0x1496678e000	       120	r-x        	none          	libOpenCOLLADABaseUtils.so_seg0
	36894	0x1496698e000	0x1496698f000	         4	rw-        	none          	libOpenCOLLADABaseUtils.so_seg1
	37012	0x14b19477000	0x14b19522000	       684	r-x        	none          	libheif.so.1.12.0_seg0ro
	37013	0x14b19522000	0x14b19527000	        20	rw-        	none          	libheif.so.1.12.0_seg1rw
	38165	0x14c62b38000	0x14c62b3e000	        24	r-x        	none          	_sha512.cpython-310.so_seg0ro
	38166	0x14c62b3e000	0x14c62b3f000	         4	rw-        	none          	_sha512.cpython-310.so_seg1rw
	37094	0x152ce5e5000	0x152ce6a2000	       756	r-x        	none          	libmedia.so_seg0ro
	37095	0x152ce6a2000	0x152ce6ae000	        48	rw-        	none          	libmedia.so_seg1rw
	37134	0x15622055000	0x15622067000	        72	r-x        	none          	libintl.so.8.4.0_seg0ro
	37135	0x15622067000	0x15622068000	         4	rw-        	none          	libintl.so.8.4.0_seg1rw
	37136	0x15622068000	0x15622069000	         4	rw-        	none          	libintl.so.8.4.0_seg2rw
	36900	0x1567f3b7000	0x1567f3bd000	        24	r-x        	none          	libbuffer.so_seg0ro
	36901	0x1567f5bc000	0x1567f5bd000	         4	rw-        	none          	libbuffer.so_seg1rw
	36882	0x15b2059f000	0x15b205a6000	        28	r-x        	none          	libpotrace.so.0.0.6_seg0ro
	36883	0x15b207a5000	0x15b207a6000	         4	rw-        	none          	libpotrace.so.0.0.6_seg1rw
	38186	0x163db94d000	0x163dbf07000	      5864	r-x        	none          	_multiarray_umath.cpython-310.s
	38187	0x163dbf07000	0x163dbf2c000	       148	rw-        	none          	_multiarray_umath.cpython-310.s
	38188	0x163dbf2c000	0x163dbf4c000	       128	rw-        	none          	_multiarray_umath.cpython-310.s
	36937	0x1650f1bd000	0x1650f285000	       800	r-x        	none          	libopenal.so.1.21.1_seg0ro
	36938	0x1650f485000	0x1650f48a000	        20	rw-        	none          	libopenal.so.1.21.1_seg1rw
	36939	0x1650f48a000	0x1650f506000	       496	rw-        	none          	libopenal.so.1.21.1_seg2rw
	36852	0x1652c75b000	0x1652c8f5000	      1640	r-x        	none          	libfftw3.so.3.6.10_seg0ro
	36853	0x1652c8f5000	0x1652c901000	        48	rw-        	none          	libfftw3.so.3.6.10_seg1rw
	37128	0x16831bb8000	0x16831bc4000	        48	r-x        	none          	libicuio.so.74.1_seg0ro
	37129	0x16831bc4000	0x16831bc6000	         8	rw-        	none          	libicuio.so.74.1_seg1rw
	37105	0x168bbce5000	0x168bbd6b000	       536	r-x        	none          	libssl.so.1.1_seg0ro
	37106	0x168bbd6b000	0x168bbd78000	        52	rw-        	none          	libssl.so.1.1_seg1rw
	36839	0x168be369000	0x168be39c000	       204	r-x        	none          	libnetwork.so_seg0ro
	36840	0x168be39c000	0x168be39e000	         8	rw-        	none          	libnetwork.so_seg1rw
	36841	0x168be39e000	0x168be3a6000	        32	rw-        	none          	libnetwork.so_seg2rw
	36987	0x16c9316b000	0x16c9318a000	       124	r-x        	none          	libgcc_s.so.1_seg0ro
	36988	0x16c9318a000	0x16c9318b000	         4	rw-        	none          	libgcc_s.so.1_seg1rw
	37101	0x173ec92f000	0x173ec93e000	        60	r-x        	none          	libdevice.so_seg0ro
	37102	0x173ec93e000	0x173ec93f000	         4	rw-        	none          	libdevice.so_seg1rw
	36981	0x17992ce5000	0x17992f17000	      2248	r-x        	none          	libstdc++.so.6.0.32_seg0ro
	36982	0x17992f17000	0x17992f25000	        56	rw-        	none          	libstdc++.so.6.0.32_seg1rw
	36983	0x17992f25000	0x17992f2d000	        32	rw-        	none          	libstdc++.so.6.0.32_seg2rw
	38201	0x18302226000	0x18302269000	       268	r-x        	none          	libquadmath.so.0.0.0_seg0ro
	38202	0x18302269000	0x1830226a000	         4	rw-        	none          	libquadmath.so.0.0.0_seg1rw
	37177	0x1848cc32000	0x1848cc3a000	        32	r-x        	none          	plaintext_seg0ro
	37178	0x1848cc3a000	0x1848cc3b000	         4	rw-        	none          	plaintext_seg1rw
	38163	0x18866f96000	0x18866f9a000	        16	r-x        	none          	_random.cpython-310.so_seg0ro
	38164	0x18866f9a000	0x18866f9b000	         4	rw-        	none          	_random.cpython-310.so_seg1rw
	36897	0x18f1ea33000	0x18f1ea7b000	       288	r-x        	none          	libMathMLSolver.so_seg0ro
	36898	0x18f1ec7a000	0x18f1ec7c000	         8	rw-        	none          	libMathMLSolver.so_seg1rw
	36899	0x18f1ec7c000	0x18f1ec81000	        20	rw-        	none          	libMathMLSolver.so_seg2rw
	36844	0x1913e055000	0x1913e24d000	      2016	r-x        	none          	libicuuc.so.74.1_seg0ro
	36845	0x1913e24d000	0x1913e264000	        92	rw-        	none          	libicuuc.so.74.1_seg1rw
	36846	0x1913e264000	0x1913e265000	         4	rw-        	none          	libicuuc.so.74.1_seg2rw
	38191	0x19861484000	0x19861492000	        56	r-x        	none          	libexecinfo.so_seg0ro
	38192	0x19861692000	0x19861693000	         4	rw-        	none          	libexecinfo.so_seg1rw
	36836	0x19a2a1d9000	0x19a2d14b000	     48584	r-x        	none          	Blender_seg0ro
	36837	0x19a2d14b000	0x19a2d6fc000	      5828	rw-        	none          	Blender_seg1rw
	36838	0x19a2d6fc000	0x19a2d7e2000	       920	rw-        	none          	Blender_seg2rw
	37042	0x19ff6507000	0x19ff6697000	      1600	r-x        	none          	libvpx.so.8.0.1_seg0ro
	37043	0x19ff6697000	0x19ff669a000	        12	rw-        	none          	libvpx.so.8.0.1_seg1rw
	37044	0x19ff669a000	0x19ff669c000	         8	rw-        	none          	libvpx.so.8.0.1_seg2rw
	38161	0x1a3d9d6a000	0x1a3d9d75000	        44	r-x        	none          	_blake2.cpython-310.so_seg0ro
	38162	0x1a3d9d75000	0x1a3d9d76000	         4	rw-        	none          	_blake2.cpython-310.so_seg1rw
	37004	0x1a420462000	0x1a420473000	        68	r-x        	none          	libpystring.so.1.1.4_seg0ro
	37005	0x1a420473000	0x1a420474000	         4	rw-        	none          	libpystring.so.1.1.4_seg1rw
	37060	0x1ae56796000	0x1ae567ee000	       352	r-x        	none          	libopus.so.0.8.0_seg0ro
	37061	0x1ae569ed000	0x1ae569ee000	         4	rw-        	none          	libopus.so.0.8.0_seg1rw
	36954	0x1ae71b8f000	0x1ae71b91000	         8	r-x        	none          	libboost_atomic.so.1.83.0_seg0r
	36955	0x1ae71b91000	0x1ae71b96000	        20	rw-        	none          	libboost_atomic.so.1.83.0_seg1r
	38235	0x1b31cd45000	0x1b31cd57000	        72	r-x        	none          	_philox.cpython-310.so_seg0ro
	38236	0x1b31cd57000	0x1b31cd59000	         8	rw-        	none          	_philox.cpython-310.so_seg1rw
	36895	0x1b41218a000	0x1b412199000	        60	r-x        	none          	libGeneratedSaxParser.so_seg0ro
	36896	0x1b412398000	0x1b412399000	         4	rw-        	none          	libGeneratedSaxParser.so_seg1rw
	38209	0x1b633824000	0x1b633841000	       116	r-x        	none          	_multiarray_tests.cpython-310.s
	38210	0x1b633841000	0x1b633843000	         8	rw-        	none          	_multiarray_tests.cpython-310.s
	37110	0x1b7c75f0000	0x1b7c76ae000	       760	r-x        	none          	libde265.so.0.1.1_seg0ro
	37111	0x1b7c78ad000	0x1b7c78b2000	        20	rw-        	none          	libde265.so.0.1.1_seg1rw
	37112	0x1b7c78b2000	0x1b7c78b6000	        16	rw-        	none          	libde265.so.0.1.1_seg2rw
	38230	0x1c6f6a08000	0x1c6f6a5c000	       336	r-x        	none          	_bounded_integers.cpython-310.s
	38231	0x1c6f6a5c000	0x1c6f6a5e000	         8	rw-        	none          	_bounded_integers.cpython-310.s
	38232	0x1c6f6a5e000	0x1c6f6a5f000	         4	rw-        	none          	_bounded_integers.cpython-310.s
	38140	0x1c9de097000	0x1c9de09f000	        32	r-x        	none          	zlib.cpython-310.so_seg0ro
	38141	0x1c9de09f000	0x1c9de0a0000	         4	rw-        	none          	zlib.cpython-310.so_seg1rw
	37020	0x1ca86533000	0x1ca865e6000	       716	r-x        	none          	libraw_r.so.20.0.0_seg0ro
	37021	0x1ca867e6000	0x1ca86839000	       332	rw-        	none          	libraw_r.so.20.0.0_seg1rw
	36919	0x1caefffa000	0x1caf0000000	        24	r-x        	none          	libavdevice.so.60.3.100_seg0ro
	36920	0x1caf0000000	0x1caf0001000	         4	rw-        	none          	libavdevice.so.60.3.100_seg1rw
	38157	0x1d12063a000	0x1d12063d000	        12	r-x        	none          	_bisect.cpython-310.so_seg0ro
	38158	0x1d12063d000	0x1d12063e000	         4	rw-        	none          	_bisect.cpython-310.so_seg1rw
	37073	0x1d2bd007000	0x1d2bd046000	       252	r-x        	none          	libass.so.9.3.1_seg0ro
	37074	0x1d2bd046000	0x1d2bd047000	         4	rw-        	none          	libass.so.9.3.1_seg1rw
	36978	0x1d82c35b000	0x1d82c693000	      3296	r-x        	none          	libpython3.10.so.1.0_seg0ro
	36979	0x1d82c693000	0x1d82c6cb000	       224	rw-        	none          	libpython3.10.so.1.0_seg1rw
	36980	0x1d82c6cb000	0x1d82c6d1000	        24	rw-        	none          	libpython3.10.so.1.0_seg2rw
	38148	0x1d8ed699000	0x1d8ed6aa000	        68	r-x        	none          	_socket.cpython-310.so_seg0ro
	38149	0x1d8ed6aa000	0x1d8ed6ac000	         8	rw-        	none          	_socket.cpython-310.so_seg1rw
	38138	0x1dad3f19000	0x1dad3f23000	        40	r-x        	none          	_json.cpython-310.so_seg0ro
	38139	0x1dad3f23000	0x1dad3f24000	         4	rw-        	none          	_json.cpython-310.so_seg1rw
	38241	0x1dc1fa29000	0x1dc1fadb000	       712	r-x        	none          	_generator.cpython-310.so_seg0r
	38242	0x1dc1fadb000	0x1dc1fb03000	       160	rw-        	none          	_generator.cpython-310.so_seg1r
	38243	0x1dc1fb03000	0x1dc1fb05000	         8	rw-        	none          	_generator.cpython-310.so_seg2r
	38228	0x1de28246000	0x1de28281000	       236	r-x        	none          	_common.cpython-310.so_seg0ro
	38229	0x1de28281000	0x1de28284000	        12	rw-        	none          	_common.cpython-310.so_seg1rw
	36984	0x1de403d2000	0x1de40419000	       284	r-x        	none          	libgomp.so.1.0.0_seg0ro
	36985	0x1de40419000	0x1de4041a000	         4	rw-        	none          	libgomp.so.1.0.0_seg1rw
	36906	0x1de9532c000	0x1de9539f000	       460	r-x        	none          	libpcre.so.1.2.13_seg0ro
	36907	0x1de9559e000	0x1de9559f000	         4	rw-        	none          	libpcre.so.1.2.13_seg1rw
	37130	0x1e2feadf000	0x1e2feafd000	       120	r-x        	none          	libfribidi.so.0.4.0_seg0ro
	37131	0x1e2fecfc000	0x1e2fecfd000	         4	rw-        	none          	libfribidi.so.0.4.0_seg1rw
	37077	0x1e795748000	0x1e795799000	       324	r-x        	none          	libgme.so.0.6.3_seg0ro
	37078	0x1e795998000	0x1e79599b000	        12	rw-        	none          	libgme.so.0.6.3_seg1rw
	37334	0x1ea3b2f6000	0x1ea3b2fa000	        16	r-x        	none          	_posixsubprocess.cpython-310.so
	37335	0x1ea3b2fa000	0x1ea3b2fb000	         4	rw-        	none          	_posixsubprocess.cpython-310.so
	37071	0x1ee8ee24000	0x1ee8eeb3000	       572	r-x        	none          	libvorbisenc.so.2.0.12_seg0ro
	37072	0x1ee8f0b2000	0x1ee8f0ce000	       112	rw-        	none          	libvorbisenc.so.2.0.12_seg1rw
	36976	0x1f0ed176000	0x1f0ed17c000	        24	r-x        	none          	libIlmThread-3_0.so.29.0.0_seg0
	36977	0x1f0ed17c000	0x1f0ed17d000	         4	rw-        	none          	libIlmThread-3_0.so.29.0.0_seg1
	37067	0x1f75f5a1000	0x1f75f5bb000	       104	r-x        	none          	libtheoradec.so.1.1.4_seg0ro
	37068	0x1f75f7bb000	0x1f75f7bc000	         4	rw-        	none          	libtheoradec.so.1.1.4_seg1rw
	37049	0x1f75f861000	0x1f75fa05000	      1680	r-x        	none          	libdav1d.so.7.0.0_seg0ro
	37050	0x1f75fa05000	0x1f75fa09000	        16	rw-        	none          	libdav1d.so.7.0.0_seg1rw
	37051	0x1f75fa09000	0x1f75fa3d000	       208	rw-        	none          	libdav1d.so.7.0.0_seg2rw
	36879	0x1f83eaf7000	0x1f83ed63000	      2480	r-x        	none          	libAlembic.so.1.8.3_seg0ro
	36880	0x1f83ef62000	0x1f83ef69000	        28	rw-        	none          	libAlembic.so.1.8.3_seg1rw
	36881	0x1f83ef69000	0x1f83ef6a000	         4	rw-        	none          	libAlembic.so.1.8.3_seg2rw
	38155	0x1fca81d9000	0x1fca81e0000	        28	r-x        	none          	binascii.cpython-310.so_seg0ro
	38156	0x1fca81e0000	0x1fca81e1000	         4	rw-        	none          	binascii.cpython-310.so_seg1rw
	36871	0x1fd91bda000	0x1fd91c0b000	       196	r-x        	none          	libpng16.so.16.40.0_seg0ro
	36872	0x1fd91c0b000	0x1fd91c0c000	         4	rw-        	none          	libpng16.so.16.40.0_seg1rw
	36832	0x201823b7000	0x201823d4000	       116	r-x        	none          	runtime_loader_seg0ro
	36833	0x201823d4000	0x201823d5000	         4	rw-        	none          	runtime_loader_seg1rw
	37171	0x110dd5ac1000	0x110de7721000	    291200	rw-        	none          	heap
	37309	0x7f1e7c06c000	0x7f1e7c0b1000	       276	rw-s       	none          	pthread func_1640_stack
	37301	0x7f1eb5cca000	0x7f1eb5d0f000	       276	rw-s       	none          	pthread func_1636_stack
	37322	0x7f3892300000	0x7f3892345000	       276	rw-s       	none          	w>Untitled_1646_stack
	37188	0x7f476fadd000	0x7f476fb22000	       276	rw-s       	none          	pthread func_1624_stack
	37221	0x7f4c30256000	0x7f4c3029b000	       276	rw-s       	none          	Blender control_1630_stack
	38903	0x7f51ca1e5000	0x7f51ca22a000	       276	rw-s       	none          	w>Untitled_1659_stack
	37184	0x7f587c235000	0x7f587c27a000	       276	rw-s       	none          	pthread func_1622_stack
	37243	0x7f6488f55000	0x7f6488f9a000	       276	rw-s       	none          	w>Untitled_1633_stack
	37192	0x7f6b83b91000	0x7f6b83bd6000	       276	rw-s       	none          	pthread func_1625_stack
	37303	0x7f79416b1000	0x7f79416f6000	       276	rw-s       	none          	pthread func_1637_stack
	37237	0x7f7a380f8000	0x7f7a3813d000	       276	rw-s       	none          	pthread func_1631_stack
	37182	0x7f7c6088e000	0x7f7c608d3000	       276	rw-s       	none          	pthread func_1621_stack
	36830	0x7f7fac4d8000	0x7f7fad4dd000	     16404	rw-s       	none          	Blender_1620_stack
	37314	0x7f99204f9000	0x7f992053e000	       276	rw-s       	none          	pthread func_1642_stack
	37299	0x7f99d0957000	0x7f99d099c000	       276	rw-s       	none          	pthread func_1635_stack
	37194	0x7f9f9743d000	0x7f9f97482000	       276	rw-s       	none          	pthread func_1626_stack
	37311	0x7fa35dbc0000	0x7fa35dc05000	       276	rw-s       	none          	pthread func_1641_stack
	37297	0x7fa5c5a6a000	0x7fa5c5aaf000	       276	rw-s       	none          	pthread func_1634_stack
	38909	0x7fce610d0000	0x7fce61115000	       276	rw-s       	none          	pthread func_1662_stack
	37307	0x7fd3579b1000	0x7fd3579f6000	       276	rw-s       	none          	pthread func_1639_stack
	37219	0x7fd36b685000	0x7fd36b6ca000	       276	rw-s       	none          	_BMediaRoster__1629_stack
	37186	0x7fd9ba4b5000	0x7fd9ba4fa000	       276	rw-s       	none          	pthread func_1623_stack
	36831	0x7fe7692f4000	0x7fe7692fc000	        32	r-xSk      	full          	commpage
	37305	0x7febaac12000	0x7febaac57000	       276	rw-s       	none          	pthread func_1638_stack
	36829	0x7fefa46ef000	0x7fefa46f3000	        16	rw-k       	full          	user area
	38895	0x7ff9cc4ea000	0x7ff9cc52f000	       276	rw-s       	none          	w>Untitled_1655_stack

Protection Flags: r - read, w - write, x - execute, s - stack, o - overcommit, c - cloneable, S - shared, k - kernel

Semaphores:
	ID		Count	Last Holder	Name
	------------------------------------------------------------
	95000	    0	        810	some BBlockCache lock
	95005	    0	       1058	some BLocker
	95019	    0	       1633	token space
	95020	    0	       1060	AppServerLink_sLock
	95021	    0	       1655	BLooperList lock
	95022	    0	        810	GameSound device lock
	95023	    0	       1060	some BLocker
	95025	    0	       1059	some BLocker
	95026	    0	        797	Catalog
	95028	    0	        812	LocaleRosterData
	95048	    0	       1059	media theme lock
	95050	    0	       1060	port pool
	95063	    0	       1058	some BLocker
	95064	    0	       1058	BMediaRoster::Roster locker
	95066	    0	       1059	add-on manager
	95068	    0	        797	shared buffer list
	95069	    0	       1060	media plugin manager
	95071	    0	        797	Catalog
	95096	    0	        791	clipboard
	95108	    0	        810	AppLooperPort
	95110	    0	        812	BMessageQueue Lock
	95118	    0	        797	screen list
	95120	    0	       1049	width buffer
	95202	    0	        797	BMessageQueue Lock
	95220	    0	        810	BTimedEventQueue locker
	95224	    0	       1059	some BLocker
	95227	    0	       1060	_BMediaRoster_
	95228	    0	       1060	time source object manager
	95230	    0	       1059	dormant node manager locker
	95232	    0	       1060	BTimedEventQueue locker
	95241	    0	       1633	Untitled
	95242	    5	       1630	buffer reclaim sem
	95254	    0	       1058	BGLView draw lock
	95258	    0	       1060	BMessageQueue Lock
	95264	    0	        797	BGLView display lock
	95269	    0	        810	some BLocker
	95484	    0	        806	BGLView draw lock
	95485	    0	        805	some BLocker
	95673	    0	        797	info locker
	95694	    0	       1646	Untitled
	95701	    0	        810	offscreen bitmap
	95705	    0	       1060	BMessageQueue Lock
	95706	    0	       1060	BMessageQueue Lock
	95709	    0	       1060	offscreen bitmap
	95712	    0	       1059	tool tip manager
	95714	    0	        797	BMessageQueue Lock
	95718	    0	       1059	offscreen bitmap
	95728	    0	        805	BGLView display lock
	95731	    0	        806	info locker
	95736	    0	        791	BMessageQueue Lock
	95737	    0	        810	offscreen bitmap
	95741	    0	        810	BMessageQueue Lock
	98753	    0	        797	BMessageQueue Lock
	98754	    0	       1059	BGLView display lock
	98762	    0	       1049	BMessageQueue Lock
	98777	    0	       1655	Untitled
	98784	    0	       1049	offscreen bitmap
	98785	    0	        791	some BLocker
	98788	    0	       1060	BGLView draw lock
	98789	    0	       1059	info locker
	98791	    0	       1059	offscreen bitmap
	98800	    0	          0	BMessageQueue Lock
	98804	    0	       1058	BMessageQueue Lock
	98806	    0	       1659	Untitled
	98809	    0	       1058	some BLocker
	98814	    0	        791	BGLView draw lock
	98816	    0	       1058	info locker
	98818	    0	       1049	offscreen bitmap
	98819	    0	        791	BGLView display lock
	98821	    0	       1048	BMessageQueue Lock
	98828	    0	       1058	BMessageQueue Lock
	98830	    0	       1049	offscreen bitmap
1 Like

Compiled Blender4 (v4.2.3) for Haiku x64. Had to update a few python modules for python v3.11…

4 Likes

Is the shading part working fine ?
I have always a crash of the application on my side when reaching this part.

I don’t think the Haiku ticket is resolved yet. I saw your patch in the newer releases of Blender so I’ll review for Blender 4.3 once other things are confirmed…

Ok not sure which ticket it is but moving forward on that topic, I’ve more details on the line which is having the issue (at SDL level) :

Will continue to investigate if I have the time on this.

2024-12-17_23-34

2 Likes