USM Nvidia drivers?

Post here if you are a new Porteus member and you're looking for some help.
fulalas
DEV Team
DEV Team
Posts: 741
Joined: 26 Oct 2016, 15:34
Distribution: Porteus
Location: Brazil

Re: USM Nvidia drivers?

Post#16 by fulalas » 15 Feb 2017, 03:46

Evan wrote:Something isn't right with those Stats because i just watched the Video full screen with Nouveau drivers and it stuttered and rippled yet Stats never reported any drop frames when obviously it was.

Image
Which browser? Here I have the exact same behavior with Firefox + Intel HD.

I read these days that Youtube HTML5 doesn't have hw acceleration for vp9 codecs, and some people use h264ify extension to disable vp9 and enable h.264 codec -- which supposedly has hw acell. I tried but it doesn't make any difference. The only solution at the moment is to download the video and watch it through SMPlayer + Mpv. :good:

Evan
Warlord
Warlord
Posts: 519
Joined: 11 Apr 2016, 09:00
Distribution: Anything Cinnamon
Location: London

Re: USM Nvidia drivers?

Post#17 by Evan » 15 Feb 2017, 06:08

The latest firefox with update-firefox
fulalas wrote:I read these days that Youtube HTML5 doesn't have hw acceleration
Why does everything with Linux have to be a pain in the ass?

There is a funny meme somewhere that shows the Linux idea of a door lock , i'll see if i can find it. :D

fulalas
DEV Team
DEV Team
Posts: 741
Joined: 26 Oct 2016, 15:34
Distribution: Porteus
Location: Brazil

Re: USM Nvidia drivers?

Post#18 by fulalas » 15 Feb 2017, 06:58

Evan wrote:Why does everything with Linux have to be a pain in the ass?
Sometimes I wonder the same, hahaha! But on the other hand we have some good things, like more freedom and flexibility. The idea of having an always fresh bootable OS inside an USB stick is simply amazing! With the plus of being really light and fast (I'm booting in 20s right now through an USB 3.0 :good:). I'm saying that and I used DOS/Windows for my entire life -- Linux is something new for me; less than 6 months!
Evan wrote:There is a funny meme somewhere that shows the Linux idea of a door lock , i'll see if i can find it. :D
Please, find it! :D

Evan
Warlord
Warlord
Posts: 519
Joined: 11 Apr 2016, 09:00
Distribution: Anything Cinnamon
Location: London

Re: USM Nvidia drivers?

Post#19 by Evan » 15 Feb 2017, 08:13

murga-linux.com/puppy/viewtopic.php?t=102198&sid=e3184df23456d631239ff3743a25f095

I can't find the original meme as there were loads based around the above picture last year but it will give you the general idea. :)

Evan
Warlord
Warlord
Posts: 519
Joined: 11 Apr 2016, 09:00
Distribution: Anything Cinnamon
Location: London

Re: USM Nvidia drivers?

Post#20 by Evan » 15 Feb 2017, 14:14

@Bogomips

Booted to text

Installed the driver with ./NVIDIA-Linux-x86_64-378.09.run -zXZ

dir2xzm /mnt/live/memory/changes /tmp/nvidia.xzm

Unpacked Nvidia.xzm and then added the modprobe.d folder from blacklist over to the Nvidia/etc/ folder and then repacked it to a .xzm file.

Placed it in my module folder and rebooted and it all seems to be working fine and i now have the modprobe.d folder in porteus /etc/ with the nvidia-installer-disable-nouveau.conf file with the same contents and blacklist.

egrep -i " connected|card detect|primary dev|Setting driver" /var/log/Xorg.0.log

The above command shows Nvidia connected as the VGA display device.

Does all this sound about right to you?

Evan
Warlord
Warlord
Posts: 519
Joined: 11 Apr 2016, 09:00
Distribution: Anything Cinnamon
Location: London

Re: USM Nvidia drivers?

Post#21 by Evan » 15 Feb 2017, 15:19

I now totally understand why you both strip down your Nvidia drivers as i didn't realize the amount of stuff that gets saved to the default .xzm file that has nothing to do with Nvidia.

fulalas
DEV Team
DEV Team
Posts: 741
Joined: 26 Oct 2016, 15:34
Distribution: Porteus
Location: Brazil

Re: USM Nvidia drivers?

Post#22 by fulalas » 15 Feb 2017, 23:16

Evan wrote:I now totally understand why you both strip down your Nvidia drivers as i didn't realize the amount of stuff that gets saved to the default .xzm file that has nothing to do with Nvidia.
It's not just that. Nvidia drivers with prefix after 340.xx, like for example: 365.xx or 375.00, doesn't work with Porteus as some libs from Mesa driver create conflicts. That's why I do some tricks with that script.

Evan
Warlord
Warlord
Posts: 519
Joined: 11 Apr 2016, 09:00
Distribution: Anything Cinnamon
Location: London

Re: USM Nvidia drivers?

Post#23 by Evan » 15 Feb 2017, 23:31

fulalas wrote:It's not just that. Nvidia drivers with prefix after 340.xx, like for example: 365.xx or 375.00, doesn't work with Porteus as some libs from Mesa driver create conflicts. That's why I do some tricks with that script.
Image

What conflicts am i supposed to be looking for as 378.09 seems to be working fine?

I thought Mesa was for Intel or AMD graphics?

fulalas
DEV Team
DEV Team
Posts: 741
Joined: 26 Oct 2016, 15:34
Distribution: Porteus
Location: Brazil

Re: USM Nvidia drivers?

Post#24 by fulalas » 16 Feb 2017, 00:14

Evan wrote:What conflicts am i supposed to be looking for as 378.09 seems to be working fine?
Take a look at steps 10 and 11: viewtopic.php?f=39&t=6391
Evan wrote:I thought Mesa was for Intel or AMD graphics?
Nvidia too. :)

