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, FAHC Science Team

Post Reply
dieselnut
Posts: 4
Joined: Mon May 07, 2018 7:18 pm

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

Post by dieselnut »

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!
Joe_H
Site Admin
Posts: 7937
Joined: Tue Apr 21, 2009 4:41 pm
Hardware configuration: Mac Pro 2.8 quad 12 GB smp4
MacBook Pro 2.9 i7 8 GB smp2
Location: W. MA

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

Post by Joe_H »

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
toTOW
Site Moderator
Posts: 6359
Joined: Sun Dec 02, 2007 10:38 am
Location: Bordeaux, France
Contact:

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

Post by toTOW »

It's safer to download the driver directly from NV website ...
Image

Folding@Home beta tester since 2002. Folding Forum moderator since July 2008.
bollix47
Posts: 2959
Joined: Sun Dec 02, 2007 5:04 am
Location: Canada

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

Post by bollix47 »

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.
dieselnut
Posts: 4
Joined: Mon May 07, 2018 7:18 pm

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

Post by dieselnut »

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!
foldy
Posts: 2040
Joined: Sat Dec 01, 2012 3:43 pm
Hardware configuration: Folding@Home Client 7.6.13 (1 GPU slots)
Windows 7 64bit
Intel Core i5 2500k@4Ghz
Nvidia gtx 1080ti driver 441

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

Post by foldy »

Is it possible for foldingforum.org admins to also edit the official FAH website to update technical details like the Linux Install Guide?
Joe_H
Site Admin
Posts: 7937
Joined: Tue Apr 21, 2009 4:41 pm
Hardware configuration: Mac Pro 2.8 quad 12 GB smp4
MacBook Pro 2.9 i7 8 GB smp2
Location: W. MA

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

Post by Joe_H »

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.
Image

iMac 2.8 i7 12 GB smp8, Mac Pro 2.8 quad 12 GB smp6
MacBook Pro 2.9 i7 8 GB smp3
dieselnut
Posts: 4
Joined: Mon May 07, 2018 7:18 pm

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

Post by dieselnut »

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
SteveWillis
Posts: 389
Joined: Fri Apr 15, 2016 12:42 am
Hardware configuration: PC 1:
Linux Mint 17.3
three gtx 1080 GPUs One on a powered header
Motherboard = [MB-AM3-AS-SB-990FXR2] qty 1 Asus Sabertooth 990FX(+59.99)
CPU = [CPU-AM3-FX-8320BR] qty 1 AMD FX 8320 Eight Core 3.5GHz(+41.99)

PC2:
Linux Mint 18
Open air case
Motherboard: ASUS Crosshair V Formula-Z AM3+ AMD 990FX SATA 6Gb/s USB 3.0 ATX AMD
AMD FD6300WMHKBOX FX-6300 6-Core Processor Black Edition with Cooler Master Hyper 212 EVO - CPU Cooler with 120mm PWM Fan
three gtx 1080,
one gtx 1080 TI on a powered header

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

Post by SteveWillis »

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

1080 and 1080TI GPUs on Linux Mint
antropofob
Posts: 57
Joined: Mon Aug 22, 2011 8:03 am

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

Post by antropofob »

Linux tutorial on official page is a disgrace for F@H project.
It recommends outdated client (v7.4.4), outdated Python fix and makes no mention of need to download opencl when using Nvidia drivers.
toTOW
Site Moderator
Posts: 6359
Joined: Sun Dec 02, 2007 10:38 am
Location: Bordeaux, France
Contact:

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

Post by toTOW »

All guides are indeed quite old now ... and no one with the knowledge had the time update them. :(
Image

Folding@Home beta tester since 2002. Folding Forum moderator since July 2008.
Post Reply