Autodesk Maya 2015 Graphics Card issue

Hello, I am new to OpenSUSE and have installed Autodesk Maya 2015. It works pretty well, although I can’t get Viewport 2.0 to work, it gives me this error message:

// Warning: Viewport 2.0 is not supported by your current graphics configuration or graphics driver version.
The application is reverting to the legacy default viewport, please correct your graphics configuration or set the “Default viewport” preference to “Legacy Default Viewport” to prevent this error from recurring. //

I know my graphics hardware supports this feature, because I ran the Windows version of Autodesk Maya on the same computer without a problem. So this must be a driver / configuration problem.

I have put information about the graphics card etc below. Can anybody recommend what I should do to configure my graphics appropriately? I tried to download NVIDA drivers the last time I had OpenSUSE installed but it messed everything up. Any advice would be appreciated.

Thanks!

My Graphics Card: NVIDIA GeForce GT650M
Computer: Asus N56VZ

Some information from terminal about my graphics hardware etc:
/sbin/lspci -nnk | grep VGA -A2
00:02.0 VGA compatible controller [0300]: Intel Corporation 3rd Gen Core processor Graphics Controller [8086:0166] (rev 09)
Subsystem: ASUSTeK Computer Inc. N56VZ [1043:2103]
Kernel driver in use: i915

01:00.0 VGA compatible controller [0300]: NVIDIA Corporation GK107M [GeForce GT 650M] [10de:0fd1] (rev a1)
Subsystem: ASUSTeK Computer Inc. N56VZ [1043:2103]
Kernel driver in use: nouveau

Did you install the the NVIDIA driver??

https://en.opensuse.org/SDB:NVIDIA_drivers

You will want the GO4 flavour of driver

Note if this is a notebook and has Optimus hardware (Intel+NVIDIA GPU) You need to use bumblebee see info on the page above. DO NOT USE THE REGULAR NVIDIA DRIVER!

My guess is that it is Optimus (most notebooks with hybrid graphics are) It is hard to say for sure from the published specs

Oh great thank you. I have an Intel i7 and the NVIDA GPU. So that means I can download bumblebee and it should be ok?

When I searched on Yast Software Manager I found ‘bumblebee’ and ‘bbswitch’. Do I need both or just the one named bumblebee?

Edit: No I didn’t install any graphics drivers. The only ones on here are the ones that came automatically with the OpenSUSE installation.

Did you follow the bumblebee instruction on the page I referenced?

You can install the nvidia-bumblebee package which is a special set up to install a modified nvidia package that will work with optimus setups

DO NOT INSTALL THE REGULAR NVIDIA DRIVER!!!


Retrieving repository 'Bumblebee' metadata ..............................[error]
Repository 'Bumblebee' is invalid.
[Bumblebee|http://download.opensuse.org/repositories/X11/Bumblebee/openSUSE_13.2] Valid metadata not found at specified URL
Please check if the URIs defined for this repository are pointing to a valid repository.
Disabling repository 'Bumblebee' because of the above error.
Empty destination in URI: hd:///?device=/dev/disk/by-id/scsi-1USB_DISK_2.0-part2


I have Bumblebee and bbswitch installed now. I just got to the part where I should enable nvida-bumblebee X11. There is nothing at the URL it is trying to get metadata from. Do you know anything about this?

I’m not sure what’s happened now. I’ve been up all night trying to get this graphics card running properly but still nothing promising. This is what I’m getting every time I do the checks to see if it’s running:



Error (3.2.1): [XORG] (EE) /dev/dri/card1: failed to set DRM interface version 1.4: Permission denied


I’ve enabled video and bumblebee for my user and installed everything needed from Yast as far as I’m aware.

Well I don’t have an Optimus system so can’t check. Did you get the nvidia-bumblebee packages installed or not it is unclear??? Did you first remove an trace of the normal nvidia driver package? You must remove all before installing nvidia-bumblebee. You can do that from yast-software management

Did you logout and login after adding your user to these groups? If not, do so, or reboot.

You first have to check whether bumblebee runs:

systemctl status bumblebeed.service

I just checked. It seems to be running but I can’t access the graphics card?
I double checked the user and rebooted my computer and it definitely has access to video and bumblebee.

Is there perhaps something else I need to activate? When I check the status of optirun it tells me ‘discrete video card is off’.



david@linux-c75e:~> systemctl status bumblebeed.service
bumblebeed.service - Bumblebee C Daemon
   Loaded: loaded (/usr/lib/systemd/system/bumblebeed.service; enabled)
   Active: active (running) since Thu 2015-10-01 20:09:46 CEST; 17min ago
 Main PID: 1436 (bumblebeed)
   CGroup: /system.slice/bumblebeed.service
           └─1436 /usr/sbin/bumblebeed

david@linux-c75e:~> optirun --status
Bumblebee status: Ready (3.2.1). X inactive. Discrete video card is off.

david@linux-c75e:~>  optirun glxspheres
 1150.119355] [ERROR]Cannot access secondary GPU - error: [XORG] (EE) /dev/dri/card1: failed to set DRM interface version 1.4: Permission denied

 1150.119393] [ERROR]Aborting because fallback start is disabled.
