#trinity-desktop < 2026/05/21 >
[01:51]micheleC has joined
[01:58]ceux: the WPE experiment is kind of interesting. essentially a kpart host, and then i have a separate wpe process that i talk back and forth between it - in this way i have a seperate glib loop that runs externally, and wpe manages its own process /threads/caching/etc
[01:58]ceux: unfortunately... its a little hokey so far.
[02:14]micheleC: @ceux: thanks for TDE/tdebase#740. Merged and added to R14.1.7
[02:14]tde-bot: [TGW][tdebase] #740 - add pin to above/below support for laptop style with icons
[02:14]tde-bot: https://mirror.git.trinitydesktop.org/gitea/TDE/tdebase/pulls/740
[02:15]micheleC: looking forward for more contributions from you :-) the window search one seems really useful
[03:04]ceux: good thank you micheleC for merging it.
[03:04]ceux: micheleC: hah... i am back on my game i took a long break from writing anything.
[03:05]ceux: micheleC: I would like some direction. should i do that change for the window search in tdelibs (so that kdesktop also would get it) or just into kicker with a subclass?
[03:14]micheleC: if it is something that can be used in multiple area, it seems tdelibs would be more appropriate?
[03:14]micheleC: I don't know the details of the code changes, but you can create a PR and we can review and feedback
[03:14]micheleC: I will try to find some time to look at TMix too next week
[03:21]micheleC has quit (Quit: Kopete 0.12.7 : http://trinitydesktop.org)
[03:22]ceux: its in tdelibs already, theres a class that manages the window list. right click on desktop can do it, and kicker too. so its in tdelibs for any app to use
[03:22]ceux: the concept is good for that list, i want to rewrite the code though.
[07:17]Fat-Zer has quit (Ping timeout: 244 seconds)
[07:31]Fat-Zer has joined
[09:20]SlavekB has quit (Quit: Kopete 0.12.7 : http://trinitydesktop.org)
[10:13]SlavekB has joined
[10:20]nortti: < ceux> Fat-Zer: however, tmix does have a rudimentary ALSA and OSS backend. ← how does it pick the backend to use? on my system (arch + tde) I run pipewire without the pulseaudio compatibility shim, and tmix appears to not be falling back to alsa
[10:54]pitriss` has joined
[10:55]pitriss has quit (Ping timeout: 252 seconds)
[10:55]pitriss` is now known as pitriss
[12:22]ceux: nortti: you run pipewire without pulse support?
[12:23]ceux: interesting
[12:23]ceux: do you think a pipewire backend is relevant
[12:23]ceux: or would most people support that shim
[12:23]ceux: nortti: just pick it out from the settings, i dont think i did autodetect
[13:09]a-865 has quit (Ping timeout: 245 seconds)
[13:12]pitriss: ceux: pipewire is spreading, I hit the wall with official spotify client suddenly demanding pipewire support.. I don't like it, I personally do not like pulseaudio also.. all of these are unnecessary layers adding latency and not working in a deterministic way.. I see, It is my grudge against these things and out of scope TDE.. just my personal rant about overcomplication of sound system..
[13:12]pitriss: linux already been there with OSS/Alsa, now it is even worse.
[13:15]pitriss: (one example for all of no deterministic behavior.. pavucontrol.. setting sound source volume to some level, in my case over 100% which is supported.. every song change it resets, i tried to make it to just store the level i set up there for 2 weeks, I failed spectacularly..)
[13:19]pitriss: IMO system should obey user settings.. resetting to any default without reason (songchange is not a reason)
[13:19]pitriss: is plain stupid.. But yeah I need to have pulse because web browsers depends on it
[13:21]bleb has quit (Ping timeout: 244 seconds)
[13:21]denk: please do not remove oss backend, keep in mind that linux is one of _many_ platforms where it should work
[13:25]bleb has joined
[13:28]a-865 has joined
[13:28]pitriss: yes, agree denk.. :) Linux is not only platfform here.. :)
[13:31]denk: btw, just write with #ifdef - #endif some platform specific code
[13:31]denk: #ifdef __linux__ some_linux_code(); #else #error not implemented for your platform #endif
[13:33]denk: when I see the error message I just add a new section for my platform
[14:00]ceux: denk: it has an OSS backend.
[14:00]ceux: oss is very simple to implement
[14:00]ceux: alsa less so
[14:01]ceux: both have fairly limited feature sets
[14:01]denk: add sun audio for me :)
[14:01]ceux: pitriss: i dont really care anymore i guess. Software mixers arent a new idea (see arts, jackd, etc).
[14:01]ceux: no i wont do that.
[14:01]ceux: can you test it?
[14:01]ceux: i saw that in kmix, i have zero way to test or write it so
[14:01]ceux: what system supports that?
[14:02]denk: ETOOMANYQUESTIONSATONCE :)
[14:02]ceux: ok sec
[14:02]ceux: 1. who supports sun and can test it?
[14:03]denk: illumos/solaris
[14:03]ceux: 2. i thought pipewire had a pulseaudio shim so for example, pavucontrol, tmix would do it.
[14:03]ceux: denk: ok so any of the illumos line, i guess smartos (is that still around)
[14:03]ceux: does TDE support illumos?
[14:03]ceux: I used that in production for some years. very good software.
[14:03]denk: I ported it partially
[14:03]ceux: denk: im not removing anything, its new software
[14:03]ceux: i wrote it selfishly, for me
[14:04]denk: but yes, I tested the sound on dilos
[14:04]ceux: but i did add pulse and and oss backend
[14:05]denk: if you have some doubts, add #warning instead of #error
[14:05]ceux: denk: i am open to patches but i have no way to test it.
[14:05]denk: something like untested
[14:05]ceux: and i dont have a way - and i could be wrong - but a VM isnt a good way to test audio
[14:06]denk: I can test but not now
[14:07]denk: in some time
[14:07]ceux: you'd have to write it
[14:08]denk: are you ready to compile it with -Wall -Wextra -Werror?
[14:08]denk: ceux: I also will compile it on sparc
[14:13]ceux: denk: well let me try that. I juse used the TDE flags and forgot about good ol' Wall
[14:13]ceux: though i thought it would be included by default.
[14:13]denk: ceux: https://apt.tambov.ru/tde/dilos_14.1.0.png my previous work
[14:15]ceux: i would not recommend searchind dilos at work
[14:15]ceux: it autocorrected me to the best adult toys on line
[14:16]ceux: ok so its a illumos build + apt/ kinda cool
[14:16]ceux: i thought it kind of stalled when brian cantrell went and did something new after the samsung buyout
[14:17]denk: it is a separated illumos based project
[14:17]ceux: yeah cool.
[14:17]ceux: well it built fine there was like one changei had to make
[14:18]ceux: i almost feel like -Wdeprecated-copy is not relevant with Qt, or that is, more likely to get flaged.
[14:18]denk: just add #error for my code please
[14:18]ceux: i dont know what you mean denk sorry, add what?
[14:19]denk: #ifdef - #else #error ... #endif
[14:19]ceux: where?
[14:19]denk: in platform specific locations
[14:19]ceux: i only tested it on linux i am sorry. i am sure there could be problems
[14:20]denk: in a vm you can try to compile it
[14:20]denk: it will be first step in testing
[14:22]denk: ceux: https://apt.tambov.ru/tde/sparc.png sparc!
[14:23]denk: but it was long time ago
[14:24]ceux: right
[14:25]ceux: so of the .001% of the world who uses open source as a desktop and .01% of those users who use trinity .01% of them are running sparc or illumos
[14:25]ceux: that is to say denk, i am not sure anyone needs tmix for sparc or illumos or sun. kmix would work fine and tmix provices them nothingextra.
[14:35]denk: ceux: just make the compilation possible, nothing else
[14:36]ceux: can you give it a go and see if it compiles?
[14:36]denk: not now, but in some time
[14:41]ceux: ok thanks, let me know how it goes.
[15:02]magnus_6 has joined
[16:14]nortti: < ceux> do you think a pipewire backend is relevant < ceux> or would most people support that shim ← I think just supporting the shim is reasonable, especially since tmix's ALSA backend is usable (just like kmix's). I might contribute a native pipewire back end at some point, but for now I don't feel it to be essential
[16:15]ceux: the only reason i would do it is if i think tmix needs to do more than that is say, to do something pulse cannot do but pipewire can.
[16:15]ceux: I know pipewire has jackd like facilities - if there was something pipewire would enable that is something that needs to be part of the mixer, it makes sense, but i dont know of any
[16:15]ceux: nortti: how do you find tmix to use?
[16:36]magnus_6 has quit (Quit: Konversation terminated!)
[16:45]denk: ceux: https://privatebin.net/?94178d2550aed03a#4UGnHUbcb6YeDKVcvd17tVEdYFQ98Ys8qXMZHDi35vwQ (my desktop)
[16:45]ceux: yeah its a flag issue
[16:45]ceux: Unknown warning option '-Wno-nonnull-compare'
[16:46]denk: just for info
[16:46]ceux: i dont know what the toolchain is. stupid wall bitches about nonnull compares but its somthing i dont care about.
[16:46]ceux: ack, you can drop it from the cmake list on line 13
[16:46]denk: ok, let's remove it
[16:46]ceux: sure. need me to push?
[16:46]ceux: but i have to drop Werr probably.
[16:47]ceux: sec
[16:48]denk: huh, I need to update the packages
[16:48]denk: tmix/src/main.cpp:1:10: fatal error: 'kuniqueapplication.h' file not found
[16:49]denk: ok, maybe later
[16:49]ceux: change to tuniqueapplication.h
[16:49]ceux: thats it
[16:49]ceux: i built this against my system which on the last stable release. it has been renamed to tuniqueapplication
[16:49]ceux: pushed to fix the Werr
[16:52]denk: ceux: https://privatebin.net/?f441144720190625#FRhaimnq4Bkk4xzrXgqLwjWjTtPgBWsoysPJakgQnphZ
[16:53]denk: porting process, as usually :)
[16:53]ceux: yeah. i think the werr is not gonig to work . i dont control the headers or defs ya know
[16:54]ceux: regarding the undeclared qt... hm and also i think kstandarddirs may have been changed to tstandarddirs could be wrong.
[16:54]denk: I partially fixed such errors in tqt, the patches integrated into the main tree
[16:55]denk: but I did not fix yet other source code
[16:56]ceux: k, the Qt stuff is fixed ( pushed to the oss branch, i assume thats what you're testing on?)
[16:57]ceux: thats just qt->tqt.
[16:58]denk: I tried to compile it as I said it
[16:58]ceux: any luck?
[16:58]denk: at this moment nothing else
[16:58]denk: no luck, need more work
[16:58]denk: I expected it :)
[16:59]denk: penguins' world should be fixed! :)
[16:59]ceux: what else do you have
[17:07]denk: ceux: what's the hell?
[17:07]denk: /home/denis/projects/trinity/main/ceux/tmix/src/ui/tmixtray.cpp:114:78: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion]
[17:07]denk: 114 | m_popup = new TmixPopup( m_model, showOutput, showMic, showApps, this );
[17:07]denk: | ~~~~~~~~~ ^~~~
[17:07]ceux: same complaint i got.
[17:08]denk: how many arguments do the constructor have?
[17:08]ceux: thats why i had -no-warn-nonnull
[17:08]denk: 6!
[17:08]denk: how many did you pass?
[17:08]denk: 5!
[17:08]denk: TmixPopup( PulseModel *model,
[17:08]denk: bool showOutput, bool showMic, bool showApps,
[17:08]denk: bool showRecording = false,
[17:08]denk: TQWidget *parent = 0 );
[17:09]denk: ok, that is why I told about porting process, it's ok
[17:09]denk: just fix it please
[17:09]ceux: ah its not .... sec
[17:12]ceux: pushed.
[17:12]denk: I am too lazy today to continue it, sorry
[17:12]ceux: oke doke
[17:13]denk: just add -W -Wall -Wextra -Werror and run make -k
[17:14]denk: and try to fix most of the errors
[17:15]ceux: works perfectly here.
[17:18]denk: /home/denis/projects/trinity/main/ceux/tmix/src/ui/tmixtray.cpp:33:10: fatal error: 'kstandarddirs.h' file not found
[17:18]denk: 33 | #include <kstandarddirs.h>
[17:18]denk: /home/denis/projects/trinity/main/ceux/tmix/src/ui/devicespage.cpp:92:34: error: use of undeclared identifier 'Qt'
[17:18]denk: 92 | grp->setColumnLayout( 0, Qt::Vertical );
[17:18]ceux: what commit are you on?
[17:18]denk: TQt:
[17:18]denk: master
[17:18]ceux: whats your remote?
[17:19]denk: b30b234afa3ec18156e432b9f2a7ad2ca80cc672 is the latest commit I see
[17:19]denk: url = gitea@mirror.git.trinitydesktop.org:ceux/tmix.git remote url
[17:20]ceux: are you looking to test on OSS?
[17:21]denk: I don't know git at all :)
[17:21]denk: I can break it all
[17:21]ceux: its ok. you're on BSD right? so that is OSS
[17:21]denk: yeah, bsd uses oss
[17:21]ceux: ok use the oss branch.
[17:22]ceux: git checkout and-the-oss-you-rode-in-on
[17:24]denk: /home/denis/projects/trinity/main/ceux/tmix/src/ui/devicespage.cpp:92:34: error: use of undeclared identifier 'Qt'
[17:24]denk: 92 | grp->setColumnLayout( 0, Qt::Vertical );
[17:24]denk: /home/denis/projects/trinity/main/ceux/tmix/src/ui/tmixtray.cpp:33:10: fatal error: 'kstandarddirs.h' file not found
[17:24]denk: 33 | #include <kstandarddirs.h>
[17:24]denk: oss branch
[17:26]ceux: you should you should be on commit 4c5ab2, which should only have one error, kstandarddirs.h which you cn fix by changing to tstandarddirs
[17:26]tde-bot: Commit History
[17:26]tde-bot: https://www.trinitydesktop.org/patches/
[17:27]denk: I built it
[17:27]ceux: wowza, how's it work
[17:29]denk: https://apt.tambov.ru/tde/tmix.png
[17:30]ceux: hah pretty much
[17:30]ceux: doesnt do much on OSS.
[17:31]ceux: would be interested to see if it works with pulse on BSD.
[17:31]ceux: does it work at all ? i only tested with the fake OSS simulator from alsa.
[17:32]denk: https://apt.tambov.ru/tde/tmix2.png
[17:32]ceux: looks good so far...
[17:32]ceux: so you have an ATI card with audio and a Realtek builtin?
[17:33]denk: asus% cat /dev/sndstat
[17:33]denk: Installed devices:
[17:33]denk: pcm0: <ATI R6xx (HDMI)> (play)
[17:33]denk: pcm1: <Realtek ALC256 (Analog 2.0+HP/2.0)> (play/rec) default
[17:33]denk: No devices installed from userspace.
[17:36]denk: ceux: https://privatebin.net/?20bd716fd8026b75#31kNgmCYyKHDf8LTgVbZW654ZcX9NBfwb81jZXK1SRjP ldd
[17:37]ceux: right?
[17:37]denk: maybe
[17:37]ceux: what
[17:37]ceux: is it pulling in something would arent expecting
[17:37]denk: too many libraries for one mixer app
[17:38]ceux: ok i mean
[17:39]ceux: is readelf on bsd?
[17:39]denk: yes, we have it too
[17:40]ceux: we depend on tqt, tdecore, tdeui, DCOP, pulse, stdc, math lib , libc
[17:40]ceux: everything else is then pulled in externally from those.
[17:40]ceux: readelfreadelf -d build/src/tmix | grep NEEDED | wc -l
[17:40]ceux: 9
[17:41]denk: https://privatebin.net/?ada90231ab322284#6exuJzG4JZMkYyTiK9zd9VMH1ZwzzuVs4UKmW4h2az8o
[17:41]tde-bot: Page title: PrivateBin
[17:41]denk: just -d
[17:42]bleb has quit (*.net *.split)
[17:43]bleb has joined
[17:44]ceux: denk: right. that looks right to me
[17:44]ceux: so the extra -stuff- is coming from pulse or other things.
[17:44]ceux: pulse + glib then probably it all goes to shit lol
[17:45]denk: let's stop at this point, there is too many specific info for the general channel
[17:45]denk: ppl, sorry for the spam
[17:46]ceux: lol its just working, thats what channels are for.
[17:46]ceux: denk: just build without pulse.
[17:46]ceux: that means, i should need some oway to do it. sec.
[17:48]ceux: [and-the-oss-you-rode-in-on d987684] add options for Cmake to which audio libraries to build
[17:48]ceux: denk: try it again after pulling with cmake -DTMIX_WITH_PULSE=OFF
[17:48]ceux: that'll prevent that stuff from even being built.
[17:49]denk: ceux: maybe next time if I will be not so busy
[17:49]ceux: ok cya!
[17:49]ceux: whenever you get a chance we can keep it going.
[17:50]ceux: appreciate the help
[17:59]a-865 has quit (Ping timeout: 245 seconds)
[18:18]a-865 has joined
[19:33]SlavekB has quit (Quit: TDE Kopete : https://trinitydesktop.org)
[22:30]SlavekB has joined
[22:57]ccx has quit (Ping timeout: 252 seconds)
[23:04]ccx has joined

#trinity-desktop < 2026/05/21 >