Edited: but before you do that, restart Porteus ;)

Evan
Warlord
Warlord
Posts: 519
Joined: 11 Apr 2016, 09:00
Distribution: Anything Cinnamon
Location: London

Re: USM Nvidia drivers?

Post#25 by Evan » 16 Feb 2017, 07:10

Image


Sigh!

I'll have to start again then and run your clean up script now i know why. :D

You seem to be currently the only user flying the flag for Nvidia users , I'm surprised Brokenman isn't putting more support in for it as it will just hold the project back in popularity.

With the amount of functionality that's missing from the code from the Nouveau drivers you might as well be running a 10 year old budget graphics card.

A bit like owning a bike with shoes for wheels , it'll work but just not as well it should.

:)

fulalas
DEV Team
DEV Team
Posts: 741
Joined: 26 Oct 2016, 15:34
Distribution: Porteus
Location: Brazil

Re: USM Nvidia drivers?

Post#26 by fulalas » 16 Feb 2017, 08:43

Evan, I agree with you. I understand though that brokenman is working basically alone in Porteus project, and he also has his own life to live. And regarding kernel updates I think Porteus is up to date in a impressive pace.

But, as you said, it would be great if we could have more effort on some updates, like graphics card (we're still using Mesa 11v although Mesa is currently at 17v), FFMpeg, libgphoto (in order to access smartphone and camera files), NetworkManager. Also, it's easy to create some xzm modules bundled with Porteus that are really useful, like Wine and Qt, for example. This kind of update/module is, in my opinion, the most used by common users and also one of the most boring to manually compile.

As a rider, I loved the shoes-bike you posted :)

Evan
Warlord
Warlord
Posts: 519
Joined: 11 Apr 2016, 09:00
Distribution: Anything Cinnamon
Location: London

Re: USM Nvidia drivers?

Post#27 by Evan » 16 Feb 2017, 08:50

fulalas wrote:brokenman is working basically alone in Porteus project, and he also has his own life to live.
We need to convince him that Woman are bad and we come first. :D

Bogomips
Full of knowledge
Full of knowledge
Posts: 2563
Joined: 25 Jun 2014, 15:21
Distribution: 3.2.2 Cinnamon & KDE5
Location: London

Re: USM Nvidia drivers?

Post#28 by Bogomips » 16 Feb 2017, 11:54

fulalas wrote:I read these days that Youtube HTML5 doesn't have hw acceleration for vp9 codecs, and some people use h264ify extension to disable vp9 and enable h.264 codec -- which supposedly has hw acell. I tried but it doesn't make any difference. The only solution at the moment is to download the video and watch it through SMPlayer + Mpv. :good:
Yesterday had jerky movement on YT using html5 player. Had to close tab in other browser and video played fine, however noticed playing around 89% cpu load. Stopped playback and switched to gecko-mediaplayer, which has h/w accel. CPU at 100% while caching, but once playing comes down to around 36%. Swings and merry-go-rounds, maybe. Will have to investigate further. :unknown:
Linux porteus 4.4.0-porteus #3 SMP PREEMPT Sat Jan 23 07:01:55 UTC 2016 i686 AMD Sempron(tm) 140 Processor AuthenticAMD GNU/Linux
NVIDIA Corporation C61 [GeForce 6150SE nForce 430] (rev a2) MemTotal: 901760 kB MemFree: 66752 kB

Evan
Warlord
Warlord
Posts: 519
Joined: 11 Apr 2016, 09:00
Distribution: Anything Cinnamon
Location: London

Re: USM Nvidia drivers?

Post#29 by Evan » 16 Feb 2017, 12:19

Linux Feature Request: HTML5 video GPU acceleration

https://bugzilla.mozilla.org/show_bug.cgi?id=563206

First started in 2010 , not read through it yet so i don't know if there is anything useful.

fulalas
DEV Team
DEV Team
Posts: 741
Joined: 26 Oct 2016, 15:34
Distribution: Porteus
Location: Brazil

Re: USM Nvidia drivers?

Post#30 by fulalas » 16 Feb 2017, 14:42

Evan wrote:Linux Feature Request: HTML5 video GPU acceleration

https://bugzilla.mozilla.org/show_bug.cgi?id=563206

First started in 2010 , not read through it yet so i don't know if there is anything useful.
Sad they didn't come with a solution yet :(

But I was wondering... Why MPlayer/Mpv can play videos with so less CPU usage even without hw decode activate? :unknown:

Post Reply