Bug#848826: More info. on vainfo
at bottom :- On 02/01/2017, Sebastian Ramacherwrote: > Hi > > On 2016-12-25 04:41:43, shirish शिरीष wrote: >> in-line :- >> >> On 24/12/2016, Sebastian Ramacher wrote: >> > Hi >> >> Hi, >> >> > On 2016-12-23 15:43:10, shirish शिरीष wrote: >> >> >> >> >> (+) Video --vid=1 (*) (h264) >> >> (+) Audio --aid=1 --alang=und (*) (aac) >> >> [vo/opengl] GLX not found. >> >> [vo/opengl] GLX not found. >> > >> > I suppose your issues start here already. Please provide a X.org log >> > and >> > dmesg. >> > >> > Cheers >> >> Warning - Longish mail (a bit) >> >> Have provided Xorg.0.log from /var/log/X.org.0.log >> >> While I'm able to figure out and troubleshoot some parts and able to >> play the videos without the warnings. What had happened was - >> >> a. For some reason nvidia-* packages had occupied center-stage along >> with Intel. It took me sometime to realize that maybe because some >> laptops which are available today are 'hybrid' laptops which have both >> intel and nvidia graphics hence nvidia which usually had a >> breaks/replaces against intel was not there. >> >> How it came to be, I'm clueless still. >> >> b. I removed all instances of any nvidia package except for >> nvidia-installer-cleanup which depends on glx-diversions. >> >> c. Then rebooted the system and found it was flashing the monitor. >> >> d. Then rebooted into single user mode, found out mesa-vdpau-drivers >> was not installed, As I was in single-user-mode/recovery-mode had to >> take a usb disk, download mesa-vdpau-drivers, copied it to this >> machine and installed it via dpkg. >> >> e. Rebooted again and this time got the login page, saw couple of >> videos, the complain was no longer in the videos. > > And vainfo no also reports that the intel driver is used? yup on the thinkpad machines, it now does - > vainfo >[99%] libva info: VA-API version 0.39.4 libva info: va_getDriverName() returns 0 libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/i965_drv_video.so libva info: Found init function __vaDriverInit_0_39 libva info: va_openDriver() returns 0 vainfo: VA-API version: 0.39 (libva 1.7.3) vainfo: Driver version: Intel i965 driver for Intel(R) Haswell Mobile - 1.7.3 vainfo: Supported profile and entrypoints VAProfileMPEG2Simple: VAEntrypointVLD VAProfileMPEG2Simple: VAEntrypointEncSlice VAProfileMPEG2Main : VAEntrypointVLD VAProfileMPEG2Main : VAEntrypointEncSlice VAProfileH264ConstrainedBaseline: VAEntrypointVLD VAProfileH264ConstrainedBaseline: VAEntrypointEncSlice VAProfileH264Main : VAEntrypointVLD VAProfileH264Main : VAEntrypointEncSlice VAProfileH264High : VAEntrypointVLD VAProfileH264High : VAEntrypointEncSlice VAProfileH264MultiviewHigh : VAEntrypointVLD VAProfileH264MultiviewHigh : VAEntrypointEncSlice VAProfileH264StereoHigh : VAEntrypointVLD VAProfileH264StereoHigh : VAEntrypointEncSlice VAProfileVC1Simple : VAEntrypointVLD VAProfileVC1Main: VAEntrypointVLD VAProfileVC1Advanced: VAEntrypointVLD VAProfileNone : VAEntrypointVideoProc VAProfileJPEGBaseline : VAEntrypointVLD Couple of older desktop machines having Wolfdale (Core2Duo) and Intel G33 chipsets still show the following - ─[$] vainfo libva info: VA-API version 0.39.4 libva info: va_getDriverName() returns 0 libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/i915_drv_video.so libva info: va_openDriver() returns -1 vaInitialize failed with error code -1 (unknown libva error),exit Double-checked for any nvidia bits but didn't find any. Maybe I should file a separate bug report for the desktop machines ? Please let me know what I should do ? > > -- > Sebastian Ramacher > -- Regards, Shirish Agarwal शिरीष अग्रवाल My quotes in this email licensed under CC 3.0 http://creativecommons.org/licenses/by-nc/3.0/ http://flossexperiences.wordpress.com EB80 462B 08E1 A0DE A73A 2C2F 9F3D C7A4 E1C4 D2D8
Bug#848826: More info. on vainfo
Hi On 2016-12-25 04:41:43, shirish शिरीष wrote: > in-line :- > > On 24/12/2016, Sebastian Ramacherwrote: > > Hi > > Hi, > > > On 2016-12-23 15:43:10, shirish शिरीष wrote: > > > > >> (+) Video --vid=1 (*) (h264) > >> (+) Audio --aid=1 --alang=und (*) (aac) > >> [vo/opengl] GLX not found. > >> [vo/opengl] GLX not found. > > > > I suppose your issues start here already. Please provide a X.org log and > > dmesg. > > > > Cheers > > Warning - Longish mail (a bit) > > Have provided Xorg.0.log from /var/log/X.org.0.log > > While I'm able to figure out and troubleshoot some parts and able to > play the videos without the warnings. What had happened was - > > a. For some reason nvidia-* packages had occupied center-stage along > with Intel. It took me sometime to realize that maybe because some > laptops which are available today are 'hybrid' laptops which have both > intel and nvidia graphics hence nvidia which usually had a > breaks/replaces against intel was not there. > > How it came to be, I'm clueless still. > > b. I removed all instances of any nvidia package except for > nvidia-installer-cleanup which depends on glx-diversions. > > c. Then rebooted the system and found it was flashing the monitor. > > d. Then rebooted into single user mode, found out mesa-vdpau-drivers > was not installed, As I was in single-user-mode/recovery-mode had to > take a usb disk, download mesa-vdpau-drivers, copied it to this > machine and installed it via dpkg. > > e. Rebooted again and this time got the login page, saw couple of > videos, the complain was no longer in the videos. And vainfo no also reports that the intel driver is used? Cheers > So while on Xorg.0.log shouldn't have anything untoward now - > > I did see something Very strange on the dmesg front > > /home/shirish $ dmesg > dmesg: read kernel buffer failed: Operation not permitted > > I was forced to become root and then was able to share dmesg.txt > > > -- > > Sebastian Ramacher > > > > -- > Regards, > Shirish Agarwal शिरीष अग्रवाल > My quotes in this email licensed under CC 3.0 > http://creativecommons.org/licenses/by-nc/3.0/ > http://flossexperiences.wordpress.com > EB80 462B 08E1 A0DE A73A 2C2F 9F3D C7A4 E1C4 D2D8 > [0.00] Linux version 4.8.0-2-amd64 (debian-ker...@lists.debian.org) > (gcc version 5.4.1 20161019 (Debian 5.4.1-3) ) #1 SMP Debian 4.8.11-1 > (2016-12-02) > [0.00] Command line: BOOT_IMAGE=/boot/vmlinuz-4.8.0-2-amd64 > root=UUID=aaafd0a1-62db-4216-80be-cf0dc016ac7c ro initrd=/install/initrd.gz > ipv6.disable=1 init=/lib/systemd/systemd > [0.00] x86/fpu: Supporting XSAVE feature 0x001: 'x87 floating point > registers' > [0.00] x86/fpu: Supporting XSAVE feature 0x002: 'SSE registers' > [0.00] x86/fpu: Supporting XSAVE feature 0x004: 'AVX registers' > [0.00] x86/fpu: xstate_offset[2]: 576, xstate_sizes[2]: 256 > [0.00] x86/fpu: Enabled xstate features 0x7, context size is 832 > bytes, using 'standard' format. > [0.00] x86/fpu: Using 'eager' FPU context switches. > [0.00] e820: BIOS-provided physical RAM map: > [0.00] BIOS-e820: [mem 0x-0x0009cfff] usable > [0.00] BIOS-e820: [mem 0x0009d000-0x0009] reserved > [0.00] BIOS-e820: [mem 0x000e-0x000f] reserved > [0.00] BIOS-e820: [mem 0x0010-0xae21dfff] usable > [0.00] BIOS-e820: [mem 0xae21e000-0xbcd3efff] reserved > [0.00] BIOS-e820: [mem 0xbcd3f000-0xbce7efff] ACPI NVS > [0.00] BIOS-e820: [mem 0xbce7f000-0xbcefefff] ACPI > data > [0.00] BIOS-e820: [mem 0xbceff000-0xbf9f] reserved > [0.00] BIOS-e820: [mem 0xf800-0xfbff] reserved > [0.00] BIOS-e820: [mem 0xfe101000-0xfe112fff] reserved > [0.00] BIOS-e820: [mem 0xfec0-0xfec00fff] reserved > [0.00] BIOS-e820: [mem 0xfed08000-0xfed08fff] reserved > [0.00] BIOS-e820: [mem 0xfed1-0xfed19fff] reserved > [0.00] BIOS-e820: [mem 0xfed1c000-0xfed1] reserved > [0.00] BIOS-e820: [mem 0xfee0-0xfee00fff] reserved > [0.00] BIOS-e820: [mem 0xffc0-0x] reserved > [0.00] BIOS-e820: [mem 0x0001-0x00023e5f] usable > [0.00] NX (Execute Disable) protection: active > [0.00] SMBIOS 2.7 present. > [0.00] DMI: LENOVO 20B7A1SD00/20B7A1SD00, BIOS GJET79WW (2.29 ) > 09/03/2014 > [0.00] e820: update [mem 0x-0x0fff] usable ==> reserved > [0.00] e820: remove [mem 0x000a-0x000f] usable > [0.00] e820: last_pfn = 0x23e600 max_arch_pfn = 0x4 > [0.00] MTRR default type: write-back > [
Bug#848826: More info. on vainfo
in-line :- On 24/12/2016, Sebastian Ramacherwrote: > Hi Hi, > On 2016-12-23 15:43:10, shirish शिरीष wrote: >> (+) Video --vid=1 (*) (h264) >> (+) Audio --aid=1 --alang=und (*) (aac) >> [vo/opengl] GLX not found. >> [vo/opengl] GLX not found. > > I suppose your issues start here already. Please provide a X.org log and > dmesg. > > Cheers Warning - Longish mail (a bit) Have provided Xorg.0.log from /var/log/X.org.0.log While I'm able to figure out and troubleshoot some parts and able to play the videos without the warnings. What had happened was - a. For some reason nvidia-* packages had occupied center-stage along with Intel. It took me sometime to realize that maybe because some laptops which are available today are 'hybrid' laptops which have both intel and nvidia graphics hence nvidia which usually had a breaks/replaces against intel was not there. How it came to be, I'm clueless still. b. I removed all instances of any nvidia package except for nvidia-installer-cleanup which depends on glx-diversions. c. Then rebooted the system and found it was flashing the monitor. d. Then rebooted into single user mode, found out mesa-vdpau-drivers was not installed, As I was in single-user-mode/recovery-mode had to take a usb disk, download mesa-vdpau-drivers, copied it to this machine and installed it via dpkg. e. Rebooted again and this time got the login page, saw couple of videos, the complain was no longer in the videos. So while on Xorg.0.log shouldn't have anything untoward now - I did see something Very strange on the dmesg front /home/shirish $ dmesg dmesg: read kernel buffer failed: Operation not permitted I was forced to become root and then was able to share dmesg.txt > -- > Sebastian Ramacher > -- Regards, Shirish Agarwal शिरीष अग्रवाल My quotes in this email licensed under CC 3.0 http://creativecommons.org/licenses/by-nc/3.0/ http://flossexperiences.wordpress.com EB80 462B 08E1 A0DE A73A 2C2F 9F3D C7A4 E1C4 D2D8 [0.00] Linux version 4.8.0-2-amd64 (debian-ker...@lists.debian.org) (gcc version 5.4.1 20161019 (Debian 5.4.1-3) ) #1 SMP Debian 4.8.11-1 (2016-12-02) [0.00] Command line: BOOT_IMAGE=/boot/vmlinuz-4.8.0-2-amd64 root=UUID=aaafd0a1-62db-4216-80be-cf0dc016ac7c ro initrd=/install/initrd.gz ipv6.disable=1 init=/lib/systemd/systemd [0.00] x86/fpu: Supporting XSAVE feature 0x001: 'x87 floating point registers' [0.00] x86/fpu: Supporting XSAVE feature 0x002: 'SSE registers' [0.00] x86/fpu: Supporting XSAVE feature 0x004: 'AVX registers' [0.00] x86/fpu: xstate_offset[2]: 576, xstate_sizes[2]: 256 [0.00] x86/fpu: Enabled xstate features 0x7, context size is 832 bytes, using 'standard' format. [0.00] x86/fpu: Using 'eager' FPU context switches. [0.00] e820: BIOS-provided physical RAM map: [0.00] BIOS-e820: [mem 0x-0x0009cfff] usable [0.00] BIOS-e820: [mem 0x0009d000-0x0009] reserved [0.00] BIOS-e820: [mem 0x000e-0x000f] reserved [0.00] BIOS-e820: [mem 0x0010-0xae21dfff] usable [0.00] BIOS-e820: [mem 0xae21e000-0xbcd3efff] reserved [0.00] BIOS-e820: [mem 0xbcd3f000-0xbce7efff] ACPI NVS [0.00] BIOS-e820: [mem 0xbce7f000-0xbcefefff] ACPI data [0.00] BIOS-e820: [mem 0xbceff000-0xbf9f] reserved [0.00] BIOS-e820: [mem 0xf800-0xfbff] reserved [0.00] BIOS-e820: [mem 0xfe101000-0xfe112fff] reserved [0.00] BIOS-e820: [mem 0xfec0-0xfec00fff] reserved [0.00] BIOS-e820: [mem 0xfed08000-0xfed08fff] reserved [0.00] BIOS-e820: [mem 0xfed1-0xfed19fff] reserved [0.00] BIOS-e820: [mem 0xfed1c000-0xfed1] reserved [0.00] BIOS-e820: [mem 0xfee0-0xfee00fff] reserved [0.00] BIOS-e820: [mem 0xffc0-0x] reserved [0.00] BIOS-e820: [mem 0x0001-0x00023e5f] usable [0.00] NX (Execute Disable) protection: active [0.00] SMBIOS 2.7 present. [0.00] DMI: LENOVO 20B7A1SD00/20B7A1SD00, BIOS GJET79WW (2.29 ) 09/03/2014 [0.00] e820: update [mem 0x-0x0fff] usable ==> reserved [0.00] e820: remove [mem 0x000a-0x000f] usable [0.00] e820: last_pfn = 0x23e600 max_arch_pfn = 0x4 [0.00] MTRR default type: write-back [0.00] MTRR fixed ranges enabled: [0.00] 0-9 write-back [0.00] A-B uncachable [0.00] C-F write-protect [0.00] MTRR variable ranges enabled: [0.00] 0 base 00C000 mask 7FC000 uncachable [0.00] 1 base 00BE00 mask 7FFE00 uncachable [
Bug#848826: More info. on vainfo
Hi On 2016-12-23 15:43:10, shirish शिरीष wrote: > Dear Sebastian, > > Sorry for not replying earlier. Seems both your answers didn't reach > me. I was looking at the pkg-multimedia mailing list and found your > answers. > > I am subscribing to the bug so this doesn't happen. > > Replying to your queries - > > a. So I guess you are not running this from a terminal running in X? > > a. I AM running this from a terminal running in X. > > b. Or you do not have i965-va-driver installed, which you should get > automatically > if you do not have recommends disabled. > > b. Wrong again. I do have i965-va-driver installed. > > $ aptitude search i965-va-driver > i i965-va-driver > - VAAPI driver for Intel G45 & HD Graphics family > > Please let me know if you need any more details. > > I have been seeing this in videos I have been playing (and some refuse > to play at all which used to play earlier) - > > (+) Video --vid=1 (*) (h264) > (+) Audio --aid=1 --alang=und (*) (aac) > [vo/opengl] GLX not found. > [vo/opengl] GLX not found. I suppose your issues start here already. Please provide a X.org log and dmesg. Cheers > [vo/vdpau] Error when calling vdp_device_create_x11: 1 > [vo/xv] No Xvideo support found. > [vo/sdl] SDL_CreateRenderer failed > [vo/sdl] SDL_CreateRenderer failed > [vo/sdl] SDL_CreateRenderer failed > [vo/sdl] SDL_CreateRenderer failed > [vo/sdl] No supported renderer > libva info: VA-API version 0.39.4 > libva info: va_getDriverName() returns -1 > libva error: va_getDriverName() failed with unknown libva > error,driver_name=(null) > [vaapi] vaInitialize(): unknown libva error > [vo/x11] Warning: this legacy VO has bad performance. Consider fixing > your graphics drivers, or not forcing the x11 VO. > > And this happens on different systems, one which needs and has the > i965-va-driver and the other one which is a much more dated system. > > Dunno if this gives you any more clues or not. I am using mpv as my > video player. > > -- > Regards, > Shirish Agarwal शिरीष अग्रवाल > My quotes in this email licensed under CC 3.0 > http://creativecommons.org/licenses/by-nc/3.0/ > http://flossexperiences.wordpress.com > EB80 462B 08E1 A0DE A73A 2C2F 9F3D C7A4 E1C4 D2D8 > > ___ > pkg-multimedia-maintainers mailing list > pkg-multimedia-maintain...@lists.alioth.debian.org > http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-multimedia-maintainers -- Sebastian Ramacher signature.asc Description: PGP signature
Bug#848826: More info. on vainfo
Dear Sebastian, Sorry for not replying earlier. Seems both your answers didn't reach me. I was looking at the pkg-multimedia mailing list and found your answers. I am subscribing to the bug so this doesn't happen. Replying to your queries - a. So I guess you are not running this from a terminal running in X? a. I AM running this from a terminal running in X. b. Or you do not have i965-va-driver installed, which you should get automatically if you do not have recommends disabled. b. Wrong again. I do have i965-va-driver installed. $ aptitude search i965-va-driver i i965-va-driver - VAAPI driver for Intel G45 & HD Graphics family Please let me know if you need any more details. I have been seeing this in videos I have been playing (and some refuse to play at all which used to play earlier) - (+) Video --vid=1 (*) (h264) (+) Audio --aid=1 --alang=und (*) (aac) [vo/opengl] GLX not found. [vo/opengl] GLX not found. [vo/vdpau] Error when calling vdp_device_create_x11: 1 [vo/xv] No Xvideo support found. [vo/sdl] SDL_CreateRenderer failed [vo/sdl] SDL_CreateRenderer failed [vo/sdl] SDL_CreateRenderer failed [vo/sdl] SDL_CreateRenderer failed [vo/sdl] No supported renderer libva info: VA-API version 0.39.4 libva info: va_getDriverName() returns -1 libva error: va_getDriverName() failed with unknown libva error,driver_name=(null) [vaapi] vaInitialize(): unknown libva error [vo/x11] Warning: this legacy VO has bad performance. Consider fixing your graphics drivers, or not forcing the x11 VO. And this happens on different systems, one which needs and has the i965-va-driver and the other one which is a much more dated system. Dunno if this gives you any more clues or not. I am using mpv as my video player. -- Regards, Shirish Agarwal शिरीष अग्रवाल My quotes in this email licensed under CC 3.0 http://creativecommons.org/licenses/by-nc/3.0/ http://flossexperiences.wordpress.com EB80 462B 08E1 A0DE A73A 2C2F 9F3D C7A4 E1C4 D2D8