Now I am trying to install bumblebee-nvidia and primus.
Code: Select all
sudo apt install bumblebee-nvidia primus
I get the following prompt and hit ok.
┌────────────────┤ Configuring xserver-xorg-video-nvidia ├────────────────┐
│
│ Conflicting nouveau kernel module loaded
│
│ The free nouveau kernel module is currently loaded and conflicts with
│ the non-free nvidia kernel module.
│
│ The easiest way to fix this is to reboot the machine once the
│ installation has finished.
│
│ <Ok>
│
└──────────────────────────────────────────────────────────┘
During the installation, I see the following lines:
Code: Select all
update-alternatives: error: alternative /usr/lib/nvidia/bumblebee for glx not registered; not setting
rmmod: ERROR: Module nouveau is in use
I add root and my user to the bumblebee group after the installation completes.
Code: Select all
sudo adduser $USER bumblebee
sudo adduser jiayi bumblebee
However I see the same error when running optirun:
Code: Select all
optirun glxgears
[ 458.831622] [ERROR]Cannot access secondary GPU - error: [XORG] (EE) Unknown chipset: NV124
[ 458.831666] [ERROR]Aborting because fallback start is disabled.
Rebooting my machine, I get the white screen of death:
Code: Select all
Oh no! An error has occurred.
Something wrong has happened and the system can't recover. Please log out and try again.
Logging out and trying again leads to the same white screen with the same error message, like a vicious loop.
This time, I have to purge both bumblebee*, primus and nvidia* to get my machine back to a usable state.
Code: Select all
sudo apt purge bumblebee* primus nvidia*
And now there are some extra lines in dmesg | grep nouveau:
Code: Select all
[ 4.958100] nouveau: detected PR support, will not use DSM
[ 4.958122] nouveau 0000:01:00.0: enabling device (0006 -> 0007)
[ 4.958290] nouveau 0000:01:00.0: NVIDIA GM204 (124180a1)
[ 5.134406] nouveau 0000:01:00.0: bios: version 84.04.85.00.1e
[ 5.134649] nouveau 0000:01:00.0: disp: dcb 5 type 8 unknown
[ 5.135154] nouveau 0000:01:00.0: firmware: direct-loading firmware nvidia/gm204/gr/sw_nonctx.bin
[ 5.135296] nouveau 0000:01:00.0: firmware: direct-loading firmware nvidia/gm204/gr/sw_ctx.bin
[ 5.135449] nouveau 0000:01:00.0: firmware: direct-loading firmware nvidia/gm204/gr/sw_bundle_init.bin
[ 5.135661] nouveau 0000:01:00.0: firmware: direct-loading firmware nvidia/gm204/gr/sw_method_init.bin
[ 5.168946] nouveau 0000:01:00.0: fb: 3072 MiB GDDR5
[ 5.176571] nouveau 0000:01:00.0: DRM: VRAM: 3072 MiB
[ 5.176572] nouveau 0000:01:00.0: DRM: GART: 1048576 MiB
[ 5.176574] nouveau 0000:01:00.0: DRM: TMDS table version 2.0
[ 5.176575] nouveau 0000:01:00.0: DRM: DCB version 4.1
[ 5.176576] nouveau 0000:01:00.0: DRM: DCB outp 00: 02024f62 04020010
[ 5.176576] nouveau 0000:01:00.0: DRM: DCB outp 01: 04847f86 04400010
[ 5.176577] nouveau 0000:01:00.0: DRM: DCB outp 02: 04847f82 00020010
[ 5.176578] nouveau 0000:01:00.0: DRM: DCB outp 03: 04858f96 04400020
[ 5.176578] nouveau 0000:01:00.0: DRM: DCB outp 04: 04858f92 00020020
[ 5.176579] nouveau 0000:01:00.0: DRM: DCB outp 05: 01d1fff8 00000000
[ 5.176580] nouveau 0000:01:00.0: DRM: DCB conn 04: 00010461
[ 5.176580] nouveau 0000:01:00.0: DRM: DCB conn 07: 01000746
[ 5.176581] nouveau 0000:01:00.0: DRM: DCB conn 08: 02000846
[ 5.176581] nouveau 0000:01:00.0: DRM: DCB conn 15: 00000f70
[ 5.176582] nouveau 0000:01:00.0: DRM: Pointer to flat panel table invalid
[ 5.194233] nouveau 0000:01:00.0: DRM: unknown connector type 70
[ 5.194254] nouveau 0000:01:00.0: DRM: failed to create encoder 1/8/0: -19
[ 5.194255] nouveau 0000:01:00.0: DRM: Unknown-1 has no encoders, removing
[ 5.380466] nouveau 0000:01:00.0: DRM: MM: using COPY for buffer copies
[ 5.572527] nouveau 0000:01:00.0: priv: GPC0: 419df4 00000000 (1840820e)
[ 5.572543] nouveau 0000:01:00.0: priv: GPC1: 419df4 00000000 (1840820e)
[ 5.572557] nouveau 0000:01:00.0: priv: GPC2: 419df4 00000000 (1840820e)
[ 5.572718] nouveau 0000:01:00.0: firmware: direct-loading firmware nvidia/gm204/gr/fecs_bl.bin
[ 5.574244] nouveau 0000:01:00.0: firmware: direct-loading firmware nvidia/gm204/gr/fecs_inst.bin
[ 5.574408] nouveau 0000:01:00.0: firmware: direct-loading firmware nvidia/gm204/gr/fecs_data.bin
[ 5.574839] nouveau 0000:01:00.0: firmware: direct-loading firmware nvidia/gm204/gr/fecs_sig.bin
[ 5.575291] nouveau 0000:01:00.0: firmware: direct-loading firmware nvidia/gm204/gr/gpccs_bl.bin
[ 5.575758] nouveau 0000:01:00.0: firmware: direct-loading firmware nvidia/gm204/gr/gpccs_inst.bin
[ 5.575971] nouveau 0000:01:00.0: firmware: direct-loading firmware nvidia/gm204/gr/gpccs_data.bin
[ 5.576212] nouveau 0000:01:00.0: firmware: direct-loading firmware nvidia/gm204/gr/gpccs_sig.bin
[ 5.578105] nouveau 0000:01:00.0: firmware: direct-loading firmware nvidia/gm204/acr/ucode_load.bin
[ 5.578636] nouveau 0000:01:00.0: firmware: direct-loading firmware nvidia/gm204/acr/bl.bin
[ 5.579030] nouveau 0000:01:00.0: firmware: direct-loading firmware nvidia/gm204/acr/ucode_unload.bin
[ 5.727661] nouveau 0000:01:00.0: DRM: allocated 1920x1080 fb: 0x60000, bo ffff8e14b00ec400
[ 6.026821] nouveau 0000:01:00.0: fb1: nouveaufb frame buffer device
[ 6.051054] [drm] Initialized nouveau 1.3.1 20120801 for 0000:01:00.0 on minor 1
[ 22.020071] nouveau 0000:01:00.0: DRM: suspending console...
[ 22.020072] nouveau 0000:01:00.0: DRM: suspending display...
[ 22.020083] nouveau 0000:01:00.0: DRM: evicting buffers...
[ 22.069572] nouveau 0000:01:00.0: DRM: waiting for kernel channels to go idle...
[ 22.069594] nouveau 0000:01:00.0: DRM: suspending client object trees...
[ 22.076757] nouveau 0000:01:00.0: DRM: suspending kernel object tree...
[ 306.793155] nouveau 0000:01:00.0: DRM: resuming kernel object tree...
[ 306.938919] nouveau 0000:01:00.0: priv: GPC0: 419df4 00000000 (1f40820e)
[ 306.938926] nouveau 0000:01:00.0: priv: GPC1: 419df4 00000000 (1f40820e)
[ 306.938931] nouveau 0000:01:00.0: priv: GPC2: 419df4 00000000 (1f40820e)
[ 306.958169] nouveau 0000:01:00.0: DRM: resuming client object trees...
[ 306.958229] nouveau 0000:01:00.0: DRM: resuming display...
[ 306.958257] nouveau 0000:01:00.0: DRM: resuming console...
[ 313.057982] nouveau 0000:01:00.0: DRM: suspending console...
[ 313.057985] nouveau 0000:01:00.0: DRM: suspending display...
[ 313.058000] nouveau 0000:01:00.0: DRM: evicting buffers...
[ 313.058003] nouveau 0000:01:00.0: DRM: waiting for kernel channels to go idle...
[ 313.058023] nouveau 0000:01:00.0: DRM: suspending client object trees...
[ 313.064744] nouveau 0000:01:00.0: DRM: suspending kernel object tree...