Bug 109952 - Possible nv106 nv108 confusion ; different bugs too
Summary: Possible nv106 nv108 confusion ; different bugs too
Status: RESOLVED MOVED
Alias: None
Product: xorg
Classification: Unclassified
Component: Driver/nouveau (show other bugs)
Version: unspecified
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Nouveau Project
QA Contact: Xorg Project Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-03-10 21:18 UTC by moebius
Modified: 2019-12-04 09:48 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
hope it's the good one (the internal nvidia card is not in use, but...) (165.50 KB, application/octet-stream)
2019-03-10 21:18 UTC, moebius
no flags Details

Description moebius 2019-03-10 21:18:00 UTC
Created attachment 143619 [details]
hope it's the good one (the internal nvidia card is not in use, but...)

Bonjour,
I own a MSI GT 710
I'm running a debian buster
Here are the outputs of different commands :
lshw : GK208 [GeForce GT 710B]

dmesg : [    6.211259] nouveau 0000:02:00.0: NVIDIA GK208B (b060b0b1)

vainfo: Driver version: Mesa Gallium driver 18.3.4 for NV106

And just an example of syslog that shows that nouveau is looking for nv106 drivers  and fails to load them because I've renamed the firmware directory:
Direct firmware load for nouveau/nv106_fuc084 failed with error -2

In fact, I suppose that, for nouveau driver the card is a nv106 (GK208B, GT 720) but, in fact, it's a nv108 (GK208, GT 710B).

So I've rename /lib/firmware/nouveau/ directory in nouveau.ori to avoid kaffeine to crash (and vlc too when selecting VDPAU output). But doing so, I can't expect any hardware acceleration.

PS : I don't know how to find version number of nouveau driver but kernel is 
4.19.0-2-rt-amd64 SMP preempt

Thank's for your work

cordialement,
Comment 1 Ilia Mirkin 2019-03-11 11:47:35 UTC
Marketing names are fungible. If nouveau says it's a NV106, then it's a NV106. If it's truly not, then the hw maker screwed up -- unlikely. Also GK208B is something we largely invented -- they're all marketed as GK208, but the "BOOT0" register has a different chip id.

You can reuse the same firmware files as nv108 for nv106 -- can just symlink them, ought to work.
Comment 2 moebius 2019-03-11 13:49:05 UTC
Bonjour,

I've tried to symlink every nv106_fuc* to nv108_fuc* (3 files) but kaffeine crash again.

So, in Debian Buster (PRETTY_NAME="Debian GNU/Linux buster/sid"), nouveau acceleration doesn't work...bug or faulty config ?

cordialement,
Comment 3 Ilia Mirkin 2019-03-11 13:52:37 UTC
Please try it with mplayer.

Instructions here:
https://nouveau.freedesktop.org/wiki/VideoAcceleration/#usingvdpau
Comment 4 moebius 2019-03-11 14:16:34 UTC
thank for your answer,
I've tried to open several files with same results : black screen
Using mplayer -vo vdpau -vc ffmpeg12vdpau,ffwmv3vdpau,ffvc1vdpau,ffh264vdpau,ffodivxvdpau, <file>


with a mpeg file :

Starting playback...
Movie-Aspect is undefined - no prescaling applied.
VO: [vdpau] 720x576 => 720x576 MPEG2 VDPAU acceleration 
[mpegvideo @ 0x7eff23048840]Image too small, temporary buffers cannot function
[mpegvideo @ 0x7eff23048840]get_buffer() failed to allocate context scratch buffers.
Error while decoding frame!
[mpegvideo @ 0x7eff23048840]Image too small, temporary buffers cannot function
[mpegvideo @ 0x7eff23048840]get_buffer() failed to allocate context scratch buffers.
Error while decoding frame!
[mpegvideo @ 0x7eff23048840]Image too small, temporary buffers cannot function
[mpegvideo @ 0x7eff23048840]get_buffer() failed to allocate context scratch buffers.
-------------------------------
with a mp4 one :

libavformat version 58.20.100 (external)
Mismatching header version 58.12.100
libavformat file format detected.
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fcb1faa7e00]Protocol name not provided, cannot determine if input is local or a network protocol, buffers and access patterns cannot be configured optimally without knowing the protocol
[lavf] stream 0: video (h264), -vid 0
[lavf] stream 1: audio (aac), -aid 0, -alang und
VIDEO:  [H264]  720x406  24bpp  25.000 fps  1590.0 kbps (194.1 kbyte/s)
==========================================================================
Forced video codec: ffmpeg12vdpau
Forced video codec: ffwmv3vdpau
Forced video codec: ffvc1vdpau
Forced video codec: ffh264vdpau
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
libavcodec version 58.35.100 (external)
Mismatching header version 58.18.100
Selected video codec: [ffh264vdpau] vfm: ffmpeg (FFmpeg H.264 (VDPAU))
==========================================================================
Clip info:
 major_brand: mp42
 minor_version: 0
 compatible_brands: isommp42
 creation_time: 2019-02-13T04:17:07.000000Z
