Re: Screen flickering on ThinkPad X270

2020-11-17 Thread Jonathan Gray
On Wed, Nov 18, 2020 at 01:51:39AM +, Sine Astris wrote: > Hi, > > I was suffering from a subtle (yet annoying once noticed) problem with > screen flickering whilst using xenocara on my ThinkPad X270. > > It was only distinctly apparent with certain colours/images being > displayed, generally

Re: powerpc lld fix

2020-11-17 Thread George Koehler
On Sun, 15 Nov 2020 17:23:09 +0100 (CET) Mark Kettenis wrote: > This is the diff from: > > https://reviews.llvm.org/D75419 > > which is needed to be able to link llvm with lld on powerpc. > > Not enough to link code generated by gcc 4.x though, but if I dissable > building gcc a make build c

Re: Unable to adjust beep volume on ThinkPad X270

2020-11-17 Thread Jonathan Gray
On Wed, Nov 18, 2020 at 01:41:49AM +, Sine Astris wrote: > Hi, > > I wasn't able to adjust the volume of the keyboard bell via > wsconsctl(8), or the volume of /dev/speaker on my ThinkPad X270. > > Additionally, the default spkr_source (mix3) doesn't output the beep. > Changing to mix2, sound

Unable to adjust beep volume on ThinkPad X270

2020-11-17 Thread Sine Astris
Hi, I wasn't able to adjust the volume of the keyboard bell via wsconsctl(8), or the volume of /dev/speaker on my ThinkPad X270. Additionally, the default spkr_source (mix3) doesn't output the beep. Changing to mix2, sounds the beep and my existing audio seems fine. # mixerctl outputs.spkr_sourc

Screen flickering on ThinkPad X270

2020-11-17 Thread Sine Astris
Hi, I was suffering from a subtle (yet annoying once noticed) problem with screen flickering whilst using xenocara on my ThinkPad X270. It was only distinctly apparent with certain colours/images being displayed, generally a darker (but not black) static background with small bright regions chang

Re: AUDIORECDEVICE environment variable in sndio lib

2020-11-17 Thread Solene Rapenne
On Tue, 17 Nov 2020 18:23:55 +0100 "Peter J. Philipp" : > This is a good suggestion! Thanks! I have updated the patch. I also > appreciate Solene's offer for manpage addition, thanks! > > New diff follows... let me know if it can be done better, I won't be able > to update it until tomorrow.

Re: AUDIORECDEVICE environment variable in sndio lib

2020-11-17 Thread Solene Rapenne
On Tue, 17 Nov 2020 17:13:49 +0100 "Peter J. Philipp" : > Hi, > > I have a mic on snd/1 and speakers on snd/0. I had tried a lot of different > settings with audacity port but couldn't get this to work, so I chose the > method of last resort. Below is a patch to allow an AUDIORECDEVICE > envir

Re: AUDIORECDEVICE environment variable in sndio lib

2020-11-17 Thread Ingo Schwarze
Hi Solene, sorry if i misunderstand because i did not fully follow the thread... Solene Rapenne wrote on Tue, Nov 17, 2020 at 07:36:38PM +0100: > I added the new variable after MIDIDEVICE in the ENVIRONMENT section > to keep order of appearance in the document. Usually, we order the ENVIRONMENT

Re: AUDIORECDEVICE environment variable in sndio lib

2020-11-17 Thread Klemens Nanni
On Tue, Nov 17, 2020 at 06:23:55PM +0100, Peter J. Philipp wrote: > On Tue, Nov 17, 2020 at 05:09:28PM +, Stuart Henderson wrote: > > If AUDIORECDEVICE is unset, it would be better to fallback to > > AUDIODEVICE rather than directly to devany. > > This is a good suggestion! Thanks! I have up

Re: AUDIORECDEVICE environment variable in sndio lib

2020-11-17 Thread Stuart Henderson
On 2020/11/17 18:23, Peter J. Philipp wrote: > On Tue, Nov 17, 2020 at 05:09:28PM +, Stuart Henderson wrote: > > On 2020/11/17 17:13, Peter J. Philipp wrote: > > > Hi, > > > > > > I have a mic on snd/1 and speakers on snd/0. I had tried a lot of > > > different > > > settings with audacity p

Re: AUDIORECDEVICE environment variable in sndio lib

