canonical / nvidia-graphics-drivers

Packaging scripts for nvidia-graphics-drivers in Ubuntu
43 stars 34 forks source link

NVS 5200M (0DFC) not working with 435 (additional_card_ids) #36

Closed andy71 closed 8 months ago

andy71 commented 4 years ago

I'm not sure if this is the right place to open an issue, so please be patient with me :-)

I have a Dell Laptop with a NVS 5200M (0DFC) and wondered why ubuntu-drivers recommend the nvidia-driver-435 (and also the wrong driver 430). It won't work with this driver.

After digging a little bit, I found the product id in the additional_card_ids in the branches higher than 390. But the latest driver which should work is 390 (found on the Nvidia websites).

== /sys/devices/pci0000:00/0000:00:01.0/0000:01:00.0 == modalias : pci:v000010DEd00000DFCsv00001028sd00000535bc03sc00i00 vendor : NVIDIA Corporation model : GF108GLM [NVS 5200M] driver : nvidia-340 - distro non-free driver : nvidia-driver-435 - distro non-free recommended driver : nvidia-driver-430 - distro non-free driver : nvidia-driver-390 - distro non-free driver : xserver-xorg-video-nouveau - distro free builtin

tseliot commented 4 years ago

It sounds like a bug in the parsing of the README file (from NVIDIA). Can you file a bug report on launchpad about this please? https://bugs.launchpad.net/ubuntu/+source/nvidia-graphics-drivers-435/+filebug

andy71 commented 4 years ago

Thank you for the fast response.

Filed a bug on launchpad: https://bugs.launchpad.net/ubuntu/+source/nvidia-graphics-drivers-435/+bug/1856166

tseliot commented 4 years ago

Thank you.

andy71 commented 4 years ago

I am not sure if this can help you, but since version 343.22 the README.txt format changed a little bit. There is no more a prefix 0x in front of the card ids. And the whole id is in upper case now.

So, from my side of view, it seems that replacing the sed substitute in file 'nvidia_supported' (line 26) to the following, should work for README files since version 343.22:

s/.* 0x([0-9A-F]{4})( .*|$)/\1/p

tseliot commented 4 years ago

I have fixed the problem in the PPA: https://launchpad.net/~oem-solutions-group/+archive/ubuntu/nvidia-driver-staging

I am going to update the packages in the Ubuntu archive in January, since I'll be on holiday for the rest of the month now.

Regards,

On Fri, 13 Dec 2019 at 10:05, andy71 notifications@github.com wrote:

I am not sure if this can help you, but since version 343.22 the README.txt format changed a little bit. There is no more a prefix 0x in front of the card ids. And the whole id is in upper case now.

So, from my side of view, it seems that replacing the sed substitute in file 'nvidia_supported' (line 26) to the following, should work for README files since version 343.22:

`` s/. 0x([0-9A-F]{4})( .|$)/\1/p

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/tseliot/nvidia-graphics-drivers/issues/36?email_source=notifications&email_token=AACMLMKUXGVUW636GXH3ENDQYNF6PA5CNFSM4JZ3L5EKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEGZLPVI#issuecomment-565360597, or unsubscribe https://github.com/notifications/unsubscribe-auth/AACMLMJKFVENLMWU33HJUCDQYNF6PANCNFSM4JZ3L5EA .

-- Alberto Milone