New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
vaapi won't work with intel hd graphics #48807
Comments
Where did you add the packages you mention? It is not enough to include them in
|
First is there a Wiki entry or something or could we make some? I was sure I miss something, but it's hard to find that lines. (or is it in the documentation dokument and I missed it there?) Just tested it and works:
my second question is, wouldn't that media-driver for HD Cards not be better? I don't know the difference but they seem to be recommend for > gen 5 ipgs. Should I create a new bug for the browser site or go on with it here? |
You have a point, there is no specific documentation for this. You may explore NixOS options, e.g. https://nixos.org/nixos/options.html#opengl has an example on hardware.opengl.extraPackages. There is also an unofficial user wiki here. The best way is to contribute this piece of information at the NixOS manual, i.e. make a PR on https://github.com/NixOS/nixpkgs/blob/master/nixos/doc/manual/configuration/x-windows.xml. There is minimal information there for setting up AMD and nVidia cards. Regarding media-driver, it seems that it not packaged yet in NixOS. I would recommend to create a new issue for that. |
I tried to open now chromium with this vaapi or even only dri support I think I get very confusing errors: export LIBGL_DEBUG=verbose
is glibc not at the right version? |
I am not 100% sure it's about that but youtube videos in fullscreen tear like hell and even without fullscreen sometimes. I had no problem with a older intel 3. gen (thinkpad x220) and a Pentium G4560 both igp. I didn't use 18.09 before so I assume something broke with that release. Somehow the mesa driver is not linked to glibc-2.27 but instead to 2.25? Do I understand the problem right? Will tomorow boot with a livecd of fedora or something to compare it. But it's nearly not bearable to watch youtube on that pc. |
ok I bootet into Fedora and there was no va-driver installed but it was still better: Here the main differences:
here nixos:
any Ideas what could be the problem here?
Fedora:
vs Nixos:
|
ok found the problem myself, just wondered which version I am using, or better said I looked up what the current version of chromium is and its 69 but I was using 61 despite having a current stable version. Then because I had similar problems before with other programs I knew what's the problem I had a chromium version installed over nix-env and that shadowed the system version, and because it was not updated of course the gpu stuff got not started correctly. So this bug can be closed except the "need documentation" part from the beginning. |
I created a new wiki page: https://nixos.wiki/wiki/Accelerated_Video_Playback |
This is still very much broken for me.
My original problem was that it's currently impossible to play UHD/4K video without hardware acceleration. @colemickens I used the same configuration you suggested but to no avail :/ |
I don't think that is related to my bug maybe create a new bug with that and close this one? |
@spiderbit Can I recommend closing this issue? |
yes |
I am using (just updated) Nixos 18.09, but I can't get vaapi driver running.
I have added following packages:
glxinfo vaapiIntel libva-utils libva-full vaapi-intel-hybrid
final goal would be to get accelerated video in chromium or firefox but for now I can't get past the basics:
In which package is this i965_drv_video.so hidden?
I have a 5. gen Intel gpu so should not that been the right driver:
https://github.com/intel/media-driver
is that missing in nixos at the moment?
The text was updated successfully, but these errors were encountered: