05-14-2021, 05:00 PM | #81 |
Human being with feelings
Join Date: May 2021
Posts: 8
|
You're right, alsa-firmware is not in the Ubuntu repositories. There is a lot of conflicting info out there.
This is it: https://github.com/alsa-project/alsa-firmware (Click on "Code", then "Download ZIP" to get the files). That emu folder should be in your /lib/firmware folder. I still have no idea how this is loaded though. It seems like there is some sort of 'hotplug' loader that does it automatically, or you may still have to compile it yourself. Googling information about this is surprisingly difficult. |
05-14-2021, 05:29 PM | #82 |
Human being with feelings
Join Date: Sep 2011
Location: PNW, USA
Posts: 658
|
^ OK, yeah, I ran into that yesterday but wasn't sure if I could use it... I've now downloaded it, googled for 'how to install', and landed on this page that seems to have some instructions:
https://www.linuxfromscratch.org/blf...-firmware.html This page says it depends on alsa-tools 1.2.2, I have "alsa-tools 1.1.7-1ubuntu1" and Synaptic package manager lists that as being the latest version... Latest version for my Ubuntu install? Latest version anywhere?? Similarly, when I flip to the alsa-tools 1.2.2 page, it shows a dependency on an alsa library that I don't seem to have installed... So it seems like I'm embarking on another manual package quest like yesterday with the network, maybe... edit: FYI, that link above is actually part of an online book that appears to have a lot of information. It's called "Beyond Linux From Scratch," which is an extension of the book, "Linux from Scratch." edit2: HEY! I think we're actually getting somewhere. I simply tried the install methods at that linked page above (ignored details, like dependencies), of the alsa-firmware, rebooted, and the emu card is now installed. Not able to simply turn audio dock ON and have it activated, no sound* (that depends on the dock, there are no physical outputs on the 1010 card itself), but, I'll be trying to reboot with the dock on and see what happens. Just seeing the card recognized/installed is seemingly miraculous at this point. *[a bit later...] OK, switching ON the dock does activate it, we do have sound. At some point I disconnected the dock from the card and forgot to plug it back in. So it does work to some extent. Now I have to figure out how to install and configure that alternative mixer linked in the webpage Glennbo posted way up there. Or just generally figure out what inputs and outputs work and how. At this point I do see the headphone jack isn't working, which is something people mentioned before... Last edited by eq1; 05-14-2021 at 07:19 PM. |
05-14-2021, 09:37 PM | #83 | |||||||
Human being with feelings
Join Date: Nov 2011
Posts: 3,409
|
Quote:
There are books and other more thorough guides, of course, so if you get serious you can get in deeper. But from an end-user perspective it's a bit weird to get started. And don't forget that there is a similar amount of confusing stuff with Windows and we just take it for granted because most of us are or were more familiar with it. Windows is a bit more "centralized" in terms of documentation, but more obtuse in terms of what's happening behind the curtain, so it's a tradeoff. Quote:
Most people install their preferred distribution with its default packages and if/when they need the latest/greatest they will override the default repositories with custom repos that have later versions of the software. Other times, software developers will actually provide .deb packages that you can install manually, as long as the package manager can satisfy any related dependencies when installing. Other times, developers just design software that installs itself in your system and avoids the packaging mechanism altogether. Generally, installing a newer version from a trusted third-party repository is pretty harmless and foolproof, but sometimes the dependencies aren't specified correctly. Also note that the packages that Ubuntu publishes aren't just the same identical software that you might install via other methods; sometimes the "package" also includes little configuration tweaks that make things work correctly on the distro in particular. The package mechanism also helps prevent incompatible versions of things from being installed at the same time. If you manually install, you can miss these interferences between software. Quote:
Canonical is the private company that produces Ubuntu, so the "Canonical" repositories just means the "official" repos for Ubuntu. Quote:
Quote:
Quote:
But that doesn't mean the firmware stuff is there, just the alsa system in general. I would ignore that "patch" stuff until/unless you know you need it. Quote:
I think the deal is this: the alsa-project.org site is providing the source code under the term "alsa-firmware", and that 'linux from scratch' site is providing instructions (that you apparently followed) to compile and install that code (you did "make" and "make install", right?). Since it worked for you, I'm going to assume that that's cool. Compiling something on your system is generally a pretty good way to ensure at least basic functionality. But the fact that you ignored the dependency on alsa-tools might be an issue... might not, but it might. I think the package you were looking for is called, in the current decade :-), "alsa-firmware-loaders". My guess is that that is the package the Ubuntu people put together with the code already compiled so it could be installed more simply. This package is in the default repositories for Ubuntu 20.04. If you wanted to be super proper, you could try installing the alsa-firmware-loaders package. It might overwrite the stuff you just compiled (and with a slightly older version, though I'd be surprised if that mattered with such an old sound interface.) But it will also install any related dependencies. (Interestingly, the alsa-firmware-loaders package doesn't depend on alsa-tools, so maybe it really isn't a mandatory dependency after all, but that's probably a good package to install anyway.) There's a chance installing alsa-firmware-loaders might break the success you just had, but if it were me I'd probably go for it just to get back on the 'normal' path of package installation rather than having some possibly-incompatible newer-version compiled code hanging around, maybe causing unexplained headaches later... |
|||||||
05-15-2021, 11:32 AM | #84 | |
Human being with feelings
Join Date: Jun 2014
Location: Ohio
Posts: 978
|
Quote:
__________________
Pre-order my new ambient album on vinyl/cd/cassette |
|
05-15-2021, 12:11 PM | #85 |
Human being with feelings
Join Date: Mar 2008
Location: Planet Earth
Posts: 9,055
|
Glad to hear that was the issue. I remember pulling my hair out and thinking my CMOS battery was going dead when I was first dual booting.
|
05-15-2021, 03:10 PM | #86 |
Human being with feelings
Join Date: Aug 2011
Location: All Hallows End
Posts: 2,132
|
Thread is living up to its title
|
05-15-2021, 11:38 PM | #87 | |||
Human being with feelings
Join Date: Sep 2011
Location: PNW, USA
Posts: 658
|
^ Not really - I wanted to edit it because I started to realize my circumstances are too specific, probably not very generalizable. Thus far it's all about migrating from Windows to Linux and getting an old audio device going - with a little network stuff throw in...
On the other hand, I might be getting close to actually trying to install REAPER. I'm thinking I probably don't even need to install any special mixer software (the 'EMUtrix' thing, which i did try to compile but wasn't able to). Had to get some yard/garden work done today so no time to fiddle with computer... Quote:
Quote:
Quote:
So, as I mentioned, there's a mixer someone made particularly for the emu 1010 varieties. It looks a lot more user-friendly than, say, the 'qasmixer', which is hard to decipher all the I/Os, and the GUI is cumbersome. Here's a link to the source and instructions: https://code.google.com/archive/p/emutrix/ And at this link, about half way down the page, there seems to be slightly different instructions for compiling it and installing: https://askubuntu.com/questions/2649...rk-with-ubuntu I tried some of this stuff yesterday, but the compilation didn't work. I seem to have "Qt5" on my machine, so I didn't try to install that, as one of the sets of instructions said to do. Basically, I'm thinking my failure has to do with old instructions vis-a-vis newer software or whatever I have on my computer. But I'm not sure if that means I have to download old software, like exactly what's described at the second link, or maybe there's something else that can be changed, like a command or instruction somewhere in the source/source files, which would then work with the 'newer' software... If anyone feels like taking a look at the compile instructions and seeing if they can be 'translated' into the year 2021, that would be very helpful. Basically, both instructions say the source needs to be compiled with Qt(?), Qt4, or Qt5. I don't know what all that entails... Oh yeah, one more thing I wanted to mention: Since installing Ubuntu Studio in a dual boot with W7, and flipping from one to the other many times, I noticed that, 1) It seems to boot faster, doesn't have these weird pauses at various junctures, from initial turn ON through the W7 splash screen, and 2) I haven't gotten a blue screen when booting into W7. I had been getting blue screens at the end of the W7 splash screen like every other boot. I must've booted W7 at least a dozen times since my last Ubuntu install - and no blue screens, no lags. Is there something about dual booting, letting grub bootloader handle boot, that could have 'fixed' my W7?? Knock on wood. Maybe W7 was botching shutdown, not saving the right info or something for boot? Last edited by eq1; 05-15-2021 at 11:53 PM. |
|||
05-16-2021, 11:56 AM | #88 | ||
Human being with feelings
Join Date: Nov 2011
Posts: 3,409
|
Quote:
Quote:
The emutrix code was written against Qt4, and the repositories for ubuntu have Qt5 available, so the code won't compile unless it's tweaked a bit according to those instructions. (I recommend not trying to figure out how to install Qt4 in order to compile.) No idea about the W7 suddenly working. Could be random chance, or maybe there was some corruption in the windows bootloader. Not a common occurrence that dual-booting helps magically fix up windows, AFAIK. |
||
05-16-2021, 03:39 PM | #89 | |
Human being with feelings
Join Date: Jun 2011
Location: Belgium
Posts: 5,246
|
Quote:
It's a similar process for Emagic A26 and A62 USB interfaces. Another hard one to research, as sftp means "Secure file transfer protocol" these days. Sigh...
__________________
In a time of deceit telling the truth is a revolutionary act. George Orwell |
|
05-16-2021, 03:52 PM | #90 | |
Human being with feelings
Join Date: Nov 2011
Posts: 3,409
|
Quote:
Curiously, OP reported that after compiling/"installing" it (but presumably not flashing it to the device) and rebooting, the device makes sound now (post 82). Maybe it's actually only partially working and the firmware "install" didn't have anything to do with it. |
|
05-16-2021, 04:13 PM | #91 |
Human being with feelings
Join Date: Jun 2011
Location: Belgium
Posts: 5,246
|
It depends on the device what the firmware is, of course. With the Emagic stuff, it's just the software that tells the DSP or FPGA in the interface how to connect everything. There are no effects, no mixing, just a few different configs for different sample rates...
The EMU needs firmware and a mixer software on the computer. I presume default mixer values are zero? Anyhow, if it's working, I'm sorry to bud in. Missed that.
__________________
In a time of deceit telling the truth is a revolutionary act. George Orwell |
05-16-2021, 04:36 PM | #92 | |
Human being with feelings
Join Date: Mar 2008
Location: Planet Earth
Posts: 9,055
|
Quote:
When you run alsamixer and hit F6 your audio device will have a number to the left of it. My UMC1820 is number 1, hence the -c 1. This code is for a UMC1820 but might work on other multi-channel audio devices. Code:
amixer -c 1 cset numid=1 on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on amixer -c 1 cset numid=3 127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127 amixer -c 1 cset numid=9 on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on amixer -c 1 cset numid=11 127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127 amixer -c 1 cset numid=8 0 alsactl store |
|
05-16-2021, 05:17 PM | #93 | |
Human being with feelings
Join Date: Aug 2011
Location: All Hallows End
Posts: 2,132
|
Quote:
Thread is really explaining a few things too me that I'd wondered, its a great resource. And your problems are part of whats so revealing. For my own purposes, I may be having to try and get a firewire card and focusrite interface working in Linux, so this is all helpful reading and I'm sure it will be to others. |
|
05-16-2021, 05:32 PM | #94 | |
Human being with feelings
Join Date: Sep 2011
Location: PNW, USA
Posts: 658
|
Quote:
As I recall, when I tried the "qmake" command, the terminal message said 'no such command exists, but you can install it' with such and such command, which I did... I made edits to the 'pro' file mentioned at the link: "Here's how to compile this project with Qt5 (you can install Qt5 using sudo apt install qt5-default). Download and extract emutrix0.3.1 and open the file emutrix.pro with a text editor. After the line TEMPLATE = app, insert the following..." Then it says, "save this file, and at the root of the project run the command qmake." That must be when I got the first 'no qmake command available' message. Can't remember what happened after I installed that command and tried again. I got some other error message. After that I tried a few other things, like reverting to the instructions at the other link. I'll have to try all this again and write down the specific errors, look for info about them, etc. Quick question: when the instructions say, "at the root of the project run the command qmake," "the project" simply means the folder where I've extracted the source material, right? So I'd open a terminal there and execute the command? It doesn't matter where exactly I've extracted the source? OK, that's critical to know. So it sounds like the source code itself either needs to be compiled with the specific compiler that was intended when the code was written - or various parts of the source need to be edited to accommodate new compiling software, like what was done at the askubuntu link. If that's more or less the case I think I'm understanding things (also more or less)... |
|
05-16-2021, 05:56 PM | #95 | |
Human being with feelings
Join Date: Sep 2011
Location: PNW, USA
Posts: 658
|
Quote:
Overall, though, it does appear that the audio dock is communicating with the 1010 PCIe card properly - even better than it did on W7, in fact. For example, I can boot into Ubuntu with the dock OFF, the card loads, and then I can turn the dock ON and it activates - you can hear a relay click. And, when I turn the dock OFF, it clicks OFF. In W7 this whole process was kind of messed-up - I'd have to turn the dock ON first and then open the 'PatchMix' software, and then the dock would activate. Not doing this would simply result in hangs, no activation, etc. Come to think of it, this is actually fixed in W7, now, as well. I can turn the dock ON and OFF and it activates, I don't have to turn the dock on first and then load PatchMix. Pretty weird. It's like something I've done in Ubuntu - maybe that ALSA firmware thing - has tweaked the PCIe card or the dock, like made some change. I don't see how that weird startup and shutdown behavior could be altered otherwise... Anyway, like I said, so far I can't tell how well the card + dock are working. There do seem to be various quirks, such as the sample rate. It defaults to 48k, and when I change it to 44.1k, it plays the music slower. I don't think I've been able to play anything at 44.1k normally... Thus far the only thing I've tried is 2 channel stereo output - I got that. I think I need to get that EMUtrix mixer going, it clearly delineates in the GUI what controls correspond to which inputs, outputs and other functionality on the emu dock. Was having a hard time figuring that out with the 'qasmixer'. Alternatively, I could try to install REAPER and see what shows up there. I think I'd rather get EMUtrix going first, though, rather than adding another piece to the puzzle. I should have some time tonight, but definitely this week, to dig in some more... |
|
05-16-2021, 05:58 PM | #96 |
Human being with feelings
Join Date: Sep 2011
Location: PNW, USA
Posts: 658
|
|
05-16-2021, 06:12 PM | #97 |
Human being with feelings
Join Date: Sep 2011
Location: PNW, USA
Posts: 658
|
More 'quick questions' for anyone in the know:
One thing that bugs me about this W7/Ubuntu dual boot - from Ubuntu I can access files located on the W7 partition, but from W7 I can't access files on the Ubuntu partitions. In W7's 'my computer', I only see the partition on which W7 is installed, drive letter 'C'. In W7's 'disk management' utility I see 4 partitions, the one for W7 and 3 for Ubuntu (the 3 I made when I installed Ubuntu). In W7 they're labeled "healthy, primary," but that's it, no drive letter, etc. Can I make these partitions accessible in W7 without screwing something up in Ubuntu? It doesn't look like it - if I right click on one of the Ubuntu partitions, I get no options, no 'add a drive letter' or the like. The only option is 'delete the volume'... hmm, maybe it has to do with the Ubuntu partitions being formatted as EXT4 or something like that, rather than NTFS, and Windows can't read that? Last edited by eq1; 05-16-2021 at 06:17 PM. |
05-16-2021, 06:21 PM | #98 |
Human being with feelings
Join Date: Mar 2008
Location: Planet Earth
Posts: 9,055
|
I wouldn't trust Windows 7 to have access to a Linux partition.
First it will create a hidden system folder named "System Volume Information", then Win7 would very possibly decide to fix problems with the volume and render it useless. |
05-16-2021, 06:53 PM | #99 |
Human being with feelings
Join Date: Sep 2011
Location: PNW, USA
Posts: 658
|
^ Yeah, something akin that crossed my mind. My preliminary internet searching seems to say the issue is what I 'hmmed' about - W7 can't read Ext4. But it looks like there's 3rd-party programs that can deal with that.* I'll have to read some more, look around.
* Here's an example: https://www.howtogeek.com/112888/3-w...-from-windows/ The author mentions enabling read-only is fine, but writing might be sketchy... |
05-16-2021, 07:15 PM | #100 | |
Human being with feelings
Join Date: Mar 2008
Location: Planet Earth
Posts: 9,055
|
Quote:
Once I got booted up my entire 1TB HDD was smoked with only some useless .chk files. |
|
05-16-2021, 07:36 PM | #101 | |||||||
Human being with feelings
Join Date: Nov 2011
Posts: 3,409
|
Quote:
Quote:
Upshot: you gotta install qt5-default for this thing to compile, AFAIK. Also make sure you installed the packages as directed in the "0. pre-reqs" section at the top. Quote:
And yeah, source location doesn't matter. There are some obscure cases where the type of filesystem can matter to things (e.g. NTFS vs ext4 vs FAT32 vs whatever) and it's best to do this kind of thing on a "modern" filesystem that linux supports well (e.g. not FAT32 or NTFS) but it doesn't generally matter which directory it sits in. (Your filesystem is probably ext4 and nothing to worry about.) Quote:
Quote:
(Qt5 is a 'widgets' library -- a way for developers to write software that works on multiple platforms without having to code GUI widgets from scratch -- sliders, checkboxes, menus, etc -- for every project.) Quote:
And while I'm thinking of it: now that you are dual-booting, make sure to turn off Hibernation in both operating systems (and "Sleep" modes to be safe). I haven't looked this up recently, but historically this has been a source of pain: if you hibernate from windows, forget, and then boot to linux, and then boot to windows, windows will come out of "hibernation" with assumptions about what state the disk is in, etc, which may now be wrong because you changed things from the linux side without it knowing. I think the same risk applies to linux. Quote:
Unfortunately, for sharing partitions between windows and linux there is no good option besides NTFS that I have found (and I have looked.) So the normal thing is to have a shared partition or two formatted as NTFS and to use that for project files and the like. The stuff in / and /home you don't generally need to access from Windows anyway, except what may default to going in /home/username/Documents or whatever, but I don't use those directories.
__________________
Free blind ABX testing software | Audio illusions / psychoacoustics video series Music Theory Distilled -- a rapid crash course | How to do a portable install Last edited by clepsydrae; 05-16-2021 at 07:43 PM. |
|||||||
05-16-2021, 11:45 PM | #102 | ||||
Human being with feelings
Join Date: Sep 2011
Location: PNW, USA
Posts: 658
|
Quote:
Quote:
Quote:
Quote:
I think this last reboot was the first time I re-booted back into W7 without a boot into Ubuntu first. The previous dozen or so times I was going back and forth. On the weird behavior of my dock and audio card in W7, I might've been wrong about that. I just tried to open PatchMix first and turn on the dock, but it didn't work. I might've been thinking that the dock doesn't activate until PatchMix is opened, when in fact it does activate if you just turn it ON - but without PatchMix loaded yet. I'll have to experiment some more. You know, it's weird: when you turn the dock on, the various LEDs, such as input level meters, LED indicating phantom power, etc., light-up in various patterns, depending on what state the device is in.* It's similar to how older computers, like my Dell, have a beep code when you boot, with different beep patterns indicating different problems. The thing is, I've never been able to find anything that actually describes what the LED lighting patterns mean. I do see different patterns though - just have no clue what they mean. * Here's one, for the hell of it: the input level meters on two input channels have 4 LEDs each, I think yellow, orange, green, green. The 48V phantom power has a red LED. After having turned the dock on, then PatchMix, which enables the system, I turned the dock OFF and then back ON - the two orange LEDs + the red phantom power one are all lit. I can't activate the system until I close PatchMix and then restart the dock. In general, normally, all or most of the LEDs are lit and turn OFF once the dock is 'booted'. Sometimes not all the LEDs are lit though, one or two will be dark. Doesn't do much good without a code key - I'm sure I've combed through the manual more than once to find one. Last edited by eq1; 05-16-2021 at 11:58 PM. |
||||
05-17-2021, 12:10 AM | #103 |
Human being with feelings
Join Date: Sep 2011
Location: PNW, USA
Posts: 658
|
Just a follow-up on the network card issue I was having:
I probably would have been better-off just buying a different card, rather than spending a few days trying to sort out the problem. They're pretty inexpensive, and apparently Broadcom-based cards often have issues with Linux. I ran into this article that gives recommendations for 4 PCIe-based cards that work well in Linux, here's a link: https://www.addictivetips.com/buying...s-cards-linux/ |
05-17-2021, 12:49 AM | #104 | |
Human being with feelings
Join Date: Sep 2011
Location: PNW, USA
Posts: 658
|
Quote:
I tried installing that, but Synaptic shows it as "broken." When I list broken packages I have about 4 or 5. When I try to fix them in Synaptic I get a handful of error messages... I'll have to work through this tomorrow Monday. |
|
05-17-2021, 10:32 AM | #105 | |
Human being with feelings
Join Date: Nov 2011
Posts: 3,409
|
Ah yes, this is a good thing to enable, generally, and many online instructions will assume that you have.
Quote:
Re: LED's, etc -- with older school autio interfaces I definitely encountered the kind of behavior you describe; getting an older firewire device going was tricky. I can't remember the details now, but the order things were turned on in mattered. I think the device had to be up and running before linux booted, and then it would work, or something like that, otherwise no luck. And if the device was power cycled while linux was running, you had to stop/start some kernel services or modules or some such to get it going again. Modern devices are friendlier in this regard. My USB interface for example reestablishes OK, but I do still need to kill and restart JACK (and qjackctl) to get them working again, and then issue some pulseaudio commands to set it as the system sound card again. |
|
05-17-2021, 03:52 PM | #106 |
Human being with feelings
Join Date: Sep 2011
Location: PNW, USA
Posts: 658
|
OK, so I'm back at Ubuntu, trying to install the Qt5-default package that's required to compile the 'EMUtrix' mixer made for my audio device. I'm in Synaptic package manager, and everything looks fine before marking Qt5-default - no broken packages, etc.
When I mark Qt5-default, I get a red exclamation mark that means "broken" package. There's a shit-load of things that get marked for removal (~36), and about 10 things that get marked for installation. When I filter the list to show broken packages, I have 5... When I hit "apply," a message reads 'fix broken packages first'. When I select edit, fix broken packages, I get this list of errors: "E: Unable to correct problems, you have held broken packages. E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages. E: Unable to correct dependencies E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages. E: Unable to correct dependencies" I'm gonna search online for answers, but in the meantime, maybe someone knows what this all means? Is that many packages marked for removal typical when installing a single, new package?? My guess is that all these packages meant for removal depend on something that installation of Qt5-default will negate, or undo, or something like that... But that's just a guess. edit: hmm, when I select properties/description in the Qt5-default entry in Synaptic, it says this: "This package should not be used for building Debian packages. Take a look at https://qt-kde-team.pages.debian.net...asedstuff.html for more information." Last edited by eq1; 05-17-2021 at 04:10 PM. |
05-17-2021, 04:12 PM | #107 | |||
Human being with feelings
Join Date: Nov 2011
Posts: 3,409
|
Quote:
Quote:
Quote:
It's possible that in order to install qt5-default synaptic has determined that it has to uninstall something else that conflicts, or an earlier version of something, etc, hence my request that you post the list here before going further. You can try some of the remedies in the fourth answer ("These are some fast and easy ways to fix the you have held broken packages error") here: https://askubuntu.com/questions/2232...roken-packages ... the other answers might be valuable but notice that they are pushing 10 years old. But first thing: open Synaptic and click the "Reload" button. This is equivalent to "sudo apt-get update" and it refreshes package managers' notion of the current state of the packages in the repos, which apparently can cause this sometimes. Then try to install qt5-default and see what happens. And post things here before pulling triggers if you want some feedback first. |
|||
05-17-2021, 05:13 PM | #108 | |||||
Human being with feelings
Join Date: Sep 2011
Location: PNW, USA
Posts: 658
|
Quote:
Quote:
Not being too trigger happy comment duly noted. At this point I don't think I care too much about botching the entire system, because it'd almost be easier, probably better, to start over and be more meticulous with 'my methods' than to sort through some of these problems... For example, there's so much stuff loaded in Ubuntu Studio that maybe it'd be better to start with something a little leaner - fewer potential conflicts?. Maybe I'll just buy a new Wifi network adapter and avoid all the Broadcom shenanigans. Instead of putzing my way into getting my emu audio device installed I'd go straight to loading the ALSA-firmware. Etc etc... Seems like I'll likely be starting over anyway at some point, just to be sure I got everything on the level, from start to finish... I don't want to build a 'house of cards' here; on the other hand, I'm fine with doing that now in the interest of experimentation, and I guess just learning my way around. Quote:
Quote:
Quote:
|
|||||
05-17-2021, 05:19 PM | #109 | |
Human being with feelings
Join Date: Nov 2011
Posts: 3,409
|
Hmm. When you applied the install for qt5-default, did it immediately complain about broken packages or did it first go through some shenanigans of downloading/installing and then complain?
Quote:
sudo apt-get update sudo apt-get install qt5-default ...then you should be able to copy/paste the result from the terminal window. Synaptic is great but when you want to get real the command line can be easier to deal with... it tends to produce more verbose output, and is often more useful to others that may be able to help. |
|
05-17-2021, 05:32 PM | #110 | |
Human being with feelings
Join Date: Sep 2011
Location: PNW, USA
Posts: 658
|
Quote:
I'll try the command line in some minutes - I decided to try to screenshot the list and use GIMP to cobble it together (it's long)... If I can't get that going within a few minutes, I'll bail and try command line. OK, commandline easier, here's what it says: "sudo apt-get install qt5-default E: Could not get lock /var/lib/dpkg/lock-frontend. It is held by process 1914 (synaptic) N: Be aware that removing the lock file is not a solution and may break your system. E: Unable to acquire the dpkg frontend lock (/var/lib/dpkg/lock-frontend), is another process using it?" Oh, wait a second, I think I need to close Synaptic first... OK, now here's what it says: "Reading package lists... Done Building dependency tree Reading state information... Done Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. The following information may help to resolve the situation: The following packages have unmet dependencies: qt5-default : Depends: qtbase5-dev (= 5.12.8+dfsg-0ubuntu1) but it is not going to be installed or qtbase5-gles-dev (>= 5.12.8+dfsg) but it is not going to be installed E: Unable to correct problems, you have held broken packages." Last edited by eq1; 05-17-2021 at 05:46 PM. |
|
05-17-2021, 05:51 PM | #111 |
Human being with feelings
Join Date: Sep 2011
Location: PNW, USA
Posts: 658
|
Here's a screenshot of the list of changes in Synaptic:
|
05-17-2021, 06:27 PM | #112 |
Human being with feelings
Join Date: Nov 2011
Posts: 3,409
|
Hrm, yeah, that seems a little whack. The red lines with "X" I presume are the "to be removed"... something seems awry.
Just for fun, try this in a terminal: sudo apt install debtree debtree -R qtbase5-dev | dot -Tpng > /tmp/out.png ...then post the image you find at /tmp/out.png I have a feeling this might be a "start again and be more careful this time" situation (e.g. don't install qmake separately.) This could no doubt be sorted out, but I won't be able to help in an efficient way. Maybe those more savvy in the ways of package management and qt5 can jump in. It also might be worth looking in to what the real value of Ubuntu Studio might be these days. Historically, if I understand correctly, it offered real-time kernels and other system tweaks that made a difference to audio processing, but I'm not sure if that's true anymore. It might just be a convenience thing that pre-installs a bunch of stuff, in which case I would say forget it and just install regular ubuntu and whatever software you desire the regular way. Helps narrow things down in cases like this. Just a thought. Others might chime in... I've never used any of the AV-oriented linuxes. |
05-17-2021, 06:38 PM | #113 | ||
Human being with feelings
Join Date: Sep 2011
Location: PNW, USA
Posts: 658
|
Quote:
Quote:
edit: I don't think there's any way to 'post' that image, not in a way that could be viewed here. The compressed size is 12MB, but the uncompressed size is like 1.9GB! It's like 18ft wide. I tried to shrink it by a factor of 10, but then it's not legible... I could probably upload it to a dropbox though (or the one I use, onedrive). The lines have colors, so converting to BW would ruin that, not sure how to shrink the file size and still have it be legible. I'm not even sure how my photoshop handled it - I have photoshop linked to a ramdisk that's only 1.2GB - it filled it up completely. BTW, what do the colored lines mean - blue, red, green? Here's a link to the image - if you can, maybe try to download it first rather than having it open in your browser or whatever: https://1drv.ms/u/s!AskciUu3eSuSgSSy...RZdVG?e=cx9XyD Last edited by eq1; 05-17-2021 at 07:27 PM. |
||
05-17-2021, 08:56 PM | #114 | ||
Human being with feelings
Join Date: Nov 2011
Posts: 3,409
|
Quote:
I'm not particularly qualified to interpret it, but it seems to my ignorant eye to imply that installing qt5-default wants to install some mesa-related packages (low-level graphics library for the OS) that conflict with other mesa packages on the system (which can't be removed because other things depend on them.) Don't take my word for that, but I'm getting that vibe in the graph. If that's correct, it means that the packages in the repo are just broken, or that you may have borked things along the way. Quote:
"man debtree" -- this has the color code. Navigation of a "man page" is similar to what I described for journalctl in post 54. I found this: https://superuser.com/questions/1370...le-to-download ...which implies that the package from the repo aren't maybe the best bet for installing Qt (contrary to everything you've been told in this thread, I realize)... so maybe it's worth trying it their way, which is to download a small installed app from here and run that. Maybe it will be better/smarter at installing on your system. If that fails, maybe the next step is to try a fresh installation, I dunno. Just kinda guessing at this point. |
||
05-17-2021, 11:04 PM | #115 | |||
Human being with feelings
Join Date: Sep 2011
Location: PNW, USA
Posts: 658
|
Quote:
Quote:
Quote:
So, yeah, I'll check that thread out, try whatever might seem fruitful, but in general I'm expecting to start over. I might try a REAPER install before I start over though - push a little farther before I risk burning-out having to do things over. |
|||
05-18-2021, 11:16 AM | #116 |
Human being with feelings
Join Date: Nov 2011
Posts: 3,409
|
Glad to help, insomuch as I could, and I'm sure the others are too. Linux users gotta look out for each other. :-)
There is this utility "aptitude" that might help; I haven't used it myself, but you can try: sudo apt-get install aptitude sudo aptitude why-not qt5-default ...I suspect it'll just tell you something like what Synaptic told you, but it might have more details. re: Reaper I think you'll find the installation very simple compared to all this other stuff. After you extract it there is an installation script you run in a terminal that will walk you through it. (Though personally I always just do portable installs as I find them simpler to deal with... instructions in my sig.) |
05-18-2021, 03:30 PM | #117 |
Human being with feelings
Join Date: Sep 2011
Location: PNW, USA
Posts: 658
|
^ I read the material at that link you previously posted, that included info about "aptitude." I might try it. I'm basically trying to re-group at this point, re-reading stuff, figuring out what I missed, how I did things, what I'd need to do if I start over, etc. Also looking into installing REAPER, maybe trying a different 'repo' or distro or whatever - operating system (probably not, though).
Bumped into this recent thread post that does a nice job of framing the types of questions one might think about when deciding 'what distro' to use, thought it'd be good to put a link here: "Long-winded post about Linux distros and configuration": https://forum.cockos.com/showpost.ph...07&postcount=7 See clepsydrae's link to, "How to Do a Portable Install," in his sig in above post. |
05-18-2021, 05:35 PM | #118 |
Human being with feelings
Join Date: Sep 2011
Location: PNW, USA
Posts: 658
|
I decided to try a portable install of REAPER on Ubuntu Studio 20.04. I downloaded the latest Linux Reaper, extracted, the readme file lists a few requirements. I'm trying to figure out if my system meets those requirements, but I'm having a hard time doing so.
Here's what the requirements are: "+ libc6, libstdc++ for gcc 4.x or later + libgdk-3 (you can also target headless or libgdk-2 if you build your own libSwell from WDL, see below) + ALSA" I have ALSA. I open Synaptic and search for libc6 and I have that installed. I do the same for libstdc++. Here the closest thing I have installed is labeled "libstdc++6". The next closest is "libstdc++-9-dev". Out of all packages listed I see nothing labeled "libstdc++" exactly, they all have extra stuff appended to that name. I've done some internet searching but can't find anything that explains the naming conventions - What do extra dashes (or minus sign?) and numbers mean? What about extra letters, like "dev"? Is libstdc++6 the same as libstdc++, is it for gcc 4.x or later* - How do I figure this stuff out? With Synaptic I also search for libgdk-3. One result, labeled librust-gdk-sys-dev and described as "FFI bindings to libgdk-3-Rust source code." Not sure where to go from here... * When I open the package properties window in Synaptic, it says that libstdc++6 breaks gcc-4.3 through 4.5... edit: For the hell of it, I tried sudo apt-get install libstdc++ and among other stuff this is what the readout said: "libstdc++-9-dev is already the newest version (9.3.0-17ubuntu1~20.04). libstdc++6 is already the newest version (10.2.0-5ubuntu1~20.04). libstdc++6 set to manually installed." My guess is that libstdc++6 is a newer version of libstdc++ and that it likely supports gcc4.x or higher - except not 4.3-4.5. Or that omitting the numeral in the REAPER install readme is Cocko's assuming you understand the numeral is a version, and maybe coincides with the numeral in the gcc version?? WTF, I don't know. Last edited by eq1; 05-18-2021 at 06:02 PM. |
05-18-2021, 06:58 PM | #119 |
Human being with feelings
Join Date: Nov 2011
Posts: 3,409
|
Those look like the requirements for building libSwell, which you don't have to do. Don't worry about the requirements and just run the install script. Even a normal install of Ubuntu should meet the requirements, let alone Ubuntu studio.
|
05-18-2021, 07:02 PM | #120 |
Human being with feelings
Join Date: Sep 2011
Location: PNW, USA
Posts: 658
|
hmm, I'll trust what you say, but those requirements are literally the first thing the readme says, verbatim:
"Welcome to the REAPER 6.28 for linux/x86_64 tarball - Requirements: + libc6, libstdc++ for gcc 4.x or later + libgdk-3 (you can also target headless or libgdk-2 if you build your own libSwell from WDL, see below) + ALSA" |
Thread Tools | |
Display Modes | |
|
|