ChanServ changed the topic of #haiku to: Open-source operating system that specifically targets personal computing. | https://haiku-os.org | Nightlies: https://download.haiku-os.org | Bugtracker: https://dev.haiku-os.org | SCM: https://git.haiku-os.org/ | Logs: https://oftc.irclog.whitequark.org/haiku | Matrix: #haiku:matrix.org | XMPP: #haiku%irc.oftc.net@irc.jabberfr.org
x10z has joined #haiku
x10z has quit [Ping timeout: 480 seconds]
x10z has joined #haiku
mmu_man has quit [Ping timeout: 480 seconds]
x10z has quit [Ping timeout: 480 seconds]
_Dario_ has quit [Quit: Vision[]: i've been blurred!]
AlienSoldier has quit [Quit: Vision[]: i've been blurred!]
x10z has joined #haiku
linearcannon has joined #haiku
ClaudioM has quit [Quit: leaving]
diver1 has joined #haiku
Diver is now known as Guest880
Guest880 has quit [Read error: Connection reset by peer]
diver1 is now known as Diver
eroux has joined #haiku
eroux has quit []
eroux has joined #haiku
kikadf has joined #haiku
Guest3 has quit [Ping timeout: 480 seconds]
ablyss has joined #haiku
x10z has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
x10z has joined #haiku
vdamewood has quit [Read error: Connection reset by peer]
vdamewood has joined #haiku
vdamewood has quit [Read error: Connection reset by peer]
vdamewood has joined #haiku
HaikuUser has joined #haiku
HaikuUser has quit []
Begasus has joined #haiku
<Begasus> g'morning peeps
vdamewood has quit [Read error: Connection reset by peer]
vdamewood_ has joined #haiku
Atomozero has joined #haiku
x10z has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
vdamewood_ has quit [Read error: Connection reset by peer]
vdamewood has joined #haiku
vdamewood_ has joined #haiku
vdamewood has quit [Ping timeout: 480 seconds]
<netpositive> morning
vdamewood_ is now known as vdamewood
<Begasus> morning netpositive
Begasus_32 has joined #haiku
<Begasus_32> ~> pkg-config-x86 tk --libs
<Begasus_32> -L/packages/tk_x86-8.6.10-1/.self/develop/lib/x86 -L/packages/tcl_x86-8.6.12-1/.self/develop/lib/x86 -lsdl2tk8.6 -lsdl2tkstub8.6 -ltcl8.6 -ltclstub8.6
<Begasus> that doesn't look right, no libsdl2tk .. it should be libtk ...
xet7 has quit [Quit: Leaving]
<Begasus_32> -L/packages/tk_x86-8.6.10-1/.self/develop/lib/x86 -L/packages/tcl_x86-8.6.12-1/.self/develop/lib/x86 -ltk8.6 -ltkstub8.6 -ltcl8.6 -ltclstub8.6
<Begasus> better :)
MajorBiscuit has joined #haiku
Atomozero has quit [Quit: Vision[]: i've been blurred!]
xet7 has joined #haiku
<Begasus> bugger, now python310 wants x11
mmu_man has joined #haiku
eroux has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
mmu_man has quit [Ping timeout: 480 seconds]
eroux has joined #haiku
tuaris has quit [Read error: Connection reset by peer]
diver1 has joined #haiku
Diver is now known as Guest906
diver1 is now known as Diver
Guest906 has quit [Ping timeout: 480 seconds]
MajorBiscuit has quit [Quit: WeeChat 3.4]
MajorBiscuit has joined #haiku
eroux has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
AlaskanEmily has quit [Remote host closed the connection]
vdamewood has quit [Read error: Connection reset by peer]
vdamewood has joined #haiku
eroux has joined #haiku
<nekobot> [haiku/haiku] pulkomandy pushed 2 commits to master [hrev56114] - https://git.haiku-os.org/haiku/log/?qt=range&q=088321c11900+%5E514c42d7408d
<nekobot> [haiku/haiku] a25542e7ef4b - arm64: MMU WIP.
<nekobot> [haiku/haiku] 088321c11900 - arm64: Fix typos in arm_registers, add define for nGnRE.
rennj has quit [Ping timeout: 480 seconds]
DKnoto has quit [Ping timeout: 480 seconds]
DKnoto has joined #haiku
rennj has joined #haiku
<Begasus> by george, I think I got it ... ;)
mmu_man has joined #haiku
augiedoggie_ has joined #haiku
augiedoggie has quit [Ping timeout: 480 seconds]
vdamewood has quit [Remote host closed the connection]
vdamewood has joined #haiku
mmu_man has quit [Ping timeout: 480 seconds]
diver1 has joined #haiku
Diver is now known as Guest911
diver1 is now known as Diver
Guest911 has quit [Ping timeout: 480 seconds]
<Begasus> Thanks Diver for closing some there (been tackling other fishes atm) :)
Diver has quit [Ping timeout: 480 seconds]
<Begasus_32> gcc -shared -D_BSD_SOURCE build/temp.haiku-1-BePC-3.10/sources/Python-3.10.2/Modules/_tkinter.o build/temp.haiku-1-BePC-3.10/sources/Python-3.10.2/Modules/tkappinit.o -L. -o build/lib.haiku-1-BePC-3.10/_tkinter.cpython-310.so -L/packages/tk_x86-8.6.10-1/.self/develop/lib/x86 -L/packages/tcl_x86-8.6.12-1/.self/develop/lib/x86 -ltk8.6 -ltkstub8.6 -ltcl8.6 -ltclstub8.6
mmu_man has joined #haiku
<Begasus> looking good now :)
Diver has joined #haiku
MajorBiscuit has quit [Ping timeout: 480 seconds]
MajorBiscuit has joined #haiku
MajorBiscuit has quit []
selfish- has quit [Ping timeout: 480 seconds]
_3dEyes has joined #haiku
B2IA has quit [Quit: Vision[]: i've been blurred!]
B2IA has joined #haiku
<ermo[m]> so, for the sake of argument: is there a recommended rootfs strategy for A/B system paritions (one "stable" and one "experimental") but with a shared $HOME and swap?
<ermo[m]> s/paritions/partitions/
<ermo[m]> And would that approach work when using the haiku boot manager?
<ermo[m]> the context is that I have a single 120GB SSD that I'd like to use for both stable DailyDriver usage + be able to compile + deploy nightly w/patches images to the experimental partition and try to boot into that
<ermo[m]> (rather than doing VM smoke-testing)
<ermo[m]> I suppose it might be wiser to have just two partitions where the A partition contains both stable system and home (+swap?) and the B partition is its own thing, which is quick-formatted prior to each deployment
<ermo[m]> Hm. Decisions, decisions.
<ermo[m]> pointers welcome
<Begasus> ermo[m], I dual boot my external drive with 32bit/64bit, HOME is on each install, what I 'do' is added a seperate partition which contains the sources for haikuports, not sure if that is what you have in mind
<Begasus> I don't think you can have a common "home"
<ermo[m]> The goal is to have a self-contained DD (which is used for building haiku) + a separate partition hosting the experimental (-march=native) builds I make, possibly including patches
<ermo[m]> that I can then test and post for review and inclusion
<ermo[m]> normally, you'd probably do that with a VM, but the box I'm dedicating to it is an older one with not a lot of RAM (8 GiB)
<ermo[m]> and I'd like the option to physically boot into the experimental nightly image and do perf-tests relative to the non-native baseline
<ermo[m]> * experimental (-march=native) haiku builds I
HaikuUser has joined #haiku
HaikuUser has quit []
diver1 has joined #haiku
Diver is now known as Guest922
diver1 is now known as Diver
Guest922 has quit [Ping timeout: 480 seconds]
_3dEyes has quit [Quit: Konversation terminated!]
_3dEyes has joined #haiku
_3dEyes has quit []
_3dEyes has joined #haiku
Anarchos has joined #haiku
<Anarchos> i want to use a local variable whose type is the class 'Signature' , but it conflicts with the Signature method of a BApplication.
Hakuchi has left #haiku [#haiku]
<Begasus> I want to enable the _tkinter module in python, but so far only python310 seems to pick it up ;)
_3dEyes has quit [Quit: Konversation terminated!]
<Not-d5e4> [haikuports/haikuports] threedeyes pushed 1 commit to master [+3/-0/±0] https://github.com/haikuports/haikuports/compare/337a2a14cf30...9d87ed853fd2
<Not-d5e4> [haikuports/haikuports] threedeyes 9d87ed8 - Konversation: add recipe
<ermo[m]> Anarchos: is it an option to define a local scopy type alias? Like `using _Signature = <full path to declaration of the not BApplication Signature type>` ?
<ermo[m]> s/scopy/scope
<ermo[m]> `using` type aliasing has been legal since C++11 (and Haiku appears to be on C++14)
<ermo[m]> Not a c++ programmer, so don't yell at me if I got it wrong =)
vdamewood has quit [Remote host closed the connection]
<Not-d5e4> [haikuports/haikuports] korli pushed 1 commit to master [+0/-0/±1] https://github.com/haikuports/haikuports/compare/9d87ed853fd2...0444679b027b
<Not-d5e4> [haikuports/haikuports] korli 0444679 - be_book: unpack directly
vdamewood has joined #haiku
mmu_man has quit [Ping timeout: 480 seconds]
Jupp_S has joined #haiku
mmu_man has joined #haiku
Jupp_S has quit [Remote host closed the connection]
ablyss has quit [Quit: Konversation terminated!]
aeryndunham has joined #haiku
x10z has joined #haiku
<Anarchos> ermo[m] i found : i must use 'class Signature' instead of 'Signature'
_Dario_ has joined #haiku
Anarchos has quit [Quit: Vision[]: i've been blurred!]
bbjimmy has quit [Quit: Vision[]: i've been blurred!]
bbjimmy has joined #haiku
mmu_man has quit [Ping timeout: 480 seconds]
mmu_man has joined #haiku
tuaris has joined #haiku
Begasus_32 has quit [Quit: Vision[]: i've been blurred!]
x10z has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<nephele> ermo: A/B system is completely uneccesary for haiku
<nephele> The bootloader boots the system by picking a list of packages to be activated... you can select which list that is in the bootloader
<nephele> so you can have as many sets as you want really, normally this is "just" the updated states anyhow
<nephele> Also, why are you using march=native ? It should not be neccesary...
<Begasus> heading down here, out to dogschool, cu peeps!
Begasus has quit [Quit: Leaving]
<nephele> noto emoji could do with an update for unicode 14.. dunno if the non-color version changed though
mmu_man has quit [Ping timeout: 480 seconds]
x10z has joined #haiku
<nekobot> [haiku/haiku] waddlesplash pushed 1 commit to master [hrev56115] - https://git.haiku-os.org/haiku/log/?qt=range&q=071f4aad57c7+%5E088321c11900
<nekobot> [haiku/haiku] 071f4aad57c7 - kernel/user_debugger: Show the thread name in addition to the id
mmu_man has joined #haiku
<ermo[m]> <nephele> "Also, why are you using march=..." <- Because I want to.
<nephele> Yeah, i don't see what you want to acomplish with that, which is why i asked
<ermo[m]> full usage of the native CPU in essence.
<ermo[m]> 5-10% performance increases are commonplace (but 0% happens too)
<ermo[m]> All x86_64 software is compiled to a "compatibility profile" in essence.
<ermo[m]> Yes, sometimes you get SSE for specific code sections in multimedia code
<ermo[m]> But the basic instruction set beyond x86_64 baseline is typically not used unless you compile for -march=native
<nephele> did you disable debug mode?
<nephele> that will give you much more "more speed"
<ermo[m]> Ideally, I'd want to retain (the equivalent to) -g symbols, but I'd prefer it if it were possible to strip binaries, but keep the debug symbols around and load them separately if possible.
<ermo[m]> (this is a very commonplace pattern in linux-land these days)
<ermo[m]> but it typically implies having a separate debug-symbol storage area
<ermo[m]> (which can be either local or remote/on-demand)
<ermo[m]> ... all of which I'm sure you're already very familiar with of course
<nephele> Why strip them if you ship them anyway? it doesnt save any space
<nephele> (which is why linux is stripping binaries in the first place)
JakeSays has quit [Ping timeout: 480 seconds]
<nephele> I am already struggeling to compile all of haiku /with/ debug symbols... some stuff doesn't get them when enabled with Debug, and sadly the Debugger does not know about syscalls either so will always show them as assembly (while our strace /does/ know and correctly shows which syscalls are called)
euandreh has quit [Remote host closed the connection]
<ermo[m]> nephele: Runtime wins vs. Debugging ability
euandreh has joined #haiku
<ermo[m]> if they aren't loaded except when you fire up the debugger, you win
<ermo[m]> (theoretically)
<nephele> It might be neat if for release we indeed could strip binaries, and later on with the (then incomplete reports) and debug files reconstruct the complete reports
<nephele> since users usually only save reports and cant do anything with them even if they are full that would give us some disk space saving for users who dont know what debug symbols are anyway
<ermo[m]> linux has debuginfod
<ermo[m]> perhaps haiku could use something akin to that?
<ermo[m]> either download all debug symbols (install time opt-in toggle)
<nephele> Don't know what it does, but i would imagine any server stuff for debug symbols would be in debug_server
<ermo[m]> XOR download on demand when debugging is required
<nephele> That seems too complicated honestly, we already have _debuginfo packages for haikuports packages
<ermo[m]> devs and packagers could use the first, normal users the second?
<nephele> just iirc not for haiku
<nephele> (the haiku.hpkg itself i mean)
<nephele> the Debugger will also prompt you to install debuginfo packages for packages if it can figure out which are required, that seems kind of what you want?
<nephele> I mean, for runtime debugging this seems set, i am more talking about the case of users generating a report and that we should be able to make a more complete report out of it with debug symbols later :)
<nephele> ermo: oh by the way, i did not mean debug symbols with "turn off debug" i was talking about compiling the system /in debug mode/, that is there is more protections enabled on nightlies and such to quicker catch bugs, but those loose some speed, those are behind a kernel debug var iirc
<nephele> not sure what it is named exactly
<waddlesplash> ermo[m]: SSE2 is already enabled by default for x86_64 in all compilers
<waddlesplash> so, -march=native won't provide you with anything more on that front
<nephele> Doesn't amd64 include SSE2 always anyway?
<waddlesplash> yes.
jmairboeck has joined #haiku
<Not-d5e4> [haikuports/haikuports] korli pushed 1 commit to master [+2/-2/±0] https://github.com/haikuports/haikuports/compare/0444679b027b...67ae6e9556cd
<Not-d5e4> [haikuports/haikuports] korli 67ae6e9 - grpc: bump version
<ermo[m]> waddlesplash: I was thinking of SSE3 SSSE3 SSE4.x
<waddlesplash> not sure how much compilers really make use of those in general optimizations
<ermo[m]> and some of the extra instructions for comparisons etc
<ermo[m]> I used to run a -march=native linux system for comparison. In e.g. blender rendering, the difference between plain x86_64 and native was 12% in favour of -march=native
<ermo[m]> (consistently)
<nephele> Haiku tries to use faster code paths when available by auto detecting cpu features in places
<nephele> probably not everywhere, but still... That can even be faster than letting the compiler do blind optimization
<ermo[m]> and when I say -march=native, I mean from the kernel over libc to all userland
<Not-d5e4> [haikuports/haikuports] korli pushed 1 commit to master [+0/-0/±1] https://github.com/haikuports/haikuports/compare/67ae6e9556cd...193444bb9b44
<Not-d5e4> [haikuports/haikuports] korli 193444b - grpc: fix checksum
<ermo[m]> Even plain phenom II (K10) has extra instructions that can yield performance gains if the the compiler emits them in assembly
<ermo[m]> beyond the k8-based SSE2 etc. baseline x86_64(-v1)
<ermo[m]> anyway, that said, the only thing that is really reliable is measurable gains
<ermo[m]> so it's not that I'm trying to be intransigent
<ermo[m]> I've just seen benefits first hand
<ermo[m]> (not in Haiku yet obviously, as I only starting bulding stuff last night)
<ermo[m]> *started
<nephele> Haiku will never be compiled with march native, so for performance measurements that is probably not that usefull a metric
<ermo[m]> if I run my own compiled version, it is to me
<nephele> If you want it faster you can already make it much faster by disabling the debug that is deliberately turned on and makes the system slower, for releases the debug is relaxed a bit anyhow
<ermo[m]> but I understand your point in the general case obviously
<nephele> Yeah, it might be interesting to figure out if there are hot paths that get a major improvement, in that case one could write a patch that makes use of auto detected features for such a path
<ermo[m]> of course =)
<ermo[m]> greater good and all that
<nephele> Yeah, it's nice that Haiku users in general are not assumed to have to compile their system themselves ;)
<nephele> I do compile my system though, mainly severall hacks and some WIP patches for dark mode...
<nephele> and of course debug output for libnetservices
<ermo[m]> I'm half of a mind to propose a switch for the toolchain (i.e. similar to using -pipe via a switch for the toolchain ./configure run)
<ermo[m]> but it'd depend on doing a couple of runs to see if it actually decreases compilation times.
<ermo[m]> otherwise, it's just cargo cult on my part
<nephele> You only need to compile the buildtools once
<nephele> The normal build of haiku will skip parts that don't need to be recompiled if possible (doesn't work perfectly, sometimes it does do useless work, but generally)
Vitto has quit [Quit: Vitto]
Vitto has joined #haiku
Vitto has quit []
Vitto has joined #haiku
Vitto has quit []
wicknix has joined #haiku
w1ckn1x has quit [Ping timeout: 480 seconds]
JakeSays has joined #haiku
tqh has joined #haiku
x10z has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
eroux has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
mmu_man has quit [Ping timeout: 480 seconds]
<nekobot> [haiku/haiku] korli pushed 1 commit to master [hrev56116] - https://git.haiku-os.org/haiku/log/?qt=range&q=c35e9b906ac4+%5E071f4aad57c7
<nekobot> [haiku/haiku] c35e9b906ac4 - ScreenMode: add some manufacturers
mmu_man has joined #haiku
x10z has joined #haiku
lorglas has joined #haiku
augiedoggie_ has quit [Ping timeout: 480 seconds]
X512 has joined #haiku
vdamewood has quit [Read error: Connection reset by peer]
x10z has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
vdamewood has joined #haiku
augiedoggie has joined #haiku
Diver has quit [Quit: Leaving.]
kescher has quit [Quit: Bye]
kescher has joined #haiku
lorglas has quit [Quit: Vision[]: i've been blurred!]
x10z has joined #haiku
x10z has quit []
jmairboeck has quit [Quit: Konversation terminated!]
B2IA has quit [Quit: Vision[]: i've been blurred!]
B2IA has joined #haiku
vdamewood has quit [Read error: Connection reset by peer]
vdamewood_ has joined #haiku
Atomozero has joined #haiku
Atomozero has quit []
Atomozero has joined #haiku
vdamewood_ has quit [Read error: Connection reset by peer]
vdamewood has joined #haiku
Atomozero has quit [Quit: Vision[]: i've been blurred!]
tqh has quit [Quit: Leaving]
vdamewood has quit [Read error: Connection reset by peer]
vdamewood has joined #haiku
AlaskanEmily has joined #haiku
DKnoto has quit [Ping timeout: 480 seconds]
JakeSays1 has joined #haiku
JakeSays has quit [Ping timeout: 480 seconds]
x10z has joined #haiku
HaikuUser has joined #haiku
<HaikuUser> trying to create an application and display an image with the haiku api, looked at the showimage code but it's extremely large and complex. i can't figure it out, what do i need to do to load an image file (arbitrary format) and convert it/load it into a BBitmap?
Diver has joined #haiku
DKnoto has joined #haiku
X512 has quit [Quit: Vision[]: i've been blurred!]
x10z has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<jadedctrl> HaikuUser: you can use BTranslationUtils to load a file into a BBitmap
x10z has joined #haiku
<rennj> Lesson 19: Resources and Pictures
<jadedctrl> can't find it in the haikubook, but BTranslationUtils::GetBitmap(entry_ref*)
<rennj> heh classes methods functions bah.. .cpp
<rennj> the old bebook probably has good info, or beos porting unix application to beos
<rennj> / Load up all our pictures using a loop. There are 5 different versions of
<rennj> / program resources.
<rennj> / BTranslationUtils::GetBitmap. This is one of two which load images from
<rennj> for (int8 i = 1; i <= 5; i++)
<rennj> {
<rennj> BBitmap *smiley = BTranslationUtils::GetBitmap(B_PNG_FORMAT,i);
<rennj> fBitmaps[i - 1] = (smiley && smiley->IsValid()) ? smiley : NULL;
<rennj> }
<rennj> check that lesson 19 out i suppose..has the info your looking for..
<HaikuUser> thanks!
_Dario_ has quit [Quit: Vision[]: i've been blurred!]
vdamewood has quit [Read error: Connection reset by peer]
vdamewood_ has joined #haiku
<BlueSky71> HaikuUser: In addition to what was already posted, you can find the documentation for BTranslationUtils here: https://www.haiku-os.org/legacy-docs/bebook/BTranslationUtils.html .And you can see the whole picture loading and drawing stuff in this class from a game that I wrote a few years ago: https://github.com/andimachovec/ShakeIt/blob/master/src/letterview.cpp