The officially official Devuan Forum!

You are not logged in.

#326 Re: Off-topic » Revival of the Linux Framebuffer & DirectFB » 2022-12-15 04:06:22

Head_on_a_Stick wrote:

It's using both a compositor and a window manager...

Sure. Unless everything has changed since I last used it, there's no requirement to actually use those functions though.

Head_on_a_Stick wrote:

As I said, Wayland is simpler, more direct and more widely adopted with better support.

You can try and sell me on Wayland all you like, but until it does all the things X can do I really have very little use for it.

A simple framebuffer for the TTY? that I'll use, if infrequently. A rich networked display server for more complex GUI environments? cool.
Something in-between, whose primary targets appear to be "high refresh rate" (aka gaming woo) and better support for "devices"... Yeah, I don't really need that at all.

If Wayland was X+, I'd be keen. Right now it appears to be X- with a number of missing features, and were I to switch to it I'd end up running something in xwayland ~80% of the time anyway.
Why is replacing X with something that can't do all the things X can useful?

#327 Re: Off-topic » Revival of the Linux Framebuffer & DirectFB » 2022-12-14 04:17:01

Camtaf wrote:

Yes, if I remember right, you could play video with the likes of mplayer, & maybe have graphics in a text type web browser in a command line installation - it's been a long time since, but I'm pretty sure I used to watch videos.

I used to do this as well, and further back with svgalib... Both on hardware far too slow to play video from X, and with too little memory for a full DE.

With links and directfb, you can run a graphics capable web browser in a TTY as well... That means a browser capable of accessing the current-day internet for machines with <128MB RAM.
Now we just need, say, a i386 Debian/Devuan "revival" as well. Perfectly Good Pentium deprecation stupidity and all that.

Head_on_a_Stick wrote:

why is running graphics from a console screen useful?

Because you can, windows are bloat, and who needs a window manager anyway when you have 12 TTYs?
Or maybe, because needing to run a full-blown WM and compositor on something with no use for windowing or a GUI (e.g. a "digital picture frame" type device or monitor for a video stream) just to get basic framebuffer video output is patently silly?

#328 Re: Desktop and Multimedia » [SOLVED] 340.108 nvidia driver, DKMS compilation failed on kernel 6.0.0.5 » 2022-12-02 13:35:27

Debian/Devuan unstable is not a rolling release like Arch, it it a playground for new packages before they move to testing. Unstable and testing are not subject to the same quality control as stable, they can and do break at any time, and they are categorically not recommended for inexperienced users.

Do you actually need a 6.x kernel? Unless you have a very good reason for running 6.x, you're only setting yourself up for problems - particularly when coupled with third-party trash like nvidia's proprietary driver, and even more so with a bunch of patches nobody else here would touch with a long stick piled on top as well.

Even my non-mission-critical-canary gentoo desktop is still running 5.15. Why you ask? Because unless you have bleeding-edge hardware, there's nothing whatsoever to be gained from a shiny-new-shit kernel except aggravation.

Ogis1975 wrote:

western media...

This again? Seriously? Please keep your political trolling out of support threads.

#329 Re: Hardware & System Configuration » DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval-many times » 2022-12-02 05:14:54

deepforest wrote:
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval

many times at booting and no network after booting

From a quick glance at that log file, it appears that dhcpcd is successfully obtaining a lease for 192.168.0.26 from a server at 192.168.0.1...
Then connman and networkmanager start fighting over the interface, killing each other's dhcpcd instances, and everything pretty much goes to hell.

Why exactly are you trying to use 3 different methods to configure your network all at the same time anyway? That's bound to cause chaos.

deepforest wrote:

PS how can i choose networking? from upper config file or NetworkManager?

Pick one method to configure networking.
IIRC networkmanager will leave interfaces configured in /etc/network/interfaces alone by default, so ifup and networkmanager should be able to coexist peacefully... At least in theory.
That would still be confusing though, if you want to use networkmanager and have the interface come up before anyone logs in, look for a "system connection" or "available to all users" option in your networkmanager frontend of choice.

