I want my DVB-S2 HD channels back in Kaffeine

Hi!

I habe a TW 64bit KDE. Due to problems with watching TV I was advised to switch to old, xine-based Kaffeine (currently installed 1.2.2) earlier this year. Everything was fine over summer, but for several weeks now I don’t get video output for HD-channels, only audio. Interestingly, sometimes I get a SINGLE HD frame when switching the channel.

Old low-res TV channels are doing fine.

Video card is a NVIDIA NVS quadro 295 (tried various NVIDIAs in the meantime, have no others…).

On starting Kaffeine I see in dmesg:

 4674.041430] nouveau 0000:03:00.0: Direct firmware load for nouveau/nv98_fuc084 failed with error -2
 4674.041450] nouveau 0000:03:00.0: Direct firmware load for nouveau/nv98_fuc084d failed with error -2
 4674.041453] nouveau 0000:03:00.0: msvld: unable to load firmware data
 4674.041458] nouveau 0000:03:00.0: msvld: init failed, -19
 4704.094479] nouveau 0000:03:00.0: gr: TRAP_PROP - TP 0 - 00000040 [RT_FAULT] - Address 0041ce0000
 4704.094484] nouveau 0000:03:00.0: gr: TRAP_PROP - TP 0 - e0c: 00000000, e18: 00000000, e1c: 01800000, e20: 00001800, e24: 00030000
 4704.094487] nouveau 0000:03:00.0: gr: 00200000 ] ch 12 [000ed69000 kaffeine-xbu[3925]] subc 3 class 8297 mthd 1558 data 00000001
 4704.094498] nouveau 0000:03:00.0: fb: trapped write at 0041ce0000 on channel 12 [0ed69000 kaffeine-xbu[3925]] engine 00 [PGRAPH] client 0b [PROP] subclient 00 [RT0] reason 00000002 [PAGE_NOT_PRESENT]
 4716.213247] nouveau 0000:03:00.0: gr: TRAP_PROP - TP 0 - 00000040 [RT_FAULT] - Address 0041ad0000
 4716.213251] nouveau 0000:03:00.0: gr: TRAP_PROP - TP 0 - e0c: 00000000, e18: 00000000, e1c: 010001c0, e20: 00001800, e24: 00030000
 4716.213255] nouveau 0000:03:00.0: gr: 00200000 ] ch 12 [000ed69000 kaffeine-xbu[3925]] subc 3 class 8297 mthd 1558 data 00000001
 4716.213271] nouveau 0000:03:00.0: fb: trapped write at 0041ad0000 on channel 12 [0ed69000 kaffeine-xbu[3925]] engine 00 [PGRAPH] client 0b [PROP] subclient 00 [RT0] reason 00000002 [PAGE_NOT_PRESENT]
 4748.401326] nouveau 0000:03:00.0: gr: TRAP_PROP - TP 0 - 00000040 [RT_FAULT] - Address 00421f0000
 4748.401331] nouveau 0000:03:00.0: gr: TRAP_PROP - TP 0 - e0c: 00000000, e18: 00000000, e1c: 01800000, e20: 00001800, e24: 00030000
 4748.401335] nouveau 0000:03:00.0: gr: 00200000 ] ch 12 [000ed69000 kaffeine-xbu[3925]] subc 3 class 8297 mthd 1558 data 00000001
 4748.401346] nouveau 0000:03:00.0: fb: trapped write at 00421f0000 on channel 12 [0ed69000 kaffeine-xbu[3925]] engine 00 [PGRAPH] client 0b [PROP] subclient 00 [RT0] reason 00000002 [PAGE_NOT_PRESENT]
 4768.977993] nouveau 0000:03:00.0: fb: trapped write at 0041ea0000 on channel 12 [0ed69000 kaffeine-xbu[3925]] engine 00 [PGRAPH] client 0b [PROP] subclient 00 [RT0] reason 00000002 [PAGE_NOT_PRESENT]
 4768.978018] nouveau 0000:03:00.0: gr: TRAP_PROP - TP 0 - 00000040 [RT_FAULT] - Address 0041ea0000
 4768.978021] nouveau 0000:03:00.0: gr: TRAP_PROP - TP 0 - e0c: 00000000, e18: 00000000, e1c: 010001c0, e20: 00001800, e24: 00030000
 4768.978024] nouveau 0000:03:00.0: gr: 00200000 ] ch 12 [000ed69000 kaffeine-xbu[3925]] subc 3 class 8297 mthd 1558 data 00000001
 4768.978035] nouveau 0000:03:00.0: fb: trapped write at 0041ea1f00 on channel 12 [0ed69000 kaffeine-xbu[3925]] engine 00 [PGRAPH] client 0b [PROP] subclient 00 [RT0] reason 00000002 [PAGE_NOT_PRESENT]

Is there any chance to get the HD-channels back (again: worked fine whole summer)?

Is there a chance that an AMD graphics card will solve the problem?

I haven’t used kaffeine for DVB but your output suggests noveau is the culprit
noveau has issues on plasma 5 why not use nvidia’s propitiatory driver
according to wikipedia your card is based on geforce 8
https://en.wikipedia.org/wiki/Nvidia_Quadro#For_business_NVS
https://en.wikipedia.org/wiki/GeForce#GeForce_8_series
that means it should use the G03 driver
although there finally is an nvidia repo for TW it only has the G04 driver (for GeForce 4xx and above)
the G03 driver needs patching before install on TW
I’d suggest you read this mailing list post
https://lists.opensuse.org/opensuse-factory/2017-08/msg00597.html
and installing the G03 driver
I have no experience with amd graphic card I’ve never had an issue with nvidia and I’ve used opensuse/suse ever since Geforce 2
if you want to stay on TW and get a new-er card I’d suggest something after GeForce 4xx so called Feature set D I’d suggest Feature set F (it has h265 and vp9 hardware acceleration)
nvidia has a strange way of naming it’s products so check this table for the needed feature set and corresponding gpu
https://en.wikipedia.org/wiki/Nvidia_PureVideo#Table_of_GPUs_containing_a_PureVideo_SIP_block

Hi I_A!

Many, many thnaks for your helpful reply, highly appreciated!

  • I thought about the NVS 310 (released in 2012…), Fermi-based (GeForce 510), would that probably work? :slight_smile: (nouveau stuff or need to install NVIDIA blob?)

  • Any other suggestion for a decent 2D (passive cooling preferred) graphics card doing fine with TW? I don’t want one of these 3D monsters with power consumption of 60+ W just for watching a little TV from time to time…

There is no way to compile a graphics driver after each TW update, I’m not a freak. :wink:

Any chance another application would give me some HD DVB-S2 channels? Just to try…

Out of frustration I clicked in Kaffeine yesterday for half an hour and to my surprise sometime (!) some (!) HD channels were doing fine in Kaffeine, but only until I started to resize the window.

Is this little bit of TV-stuff enough to bring a 2D- graphics card to its edge? I mean, my raspberry 2 with ARM can stream HD videos from the attached cam at a very decent speed :smiley:

this wiki at freedesktop (the nouveau developers) has some interesting info about video acceleration under noveau

VP1/2/3/4/5 all require firmware to operate that is presently extracted from the NVIDIA binary driver. We cannot redistribute the firmware directly in linux-firmware because NVIDIA’s license forbids redistribution of parts of their driver.

basically to get hardware acceleration with nouveau you need parts of the nvidia bloob which defeats the purpose of nouveau
that being said the 510 is Pure Video 5 Feature set D it’s capable of hardware accelerated UHD 4k h264 video decoding, that means it is supported by the G04 driver which is build and packaged by nvidia for TW
http://http.download.nvidia.com/opensuse/tumbleweed/

OK, I would need the NVS 310 and the proprietary NVIDIA blob. But with this NVIDIA repo added to TW it would survive TW updates automagically? Or some frequent manual operations needed to keep the NVIDIA driver?

I still don’t understand how this HD channels worked the whole summer long in Kaffeine, using an old NVIDIA Quadro FX 1800 (G94 core from 2009, cann’t find an GeForce info) and Nouveau…

https://www.nvidia.com/docs/IO/68283/NV_DS_QFX_1800_US_Mar09_FINAL_LoRes.pdf

With this card I had TW freeze completey once every 2-3 weeks on switching channels in Kaffein. I thought the card was getting old…

…just for testing I reinstalled the old NVIDIA Quadro FX 1800, but same result with Kaffein and this card also needs the old 340.x driver for Linux. Sigh…

I thought hardware deprecation was a specialty of the “whole in the wall” OS.

Would there be a chance with LEAP to get the present hardware to work and display HD DVB-S2?

I use a 630 chip card with passive cooling and the NVIDIA G04 driver. Does all I wish it to do.

Both NVIDIA and AMD drop support for their chips after about 5 years it seems and since the interfaces are proprietary it is hard for OS programmers to maintain compatible drivers

well it’s not the graphic card per se but the driver noveau does not support hardware acceleration without a propitiatory blob that needs to be extracted from the nvidia driver I’d say install the G03 driver and see if you can get HD video back
the GO3 driver is provided for LEAP but before going the re-install path try the manual installation it’s not that hard the patch is small and needs to be done once on the run file

Hi
The patch is only for the .102 driver, it needs rebasing for the .104 release… give me a few and will look at creating a new patch.

Hi
Looking at the 104 source, if you try installing the 104 driver without patching as it should work, if not please post the build log to SUSE Paste

…I’m a little confused now, is this the procedure to do:

$ mkdir /tmp/nouveau
$ cd /tmp/nouveau
$ wget https://raw.github.com/imirkin/re-vp2/master/extract_firmware.py
$ wget http://us.download.nvidia.com/XFree86/Linux-x86/325.15/NVIDIA-Linux-x86-325.15.run
$ sh NVIDIA-Linux-x86-325.15.run --extract-only
$ python2 extract_firmware.py  # this script is for python 2 only
# mkdir /lib/firmware/nouveau
# cp -d nv* vuc-* /lib/firmware/nouveau/

from here: https://nouveau.freedesktop.org/wiki/VideoAcceleration/

Or something completely different?

The TW NVIDIA repo I installed from 2 days ago only had a driver for the newer cards.

Hi
No…

Logout of you desktop and press ctrl+alt+F1 to get to a console (tty) and login as root user;


init 3
cd to where your NVIDIA file is;
sh NVIDIA-Linux-x86_64-340.104.run -aq
systemctl reboot

Ah, Ok, many thanks!

“NVIDIA file” would be the 340…run driver from NVIDIA:

https://www.nvidia.com/Download/driverResults.aspx/123703/en-us

?

Does this survive a TW update? Or will I have to do this after each update? :slight_smile:

Just in case:

“…if not please post the build log to SUSE Paste

Where to find the build log?

Addmitting to have not read the entire thread, and assuming you’re runing the .run installer :

  • You can use the --dkms option This requires dkms to be installed. On a kernel update dkms will trigger a rebuild of the nvidia kernel module.
  • You can use the --no-nouveau-check and the --no-X-check ( not completely sure, use the --advanced-options to see the exact wording ) to install the driver from a desktop terminal window.

Just in case:

“…if not please post the build log to SUSE Paste

Where to find the build log?

But … these days precompiled nvidia drivers are available for Tumbleweed.

Hi
Yes, grab the 340.104 run file…

After a kernel update I usually set the default back to multi-user target, eg


zypper ref
zypper -vvv dup
(I see a kernel update)
(Let update finish)
systemctl set-default multi-user.target
systemctl reboot
(login as root user and keep the nvida file in /root dir)
sh NVIDIA-Linux-x86_64-340.104.run -aq
(Let install finish)
systemctl set-default graphical.target
systemctl reboot

If it errors out, it will tell you where the log is, from memory in /tmp.

OK, I’ll try @ Mlewis, any thoughts on @Knurphts suggestion regarding --dkms?

@Knurpht: No 340.x driver for old NVIDIAs in the TW repo. Do you have a different source? :slight_smile:

Follow-up: I didn’t try the manual driver install, an update of TW in the end of December resolved the issue, the HD-channels are back.