[FIXED][workaround] nvidia 3d card not detected with optirun

I write this post to help someone with the same problem.
With the last x11 driver for nvidia the card is not being detected automatically by the optirun software:
This is not because the card is faulty or whatever, simply autodetect no longer works (I do not know if it's a driver problem or a configuration problem). To fix the problem you have to edit the correct file, for instance if you use nvidia proprietary drivers it's /etc/bumblebee/xorg.conf.nvidia (otherwise it would be xorg.conf.noveau, but I don't know if the issue will appear with this driver).
Have a look at the Device section and add this line:
! the actual line is the result of running lspci | grep -i nvidia, but usually the last dot has to be modified into a colon (:)
I don't know if someone with and unfixed system wants to open a bug (yesterday evening I didn't find anything) or if someone wants to edit the wiki (I would do it myself, but I would at least wait for another user confirm that the workaround is OK before).
With the last x11 driver for nvidia the card is not being detected automatically by the optirun software:
[ERROR]Cannot access secondary GPU - error: [XORG] (EE) No devices detected.
[ERROR]Aborting because fallback start is disabled.
This is not because the card is faulty or whatever, simply autodetect no longer works (I do not know if it's a driver problem or a configuration problem). To fix the problem you have to edit the correct file, for instance if you use nvidia proprietary drivers it's /etc/bumblebee/xorg.conf.nvidia (otherwise it would be xorg.conf.noveau, but I don't know if the issue will appear with this driver).
Have a look at the Device section and add this line:
BusID "PCI:0:1:0"
! the actual line is the result of running lspci | grep -i nvidia, but usually the last dot has to be modified into a colon (:)
I don't know if someone with and unfixed system wants to open a bug (yesterday evening I didn't find anything) or if someone wants to edit the wiki (I would do it myself, but I would at least wait for another user confirm that the workaround is OK before).