[Bug 1816497] Re: [snap] vaapi chromium no video hardware decoding

2020-05-20 Thread Alain Rouet
It's working here with an Intel Core i5-7200U CPU (Intel HD 620); "intel-gpu-top" confirms it is. Both VP9 and h264 are accelerated. CPU usage is around 20 to 35% while playing a 1080p video on Youtube (VP9), and a bit higher on Twitch (h264). Though it's way better than with software decoding. $

[Bug 1877727] Re: Nvidia dGPU active despite prime-select set to Intel card

2020-05-13 Thread Alain Rouet
I'm sorry for spamming this bug report, I should've make all my tests before posting anything. I made a clean install today but, this time, without installing the proprietary drivers during setup. I installed the Nvidia driver after the first batch of updates, via the Additional Drivers applicatio

[Bug 1877727] Re: Nvidia dGPU active despite prime-select set to Intel card

2020-05-12 Thread Alain Rouet
I managed to resolve this issue _on my laptop_ by manually editing /usr/bin/prime-select at lines 161, 162. Original: ACTION=="unbind", SUBSYSTEM=="pci", ATTR{vendor}=="0x10de", ATTR{class}=="0x03", TEST=="power/control", ATTR{power/control}="on" ACTION=="unbind", SUBSYSTEM=="pci", ATTR{vendo

[Bug 1877727] Re: Nvidia dGPU active despite prime-select set to Intel card

2020-05-12 Thread Alain Rouet
(Sorry, I missclicked and couldn't find a way to edit/merge my comments) After trying with kernel 5.6, it still don't work as intended despite Powertop reports it now as Good. Power consumption is still high (around 12W at idle), and "sudo cat /sys/bus/pci/devices/:01:00.0/power/runtime_statu

[Bug 1877727] Re: Nvidia dGPU active despite prime-select set to Intel card

2020-05-12 Thread Alain Rouet
The workaround didn't work after shutting down my laptop. But, after digging a bit, I found a news on Phoronix ( https://www.phoronix.com/scan.php?page=news_item&px=Linux-5.5-dGPU-Sound-Bind-Power ) that gave me the idea to try with kernel 5.6. This one, to be more specific: https://kernel.ubunt

[Bug 1877727] Re: Nvidia dGPU active despite prime-select set to Intel card

2020-05-11 Thread Alain Rouet
Same issue here with an Intel Core i5-7200U and an NVIDIA Geforce GTX 950M. Had to use the same workaround with Powertop and power consumption went from 12W to 6W after. It kept working after restarting, though. -- You received this bug notification because you are a member of Ubuntu Bugs, which

[Bug 1816497] Re: [snap] vaapi chromium no video hardware decoding

2020-05-11 Thread Alain Rouet
** Attachment added: "journalctl" https://bugs.launchpad.net/ubuntu/+source/chromium-browser/+bug/1816497/+attachment/5369734/+files/journalctl -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1816497

[Bug 1816497] Re: [snap] vaapi chromium no video hardware decoding

2020-05-11 Thread Alain Rouet
Same "libva error" issue here, with an Intel Core i5-7200U CPU (Intel HD 620). I attached the output of running "chromium --enable- logging=stderr", the chromium's journalctl entries (from installation to first and second launch) and vainfo. The iHD VAAPI driver wasn't available until Ubuntu 19.04

[Bug 1816497] Re: [snap] vaapi chromium no video hardware decoding

2020-05-11 Thread Alain Rouet
** Attachment added: "vainfo" https://bugs.launchpad.net/ubuntu/+source/chromium-browser/+bug/1816497/+attachment/5369735/+files/vainfo -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1816497 Title:

[Bug 1765363] Re: prime-select intel is not powering off the nvidia card

2018-04-30 Thread Alain Rouet
$ lspci | grep 3D 01:00.0 3D controller: NVIDIA Corporation GM107M [GeForce GTX 950M] (rev a2) I should have specified it earlier, sorry. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1765363 Title:

[Bug 1765363] Re: prime-select intel is not powering off the nvidia card

2018-04-30 Thread Alain Rouet
I tried something this morning, since I was convinced that this problem revolves around Nouveau power management. I made a backup of prime-select, # cp /usr/bin/prime-select /usr/bin/prime-select.orig and replaced the parameter that disables Nouveau power management (as per https://nouveau.freed

[Bug 1765363] Re: prime-select intel is not powering off the nvidia card

2018-04-29 Thread Alain Rouet
Seems like you're right, François. I installed Powertop on both Ubuntu 18.04 (~12.5W at idle) and Fedora 27 (~5W) on the same laptop to measure the power comsumption. The method is not what I'd call scientific, but the difference is big enough to tell there's indeed something wrong. On Fedora, I

[Bug 1765363] Re: prime-select intel is not powering off the nvidia card

2018-04-26 Thread Alain Rouet
I didn't know about the SLI breakage, my bad. Just did a clean install and I can confirm that it's working as it should: $ xrandr --listproviders Providers: number : 2 Provider 0: id: 0x65 cap: 0x9, Source Output, Sink Offload crtcs: 3 outputs: 3 associated providers: 1 name:modesetting Provider

[Bug 1765363] Re: prime-select intel is not powering off the nvidia card

2018-04-26 Thread Alain Rouet
So, if I understand what's happening here. When switching to Intel, both Nouveau and the proprietary driver are blacklisted and the power management is disabled because of "nouveau.run-pm=0" kernel parameter. The discrete GPU is therefore always ON, but cannot be used at all. Why not just blacklis

[Bug 1429230] Re: Aegisub causes X-server to crash

2015-07-02 Thread Alain Rouet
I don't experience this issue anymore on Ubuntu 14.04 with Vivid kernel and X stack from proposed updates repository. By the way, I never encountered this bug on Vivid, in the first place. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu

[Bug 1429230] Re: Aegisub causes X-server to crash

2015-04-21 Thread Alain Rouet
Found a related bug report here: https://bugs.freedesktop.org/show_bug.cgi?id=77074 Seems to be fixed, but I'll have to wait for the next LTS enablement stack (14.04.3) to check. The temporary fix is to switch to UXA, as the acceleration method. https://wiki.archlinux.org/index.php/Intel_graphic

[Bug 1388647] Re: DRI_PRIME=1 has no effect in Ubuntu 14.10

2014-11-24 Thread Alain Rouet
Found a solution, thanks to this: http://nouveau.freedesktop.org/wiki/Optimus/ First, you have to add "drm.rnodes=1" to the kernel parameters: https://wiki.ubuntu.com/Kernel/KernelBootParameters Then, you need to make sure you (the user) are in the video group: sudo usermod -a -G video Reboot,