freem | I use vivaldi, which is.... founded by one of former opera founders, and don't have such problem. | 01:07 |
---|---|---|
MinceR | too bad it's nonfree | 01:17 |
freem | indeed | 01:18 |
freem | there's otterbrowser that I need to try anew, though | 01:19 |
registeredsoda | How do I get the xm command from Xen? | 01:50 |
registeredsoda | It's not installed on my system atm | 01:50 |
registeredsoda | I need it if I want to start any Xen guests or check Xen's dmesg | 01:51 |
freem | "apt-file search bin/xm | grep 'xm$'" shows no result here | 01:55 |
freem | maybe it's an alias? | 01:55 |
rrq | used to be in xen-utils-common .. maybe it's renamed? | 02:11 |
rrq | "xl is mostly command-line compatible with the old xm utility" | 02:12 |
freem | apt-file is a pretty nice tool for that kind of things. I use it a lot when I try to compile stuff, to avoid reading lengthy docs. | 02:14 |
freem | (that, most of the time, don't contain the info I need anyway) | 02:14 |
ShorTie | xen-utils | 02:44 |
tuxd3v | hello guys :) | 02:45 |
tuxd3v | yo | 02:45 |
Wafficus | Hi there, I'm trying to figure out why my "Scarlett Solo" audio interface isn't producing any sound despite the controls in alsamixer showing that the volume is up all the way | 02:46 |
tuxd3v | Wafficus, what is a "Scarlett Solo" | 02:46 |
tuxd3v | ? | 02:47 |
Wafficus | I'm using Devuan Beowulf on my desktop machine with the Scarlett Solo audio interface. I've gotten audio to work just fine with this interface in the past, but I'm not sure if that's because I might have installed Pulse Audio as well before | 02:47 |
fsmithred | is alsamixer looking at the right interface? | 02:47 |
fsmithred | aplay -l | 02:47 |
Wafficus | Scarlett Solo is an audio interface where you can plug in 1 aux input jack from an instrument for recording | 02:47 |
fsmithred | will show you which one is first | 02:47 |
Wafficus | it needs to be "card 2" | 02:48 |
Wafficus | however Alsamixer isn't able to load "Scarlett Solo USB" for some reason | 02:48 |
Wafficus | not sure why | 02:48 |
tuxd3v | go to alsamixer and type F6, chose your card, like fsmithred said :) | 02:49 |
Wafficus | that's the thing | 02:49 |
gnarface | alsamixer -c [int] | 02:49 |
Wafficus | it doesn't show anything on the F6 menu | 02:49 |
Wafficus | believe me | 02:49 |
gnarface | sometimes the F keys are broken, dunno why, some terminal incompatibility maybe | 02:49 |
Wafficus | "This sound device does not have any controls" | 02:49 |
gnarface | oh, then that's the driver's problem | 02:49 |
gnarface | but hit [tab] key once to make sure | 02:50 |
gnarface | (remember input and output controls are on separate panels) | 02:50 |
gnarface | if you go through every device by number, passing the number to "alsamixer -c [number]" and you're sure you're seeing them all, but the one you want doesn't have input or output controls.... that's how the driver is giving it to you. either it really doesn't have any controls or the driver is bunk | 02:51 |
gnarface | the alsamixer interface is dynamically generated for every individual device, you see | 02:51 |
gnarface | but it just blindly reads info from the driver to do this | 02:52 |
fsmithred | it might not have any controls or few controls but no volume controls | 02:52 |
gnarface | so the driver has to actually provide some controls, and this is known to go wrong occasionaly | 02:52 |
fsmithred | I use a similar device | 02:52 |
gnarface | but yea i've seen some tv tuner cards with only input controls, so the first panel has none and at first you think they're missing | 02:52 |
gnarface | but just hitting [tab] once in that case works | 02:52 |
fsmithred | the one I use has a couple of switches for something I don't remember | 02:53 |
fsmithred | volume controls are on the actual device - physical knobs | 02:53 |
gnarface | if you have a Nvidia card it shows up as a alsa device like this too, but only with output controls (and they're just toggles, not volumes, it looks weird) | 02:53 |
Wafficus | pressing tab didn't do anything unfortunately | 02:53 |
gnarface | damn | 02:53 |
gnarface | it at least cycled the panel you're on, right? | 02:53 |
gnarface | in the top left corner alsamixer is telling you it's changing views, right? | 02:54 |
Wafficus | yeah I know what you mean | 02:54 |
gnarface | or is the interface actually completely frozen? | 02:54 |
Wafficus | for other sections, its fine | 02:54 |
Wafficus | but not for the solo device | 02:54 |
gnarface | ok, just clarifying | 02:54 |
Wafficus | no, its not frozen | 02:54 |
gnarface | yea, that's weird | 02:54 |
gnarface | which kernel was this again? | 02:54 |
Wafficus | its supposed to be class compliant | 02:54 |
Wafficus | meaning that it doesn't need drivers apparently | 02:54 |
gnarface | oh, no that means it uses usb drivers | 02:54 |
Wafficus | not sure the kernel on this | 02:54 |
gnarface | it still needs drivers but that means nobody is taking responsibility for them | 02:54 |
Wafficus | just use the default min install for Devuan Beowulf | 02:55 |
gnarface | ok that would be 4.19 then most likely but you can verify with "uname -a" | 02:55 |
fsmithred | pretty sure it should use snd-usb-audio and should just work | 02:55 |
gnarface | are there any quirks module options for it on the wiki? | 02:55 |
gnarface | if not, the only suggestion i have is try a different kernel version | 02:55 |
fsmithred | does this device show up in the device preferences in your audio apps? | 02:56 |
gnarface | shit, could pulseaudio be doing this? it would show at least ONE control though, wouldn't it? | 02:57 |
fsmithred | yeah, I think it gives you one bar | 02:57 |
fsmithred | not sure if you can do anything with it | 02:58 |
gnarface | i'd be looking for complaints in the output of dmesg at hotplug time, and trying different (newer and older) kernel versions to look for any evidence of changes | 02:58 |
Wafficus | sam@devuandesktop ~ $ uname -a | 02:59 |
Wafficus | Linux devuandesktop 4.19.0-9-amd64 #1 SMP Debian 4.19.118-2+deb10u1 (2020-06-07) x86_64 GNU/Linux | 02:59 |
gnarface | Wafficus: what company makes this device? can you find it on here? https://www.alsa-project.org/wiki/Matrix:Main | 02:59 |
Wafficus | Scarlett is the company | 02:59 |
gnarface | Wafficus: yea, that's the beowulf kernel | 02:59 |
gnarface | Wafficus: i'm not seeing scarlett even listed, which is weird because i distinctly remember the name... | 02:59 |
fsmithred | focusrite | 02:59 |
Wafficus | focusrite sorry yeah | 03:00 |
gnarface | https://www.alsa-project.org/wiki/Matrix:Vendor-Focusrite | 03:00 |
gnarface | ah ha | 03:00 |
fsmithred | https://focusrite.com/en/usb-audio-interface/scarlett/scarlett-solo | 03:00 |
gnarface | we have one | 03:00 |
Wafficus | that's the one | 03:00 |
Wafficus | fsmithred: | 03:00 |
gnarface | only note is "Even though the card is 24bit, the sample format on the wire is 32bit" | 03:00 |
gnarface | i wonder if this could be related to the problem ^ | 03:00 |
Wafficus | its a usb device though | 03:00 |
Wafficus | so its not like an actual sound card internally to the desktop | 03:00 |
Wafficus | not sure if that helps | 03:00 |
fsmithred | set jack to a multiple of 3 somethings | 03:00 |
fsmithred | give me a minute and I'll remember the word | 03:01 |
gnarface | Wafficus: it doesn't help, it makes it worse in this case unfortunately | 03:01 |
fsmithred | here's the line I use: | 03:01 |
Wafficus | I don't think I have Jack present though | 03:01 |
Wafficus | Jack kind of scares me to be honest | 03:02 |
fsmithred | oh | 03:02 |
fsmithred | lol | 03:02 |
Wafficus | I know what jack is though | 03:02 |
Wafficus | but the setup seems damn hard | 03:02 |
Wafficus | later down the road, I might figure out Jack | 03:02 |
Wafficus | but there's no way to make Alsa work with this though? | 03:02 |
fsmithred | even with qjackctl? gui | 03:02 |
fsmithred | yeah, it should work with also | 03:02 |
fsmithred | I didn't see an answer to my question about choosing this device in the program settings of something like vlc or some music player | 03:03 |
gnarface | Wafficus: i suggested trying a newer and older kernel, because that's what the alsa developers will tell you to try first when you ask them | 03:03 |
gnarface | Wafficus: unfortunately it seems you're running into a new problem that nobody else has seen, or at least nobody else has bothered mentioning on the wiki | 03:04 |
fsmithred | do we know if pulseaudio is installed? | 03:04 |
gnarface | yea, we need to know that for sure | 03:04 |
gnarface | though it should be there with most default installs now | 03:04 |
Wafficus | I have no idea | 03:04 |
Wafficus | is pulseaudio installed by default? | 03:04 |
gnarface | Wafficus: dpkg -l |grep pulseaudio | 03:05 |
Wafficus | for min install? | 03:05 |
gnarface | Wafficus: maybe not for a minimal instal | 03:05 |
gnarface | Wafficus: check with dpkg to be sure | 03:05 |
fsmithred | please | 03:05 |
Wafficus | sam@devuandesktop ~ $ dpkg -l | grep pulseaudio | 03:06 |
Wafficus | sam@devuandesktop ~ $ | 03:06 |
fsmithred | good | 03:06 |
Wafficus | actually I think on that alsamixer page, that's not listed | 03:08 |
Wafficus | I just have the single input Scarlett Solo (2nd gen) interface | 03:08 |
Wafficus | the page you showed had like the 2i2 or something | 03:08 |
fsmithred | oh | 03:08 |
Wafficus | sam@devuandesktop ~ $ dpkg -l | grep pulseaudio | 03:09 |
Wafficus | sam@devuandesktop ~ $ | 03:09 |
Wafficus | https://www.amazon.com/Focusrite-Scarlett-Audio-Interface-Tools/dp/B01E6T56CM | 03:09 |
Wafficus | ^ sorry for the first two lines | 03:09 |
fsmithred | did you check at linux musicians? | 03:09 |
gnarface | Wafficus: oh, if it's not even the device listed, then that probably means it's known not to work, but i couldn't tell you specifically why | 03:11 |
gnarface | Wafficus: in that case, the best move for you is to ask in #alsa and on the alsa-devel mailing list about it | 03:11 |
gnarface | Wafficus: (make sure you register for the mailing list before you send to it, or your post might get ignored/filtered) | 03:12 |
Wafficus | yeah I've looked on related posts, this device just isn't mentioend anywhere unfortunately | 03:12 |
fsmithred | yes it is | 03:13 |
Wafficus | as with usual Debian problems, I usually look for "ubuntu" tags on internet searches since someone more than likely had the same problem on Ubuntu and documented how they fixed it | 03:13 |
fsmithred | https://linuxmusicians.com/search.php?keywords=scarlet+solo | 03:13 |
Wafficus | however in this case, I just can't seem to find anyone with the same problem with alsa mixer | 03:13 |
Wafficus | yeah, but there's no solutions in those threads | 03:14 |
tuxd3v | Wafficus, I don't know if that board is supported :( | 03:15 |
tuxd3v | take a look : https://resource.focusrite.com/downloads/os?product=Scarlett+Solo | 03:15 |
tuxd3v | they only know about the existence of windows and Mac | 03:16 |
gnarface | Wafficus: you're gonna wanna try looking at common module options that fix other things, like disabling powersaving and stuff like that, and you're probably gonna be asked eventually to try it with the latest vanilla kernel driver version so it might be a good idea to get started on that... or at least try the beowulf-backports kernel to compare, it should be much closer | 03:16 |
gnarface | Wafficus: good luck | 03:16 |
Wafficus | ah I don't want to mess with the kernel | 03:18 |
Wafficus | I'm not that comfortable doing that kind of thing | 03:18 |
Wafficus | If I wanted to do that, I'd be installing Gentoo | 03:18 |
Wafficus | there's no way I can just have it use "card 2" instead? | 03:20 |
gnarface | well, mabye you'll get lucky with the backports kernel, that's safe and relatively easy | 03:20 |
Wafficus | or how would I be able to use speaker-test with the "card 2" info from aplay -l? | 03:20 |
gnarface | you gotta read some man pages | 03:20 |
gnarface | it's -D | 03:20 |
gnarface | for both of those | 03:20 |
gnarface | if you have another sound card of course you can use it instead | 03:21 |
gnarface | but why be plugging in this USB thing in the first place then? | 03:21 |
tuxd3v | Wafficus, thernel 5.7 seems to support your card.. | 03:22 |
tuxd3v | https://paste2.org/gz8nEc0X | 03:22 |
tuxd3v | err, thernel -> kernel | 03:22 |
tuxd3v | lol | 03:22 |
gnarface | thanks tuxd3v | 03:22 |
Wafficus | its because its a neat usb audio interface | 03:22 |
fsmithred | Wafficus, most audio apps have a way to specify which card to use | 03:22 |
Wafficus | I used to record stuff for a solo band | 03:22 |
Wafficus | this worked just fine in debian min | 03:22 |
Wafficus | but I think I had Pulseaudio installed at the same time cause of Firefox demanded it | 03:23 |
Wafficus | so maybe it never worked in Alsa to begin with | 03:23 |
fsmithred | <Wafficus> there's no way I can just have it use "card 2" instead? | 03:23 |
fsmithred | I'm pretty sure there is a way to do that | 03:23 |
tuxd3v | gnarface, you welcome :) | 03:24 |
tuxd3v | for what it seems that is a imput device and not a output one, right? | 03:25 |
tuxd3v | its aneat card :) | 03:25 |
Wafficus | ah that's what's grey area | 03:25 |
Wafficus | its both really | 03:25 |
Wafficus | it has two inputs | 03:26 |
Wafficus | one for a mic jack | 03:26 |
Wafficus | and another for an aux jack aka guitar cable | 03:26 |
Wafficus | it has headphone monitoring in the front | 03:26 |
Wafficus | and you can do left + right stereo audio out in the back | 03:26 |
Wafficus | basic $100 around USB audio interface | 03:26 |
Wafficus | worked right out of the box for Windoze | 03:26 |
Wafficus | so can't say it wasn't good for something I guess | 03:26 |
tuxd3v | humm | 03:27 |
Wafficus | I see what you pasted for that kernel thing | 03:27 |
Wafficus | makes sense | 03:27 |
Wafficus | kinda scary though to jump a kernel for this | 03:27 |
Wafficus | I have NEVER done it though so maybe its simpler | 03:27 |
tuxd3v | that board also seems to need to negociate quite of power via usb | 03:27 |
Wafficus | it is kinda cool its written in C | 03:27 |
Wafficus | I've been learning C a bit on the side for my own benefit to possibly make some cool ncurses terminal programs | 03:27 |
Wafficus | so I understand what you posted a bit | 03:27 |
Wafficus | *slightly | 03:27 |
tuxd3v | usb2.0 has a limitation in it specification of 5 units of 100mA each, which means you can only negociate 500mA in total | 03:28 |
tuxd3v | by other words, does you have a usb3.0 port to test? | 03:28 |
tuxd3v | because USB 3.0 has a lot more bang to negotiate :) | 03:28 |
Wafficus | ah I'm not sure | 03:29 |
Wafficus | sounds dumb | 03:29 |
tuxd3v | I have had several problems with usb 2.0 to power up or disks, or a dvd player, or something, and in the foruns, there are also users with that problem.. | 03:30 |
Wafficus | but I think I might have maybe ONE USB 3.0 slot in the back of the tower | 03:30 |
tuxd3v | what do you mean sounds dumb? | 03:30 |
Wafficus | I never setup the ones in the front though | 03:30 |
Wafficus | dumb as in I"m not sure if I have USB 3.0 slot | 03:30 |
Wafficus | I'll look for a blue slot | 03:30 |
tuxd3v | its why specifications are created for | 03:30 |
tuxd3v | insert there and do a dmesg | 03:30 |
tuxd3v | and a 'aplay -L' | 03:31 |
tuxd3v | :) | 03:31 |
Wafficus | I think all 4 regular usb slots are taken in the back | 03:31 |
Wafficus | and the only other two remaining were "Type A" and "Type C" | 03:31 |
Wafficus | i'm assuming they're probably USB 3.0 | 03:32 |
Wafficus | its a gaming motherboard, MSI I think | 03:32 |
Wafficus | can't remember | 03:32 |
Wafficus | built this a while ago | 03:32 |
tuxd3v | test it, in the usb3.0 ports :) | 03:32 |
tuxd3v | I know that in kernel 5.7 there are support for it, but I don't know about it level of support nor when that device were introduced | 03:33 |
fsmithred | someone on linuxmusicians.com said that model worked with his xubuntu in a post made in 2018 | 03:34 |
fsmithred | and I know the other models have been supported since at least 2015 (2i2 and 4i4) | 03:35 |
Wafficus | lucky man | 03:36 |
Wafficus | I wish it worked out of the box | 03:36 |
Wafficus | idk, trying to update a kernel, or figuring out Jack sounds like a pita | 03:37 |
fsmithred | how are you testing it? | 03:37 |
Wafficus | I didn't know how to refer to the card 2 with speaker-test -D flag | 03:37 |
Wafficus | I don't know what they want as the "PCM device name" | 03:37 |
fsmithred | you get that from aplay | 03:37 |
Wafficus | card 2: USB [Scarlett Solo USB], device 0: USB Audio [USB Audio] | 03:38 |
Wafficus | Subdevices: 1/1 | 03:38 |
Wafficus | Subdevice #0: subdevice #0 | 03:38 |
Wafficus | right, but I tried "card 2" with the -D flag though | 03:38 |
tuxd3v | 'cat /proc/asound/cards' | 03:38 |
tuxd3v | then | 03:38 |
tuxd3v | set default in '/etc/asound.conf' | 03:39 |
tuxd3v | so its detected | 03:39 |
tuxd3v | :) | 03:39 |
tuxd3v | speaker-test -c2 -twav | 03:40 |
Wafficus | sam@devuandesktop ~ $ cat /proc/asound/cards | 03:40 |
Wafficus | 0 [PCH ]: HDA-Intel - HDA Intel PCH | 03:40 |
Wafficus | HDA Intel PCH at 0xdf320000 irq 131 | 03:41 |
Wafficus | 1 [NVidia ]: HDA-Intel - HDA NVidia | 03:41 |
Wafficus | HDA NVidia at 0xdf080000 irq 17 | 03:41 |
Wafficus | 2 [USB ]: USB-Audio - Scarlett Solo USB | 03:41 |
Wafficus | Focusrite Scarlett Solo USB at usb-0000:00:14.0-3, high speed | 03:41 |
tuxd3v | nice so you have it! | 03:41 |
rrq | use "aplay -L" to see alsa's device names | 03:41 |
fsmithred | USB Audio | 03:41 |
Wafficus | hw:CARD=USB,DEV=0 | 03:42 |
Wafficus | Scarlett Solo USB, USB Audio | 03:42 |
Wafficus | Direct hardware device without any conversions | 03:42 |
Wafficus | plughw:CARD=USB,DEV=0 | 03:42 |
Wafficus | Scarlett Solo USB, USB Audio | 03:42 |
Wafficus | Hardware device with all software conversions | 03:42 |
Wafficus | usbstream:CARD=USB | 03:43 |
Wafficus | Scarlett Solo USB | 03:43 |
Wafficus | USB Stream Output | 03:43 |
rrq | use "-Dplughw:CARD=USB" maybe | 03:43 |
tuxd3v | if doesn't appear in amixer? when you type f6 | 03:43 |
Wafficus | tuxd3v: it does | 03:43 |
Wafficus | tuxd3v: but it doesn't allow you to do anything with it | 03:44 |
tuxd3v | Wafficus, does you selected it? | 03:44 |
tuxd3v | with f6 | 03:44 |
Wafficus | yes | 03:44 |
fsmithred | that sounds right to me | 03:44 |
Wafficus | it says "This device doesn't have any sound controls" | 03:44 |
tuxd3v | what controls you have | 03:44 |
tuxd3v | ? | 03:44 |
Wafficus | ^ | 03:44 |
fsmithred | the controls are physical knobs on the device | 03:44 |
Wafficus | yeah | 03:44 |
Wafficus | they're all the way up | 03:44 |
Wafficus | well | 03:45 |
tuxd3v | rrq, is right about a speaker test :) | 03:45 |
Wafficus | half way up so I don't blow my ears out | 03:45 |
fsmithred | I usually just click on Preferences and then Audio Device and select the right card. Then play a music file. | 03:45 |
Wafficus | yes that works | 03:45 |
Wafficus | what rrq mentioned | 03:45 |
tuxd3v | so you hear sound via that device output? | 03:45 |
Wafficus | yes\ | 03:46 |
Wafficus | now its a matter of changing .asoundrc probably | 03:46 |
tuxd3v | change your default card in '/etc/asound.conf' | 03:47 |
tuxd3v | chage to index 2 | 03:47 |
tuxd3v | this example is very very basic, but its a start | 03:48 |
tuxd3v | https://alsa-project.org/wiki/Setting_the_default_device | 03:48 |
rrq | in .asoundrc: defaults.ctl.card 2 ; defaults.pcm.card 2 ; defaults.timer.card 2 ; | 03:51 |
Wafficus | cool thanks | 03:51 |
Wafficus | why the "defaults.timer.card 2 ;" section though? | 03:55 |
Wafficus | I ask because its not on that link | 03:55 |
Wafficus | just the two options for "pcm" and "ctl" | 03:55 |
tuxd3v | but it seems to make sense :) | 03:55 |
rrq | wish I knew :) might not be needed | 03:55 |
Wafficus | cool that was the default one now | 03:56 |
Wafficus | when I do speaker-test | 03:56 |
Wafficus | it defaults to the audio interface | 03:56 |
Wafficus | neat | 03:56 |
Wafficus | thanks a ton | 03:56 |
Wafficus | without pulseaudio too :) | 03:56 |
tuxd3v | speaker-test -c2 -twav | 03:56 |
Wafficus | clearly I have a lot to learn | 03:56 |
Wafficus | I was trying to just get audio working so I can run some PS2 emulation lol | 03:56 |
tuxd3v | you don't need to specify the device now since it chooses always the index 2 :) | 03:57 |
Wafficus | tuxd3v: yes that works | 03:57 |
Wafficus | now I've gotta figure out why the heck my Wii U pro controller totally works in the PS1 emulator on the Devuan repos | 03:57 |
Wafficus | yet PCSX2 doesn't recognize it | 03:57 |
Wafficus | like, it'll recognize it as an "Xbox gamepad" | 03:57 |
Wafficus | yet when I assign buttons, it doesn't detect any input | 03:58 |
tuxd3v | Wafficus, you can also test, now in other usb ports that you think that are usb2.0 | 03:58 |
tuxd3v | to troubleshoot everything right | 03:58 |
Wafficus | good idea | 03:59 |
Wafficus | one sec | 03:59 |
Wafficus | yep, changed it to different usb slots | 04:00 |
Wafficus | works just fine | 04:00 |
Wafficus | cool stuff :) | 04:00 |
tuxd3v | nice! | 04:00 |
Wafficus | now onto fixing the Wii U pro controller input for PCSX2 using the one from the Devuan repos :) | 04:00 |
Wafficus | maybe it fixed itself on its own *crosses fingers ;D | 04:00 |
tuxd3v | maybe if you push up the amplifier you could have problems but it seems to be working which is awesome! :) | 04:01 |
Wafficus | yeah we'll see once I try to get Reaper up and running again using their latest build | 04:02 |
Wafficus | might try Ardour though | 04:02 |
tuxd3v | well, you should make a original soundtrack for us to listen one day | 04:02 |
buZz | pcsx-rearmed in devuan would be nice | 04:03 |
tuxd3v | my father was musician, but not professional, I tried to learn but to young to give value to things at the time.. | 04:03 |
tuxd3v | now I would like to have lerned with him.. | 04:03 |
Wafficus | tuxd3v: I already have a one man band | 04:05 |
Wafficus | well the one I had finished honestly rather | 04:05 |
Wafficus | I'm thinking about doing a new one | 04:05 |
Wafficus | but yeah, I did like 9 albums with my solo band for a while | 04:05 |
Wafficus | fun stuff to be honest | 04:05 |
Wafficus | I just wish more people were able to collaborate | 04:05 |
buZz | i've been trying to start a oneman band | 04:05 |
Wafficus | I think I was focused too much on maybe getting people involved, or really trying to play live | 04:05 |
buZz | but we can never find time to practise | 04:06 |
buZz | :P | 04:06 |
Wafficus | however its just better to just release what you want on Bandcamp | 04:06 |
Wafficus | buZz: an hour a day would help man | 04:06 |
Wafficus | buZz: I only do keys during the weekdays during lunchtime for work just to go over new stuff | 04:06 |
Wafficus | guitar once on the weekends | 04:06 |
buZz | i did make a semiguitar ; https://nurdspace.nl/Buztrum | 04:06 |
Wafficus | but yeah, you have to get past the 6 month hump though. Anyone sucks on an instrument for the first 6 months imo | 04:06 |
buZz | i need to find some template-able drumcomputer | 04:07 |
Wafficus | neat project | 04:07 |
Wafficus | buZz: I've seen some drum machines made with Arduinos | 04:07 |
buZz | yeah me too | 04:07 |
Wafficus | based on those pics, you look like the type that likes 3D printing | 04:07 |
buZz | infinite options | 04:07 |
Wafficus | totally could be done easily | 04:07 |
Wafficus | just rip off a couple existing projects and copy pasta some code | 04:08 |
buZz | too many options just reduce ability to pick a direction | 04:08 |
tuxd3v | buZz, I think you made a keyboard =D | 04:08 |
buZz | i did aswell! | 04:08 |
buZz | https://nurdspace.nl/images/f/f4/Wearable_in_orange.jpg | 04:08 |
buZz | its a chording keyboard | 04:08 |
buZz | so you get 2^7 keys, and it has 3 keymaps | 04:09 |
buZz | so 3*(2^7) keys :P | 04:09 |
buZz | i still want to add mouse emulation to it aswell | 04:09 |
tuxd3v | ho.. I see a rpi1 in the case, am I right? | 04:09 |
buZz | yeah :P | 04:09 |
buZz | its a old project of mine | 04:10 |
tuxd3v | nice! :) | 04:10 |
buZz | my main collection is just unfinished projects | 04:11 |
* tuxd3v tuxd3v thinks fsmithred, knows more about music that what he has told us.. | 04:11 | |
buZz | preferably with some documentation | 04:11 |
Wafficus | dang, I wish I was at this point | 04:17 |
Wafficus | I just need a garage | 04:17 |
Wafficus | but I wanted to do similar things with synths and guitars | 04:17 |
Wafficus | * in electronics learning rather | 04:17 |
buZz | Wafficus: join a hackerspace | 04:18 |
Wafficus | maybe if they have one in Florida | 04:19 |
buZz | they have one | 04:19 |
Wafficus | gonna be moving in two months | 04:19 |
buZz | or several | 04:19 |
Wafficus | good idea btw though | 04:19 |
buZz | check hackerspaces.org | 04:19 |
Wafficus | cool, will do so now | 04:19 |
Wafficus | yeah I have the same issue with the PCSX2 build using my Wii U Pro controller | 04:27 |
buZz | i use a wii u pro controller aswell | 04:27 |
Wafficus | it recognizes the controller, but when I try to input anything for the control mapping, nothing is registered | 04:27 |
buZz | but havent in a while | 04:27 |
buZz | it just matches my hands better than the xbox or playstation versions | 04:27 |
buZz | there's a kernel module to remap joysticks to a 'xbox controller' | 04:28 |
buZz | apt search xbox , something there helps to remap em | 04:28 |
buZz | i use a 8bitdo usb receiver that just turns it into a wired usb joystick | 04:28 |
Wafficus | yeah I have that one too | 04:37 |
Wafficus | I think maybe that might be a good idea | 04:37 |
Wafficus | I have that for Switch but I think the same brick USB adapter could be used for this Linux PC | 04:37 |
Wafficus | I have two adapters | 04:37 |
Wafficus | I have the one white adapter that's from Mayflash | 04:38 |
Wafficus | and I also have the 8bitdo one as well for Switch, though I think it also works on PC | 04:38 |
Wafficus | great reminder though, might be able to use that instead | 04:38 |
buZz | yeah should be easy | 04:54 |
Wafficus | kernel module as in | 04:56 |
Wafficus | like a utility from 'apt' right? | 04:56 |
Wafficus | ah gotcha | 04:56 |
Wafficus | you got the instructions above | 04:57 |
Wafficus | thanks | 04:57 |
buZz | yw :) | 05:00 |
buZz | with the 8bitdo you dont need the xbox stuff, unless you wanna remap | 05:01 |
Wafficus | buZz: did you get it to work out of the box with the 8bitdo adapter? | 05:07 |
Wafficus | like plug and play, and badda bing, just recognizes it? | 05:07 |
Wafficus | or do they have linux specific drivers? I ask like an idiot because the last time I attempted to use it on this PC was when it had Windoze 10 on it | 05:08 |
buZz | yeah in steam at least | 05:09 |
buZz | no drivers or anything | 05:09 |
buZz | its just a plain usbhid device | 05:09 |
Wafficus | ah I see | 05:10 |
Wafficus | I wanted to use it for the PCSX2 PS2 emulator though in this case | 05:10 |
buZz | yeah | 05:10 |
buZz | should work aswell | 05:10 |
Wafficus | however, I think I'll try that for worst case scenario | 05:10 |
Wafficus | yeah agreed | 05:10 |
Wafficus | thanks for the reminder ha :) | 05:10 |
buZz | and pcsx2 probably has its own joystick mapper interface | 05:10 |
Wafficus | it does have its own mapper | 05:10 |
Wafficus | however what's weird | 05:11 |
Wafficus | is that it detects it as an xbox controller | 05:11 |
Wafficus | but it just doesn't want to accept the input | 05:11 |
Wafficus | Dolphin emulator on the other hand | 05:11 |
Wafficus | is totally fine with the controller right out of the box | 05:11 |
Wafficus | makes no sense to me honestly | 05:11 |
Wafficus | most likely just an emulator related issue | 05:11 |
buZz | could be | 05:11 |
Wafficus | and more than likely, I'll just have to find a different input plugin OR at least try the 8bitdo adapter instead | 05:11 |
* Wafficus thanks everyone | 05:16 | |
buZz | \o | 05:16 |
crhylove | Hey all! For some reason I can't switch to the sound device I need to in Beowulf. | 06:41 |
crhylove | There's a button to press, I press it, I click OK, and it goes back to the audio device I'm not using. | 06:41 |
crhylove | I'm using Sound in the control center in MATE | 06:42 |
crhylove | Do I need to run it as root? | 06:43 |
crhylove | Tried a few things and rebooted.... still no dice. | 07:00 |
crhylove | Very strange. | 07:01 |
crhylove | Ardour works great. So it's really just changing audio outputs in MATE is the issue. | 07:03 |
gnarface | crhylove: see if you can find some error message in a log somewhere about it | 07:20 |
gnarface | crhylove: i don't know anything about mate specifically, sorry | 07:21 |
gnarface | crhylove: also if you're using pulseaudio see if pavucontrol will do what you want | 07:21 |
gnarface | \ | 08:20 |
bnjf | eep. only thing that caught me with the upgrade was a slight behaviour change with packet counting with nf vs iptables | 09:35 |
bnjf | (and ipsets) | 09:35 |
bnjf | awesome work! | 09:35 |
kreyren | What does apt need to extract deb things? https://bpa.st/LEGQ O.o | 10:29 |
crhylove | gnarface, I'm using ALSA I think. That's what's working in Ardour and Audacity, and Audacious. | 10:53 |
onefang | Coz of the Alliteration. B-) | 10:54 |
kreyren | Solved the issue above -> I've removed bash so it failed to find executables~ | 11:11 |
brocashelm | just installed the latest beowulf. i use dual monitors, but somehow, it's not detecting a second monitor and instead duplicating it. any tips? | 13:06 |
fsmithred | kreyren, 'ar x' to extract a .deb package. | 13:06 |
fsmithred | xfce? | 13:07 |
brocashelm | yes | 13:07 |
kreyren | fsmithred, i meant what is apt using for that? Since it complains with errors | 13:07 |
kreyren | https://bpa.st/LEGQ | 13:07 |
brocashelm | if i remove slim, will that BS mounting/unmounting conflict still be in effect? that's what happened once when i tried ascii two years ago | 13:08 |
brocashelm | (not a fan of graphical login screens and prefer startx) | 13:08 |
fsmithred | brocashelm, you've played around in the Display settings? There's a checkbox for 'Mirror displays' | 13:08 |
brocashelm | yes, i have checked there. the problem is it is NOT letting me set any other option for the monitors. just "default" or something | 13:09 |
fsmithred | before beowulf, I'd use lxrandr to get my two montors to make one big desktop. | 13:10 |
fsmithred | in beowulf I do it with the xfce Display settings. | 13:10 |
fsmithred | I did not do anything special. | 13:10 |
fsmithred | kreyren, I don't know what to make of that error message | 13:16 |
* ShorTie Thinkz, looks like the download didn't happen to me | 13:17 | |
fsmithred | maybe | 13:17 |
ShorTie | try locating it maybe | 13:18 |
fsmithred | I just downloaded the package and extracted it. control.tar is there as expected | 13:19 |
ShorTie | try some other mirror then tor+http://vwakviie2ienjx6t.onion/debian maybe | 13:21 |
ShorTie | you did do a 'apt update' at least ?? | 13:22 |
fsmithred | says it got 1,368KB, which is the size of the aptitude package, but not the other packages | 13:23 |
fsmithred | yeah, update and repeat | 13:23 |
kreyren | Can anyone do a peer review for my pinning please? ^-^ http://ix.io/2pab | 13:43 |
kreyren | debian is freaking out too much about that to help~ | 13:43 |
rrq | the last one looks almost fine; should say "beowulf" rather than "stable" though. And you can keep the first one, and remove the rest. | 13:49 |
kreyren | Is ASCII directly compatible with buster? | 15:26 |
kreyren | and beowulf with bullseye ? | 15:26 |
kreyren | ... and ceres with sid :p | 15:26 |
fsmithred | kreyren, no. ascii=stretch, beowulf=buster, chimaera=bullseye | 15:29 |
fsmithred | and yes, ceres=sid | 15:29 |
kreyren | fsmithred, thanks helpful | 15:29 |
fsmithred | 99% of packages in devuan come directly from debian, unchanged | 15:30 |
kreyren | noted ^-^ | 15:30 |
fsmithred | and the ones we fork from debian have | 15:31 |
fsmithred | devuan in the version | 15:31 |
kreyren | noted | 15:32 |
kreyren | that's probably why apt-cache policy doesn't pull devuan? Because they are unchanged? | 15:32 |
kreyren | http://ix.io/2paF | 15:32 |
fsmithred | I use apt-cache policy all the time | 15:32 |
kreyren | m2 ^-^ | 15:33 |
fsmithred | 0.40.3-1 500 | 15:34 |
fsmithred | 500 http://pkgmaster.devuan.org/merged beowulf/main amd64 Packages | 15:34 |
kreyren | This seems to work perfectly ^-^ http://ix.io/2paQ | 16:18 |
frabbit | https://devuan.org/os/documentation/en/minimal-xorg-install.html <- 404 error | 18:45 |
frabbit | and https://friendsofdevuan.org/ is down -> https://status.ws/sites/friendsofdevuan.org/6413129367945216 | 18:47 |
frabbit | oh the links on the website does a wrong redirect, the document is here: https://www.devuan.org/os/documentation/dev1fanboy/en/minimal-xorg-install.html | 18:51 |
frabbit | link on website points to 404 | 18:52 |
frabbit | awesome installed minimal xorg and elogind, libpam-elogind and dwm, ran startx and now the system is frozen | 19:07 |
frabbit | very cool cant change back to any tty to unmount my external hdd and cleanly close luks again! thx! | 19:08 |
frabbit | fucking fuck! | 19:08 |
fsmithred | black screen? | 19:08 |
frabbit | no just dwm but mouse and keyboard do not react | 19:10 |
fsmithred | try switching to another tty and logging in and issuing some command that will give a physical response, like 'reboot' | 19:10 |
fsmithred | oh | 19:10 |
fsmithred | oh, oh | 19:10 |
frabbit | i cant switch | 19:10 |
fsmithred | unplug and replug inputs | 19:10 |
frabbit | =( | 19:10 |
frabbit | already tried | 19:10 |
fsmithred | or one of them | 19:10 |
fsmithred | oh | 19:10 |
fsmithred | magic sysrq keys? | 19:10 |
frabbit | whats that? | 19:10 |
fsmithred | alt-PrntScrn-r,s,u,b | 19:11 |
fsmithred | you probably don't have all of them enabled | 19:11 |
frabbit | whats Scrn? | 19:11 |
fsmithred | print screen key | 19:11 |
fsmithred | also sometimes labeled Sysrq | 19:11 |
frabbit | err... | 19:11 |
frabbit | i have a german keyboard here | 19:12 |
fsmithred | hold down | 19:12 |
fsmithred | shit | 19:12 |
frabbit | alt i know also print | 19:12 |
frabbit | yeah big load of shit... | 19:13 |
frabbit | thats my backup hdd | 19:13 |
frabbit | also some unique stuff there because i havent a second backup hdd atm | 19:13 |
frabbit | doesnt help i need to power this shitty thing of with power button on computer... | 19:14 |
fsmithred | can you ssh in? | 19:14 |
frabbit | do i need to have ssh on the target pc for that? | 19:15 |
fsmithred | yes | 19:15 |
frabbit | i dont... | 19:15 |
fsmithred | ok | 19:15 |
fsmithred | ctrl-alt-del a few times might get it to shut down | 19:15 |
frabbit | i first install minimal, then xserver and when that runs fine the rest | 19:15 |
frabbit | no dont help... | 19:16 |
frabbit | display turned off now | 19:17 |
frabbit | because nothing happend | 19:17 |
frabbit | fuck! | 19:17 |
frabbit | i normally install minimal xserver my way cause the wiki way caused problems in the past as far as i remember, now i know that it cuases problems... | 19:18 |
fsmithred | what do you do that's different? | 19:18 |
frabbit | cant tell u atm cause my script for that is in that ehdd... | 19:19 |
frabbit | if my data is still there after hard poweroff i can show u, if not i will destroy these fucking machines... | 19:19 |
frabbit | why isnt there a button on each fucking computer to switch to a tty? | 19:20 |
fsmithred | most likely will be there | 19:20 |
fsmithred | assuming ext4 | 19:20 |
frabbit | thousands buttons for light, sound and foobar | 19:20 |
frabbit | no | 19:20 |
frabbit | the ehdd has ext2 | 19:20 |
frabbit | =( | 19:20 |
fsmithred | ouch | 19:20 |
frabbit | all my videos and photos are there... | 19:20 |
frabbit | i havent got the fucking money since now to buy another big one to back it up... | 19:21 |
frabbit | i hate this shit | 19:23 |
frabbit | a instalelr should set up automatically an encrypted minimal system | 19:23 |
frabbit | *installer | 19:23 |
frabbit | otional with minimal WORKING xserver | 19:24 |
yeti | solve your backup problem in the 1st place | 19:24 |
frabbit | *optional | 19:24 |
yeti | really! | 19:24 |
frabbit | yeti: oh thx for that hint! not! | 19:24 |
frabbit | i wrote why i have no second hdd for backups | 19:24 |
yeti | if you start to depend on IT you even should have backup haredware | 19:24 |
frabbit | money! | 19:25 |
frabbit | give me a fucking gun and i will get myself fucking money from the fucking jerks on this planet that have more money then they will ever need! | 19:25 |
yeti | then you should have smaller systems but everything twice | 19:25 |
yeti | dancing at the edge of the cliff never was a good idea and truth sometimes can hurt | 19:26 |
frabbit | https://paste.debian.net/plainh/4f9001fd | 20:03 |
frabbit | does this output says anything about corrupt or even deleted data? | 20:04 |
systemdlete | I've been having intermittent crashes on my main hardware box. The only information I can glean from the kern.log is a lot of messages that say "kernel: [117914.306439] xhci_hcd 0000:03:00.0: WA | 20:38 |
systemdlete | RN Event TRB for slot 2 ep 4 with no TDs queued?" | 20:38 |
systemdlete | after the crash/reboot, I look at the logs, and the first message includes a ton of null characters pre-pended to the first boot message | 20:39 |
systemdlete | (and why the line break in a kernel message I wonder?) | 20:39 |
systemdlete | Obviously, this has something to do with usb, but I'm not sure how to map slot/ep to bus/device (why oh why do they make this so confusing?) | 20:40 |
systemdlete | So I am not even sure which usb device is the culprit, or maybe the accomplis | 20:40 |
systemdlete | I'm running the 4.9.0-12-amd64 kernel | 20:41 |
systemdlete | it's the ascii release, btw | 20:42 |
systemdlete | Now I am seeing some other errors from last nights logwatch report: BUG: Bad page map in process dbus pte:6c4cf... (multiple hits with slightly different addresses) | 21:12 |
systemdlete | Some users say this might be memory or hardware related. Uh-oh... | 21:13 |
* systemdlete goes off to run a memory test... | 21:15 | |
sixwheeledbeast | memory test would be my first call | 21:19 |
kreyren | Any idea how to fix the errors? https://i.imgur.com/K4V4Iy6.jpg | 21:23 |
kreyren | it also seems to hang on the last step but that seems to be something with a kernel? | 21:24 |
Wafficus | Hi there, I have a question regarding video card drivers for Nvidia. I have a Nvidia GTX 1060. Should I install the video card drivers from Nvidia's site or somehow find them on Devuan's repos? | 21:44 |
kreyren | Wafficus, afaik they should be available in nvidia-drivers but they rarely work for me on debian | 21:51 |
kreyren | If you have GTX970 and don't need vulkan then i would use nouveau btw | 21:52 |
Wafficus | I have a GTX 1060 card | 21:53 |
Wafficus | not sure if that helps | 21:53 |
Wafficus | I tried searching for: "apt-cache search nvidia" but didn't find "nvidia-drivers" though | 21:54 |
kreyren | nouveau doesn't have support for power management so it would be stuck in low power mode if that's desired then you can use that | 21:54 |
kreyren | Wafficus, search for nvidia-driver* there are some packages | 21:55 |
kreyren | i.e https://pkginfo.devuan.org/stage/ascii/ascii-backports/nvidia-driver-bin_418.74-1~bpo9+1.html | 21:55 |
kreyren | these seems to be grabbed directly from debian | 21:56 |
Wafficus | ok | 21:58 |
kreyren | Wafficus, so the process should be the same it should pull the package and then you need to compile it yourself in /usr/src/nvidia-something | 21:59 |
Wafficus | sam@devuandesktop ~ $ apt-cache search nvidia-driver* | 21:59 |
Wafficus | sam@devuandesktop ~ $ | 21:59 |
kreyren | ping me if u need help with it | 21:59 |
Wafficus | are these from the standard repo? | 21:59 |
Wafficus | or would i have to look into the closed source repo? | 21:59 |
kreyren | eh? what is output of `lsb_release -cs` | 21:59 |
bgustav_ | maybe he doesn't have non-free enabled in sources.list | 22:00 |
kreyren | from the website provided it's in the non-free section so you need to add that in /etc/apt/sources.list | 22:00 |
kreyren | bgustav_, second sooner! :p | 22:00 |
kreyren | Wafficus, | 22:01 |
Wafficus | sam@devuandesktop ~ $ lsb_release -cs | 22:03 |
Wafficus | beowulf | 22:03 |
Wafficus | I see, I can always disable the non-free section after I've added the video card drivers as well going forward right? | 22:03 |
Wafficus | *unless I probably want to update it, I'll toggle it | 22:03 |
Wafficus | *temporarily | 22:04 |
kreyren | Wafficus, i would rather pin the non-free for only the specified drivers | 22:04 |
Wafficus | nice | 22:04 |
Wafficus | I didn't know you can do that | 22:04 |
kreyren | since disabling it will make it unupgradable which will break your system at some point | 22:04 |
Wafficus | I thought you had to allow ALL non-free packages | 22:04 |
kreyren | nah just the one you want :p | 22:04 |
kreyren | or you can get amdgpu that works great on linux.. probably has better performance too and costs less | 22:05 |
kreyren | Wafficus, see https://manpages.debian.org/stretch/apt/apt_preferences.5.en.html for the pinning | 22:06 |
kreyren | Wafficus, should look something like https://hastebin.com/hugutixoxi.http | 22:08 |
kreyren | Wafficus, you should verify by using `apt-cache policy targetPacakge` to see the pinning | 22:08 |
kreyren | Wafficus, this is the pin in an effect https://i.imgur.com/lsBfQoA.png | 22:09 |
Wafficus | looks like the first example is the only relevant one on that man page since all of the other ones use the "*" to grab all packages | 22:09 |
Wafficus | Package: perl | 22:09 |
Wafficus | Pin: version 5.20* | 22:09 |
Wafficus | Pin-Priority: 1001 | 22:10 |
Wafficus | using that syntax, I'd probably have to use: | 22:10 |
Wafficus | Package: nvidia-drivers | 22:10 |
Wafficus | Pin: (no idea) | 22:10 |
Wafficus | Pin-Priority: (no idea) | 22:10 |
kreyren | Pin: release c=non-free | 22:10 |
kreyren | Pin-Priority: -1 # To never install that package | 22:10 |
kreyren | Pin-Priority: 990 # Part of release | 22:10 |
kreyren | you can also `Pin: release c=non-free, a=stable` to make the pin effective only for non-free on stable release | 22:12 |
Wafficus | why would I not want to install that package though | 22:12 |
Wafficus | or, are you just listing the options | 22:12 |
kreyren | Wafficus, nah i though you want to blacklist all non-free packages excluding the one you want for your GPU | 22:12 |
kreyren | where using https://hastebin.com/raw/hugutixoxi will do that | 22:13 |
kreyren | ask questions if it's not clear.. took me time to understand it too~ | 22:13 |
bugbustr0 | has anyone run into this when trying to start vmware since upgrading to Beowulf? /usr/lib/vmware/bin/vmware-modconfig: Relink `/usr/lib/x86_64-linux-gnu/libbsd.so.0' | 22:14 |
Wafficus | oh ok | 22:15 |
Wafficus | I see what you mean | 22:15 |
* kreyren[m] 's temporary ark bcs his system is reworking networking | 22:21 | |
kreyren[m] | *afk | 22:21 |
Wafficus | Package: perl | 22:27 |
Wafficus | Pin: version 5.20* | 22:27 |
Wafficus | Pin-Priority: 1001 | 22:27 |
Wafficus | whoops wrong paste | 22:27 |
Wafficus | I have this so far: | 22:27 |
Wafficus | # Adding non-free source for just Nvidia GTX 1060 Drivers: | 22:27 |
Wafficus | Package: nvidia-drivers | 22:27 |
Wafficus | Pin: release c=non-free | 22:27 |
Wafficus | Pin-Priority: -1 | 22:27 |
Wafficus | Pin-Priority: 900 | 22:27 |
Wafficus | is that the correct lines to put into the "sources.list" file? | 22:28 |
kreyren[m] | 990 is what is apt using for selected release 900 has different behavior | 22:28 |
kreyren[m] | This is in apt preferences | 22:29 |
kreyren[m] | sources.list is only for sources | 22:29 |
kreyren[m] | Wafficus | 22:29 |
kreyren[m] | Also verify using apt-cache policy pkg | 22:30 |
kreyren[m] | And the nvidia-drivers is invalid name afaik | 22:30 |
kreyren[m] | https://pkginfo.devuan.org/stage/ascii/ascii-backports/nvidia-driver-bin_418.74-1~bpo9+1.html | 22:31 |
Wafficus | sam@devuandesktop /etc/apt $ apt-cache policy nvidia-driver | 22:34 |
Wafficus | nvidia-driver: | 22:34 |
Wafficus | Installed: (none) | 22:34 |
Wafficus | Candidate: (none) | 22:34 |
Wafficus | Version table: | 22:34 |
Wafficus | but how would I tell it the gradient value from -1 to 900? | 22:34 |
Wafficus | if I just want to include that package, but none others? | 22:35 |
kreyren[m] | You probably want nvidia-driver-bin-440.82 for Beowulf though | 22:35 |
Wafficus | didn't you guys say to just modify the sources.list? | 22:35 |
kreyren[m] | Wafficus yes to add the non-free repo | 22:35 |
kreyren[m] | The pinning is just good practice to avoid unexpected non-free packages | 22:36 |
kreyren[m] | Otherwise debianers are just keeping the non-free in without pinning | 22:36 |
kreyren[m] | Since its very easy to install non-free package by mistake :p | 22:37 |
Wafficus | ok | 22:40 |
Wafficus | but what I had above was ok? | 22:40 |
Wafficus | # Adding non-free source for just Nvidia GTX 1060 Drivers: | 22:40 |
Wafficus | # Package: nvidia-drivers | 22:40 |
Wafficus | # Pin: release c=non-free | 22:40 |
Wafficus | # Pin-Priority: -1 | 22:40 |
Wafficus | # Pin-Priority: 900 | 22:40 |
Wafficus | obviously I need to remove the comments, but wanted to confirm if they were ok before proceeding | 22:40 |
kreyren[m] | Sec | 22:43 |
kreyren[m] | Wafficus you want pin 990 since thats what is apt using for target release | 22:46 |
kreyren[m] | See the provided man page it has explanation for pining numbers | 22:46 |
kreyren[m] | And pin-priority -1 for everything else in non-free | 22:47 |
kreyren[m] | https://hastebin.com/raw/hugutixoxi so just replace expected-packages here :p | 22:48 |
kreyren[m] | Note that you can separate using ' ' | 22:48 |
Wafficus | this is my correction given that statement | 22:49 |
Wafficus | # Adding non-free source for just Nvidia GTX 1060 Drivers: | 22:49 |
Wafficus | Package: nvidia-drivers | 22:49 |
Wafficus | Pin: release c=non-free | 22:49 |
Wafficus | Pin-Priority: 900 | 22:49 |
Wafficus | Package: * | 22:49 |
Wafficus | Pin: release c=non-free | 22:49 |
Wafficus | Pin-Priority: -1 | 22:49 |
Wafficus | ^ is that correct | 22:49 |
kreyren[m] | Nope, let me make I for you with explanation | 22:50 |
kreyren | Wafficus, this should work in /etc/apt/preferences.d/zz-something https://hastebin.com/raw/osuxuluhic | 22:55 |
kreyren | return `apt-cache policy nvidia-driver | 22:55 |
kreyren | for verification | 22:55 |
kreyren | Wafficus, makes sense? :p | 22:56 |
kreyren | also probably good thing to add https://hastebin.com/koluzeweti.makefile | 22:56 |
Wafficus | I see | 22:57 |
Wafficus | looks like I was close | 22:57 |
kreyren | Wafficus, closer then me when i was learning pinning :p | 22:57 |
kreyren | Also added reference https://hastebin.com/ogosatabij.makefile | 22:58 |
Wafficus | yeah I've only done this for the dumb wifi adapter that's always non-free on most laptops | 22:59 |
kreyren | in case you need to ever change it in the future | 22:59 |
Wafficus | *before | 22:59 |
kreyren | To know how :p | 22:59 |
kreyren | Wafficus, you can do the same for the adapter as well just replace the `# Nvidia` thing | 22:59 |
Wafficus | yeah I don't need the adapter right now | 22:59 |
kreyren | or i guess for tidiness make a new pin | 22:59 |
Wafficus | honestly, direct connect is just fine anyway | 22:59 |
kreyren | ok O.o | 22:59 |
kreyren | so summary: | 23:00 |
Wafficus | I did do it in the past for a laptop when I installed Debian Minimum | 23:00 |
kreyren | 1) Open /etc/apt/sources.list and add `non-free` | 23:00 |
kreyren | 2) Open or create /etc/apt/preferences.d/zz-something and add https://hastebin.com/ogosatabij.makefile | 23:00 |
kreyren | 3) apt-get update && apt-get install yourPackage | 23:00 |
Wafficus | got that, will add that to a guide in my 'guides' repo | 23:00 |
kreyren | Wafficus, return me output of `apt-cache policy nvidia-driver` with the changes | 23:01 |
kreyren | to make sure it pinned it correctly | 23:01 |
Wafficus | wait, the second option is new | 23:01 |
Wafficus | hold on one sec | 23:01 |
Wafficus | I thought we were supposed to just modify sourceslist | 23:01 |
Wafficus | *sources.list | 23:01 |
kreyren | Wafficus, that's why i am making the summary :p | 23:01 |
Wafficus | I'll look at the preferences.d section | 23:01 |
Wafficus | so for step # 2 | 23:02 |
Wafficus | I have to add the "https://hastebin.com/ogosatabij.makefile" file contents to a make file? | 23:02 |
Wafficus | or do I have to name it to something else in the preferences.d directory | 23:02 |
kreyren | nah the makefile is irelevant that's just how hastebin identified the syntax | 23:03 |
Wafficus | I see | 23:03 |
Wafficus | so what is the name of the file that I have to put in "preferences.d" then? | 23:03 |
kreyren | anything you want :p | 23:03 |
kreyren | zz-kreyren | 23:03 |
kreyren | :p | 23:03 |
Wafficus | ok I guess nvidia-preferences | 23:03 |
kreyren | you want the zz- prefix so that it gets processes last | 23:03 |
Wafficus | zz-nvidia | 23:04 |
kreyren | it goes based on file name so 00-something will be processed before zz-something | 23:04 |
Wafficus | just so I'm on the same page | 23:04 |
Wafficus | the contents of what I added to sources.list | 23:04 |
Wafficus | is the SAME in zz-nvidia? | 23:04 |
Wafficus | *under preferences.d | 23:05 |
kreyren | nah sources.list should only have `deb [arch=amd64] http://deb.devuan.org/devuan/ beowulf main non-free` | 23:06 |
kreyren | or alike | 23:06 |
kreyren | let me make a markdown file for you with the procedure~ | 23:06 |
Wafficus | its all good | 23:07 |
Wafficus | I hear you | 23:07 |
Wafficus | so modify sources.list with that 'deb' line ok | 23:07 |
kreyren | yes for the target release that you are using/want | 23:07 |
Wafficus | I have this in the sources.list file: | 23:09 |
Wafficus | # Adding non-free repo to add Nvidia 1060 GTX drivers: | 23:09 |
Wafficus | http://deb.devuan.org/devuan/ beowulf main non-free | 23:09 |
kreyren | seems sane to me | 23:09 |
Wafficus | I have this preference in the "zz-nvidia" file in "/etc/apt/preferences.d" | 23:10 |
Wafficus | # Note: There has to be a newline (or comment) separating each pin for apt to recognize it | 23:10 |
Wafficus | # Reference: https://manpages.debian.org/stretch/apt/apt_preferences.5.en.html | 23:10 |
Wafficus | # Prevent all non-free packages from being installed | 23:10 |
Wafficus | Package: * | 23:10 |
Wafficus | Pin: release c=non-free | 23:10 |
Wafficus | Pin-Priority: -1 | 23:10 |
Wafficus | # Nvidia | 23:10 |
Wafficus | ## Allow only these nvidia packages required for GPU to be processed by apt | 23:10 |
Wafficus | Package: nvidia-driver nvidia-driver-bin nvidia-driver-libs xserver-xorg-video-nvidia nvidia-vdpau-driver nvidia-alternative nvidia-kernel-dkms nvidia-support | 23:10 |
kreyren | i would like to see output from `cat /etc/apt/sources.list | curl -F 'f:1=<-' ix.io` though | 23:10 |
Wafficus | Pin: release c=non-free, n=stable | 23:10 |
Wafficus | Pin-Priority: 990 | 23:10 |
Wafficus | all I have to do now, is Step 3 | 23:10 |
kreyren | stop flodding! | 23:10 |
Wafficus | ok sorry | 23:10 |
kreyren | use `cat path/to/file | curl -F 'f:1=<-' ix.io` | 23:10 |
kreyren | better :p | 23:10 |
Wafficus | will post to termbin next time | 23:10 |
kreyren | or termbin | 23:10 |
Wafficus | https://termbin.com/lmpf | 23:11 |
kreyren | sec | 23:12 |
kreyren | Wafficus, the `http://deb.devuan.org/devuan/ beowulf main non-free` is wrong | 23:13 |
kreyren | Use `deb http://deb.devuan.org/merged/ beowulf main non-free` | 23:14 |
kreyren | since you are using `merged` above -> No reason to use `/devuan` :p | 23:14 |
Wafficus | ok I made that change | 23:15 |
kreyren | show me the content of /etc/apt/preferences.d/zz-nvidia too | 23:17 |
kreyren | Wafficus, see also https://gist.github.com/Kreyren/cccf642ce672fd8f127ed128cf27749b | 23:17 |
Wafficus | contents of 'zz-nvidia' | 23:18 |
Wafficus | https://termbin.com/r508 | 23:18 |
kreyren | looks sane | 23:18 |
kreyren | output of `apt-cache policy nvidia-driver` now | 23:18 |
Wafficus | I see the pinning comments though i'm not sure about the '500' value in your screenshot | 23:19 |
Wafficus | thought it would have to be 990 instead | 23:19 |
Wafficus | but I think its just for reference purposes anyway | 23:20 |
Wafficus | ok | 23:20 |
kreyren | Wafficus, i have hugged up system to now do the pinning so it's kinda confusing | 23:20 |
kreyren | it mensions it having 990 and -1 | 23:20 |
kreyren | trying to make better screenshot now >.> | 23:20 |
Wafficus | no worries | 23:20 |
Wafficus | its good though | 23:20 |
kreyren | Wafficus, so do you have the output? | 23:21 |
kreyren | output of `apt-cache policy nvidia-driver` to verify that the pinning works | 23:21 |
Wafficus | I tried Step #3 but received this message in the terminal: https://termbin.com/2zdj | 23:22 |
kreyren | wrong command | 23:22 |
kreyren | Wafficus, updated the doc https://gist.github.com/Kreyren/cccf642ce672fd8f127ed128cf27749b | 23:27 |
Wafficus | but don't I want to install all of the packages that were whitelisted in the previous two steps? | 23:27 |
kreyren | Wafficus, you do but i may have made an error in pinning so that's why i want output of `apt-cache policy nvidia-driver` to verify that the pinning works | 23:28 |
kreyren | or you might need changes in apt.conf | 23:28 |
Wafficus | results of apt-cach policy nvidia-driver: https://termbin.com/vnmv | 23:30 |
kreyren | Wafficus, run apt-get update and then ` apt-cach policy nvidia-driver` again | 23:31 |
kreyren | it may need to pull the non-free sources | 23:32 |
Wafficus | latest results of apt-cache policy nvidia-driver | 23:34 |
Wafficus | https://termbin.com/87u2 | 23:34 |
kreyren | better but still wrong :p | 23:35 |
kreyren | checking | 23:35 |
kreyren | ah i am using stable when this is beowulf | 23:36 |
kreyren | mb | 23:36 |
kreyren | Wafficus, this should work https://hastebin.com/raw/ekayuhitet | 23:37 |
kreyren | in /etc/apt/preferences.d/zz-nvidia | 23:37 |
kreyren | and return `apt-cache policy nvidia-driver` again | 23:37 |
kreyren | Wafficus, | 23:42 |
Wafficus | this is my latest attempt to do that giant list of apt-get install: | 23:45 |
Wafficus | https://termbin.com/dk4g | 23:45 |
kreyren | Wafficus, checking | 23:54 |
kreyren | btw. ping me bcs i am not getting notifications :p | 23:55 |
kreyren | you need a pin for nvidia-support add that in /etc/apt/preferences.d/zz-nvidia | 23:55 |
kreyren | and repeat if you find another package that is requested by nvidia-driver.. seems that devuan didn't do a great job listing the dependencies for this | 23:55 |
Wafficus | its already present on the "Package" key value though | 23:57 |
Wafficus | in zz-nvidia | 23:57 |
Wafficus | dir | 23:57 |
Wafficus | *sorry | 23:57 |
Wafficus | https://termbin.com/1n77 | 23:58 |
kreyren | weird | 23:58 |
Wafficus | That is my latest 'zz-nvidia' present | 23:58 |
kreyren | `apt-cache policy nvidia-support` ? | 23:58 |
kreyren | ah nvidia-support is not non-free based on https://pkginfo.devuan.org/stage/beowulf/beowulf/nvidia-support_20151021+9.html it's contrib | 23:58 |
kreyren | so you need to add `contrib` in /etc/apt/sources.list too | 23:59 |
kreyren | i.e `deb [arch=amd64,i386] tor+http://vwakviie2ienjx6t.onion/debian/ buster main non-free contrib` | 23:59 |
Generated by irclog2html.py 2.17.0 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!