-
Notifications
You must be signed in to change notification settings - Fork 165
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
Some enhancements to vainfo #46
Conversation
This option is only available when the drm display is specified in the command line Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Works fine for me to show information about
|
@dbermond Thanks for trying the patch and the feedback. |
vainfo has '--display' and '--device' options, but these options are hidden, hence add '--help' to show these options Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Any thoughts on an environment variable to specify the device similar to LIBVA_DRIVER_NAME. Ive been trying to get setup with a working solution on a vm server where the systemd daemon making use of vainfo to query quick sync support. Problem is the /dev/dri/renderD128 points to the esxi vmwgfx device. I'm hoping I can just setup an environment variable in the systemd script to get it to process properly. |
Hello @kyse , It may be possible to set up a udev rule pointing to an alias for the correct device name. Let me see how that would be implemented. |
Have you found a way @Brainiarc7? I would also be interested in specifying a device with an environment variable to use the Intel VA driver (i965) instead of the radeon driver (radeonsi), because the latter comes with some bugs for my use, while i965 works perfectly (tried temporarily after rebooting without my AMD GPU). Yet, I do not want to uninstall the AMD GPU permanently because it has other uses than decoding video. See #186 and #264, as well as your own #120 issue. |
@Kabouik not yet. Still looking into a dirty hack with a udev rule. Look, all we're asking for is a reasonable environment variable that would allow for device selection (optional, in the same way that a device driver for vaapi can be specified). It would solve a lot of headaches with vaapi. |
I have a similiar problem. I use my iHD intel gpu to display everything Sadly the 128 dri device is the nvidia-drm But it seems that devices like parole wants to use the 128 with the vaapi in gstreamer to run the movie on the intel gpu card, which is wrong |
3 commits