Load subtitles in /disque4/espace11/
==========================================================================
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
AUDIO: 48000 Hz, 2 ch, floatle, 125.4 kbit/4.08% (ratio: 15679->384000)
Selected audio codec: [ffaac] afm: ffmpeg (FFmpeg AAC (MPEG-2/MPEG-4 Audio))
==========================================================================
AO: [pulse] 48000Hz 2ch floatle (4 bytes per sample)
Starting playback...
Movie-Aspect is 1.77:1 - prescaling to correct movie aspect.
VO: [vdpau] 720x406 => 720x406 H.264 VDPAU acceleration 
Movie-Aspect is 1.77:1 - prescaling to correct movie aspect.
VO: [vdpau] 720x406 => 720x406 H.264 VDPAU acceleration 
Dropping frame with size not matching configured size (720x406 vs 720x396 vs 720x406)
Dropping frame with size not matching configured size (720x406 vs 720x396 vs 720x406)
-----------------------------------------------
with an avi one :

libavformat version 58.20.100 (external)
Mismatching header version 58.12.100
MPEG-PS file format detected.
VIDEO:  MPEG2  720x576  (aspect 2)  25.000 fps  9800.0 kbps (1225.0 kbyte/s)
==========================================================================
Forced video codec: ffmpeg12vdpau
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
libavcodec version 58.35.100 (external)
Mismatching header version 58.18.100
Selected video codec: [ffmpeg12vdpau] vfm: ffmpeg (FFmpeg MPEG-1/2 (VDPAU))
==========================================================================
Load subtitles in /disque4/espace11/
==========================================================================
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
AUDIO: 48000 Hz, 2 ch, floatle, 448.0 kbit/14.58% (ratio: 56000->384000)
Selected audio codec: [ffac3] afm: ffmpeg (FFmpeg AC-3)
==========================================================================
AO: [pulse] 48000Hz 2ch floatle (4 bytes per sample)
Starting playback...
[ac3 @ 0x7f1181774840]Got unexpected packet after EOF
[ac3 @ 0x7f1181774840]Got unexpected packet after EOF
[ac3 @ 0x7f1181774840]Got unexpected packet after EOF
[ac3 @ 0x7f1181774840]Got unexpected packet after EOF
[ac3 @ 0x7f1181774840]Got unexpected packet after EOF
[ac3 @ 0x7f1181774840]Got unexpected packet after EOF
[ac3 @ 0x7f1181774840]Got unexpected packet after EOF
[ac3 @ 0x7f1181774840]Got unexpected packet after EOF
Movie-Aspect is undefined - no prescaling applied.
VO: [vdpau] 720x576 => 720x576 MPEG2 VDPAU acceleration 
[mpegvideo @ 0x7f1181774840]Image too small, temporary buffers cannot function
[mpegvideo @ 0x7f1181774840]get_buffer() failed to allocate context scratch buffers.
Error while decoding frame!
[mpegvideo @ 0x7f1181774840]Image too small, temporary buffers cannot function
[mpegvideo @ 0x7f1181774840]get_buffer() failed to allocate context scratch buffers.
Error while decoding frame!
[mpegvideo @ 0x7f1181774840]Image too small, temporary buffers cannot function
[mpegvideo @ 0x7f1181774840]get_buffer() failed to allocate context scratch 


So, if you have an idea...

cordialement,
Comment 5 moebius 2019-04-02 12:00:27 UTC
Bonjour,

After much searchs, I finally install, for testing, the proprietary driver.
Surprise : before this install, Thunderbird and synaptic freezed for a while (and freezed all the desktop interface. Debian didn't shutdown : everything stopped except power.
Now, no more freezes and debian stops as it did before.

I think it's a regression because when using ubuntu lts 2016 (16.04 I think), nouveau has never produced such problems.
Recently, I've moved to the most recent LTS (18.04) but encountered the problems mentionned before. I wrongly suspected Ubuntu but, I've got same ones replacing ubuntu by Debian ; in fact, it seems that nouveau driver is the cause.

cordialement,
Comment 6 Martin Peres 2019-12-04 09:48:29 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/xorg/driver/xf86-video-nouveau/issues/481.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.