Bumblebee-Project / bbswitch

Disable discrete graphics (currently nvidia only)
GNU General Public License v2.0
487 stars 78 forks source link

problems initilizing card in 3.13 kernel in fedora 20? #89

Closed gsgatlin closed 10 years ago

gsgatlin commented 10 years ago

@thesourcehim suggested that I open a issue here about bbswitch. It seems there is some problem on fedora 20 with kernel 3.13.3-200.fc20.x86_64. I cannot get it to work. Perhaps bbswitch didn't really enable the card, so xorg failed to initialize?

Here are some log files:

/var/log/messages: http://pastebin.com/suxzP8S9

/var/log/Xorg.8.log: http://pastebin.com/ahbC8VzL

It doesn't seem to matter if I use dkms or compile the module in a kmod rpm in a vm. I get the same errors.

After optirun fails the card seems to be left "on"

[root@y470b ~]# cat /proc/acpi/bbswitch 0000:01:00.0 ON

Any ideas concerning things I could try? Thanks a lot.

gsgatlin commented 10 years ago

Could these be the lines in the syslog where the failure is occurring?

Feb 17 11:05:33 y470b kernel: [ 79.064545] NVRM: rm_init_adapter failed for device bearing minor number 0 Feb 17 11:05:33 y470b kernel: [ 79.064574] NVRM: nvidia_frontend_open: minor 0, module->open() failed, error -5

gsgatlin commented 10 years ago

Ok. closing issue after more googleing. My patch was wrong. uggg.

Corrected patch:

https://ssl.webpack.de/blog.langfinger.org/wp-content/uploads/2014/01/02_nvidia_3.13.patch

Taken from this web site:

http://blog.langfinger.org/?p=314

Sorry for the trouble.

Lekensteyn commented 10 years ago

Ok :P