david@linux-c75e:~> 


Ok Assuming you did not remove nouveau driver (the open source NVIDIA driver) or actually installed the nvidia-bumblebee driver and had removed any normal NVIDA driver packages it should work

It appears that you do not have a working NVIDIA driver of any sort installed

show

zypper se -si kernel nvidia

This is what comes up when I type in your code:



zypper se -si kernel nvida
Repository 'Bumblebee' is out-of-date. You can run 'zypper refresh' as root to update it.
Loading repository data...
Retrieving repository 'Bumblebee' data...
Retrieving repository 'Bumblebee' metadata ......................................................................................................[error]
Repository 'Bumblebee' is invalid.
[Bumblebee|http://download.opensuse.org/repositories/X11/Bumblebee/openSUSE_13.2] Valid metadata not found at specified URL
Please check if the URIs defined for this repository are pointing to a valid repository.
Problem loading data from 'Bumblebee'
Resolvables from 'Bumblebee' not loaded because of error.
Reading installed packages...

S | Name                 | Type    | Version         | Arch   | Repository          
--+----------------------+---------+-----------------+--------+---------------------
i | kernel-desktop       | package | 3.16.7-24.1     | x86_64 | openSUSE-13.2-Update
i | kernel-desktop       | package | 3.16.6-2.1      | x86_64 | openSUSE-13.2-Oss   
i | kernel-desktop-devel | package | 3.16.7-24.1     | x86_64 | openSUSE-13.2-Update
i | kernel-devel         | package | 3.16.7-24.1     | noarch | openSUSE-13.2-Update
i | kernel-firmware      | package | 20140903git-2.4 | noarch | openSUSE-13.2-Oss   
i | kernel-macros        | package | 3.16.7-24.1     | noarch | openSUSE-13.2-Update



And these are the repositories I have installed:



zypper lr -d
#  | Alias                             | Name                                      | Enabled | Refresh | Priority | Type   | URI                                                                            | Service
---+-----------------------------------+-------------------------------------------+---------+---------+----------+--------+--------------------------------------------------------------------------------+--------
 1 | Bumblebee                         | Bumblebee                                 | Yes     | Yes     |   99     | NONE   | http://download.opensuse.org/repositories/X11/Bumblebee/openSUSE_13.2          |        
 2 | X11:Bumblebee                     | X11:Bumblebee                             | Yes     | Yes     |   99     | rpm-md | http://download.opensuse.org/repositories/X11:/Bumblebee/openSUSE_13.2/        |        
 3 | download.opensuse.org-Apps        | openSUSE BuildService - GNOME:Apps        | Yes     | Yes     |   99     | rpm-md | http://download.opensuse.org/repositories/GNOME:/Apps/openSUSE_13.2/           |        
 4 | download.opensuse.org-filesystems | openSUSE BuildService - filesystems       | Yes     | Yes     |   99     | rpm-md | http://download.opensuse.org/repositories/filesystems/openSUSE_13.2/           |        
 5 | ftp.gwdg.de-suse                  | Packman Repository                        | Yes     | Yes     |   99     | rpm-md | http://ftp.gwdg.de/pub/linux/packman/suse/openSUSE_13.2/                       |        
 6 | games:tools                       | games:tools                               | Yes     | Yes     |   99     | rpm-md | http://download.opensuse.org/repositories/games:/tools/openSUSE_13.2/          |        
 7 | graphics                          | graphics                                  | Yes     | Yes     |   99     | rpm-md | http://download.opensuse.org/repositories/graphics/openSUSE_13.2/              |        
 8 | home:lrupp                        | home:lrupp                                | Yes     | Yes     |   99     | rpm-md | http://download.opensuse.org/repositories/home:/lrupp/openSUSE_13.2/           |        
 9 | home_Temar_wacom                  | KDE Wacom KCM Packages (openSUSE_Factory) | Yes     | No      |   99     | rpm-md | http://download.opensuse.org/repositories/home:/Temar:/wacom/openSUSE_Factory/ |        
10 | openSUSE_13.2                     | openSUSE_13.2                             | Yes     | Yes     |   99     | rpm-md | http://download.opensuse.org/repositories/Emulators:/Wine/openSUSE_13.2        |        
11 | repo-debug                        | openSUSE-13.2-Debug                       | No      | Yes     |   99     | NONE   | http://download.opensuse.org/debug/distribution/13.2/repo/oss/                 |        
12 | repo-debug-update                 | openSUSE-13.2-Update-Debug                | No      | Yes     |   99     | NONE   | http://download.opensuse.org/debug/update/13.2/                                |        
13 | repo-debug-update-non-oss         | openSUSE-13.2-Update-Debug-Non-Oss        | No      | Yes     |   99     | NONE   | http://download.opensuse.org/debug/update/13.2-non-oss/                        |        
14 | repo-non-oss                      | openSUSE-13.2-Non-Oss                     | Yes     | Yes     |   99     | yast2  | http://download.opensuse.org/distribution/13.2/repo/non-oss/                   |        
15 | repo-oss                          | openSUSE-13.2-Oss                         | Yes     | Yes     |   99     | yast2  | http://download.opensuse.org/distribution/13.2/repo/oss/                       |        
16 | repo-source                       | openSUSE-13.2-Source                      | No      | Yes     |   99     | NONE   | http://download.opensuse.org/source/distribution/13.2/repo/oss/                |        
17 | repo-update                       | openSUSE-13.2-Update                      | Yes     | Yes     |   99     | rpm-md | http://download.opensuse.org/update/13.2/                                      |        
18 | repo-update-non-oss               | openSUSE-13.2-Update-Non-Oss              | Yes     | Yes     |   99     | rpm-md | http://download.opensuse.org/update/13.2-non-oss/                            


There is nothing at the URL that Bumblebee gave an error about: http://download.opensuse.org/repositories/X11/Bumblebee/openSUSE_13.2
Could that be what is causing the problem?

Should I attempt to uninstall the bumblebee stuff and install it again?

I don’t see the nvidia-bumblebee driver did you or did you not install it?? When you removed the normal nvidia driver did you perhaps also remove the nouveau driver??? You must keep the nouveau driver but the nvidia-bumblebee is optional. Unfortunately I can not see over your shoulder you have to tell exactly what you did.

So I decided to reinstall OpenSUSE and start from scratch, but it’s still not working.

Yes I have definitely installed bumblebee and followed the bumblebee instructions you referenced all the way through. Somehow it still isn’t running though:



david@linux-4w10:~> sudo optirun glxspheres
  150.120638] [ERROR]Cannot access secondary GPU - error: [XORG] (EE) /dev/dri/card1: failed to set DRM interface version 1.4: Permission denied

  150.120710] [ERROR]Aborting because fallback start is disabled.


