Ubuntu 18.04, FahCore returned: UNKNOWN_ENUM (127 = 0x7f)

It seems that a lot of GPU problems revolve around specific versions of drivers. Though NVidia has their own support structure, you can often learn from information reported by others who fold.

Moderators: Site Moderators, PandeGroup

Ubuntu 18.04, FahCore returned: UNKNOWN_ENUM (127 = 0x7f)

Postby dieselnut » Mon May 07, 2018 7:29 pm

Hi there,

I've been folding on my GTX 670 under Linux for a number of years, most recently under Xubuntu 17.04. Well, I installed regular Ubuntu 18.04 over the weekend and can't seem to get the GPU to fold. The specific error I see in the logs is:

Code: Select all
WARNING:WU01:FS01:FahCore returned: UNKNOWN_ENUM (127 = 0x7f)


Please note that I made no hardware changes. I did update the BIOS, but after that I did a minimal install of 18.04. I then switched to use third party NVidia drivers, namely nvidia-driver-390. I configured my folding client as usual, but the GPU won't fold. Here is my configuration:

Code: Select all
<config>
  <!-- Client Control -->
  <fold-anon v='true'/>

  <!-- Folding Slot Configuration -->
  <gpu v='false'/>

  <!-- Network -->
  <proxy v=':8080'/>

  <!-- Slot Control -->
  <pause-on-battery v='false'/>
  <power v='full'/>

  <!-- User Information -->
  <passkey v='********************************'/>
  <team v='40965'/>
  <user v='dieselnut'/>

  <!-- Folding Slots -->
  <slot id='0' type='CPU'/>
  <slot id='1' type='GPU'/>
</config>


After doing some debugging/searching, it seems that maybe I was missing the OpenCL packages? I installed the "headless" package, but that didn't seem to help. Here are all the NVidia package I have installed:

Code: Select all
dpkg -l | grep nvidia
ii  libnvidia-cfg1-390:amd64                   390.48-0ubuntu3                     amd64        NVIDIA binary OpenGL/GLX configuration library
ii  libnvidia-common-390                       390.48-0ubuntu3                     all          Shared files used by the NVIDIA libraries
ii  libnvidia-compute-390:amd64                390.48-0ubuntu3                     amd64        NVIDIA libcompute package
ii  libnvidia-compute-390:i386                 390.48-0ubuntu3                     i386         NVIDIA libcompute package
ii  libnvidia-decode-390:amd64                 390.48-0ubuntu3                     amd64        NVIDIA Video Decoding runtime libraries
ii  libnvidia-decode-390:i386                  390.48-0ubuntu3                     i386         NVIDIA Video Decoding runtime libraries
ii  libnvidia-encode-390:amd64                 390.48-0ubuntu3                     amd64        NVENC Video Encoding runtime library
ii  libnvidia-encode-390:i386                  390.48-0ubuntu3                     i386         NVENC Video Encoding runtime library
ii  libnvidia-fbc1-390:amd64                   390.48-0ubuntu3                     amd64        NVIDIA OpenGL-based Framebuffer Capture runtime library
ii  libnvidia-fbc1-390:i386                    390.48-0ubuntu3                     i386         NVIDIA OpenGL-based Framebuffer Capture runtime library
ii  libnvidia-gl-390:amd64                     390.48-0ubuntu3                     amd64        NVIDIA OpenGL/GLX/EGL/GLES GLVND libraries and Vulkan ICD
ii  libnvidia-gl-390:i386                      390.48-0ubuntu3                     i386         NVIDIA OpenGL/GLX/EGL/GLES GLVND libraries and Vulkan ICD
ii  libnvidia-ifr1-390:amd64                   390.48-0ubuntu3                     amd64        NVIDIA OpenGL-based Inband Frame Readback runtime library
ii  libnvidia-ifr1-390:i386                    390.48-0ubuntu3                     i386         NVIDIA OpenGL-based Inband Frame Readback runtime library
ii  nvidia-compute-utils-390                   390.48-0ubuntu3                     amd64        NVIDIA compute utilities
ii  nvidia-dkms-390                            390.48-0ubuntu3                     amd64        NVIDIA DKMS package
ii  nvidia-driver-390                          390.48-0ubuntu3                     amd64        NVIDIA driver metapackage
ii  nvidia-headless-390                        390.48-0ubuntu3                     amd64        NVIDIA headless metapackage
ii  nvidia-headless-no-dkms-390                390.48-0ubuntu3                     amd64        NVIDIA headless metapackage - no DKMS
ii  nvidia-kernel-common-390                   390.48-0ubuntu3                     amd64        Shared files used with the kernel module
ii  nvidia-kernel-source-390                   390.48-0ubuntu3                     amd64        NVIDIA kernel source package
ii  nvidia-prime                               0.8.8                               all          Tools to enable NVIDIA's Prime
ii  nvidia-settings                            390.42-0ubuntu1                     amd64        Tool for configuring the NVIDIA graphics driver
ii  nvidia-utils-390                           390.48-0ubuntu3                     amd64        NVIDIA driver support binaries
ii  xserver-xorg-video-nvidia-390              390.48-0ubuntu3                     amd64        NVIDIA binary Xorg driver


Any idea what may be going on? I did try bringing the CPU cores down to 6 (instead of automatic -1), but that didn't help anything.

Thanks!
dieselnut
 
