A PCRE internal error occured. This might be caused by a faulty plugin
====== Differences ====== This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | Next revision Both sides next revision | ||
packages:bumblebee [2015/10/19 03:23] admin |
packages:bumblebee [2015/10/19 23:48] admin |
||
---|---|---|---|
Line 37: | Line 37: | ||
> primusrun vsxu_player | > primusrun vsxu_player | ||
</code> | </code> | ||
+ | |||
+ | On my Clevo W150HR (above outputs), an error was reported when trying to use optirun or primusrun. Examination of the //**/var/log/Xorg.0.log**// and //**/var/log/Xorg.8.log**// files revealed an apparently "classic" error: | ||
+ | |||
+ | > (EE) /dev/dri/card1: failed to set DRM interface version 1.4: Permission denied | ||
+ | > (EE) /dev/dri/card0: failed to set DRM interface version 1.4: Permission denied | ||
+ | > (EE) NOUVEAU(0): [drm] failed to set drm interface version. | ||
+ | > (EE) NOUVEAU(0): [drm] error opening the drm | ||
+ | > (EE) NOUVEAU(0): 892: | ||
+ | > (II) UnloadModule: "nouveau" | ||
+ | > (EE) Screen(s) found, but none have a usable configuration. | ||
+ | > (EE) | ||
+ | > Fatal server error: | ||
+ | > (EE) no screens found(EE) | ||
+ | > (EE) | ||
+ | |||
+ | There are various threads like [[https://github.com/Bumblebee-Project/Bumblebee/issues/652|this one (which seems to be the most recently updated)]], or [[https://github.com/Bumblebee-Project/Bumblebee/issues/580|this one also on the GitHub space of Bumblebee]] or yet [[https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=756522|another one from the Debian bug report log]]... | ||
+ | |||
+ | Although it isn't guaranteed to work, the only "fix" that seems to have a chance to help is adding the following lines to the xorg.conf file. Fist identify the used config file, then edit it: | ||
+ | <code> | ||
+ | > cat /var/log/Xorg.8.log | grep "Using config file" | ||
+ | [ 1877.975] (++) Using config file: "/etc/bumblebee/xorg.conf.nouveau" | ||
+ | |||
+ | > sudo nano /etc/bumblebee/xorg.conf.nouveau | ||
+ | |||
+ | Section "ServerLayout" | ||
+ | Identifier "Layout0" | ||
+ | Option "AutoAddDevices" "false" | ||
+ | Option "AutoAddGPU" "false" | ||
+ | EndSection | ||
+ | |||
+ | Section "Device" | ||
+ | Identifier "DiscreteNvidia" | ||
+ | Driver "nouveau" | ||
+ | |||
+ | # If the X server does not automatically detect your VGA device, | ||
+ | # you can manually set it here. | ||
+ | # To get the BusID prop, run `lspci | egrep 'VGA|3D'` and input the data | ||
+ | # as you see in the commented example. | ||
+ | # This Setting is needed on Ubuntu 13.04. | ||
+ | # BusID "PCI:01:00:0" | ||
+ | |||
+ | EndSection | ||
+ | |||
+ | Section "Screen" | ||
+ | Identifier "Default Screen" | ||
+ | Device "DiscreteNvidia" | ||
+ | EndSection | ||
+ | </code> | ||
+ |