This is also some info from terminal about the current repositories etc installed (bumblebee is one of them):



david@linux-4w10:~> sudo zypper se -si kernel nvida
Loading repository data...
Reading installed packages...

S | Name                 | Type    | Version         | Arch   | Repository          
--+----------------------+---------+-----------------+--------+---------------------
i | kernel-desktop       | package | 3.16.7-24.1     | x86_64 | openSUSE-13.2-Update
i | kernel-desktop       | package | 3.16.6-2.1      | x86_64 | openSUSE-13.2-0     
i | kernel-desktop       | package | 3.16.6-2.1      | x86_64 | openSUSE-13.2-Oss   
i | kernel-desktop-devel | package | 3.16.7-24.1     | x86_64 | openSUSE-13.2-Update
i | kernel-devel         | package | 3.16.7-24.1     | noarch | openSUSE-13.2-Update
i | kernel-firmware      | package | 20140903git-2.4 | noarch | openSUSE-13.2-0     
i | kernel-firmware      | package | 20140903git-2.4 | noarch | openSUSE-13.2-Oss   
i | kernel-macros        | package | 3.16.7-24.1     | noarch | openSUSE-13.2-Update
david@linux-4w10:~> zypper lr -d
#  | Alias                     | Name                               | Enabled | Refresh | Priority | Type   | URI                                                                     | Service
---+---------------------------+------------------------------------+---------+---------+----------+--------+-------------------------------------------------------------------------+--------
 1 | X11:Bumblebee             | X11:Bumblebee                      | Yes     | Yes     |   99     | rpm-md | http://download.opensuse.org/repositories/X11:/Bumblebee/openSUSE_13.2/ |        
 2 | openSUSE-13.2-0           | openSUSE-13.2-0                    | Yes     | Yes     |   99     | yast2  | hd:///?device=/dev/disk/by-id/scsi-1USB_DISK_2.0-part2                  |        
 3 | repo-debug                | openSUSE-13.2-Debug                | No      | Yes     |   99     | NONE   | http://download.opensuse.org/debug/distribution/13.2/repo/oss/          |        
 4 | repo-debug-update         | openSUSE-13.2-Update-Debug         | No      | Yes     |   99     | NONE   | http://download.opensuse.org/debug/update/13.2/                         |        
 5 | repo-debug-update-non-oss | openSUSE-13.2-Update-Debug-Non-Oss | No      | Yes     |   99     | NONE   | http://download.opensuse.org/debug/update/13.2-non-oss/                 |        
 6 | repo-non-oss              | openSUSE-13.2-Non-Oss              | Yes     | Yes     |   99     | yast2  | http://download.opensuse.org/distribution/13.2/repo/non-oss/            |        
 7 | repo-oss                  | openSUSE-13.2-Oss                  | Yes     | Yes     |   99     | yast2  | http://download.opensuse.org/distribution/13.2/repo/oss/                |        
 8 | repo-source               | openSUSE-13.2-Source               | No      | Yes     |   99     | NONE   | http://download.opensuse.org/source/distribution/13.2/repo/oss/         |        
 9 | repo-update               | openSUSE-13.2-Update               | Yes     | Yes     |   99     | rpm-md | http://download.opensuse.org/update/13.2/                               |        