Posts: 6
Joined: Mon May 07, 2018 7:18 pm

Re: Ubuntu 18.04, FahCore returned: UNKNOWN_ENUM (127 = 0x7f

Postby Joe_H » Mon May 07, 2018 8:53 pm

Welcome to the folding support forum.

From the error being shown, it appears that the OpenCL support definitely is not installed or not completely installed. The last I looked, the xorg repository was working on providing a complete installer package for the nVidia drivers, not at home where I have some of this written down. There should be some OpenCL packages that go with the driver, a version that matches with the driver version you installed is needed to work properly.
Image

iMac 2.8 i7 12 GB smp8, Mac Pro 2.8 quad 12 GB smp6
MacBook Pro 2.9 i7 8 GB smp3
Joe_H
Site Admin
 
Posts: 4192
Joined: Tue Apr 21, 2009 4:41 pm
Location: W. MA

Re: Ubuntu 18.04, FahCore returned: UNKNOWN_ENUM (127 = 0x7f

Postby toTOW » Mon May 07, 2018 9:10 pm

It's safer to download the driver directly from NV website ...
Folding@Home beta tester since 2002. Folding Forum moderator since July 2008.

FAH-Addict : latest news, tests and reviews about Folding@Home project.

Image
User avatar
toTOW
Site Moderator
 
Posts: 8469
Joined: Sun Dec 02, 2007 10:38 am
Location: Bordeaux, France

Re: Ubuntu 18.04, FahCore returned: UNKNOWN_ENUM (127 = 0x7f

Postby bollix47 » Mon May 07, 2018 9:20 pm

Open a terminal and try the following:

Code: Select all
sudo apt install ocl-icd-opencl-dev

AND/OR

You can add the ppa for gpu drivers:

https://launchpad.net/~graphics-drivers ... ubuntu/ppa

I'm using nvidia-390 in 18.04 and have not had any problems other than running the command above.

EDIT re toTOW's comment ... that did not work well for me with 18.04 but using the ppa did work.
I've always been able to download and install the drivers from nvidia but for some reason was unable to do so with 18.04 and since the same drivers are in the ppa it's just a lot easier.
bollix47
 
Posts: 3441
Joined: Sun Dec 02, 2007 5:04 am
Location: Canada

Re: Ubuntu 18.04, FahCore returned: UNKNOWN_ENUM (127 = 0x7f

Postby dieselnut » Mon May 07, 2018 9:34 pm

Woo! You guys are great, I installed ocl-icd-opencl-dev from the regular apt repository, along with the laundry list of dependencies, and now the GPU is running! Fantastic!

I wish the Folding@Home Linux install page would mention ANY of the problems with Ubuntu. The python-support dependency trips most people up as it is, and now this. Thank you gentlemen!
dieselnut
 
Posts: 6
Joined: Mon May 07, 2018 7:18 pm

Re: Ubuntu 18.04, FahCore returned: UNKNOWN_ENUM (127 = 0x7f

Postby foldy » Tue May 08, 2018 3:12 pm

Is it possible for foldingforum.org admins to also edit the official FAH website to update technical details like the Linux Install Guide?
foldy
 
Posts: 1164
Joined: Sat Dec 01, 2012 3:43 pm

Re: Ubuntu 18.04, FahCore returned: UNKNOWN_ENUM (127 = 0x7f

Postby Joe_H » Tue May 08, 2018 3:57 pm

foldy wrote:Is it possible for foldingforum.org admins to also edit the official FAH website to update technical details like the Linux Install Guide?

This is something I can not do, and do not recall if any of the other admins can or do. Formerly 7im did editing of the support guides like the Installation Guides, and there have been a few others connected with the forum who have done so in the past.
Joe_H
Site Admin
 
Posts: 4192
Joined: Tue Apr 21, 2009 4:41 pm
Location: W. MA

Re: Ubuntu 18.04, FahCore returned: UNKNOWN_ENUM (127 = 0x7f

Postby dieselnut » Wed May 09, 2018 8:07 pm

I think we're doing this distributed project a disservice by providing partial and/or incorrect installation instructions, especially for an OS that has a large percentage of 24/7 uptime. In these days of plug-and-go Linux distributions such as Ubuntu, many users may not want to spend the time debugging installation issues. They may not even know how if they wanted to. Granted, the solution in this case is a bit of apt knowledge and some extra packages, but this is surely losing us potential folders. I would ask that the admins really try to update the docs, especially for Ubuntu. I haven't tried Debian or any other distro in some time (I come from Slackware), but Ubuntu users really do expect things to "just work".

Anyway, just my $0.02
dieselnut
 
Posts: 6
Joined: Mon May 07, 2018 7:18 pm

Re: Ubuntu 18.04, FahCore returned: UNKNOWN_ENUM (127 = 0x7f

Postby SteveWillis » Wed May 09, 2018 8:57 pm

The only time I tried to install the drivers from the Nvidia download file I wound up having to reinstall Linux. I'll never do it again as the ppa install works great and I've done it many times with no problem.
Image
DL my Linux script reboot.sh from
https://drive.google.com/drive/folders/ ... sp=sharing
to keep you folding.
14 1080 and 1080TI GPUs on Linux Mint
SteveWillis
 
Posts: 400
Joined: Fri Apr 15, 2016 12:42 am


Return to Problems with NVidia drivers

Who is online

Users browsing this forum: Exabot [Bot] and 1 guest

cron