Re: [Nouveau] qemu -display sdl,gl=on also eats CPU

2020-08-16 Thread Andrew Randrianasulu
В сообщении от Monday 17 August 2020 08:09:37 вы написали: > The DDX eating CPU isn't intrinsically bad. Did you check where perf > says the CPU time is going? Could be doing copies/etc. I think Xorg ended up eating ~13% CPU after I quit most programs, but it was definitely better than much high

Re: [Nouveau] qemu -display sdl,gl=on also eats CPU

2020-08-16 Thread Ilia Mirkin
The DDX eating CPU isn't intrinsically bad. Did you check where perf says the CPU time is going? Could be doing copies/etc. On Mon, Aug 17, 2020 at 12:52 AM Andrew Randrianasulu wrote: > > I was testing Ilia's patches for ddx, and while they definitely helped for > Xorg itself, > qemu still eats

[Nouveau] qemu -display sdl,gl=on also eats CPU

2020-08-16 Thread Andrew Randrianasulu
I was testing Ilia's patches for ddx, and while they definitely helped for Xorg itself, qemu still eats a lot of CPU if launched like this qemu-system-x86_64 -cdrom ~/Downloads/ISO/slax-English-US-7.0.8-x86_64.iso -m 1G -display sdl,gl=on -enable-kvm and left for few hours. top - 07:38:01 up

[Nouveau] [PATCH] drivers/nouveau_svm: fix bounds check in nouveau_svm_fault_buffer_dtor

2020-08-16 Thread Gaurav Singh
do the bounds check before accessing the buffer element. Fixes: eeaf06ac1a558 ("drm/nouveau/svm: initial support for shared virtual memory") Signed-off-by: Gaurav Singh --- drivers/gpu/drm/nouveau/nouveau_svm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/

Re: [Nouveau] Accumulating CPU load from Xorg process with DRI3

2020-08-16 Thread Ilia Mirkin
On Sun, Aug 16, 2020 at 8:20 AM Andrew Randrianasulu wrote: > > В сообщении от Sunday 16 August 2020 07:20:18 Ilia Mirkin написал(а): > > Well, if it's easy, try the patches I mailed to nouveau@ for the ddx. > > I applied patches manually (copy-pasted patches failed to apply by git apply, > probab

Re: [Nouveau] Accumulating CPU load from Xorg process with DRI3

2020-08-16 Thread Andrew Randrianasulu
В сообщении от Sunday 16 August 2020 07:20:18 Ilia Mirkin написал(а): > Well, if it's easy, try the patches I mailed to nouveau@ for the ddx. I applied patches manually (copy-pasted patches failed to apply by git apply, probably whitespace/end of line issues), and now I see in X log (after I left