10 | repo-update-non-oss       | openSUSE-13.2-Update-Non-Oss       | Yes     | Yes     |   99     | rpm-md | http://download.opensuse.org/update/13.2-non-oss/                       |        
david@linux-4w10:~> 




You have not installed the nvidia-bumblebee driver. That is different and distinct form bumblebee. Read the instructions more carefully

Yes nvidia-bumblebee is already installed. So is the 32bit version.

Is there perhaps something I have to do that’s missing from this guide? I have been through the guide twice now with the same result.

My system says nvidia-bumblebee is already installed:



sudo zypper in nvidia-bumblebee
Loading repository data...
Reading installed packages...
'nvidia-bumblebee' is already installed.
No update candidate for 'nvidia-bumblebee-352.41-1.1.x86_64'. The highest available version is already installed.
Resolving package dependencies...

Nothing to do.


Look in /var/log/xorg.0.log and see if there is some message that might show a problem with NVIDIA driver

Optimus has been a real pain. It is a NVIDIA idea but they of this date have not supported it in their Linux drivers. bumblebee is a kludge to make it work and most seem to have no trouble once they install the bumblebee stuff.

I don’t and would not own optimus hardware so I can’t experiment for you. Maybe some one that has this Frankenvideo set up can help further

It works! I decided to have one more go at reinstalling everything from scratch. I’m not sure what I did differently this time but it works. Maybe it was the order in which I followed the instructions.

Thanks so much for your help!

The instructions must be exact, And yes it is a pain. Also an normal NVIDIA driver install must first be totally eliminated before doing anything with bumblebee

I have a slightly different problem now, still relating to getting Maya to run with my graphics card properly…

Now that Bumblebee is set up I have been trying to run Maya with it by typing:

optirun maya

Maya launches, but then immediately crashes with this output:



optirun maya

Stack trace:
  /lib64/libc.so.6(+0x35200) [0x7f0034525200]
  OGSMayaVramQuery::queryVramOGL()
  OGSMayaVramQuery::OGSMayaVramQuery()
  OGSMayaVramQuery::getInstance()
  OGSMayaVramQuery::queryVram()
  OGSRenderer::initializeOGSDevice(OGS::Objects::UString*, int)
  OGSMayaRenderer::initialize(bool, unsigned int, int, void*, void*, void*, bool)
  OGSMayaBridge::CreateOGSRenderer()
  OGSMayaBaseRenderer::initialize()
  OGSViewportRenderer::initialize()
  OGSMayaBridge::Create3DViewportRenderer()
  /usr/autodesk/maya2015-x64/bin/maya.bin() [0x4179e4]
  Tapplication::start()
  /usr/autodesk/maya2015-x64/bin/maya.bin() [0x40e262]
  /usr/autodesk/maya2015-x64/bin/maya.bin() [0x420831]
  __libc_start_main
  /usr/autodesk/maya2015-x64/bin/maya.bin() [0x40da69]

Fatal Error. Attempting to save in /tmp/david.20151004.2054.ma
Writing crash report in /tmp/david.20151004.2054.crash
david@linux-op73:~> 
(process:2221): GLib-CRITICAL **: g_slice_set_config: assertion 'sys_page_size == 0' failed
[VGL] ERROR: Could not open display :8.


I have also tried to run it with primusrun. With that, Maya launches but the graphics drivers fail to load. It gives this error in the terminal:



primusrun maya

VP2 Error : Failed to initialize graphics device.
VP2 Error : Failed to initialize graphics device.


Edit: Just wanted to confirm that although Maya doesn’t run with ‘optirun’… the glxspheres do.