Otherwise, get rid of networkmanager and connman (as well as any other random actors you didn't mention) and just use /etc/network/interfaces like the good-old-days before all this overcomplicated gui crap came along.

deepforest wrote:

why after that i have no network?

steve@damnation:~$ crystal-ball --query "what did he do?"
crystal-ball: command not found

Oops, guess I misplaced it. roll

#330 Re: Installation » Devuan: Existential issues. » 2022-12-01 04:16:09

I distinctly recall you stating that you were leaving...
Staying for a spot of trolling perhaps, or was that all just more melodrama in keeping with your OP?

#331 Re: Desktop and Multimedia » cant extract ccd and nrg images » 2022-11-29 04:18:49

deepforest wrote:

Its config, or script, wheris that settings?

Head_on_a_Stick wrote:
/sys/class/power_supply/BAT0/charge_start_threshold
/sys/class/power_supply/BAT0/charge_stop_threshold

Those are sysfs (virtual) files, and should be writable - either directly or with the sysctl utility. You could use something like rc.local or a crontab to write them on startup.
Alternatively, just install tlp. It has many useful features and the configuration file is well documented.

#332 Re: Desktop and Multimedia » What games do you play on Devuan?? » 2022-11-28 10:41:02

Head_on_a_Stick wrote:

Don't use deb.multimedia.org

A blanket "don't use" is a bit FUDish for me TBH. Like any 3rd party repository, the magnitude of the mess is largely dependent on what one installs and the sensibility of one's pinning.

Set up package priorities properly (i.e. everything but the specific packages you want pinned to -1) and there's no harm in installing a few things from deb-multimedia... As long as you avoid core media library replacements, they will most certainly make a mess.
Nothing a little apt-foo can't fix mind, but unless you really need, say, ffmpeg compiled with all the codecs possible, it's a situation best avoided.

Alternatively, simply installing the individual binary packages works fine as well, since they don't depend on anything else that isn't in the debian/devuan repos.

#333 Re: Desktop and Multimedia » cant extract ccd and nrg images » 2022-11-28 04:46:47

deepforest wrote:

Why is there still no permanent connection mechanism to AC for laptops without harming the battery?

As HoaS explained, there is. If you set the embedded controller to stop charging at some level less than 100% (and only start charging again at some threshold lower again), then it sill stop trying to "top up" the battery constantly.

#334 Re: Desktop and Multimedia » What games do you play on Devuan?? » 2022-11-28 04:16:44

deepforest wrote:

And why tracks starts from 2 not 1. First track is system meta data?

The first track is the iso9660 filesystem, in this case containing the game data files (it's just empty in the "music only" image).
Most games from the late 90's that included music used these mixed-mode discs, where the first track is mode 1 (CD-ROM) and the rest of the tracks are mode 0 (CD-DA) audio tracks. That way the music can be played by the drive's audio playback hardware without the CPU load of decoding, say, MP3 files.
If you put such a disk in a CD player it will actually try to play track 1 as audio... With somewhat unpleasant results. Your ripping software is smarter and will ignore it.

deepforest wrote:

On Windows all much easy. I now what software is better and what not.

It's the same on any OS, you learn what software you like by trying it out or by word-of-mouth. You find windows easier because you have more experience with it.

deepforest wrote:

This cdemu its a red-eyed bloody mess for me. Compile and installing  and run. Its all very difficult.

Well you did pick the hard way, compiling it by hand in your home directory. Installing from the deb-multimedia repos is pretty painless (that's how I install it), and using dpkg to build a .deb package from the source shouldn't be much worse.
It's common practice on linux to install applications system-wide using the package manager, so it's not surprising that going against the grain will make things difficult. Had you built and installed a .deb package, it should have set up the udev rules and all that for you.

Of course if debian actually shipped the damn thing in their repos, there would be no hassle whatsoever. I really don't get the complete lack of interest from the maintainers on this particular package TBH, especially as the cdemu devs have gone so far as to include all the needed files already.

deepforest wrote:

how to know that for mount needed all 3 files *.img, *.ccd, *.sub but mount needed only *.ccd?

Understanding of CD formats, experience, and a little guesswork. Also extrapolation from the bin/toc example in the cdemu manual, where it demonstrates giving cdemu only the .toc filename and it figuring out loading the matching .bin by itself.
.ccd, .cue, and .toc are all "table of contents" files that define how to read the matching .bin or .img, it's pretty logical that you'd need to load that first. Simply opening the .ccd as text should make it obvious what it is and why you might need it.
.sub is subchannel data, and IIRC it's optional unless the disk actually uses a subchannel. Subchannels are most commonly used for supplimental data such as CD-TEXT (track titles), pre-emphasis data... or for copy-protection bullshit.

#336 Re: Desktop and Multimedia » What games do you play on Devuan?? » 2022-11-27 03:14:02

You need to load the .ccd file, not the .img. The .ccd contains the session and track information needed to determine the disk layout, without it you will get only the first (data) track, if anything.
Same with bin/cue format, you load the .cue file not the .bin.

steve@perdition ~/Incoming/groundzero/full $ unrar x quake2-ground_zero.rar 

UNRAR 6.12 freeware      Copyright (c) 1993-2022 Alexander Roshal

Extracting from quake2-ground_zero.rar

Extracting  ground.zero.ccd                                           OK 
Extracting  ground.zero.img                                           OK 
Extracting  ground.zero.sub                                           OK 
All OK
steve@perdition ~/Incoming/groundzero/full $ cdemu load 0 ./ground.zero.ccd
steve@perdition ~/Incoming/groundzero/full $ cdemu status
Devices' status:
DEV   LOADED     FILENAME
0     True       /home/steve/Incoming/groundzero/full/ground.zero.ccd
steve@perdition ~/Incoming/groundzero/full $ cdemu device-mapping
Device mapping:
DEV   SCSI CD-ROM     SCSI generic   
0     /dev/sr1   
steve@perdition ~/Incoming/groundzero/full $ cdparanoia -Q -d /dev/sr1
cdparanoia III release 10.2 (September 11, 2008)

Table of contents (audio tracks only):
track        length               begin        copy pre ch
===========================================================
  2.    13234 [02:56.34]   124760 [27:43.35]    no   no  2
  3.    11662 [02:35.37]   137994 [30:39.69]    no   no  2
  4.    14547 [03:13.72]   149656 [33:15.31]    no   no  2
  5.    13307 [02:57.32]   164203 [36:29.28]    no   no  2
  6.    13487 [02:59.62]   177510 [39:26.60]    no   no  2
  7.    13418 [02:58.68]   190997 [42:26.47]    no   no  2
  8.    13054 [02:54.04]   204415 [45:25.40]    no   no  2
  9.    13878 [03:05.03]   217469 [48:19.44]    no   no  2
 10.    11145 [02:28.45]   231347 [51:24.47]    no   no  2
 11.    20568 [04:34.18]   242492 [53:53.17]    no   no  2
TOTAL  138300 [30:44.00]    (audio only)
steve@perdition ~/Incoming/groundzero/full $ cdemu unload 0

Looks fine to me. vOv

deepforest wrote:

why Linux have very few CDemu and CDrippers software?

There are plenty of CD rippers. There are fewer drive emulators, because drive emulators are primarily used either for dealing with proprietary windows disk image formats or for piracy... Neither of which are a priority for free software.
CDemu works fine though, why do you need more than one virtual disk drive anyway?

deepforest wrote:

On Linux its very hard to find software.

I disagree. Finding the software needed to load those clonecd images was extremely easy, and I didn't even have to navigate the minefield of shitty websites, adware, crippleware, and malware I would have on windows.
The only "difficult" part is that debian doesn't package cdemu. That bit is plain ridiculous, it's been requested repeatedly over the years.

The above is for demonstration purposes only of course, and I absolutely did delete those pirated images when I was finished wink You should still buy the game on GOG.

#337 Re: Hardware & System Configuration » (Chimaera) Accessing NAS - XFCE not responding » 2022-11-26 19:50:24

Make sure you have gvfs-backends installed. I don't know if it's installed by default in Chimaera (or run XFCE myself), but the lack of this package has caused numerous threads like this one in the past.

#338 Re: Hardware & System Configuration » No wifi when moving to the latest Refracta. » 2022-11-26 19:34:49

dp wrote:

Back in the day, once the firmware was loaded into the device adapter, there was no need to reinstall it at a later time.

Back in the day, devices had non-volatile memory to store firmware in. Then manufacturers found they could save a few cents.

dp wrote:

Is the firmware loaded everytime the system boots?

For most things, yes.

dp wrote:

who does it?

The kernel and/or udev.
Generally speaking, the device driver requests firmware through the kernel API, and the kernel pulls it from disk. If the root filesystem is not yet mounted, this may be deferred and a udev trigger used to load it once it's available.

dp wrote:

when is it done?

When the device driver is loaded, if possible. Where exactly this falls in the boot process depends on how the kernel and initrd were built - primarily whether the firmware files are in the initrd image or not.
(AKA, I could tell you how it works on gentoo, but I'm too lazy to dissect the devuan initrd to see if it's the same) tongue
Obligatory kernel documentation link.

As for the refracta stuff, I have no idea. I dislike refracta intensely.

#339 Re: Forum Feedback » Elementary my dear Watson... » 2022-11-26 19:12:58

dp wrote:

Where does one go to learn

The easy links Go pointed to sure are nice, but it's all just fairly standard BBCode under the hood. For all the other things you can do with it, the 'net abounds with generic BBCode explanations, or click the "BBCode" link at the bottom of the editor frame.

#340 Re: Desktop and Multimedia » cant extract ccd and nrg images » 2022-11-26 18:34:58

Head_on_a_Stick wrote:

If the laptop is kept plugged in with the battery at 100% that will degrade it over time

Indeed. The things that will kill li-ion cells the fastest are heat, repeated deep-discharges, and continuous trickle-charging... Two of which you will get in spades if you leave a machine plugged in with the EC set to maintain 100% charge.
If you intend to store a battery (functionally what an always-on-ac laptop is doing), you want it at 60-80% and as cool as possible. Often this means it's better to remove the battery entirely if the machine allows it.

Head_on_a_Stick wrote:

Interestingly if I set the charge behaviour in Linux by simply writing to the files it persists between boots and even if I boot OpenBSD, Haiku or 9front.

This "battery care" behaviour is run by the embedded controller, it has it's own nvram and whatnot since it needs to handle charging when the machine is off etc.

Head_on_a_Stick wrote:

Windows will "fix" things

Most laptops I have seen have manufacturer bloat software for tweaking charge behaviour, but without it windows will just go for maximum runtime. Consumers rate portables on runtime after all, and replacement batteries make money...

#341 Re: Desktop and Multimedia » What games do you play on Devuan?? » 2022-11-26 17:29:08

deepforest wrote:

I am try convert ccd and nrg to iso

ISO images do not support mixed-mode redbook CDs, so converting to iso will preserve the ISO9660 data track (if any) and discard the audio.
CD audio tracks are not files, and that part of the disk isn't really a filesystem... so you can't mount it (or an image of it) like a filesystem, loopback or otherwise.

You will need to either burn physical media or load the image in a drive emulator, then extract ("rip") and encode the audio tracks.
Suitable drive emulators would include daemontools (most common, but notorious for shovelware in the installer) or elby clonedrive on windows, or cdemu / libmirage on linux. Acetoneiso might be able to do it as well, but it's ancient and honestly I don't remember.

CDemu still isn't in the debian / devuan repos for some unfathomable reason, but you can get it from deb-multimedia or follow the instructions on the cdemu site.
For rippers, the options are legion. There are several dedicated applications in the devuan repos and most cd writing software can do it as well.

Jeez, what do they teach the kids these days anyhow? I thought everyone knew how to deal with audio CDs.

Ed. Note that recent versions of cdemu use systemd to launch cdemu-daemon on demand, so for devuan you'll need to start it by other means. It can run under a normal user account, so starting it manually when you need it, a desktop autostart entry, or the likes of daemonize in some profile rc or other work fine (provided you are in the appropriate group to access the vhba device of course).

#342 Re: Desktop and Multimedia » mc, files scrolling by dragging mouse? » 2022-11-25 06:36:48

deepforest wrote:

noone use that here?

I've been using mc for ~20 years, and I've never heard of, needed, or wanted to scroll the filelist by "dragging" the mouse. The scrollwheel works fine.
TBH I primarily just use the keyboard though, that's what page up and page down keys are for, is it not?

#343 Re: Off-topic » Google in trouble again » 2022-11-25 05:44:24

Head_on_a_Stick wrote:

I can't be bothered toggling scripting to make websites work.

I object on principle to websites running arbitrary non-free code on my machine. Whether the JS blob is tracking, annoying, unnecessary bloat or downright malicious is largely irrelevant - It's my box, I say what runs on it.

So yeah, noscript forever. I'll wear the hair-shirt of clicking the occasional temporary exception, and frankly most sites that don't work without non-trivial javascript are sites I want nothing to do with anyway.

When I must visit such hellholes, noscript is also handy (along with ublock's most excellent "element picker") for removing obnoxious "web 2.0" anti-features, such as screwey scrolling, right-click overrides and "sign in / use the app" poups/popovers/overlays.

... Also advertising and tracking of course. Fsck ads, and fsck tracking. Double fsck "sign in or use the app (so we can track you more)" horsehockey.
I didn't start the ad/ad-blocking arms race but so long as ads are obnoxious and tracking is invasive, I'll damn well continue it.

#344 Re: Installation » Devuan: Existential issues. » 2022-11-25 04:38:05

devuanuser wrote:

I have been booting Unix since the eighties

Proof positive that age does not always beget wisdom then.

devuanuser wrote:

I see a problem with a usergroup

The problem is you insulting people who volunteered their free time to try to answer your questions.
If you want guaranteed professional responses, you go to a paid support channel. This is not that, this is best-effort when-we-feel-like-it by a community of volunteers. Answers are not guaranteed, correct answers even less so.

#345 Re: Desktop and Multimedia » cant extract ccd and nrg images » 2022-11-25 04:09:28

deepforest wrote:

what technically wrong with music images?

Nothing at all, I just ripped them to ogg/vorbis no problems. CDemu + K3B on gentoo, no Windows (7 or otherwise) required.

If you don't explain how you're trying to extract the audio (and with what software), then I have no idea why it doesn't work for you.

deepforest wrote:

This is 19tracks all OSTs not only from original Q2 but rouge and xatrix addons music here?

The expansions only come with 5 new tracks each IIRC, so the number sounds right. Dunno about track order though, I expect that'll come down to how the files are named.

golinux wrote:

It's about principle.

Personally I don't have any moral dilemmas when it comes to screwing Bethesda out of a couple of bucks for a 25 year old game they had nothing to do with making in the first place. Still charging for repacks of something that old is really scraping the money-grubber barrel IMO.
That said, I've bought Quake and Quake 2 at least 3 times each over the years. Once when it was young, once to have disks that actually work, and again because GOG is awesome and it was dirt cheap.

Did I mention you can get a legit copy of Quake 2 with both expansions and the netpack for $2, DRM-free on GOG already? Why are we even discussing pirating it?

@deepforest If you PM me your email address, I'm quite happy to gift it to you on GOG. Or pirate it if that's what floats your boat, I'm not one to judge. Just don't expect people to help you pirate it, at least not here.

deepforest wrote:

if you so rich why you using amator linux and do not buy licenced Windows?

I use GNU/Linux because it's free, not because it's free. Also Windows is a horrible OS, and has been getting more obnoxious with each release since XP.

#346 Re: Desktop and Multimedia » cant extract ccd and nrg images » 2022-11-24 18:43:04

deepforest wrote:

gog and steam versions have only windows setup versions how i get resources?

Innoextract works on the GOG windows installer, as I mentioned in the other thread.

Head_on_a_Stick wrote:

Hmm, looks like the music is missing from the Steam & GOG versions. Shame.

I just extracted the GOG "Quake II Quad Damage" installer, and there are 19 tracks included as .ogg.
A cursory listen says that's the original soundtrack, though I'd have to dig out my CDs to see what's missing (MP1 & MP2 music?)

Also, it appears to come with the original AQ2 as part of "Netpack 1" big_smile

Should be as easy as 'innoextract setup_quake2_quad_damage_2.0.0.3.exe', grab the extracted "app" directory, drop in yamagi binaries and play.

#347 Re: Desktop and Multimedia » What games do you play on Devuan?? » 2022-11-23 10:25:59

deepforest wrote:

Cant extract music from that images.

Presumably you're talking about the Quake 2 nero / clonecd images hosted there? The music will be in redbook (CD audio) format. How are you trying to extract it? What about the MP3 files in the "ready to play" .rar?
Please, provide at least a little detail when asking for help.

Aside, I don't know how legit or otherwise that site is, but AFAIK the Quake 2 game files are, at least technically, still commercial software... And $2 on GOG right now with both expansions. Innoextract should work on the GOG package IIRC.

#348 Re: Desktop and Multimedia » What games do you play on Devuan?? » 2022-11-22 11:22:56

deepforest wrote:

how do similar on Linux?

Pretty much exactly the same way. '+set game<mod directory>' works for 95%, if a mod needs something else it'll be in the instructions.

deepforest wrote:

Native linux or Wine or standalone Q2 engine?

Why on earth would you run Quake 2 (or any open-sourced id-tech engine for that matter) in wine?

HoaS suggested yamagi earlier, and I concur. It's very close to the original experience and highly compatible, with a little bit of modernisation and graphical updates where it matters.
Yamagi is what the quake2 debian/devuan package will install.

I don't game on devuan specifically (gentoo desktop and all that), but from what I gather getting Q2 up and running should be as simple as 'apt install quake2', then following instructions WRT game-data-packager.

If you want to play with shiny new stuff (and don't mind compiling the engine yourself), there's VKQuake2 and Q2RTX too, for vulkan support and raytracing respectively.

Head_on_a_Stick wrote:

LAN party ftw!

It's not a real LAN party unless it involves Doom and a bunch of null-modem serial cables. tongue

Aside, and on the topic of old id-tech games, I think I may have a small doom wad hoarding problem...

du -sh Doom/Mods
6.8G    Doom/Mods

Not bad for a game that shipped at ~30MB wink

#349 Re: Desktop and Multimedia » What games do you play on Devuan?? » 2022-11-20 12:46:59

Head_on_a_Stick wrote:

Being on Steam opens up the audience

I'm sure it does... It's irrelevant to me though, since I'll never use that garbageware for anything but leeching the occasional mod.

AQ2 is great and all, but what grinds my gears is the hype and flashy advertising for what is, in essence, a repack of a nearly 25 year old mod... As if it didn't properly exist before being listed on steam or something.

#350 Re: Desktop and Multimedia » What games do you play on Devuan?? » 2022-11-20 12:25:45

Head_on_a_Stick wrote:

Action Quake is back!

AFAIK it never went away, and is still on sourceforge same as it ever was.
Steam blah blah hype steam... yawn.

Gotta love all the noise about it being "FREE on Steam!"... "For FREE!". When it was a free mod to begin with and the Q2 engine open-sourced decades ago. roll

Board footer

Forum Software