2020-11-17 Thread Peter J. Philipp
On Tue, Nov 17, 2020 at 05:09:28PM +, Stuart Henderson wrote: > On 2020/11/17 17:13, Peter J. Philipp wrote: > > Hi, > > > > I have a mic on snd/1 and speakers on snd/0. I had tried a lot of different > > settings with audacity port but couldn't get this to work, so I chose the > > method of

Re: AUDIORECDEVICE environment variable in sndio lib

2020-11-17 Thread Stuart Henderson
On 2020/11/17 17:13, Peter J. Philipp wrote: > Hi, > > I have a mic on snd/1 and speakers on snd/0. I had tried a lot of different > settings with audacity port but couldn't get this to work, so I chose the > method of last resort. Below is a patch to allow an AUDIORECDEVICE > environment > var

AUDIORECDEVICE environment variable in sndio lib

2020-11-17 Thread Peter J. Philipp
Hi, I have a mic on snd/1 and speakers on snd/0. I had tried a lot of different settings with audacity port but couldn't get this to work, so I chose the method of last resort. Below is a patch to allow an AUDIORECDEVICE environment variable specifying the wanted microphone. -peter Index: sio

Re: uvm_pagealloc() & uvm.free accounting

2020-11-17 Thread Martin Pieuchot
On 17/11/20(Tue) 13:52, Mark Kettenis wrote: > > Date: Tue, 17 Nov 2020 09:32:28 -0300 > > From: Martin Pieuchot > > > > On 17/11/20(Tue) 13:23, Mark Kettenis wrote: > > > > Date: Mon, 16 Nov 2020 10:11:50 -0300 > > > > From: Martin Pieuchot > > > > > > > > On 13/11/20(Fri) 21:05, Mark Kettenis

Re: Import seq(1) from FreeBSD

2020-11-17 Thread Ingo Schwarze
Hi Todd, in view of your arguments and sthen@'s OK, i'm also OK with this going in. I think a bit of code cleanup and copy editing in the manual page may be useful afterwards, but that can be done in the tree, no need for playing patch ping pong. See below for answers to the individual points.

Re: uvm_pagealloc() & uvm.free accounting

2020-11-17 Thread Mark Kettenis
> Date: Tue, 17 Nov 2020 09:32:28 -0300 > From: Martin Pieuchot > > On 17/11/20(Tue) 13:23, Mark Kettenis wrote: > > > Date: Mon, 16 Nov 2020 10:11:50 -0300 > > > From: Martin Pieuchot > > > > > > On 13/11/20(Fri) 21:05, Mark Kettenis wrote: > > > > [...] > > > > > Careful reviewers will spot

Re: uvm_pagealloc() & uvm.free accounting

2020-11-17 Thread Martin Pieuchot
On 17/11/20(Tue) 13:23, Mark Kettenis wrote: > > Date: Mon, 16 Nov 2020 10:11:50 -0300 > > From: Martin Pieuchot > > > > On 13/11/20(Fri) 21:05, Mark Kettenis wrote: > > > [...] > > > > Careful reviewers will spot an off-by-one change in the check for > > > > pagedaemon's reserved memory. My u

uvm_fault: refactoring for case 2 faults

2020-11-17 Thread Martin Pieuchot
Here's another refactoring that moves the remaining logic of uvm_fault() handling lower faults, case 2, to its own function. This logic shouldn't be modified in the first step of unlocking amap & anon and will still be executed under KERNEL_LOCK(). Having a separate function will however help to

Re: uvm_pagealloc() & uvm.free accounting

2020-11-17 Thread Mark Kettenis
> Date: Mon, 16 Nov 2020 10:11:50 -0300 > From: Martin Pieuchot > > On 13/11/20(Fri) 21:05, Mark Kettenis wrote: > > [...] > > > Careful reviewers will spot an off-by-one change in the check for > > > pagedaemon's reserved memory. My understanding is that it's a bugfix, > > > is it correct? >

Re: find -exec util {} arg + confusion

2020-11-17 Thread Paul de Weerd
On Tue, Nov 17, 2020 at 01:06:05AM +0100, Alexander Hall wrote: | On Mon, Nov 16, 2020 at 09:04:53AM +0100, Paul de Weerd wrote: | > Hi Alexander, | > | > On Sun, Nov 15, 2020 at 10:22:32PM +0100, Alexander Hall wrote: | > | I googled for "POSIX find", and hit this: | > | | > | https://pubs.openg