Bumblebee segfault em drivers nvidia

1

Eu recentemente tentei usar meu laptop (um MSI GE60, com uma GeForce GT 750M) sob o lubuntu 13.10. Pela informação que eu juntei, eu tive que usar o Bumblebee se eu quisesse usar o GeForce.

Eu o instalei usando instruções encontradas aqui e aqui . Eu atualizei os drivers para nvidia-319-updates .

Mas, apesar disso, quando tento executar primusrun glxgears , tenho a seguinte saída:

 kernel: [  138.620890] bbswitch: enabling discrete graphics
 kernel: [  139.075668] pci 0000:01:00.0: power state changed by ACPI to D0
 kernel: [  139.085492] [drm] Initialized nvidia-drm 0.0.0 20130102 for 0000:01:00.0 on minor 0
 kernel: [  139.085499] NVRM: loading NVIDIA UNIX x86_64 Kernel Module  319.60  Wed Sep 25 14:28:26 PDT 2013
 acpid: client 1994[0:1001] has disconnected
 acpid: client 1994[0:1001] has disconnected
 acpid: client connected from 2024[0:1001]
 acpid: 1 client rule loaded
 kernel: [  139.130099] vgaarb: this pci device is not a vga device
 kernel: [  139.134812] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20130517/nsarguments-95)
 .
 .
 .
 kernel: [  139.609964] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20130517/nsarguments-95)
 kernel: [  139.700688] vgaarb: this pci device is not a vga device
 acpid: client connected from 2024[0:1001]
 acpid: 1 client rule loaded
 bumblebeed[1209]: [XORG] (WW) "xmir" is not to be loaded by default. Skipping.
 bumblebeed[1209]: [XORG] (WW) Unresolved symbol: fbGetGCPrivateKey
 bumblebeed[1209]: [XORG] (WW) NVIDIA(0): Failed to enable display hotplug notification
 bumblebeed[1209]: [XORG] (WW) NVIDIA(0): Unable to get display device for DPI computation.
 bumblebeed[1209]: [XORG] (EE) NVIDIA(0): Failed to initiate mode change.
 bumblebeed[1209]: [XORG] (EE) NVIDIA(0): Failed to complete mode change
 kernel: [  140.107177] glxgears[2012]: segfault at 0 ip 00007fed358ca547 sp 00007fffd5883610 error 4 in libGL.so.1[7fed358a5000+41000]
 kernel: [  140.367801] [drm] Module unloaded
 kernel: [  140.369287] bbswitch: disabling discrete graphics
 kernel: [  140.369298] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20130517/nsarguments-95)
 kernel: [  140.385057] pci 0000:01:00.0: Refused to change power state, currently in D0
 bumblebeed[1209]: [XORG] (EE) Server terminated successfully (0). Closing log file.
 bumblebeed[1209]: [XORG] (EE) 
 bumblebeed[1209]: [XORG] (EE) Backtrace:
 bumblebeed[1209]: [XORG] (EE) 0: Xorg (xorg_backtrace+0x3d) [0x7f4763c7902d]
 bumblebeed[1209]: [XORG] (EE) 1: Xorg (0x7f4763ad7000+0x1a5d99) [0x7f4763c7cd99]
 bumblebeed[1209]: [XORG] (EE) 2: /lib/x86_64-linux-gnu/libpthread.so.0 (0x7f4762bd7000+0xfbb0) [0x7f4762be6bb0]
 bumblebeed[1209]: [XORG] (EE) 3: /lib/x86_64-linux-gnu/libc.so.6 (malloc_usable_size+0x26) [0x7f4761875326]
 bumblebeed[1209]: [XORG] (EE) 4: /usr/lib/nvidia-319-updates/libGL.so.1 (0x7f475e981000+0xb20c4) [0x7f475ea330c4]
 bumblebeed[1209]: [XORG] (EE) 
 bumblebeed[1209]: [XORG] (EE) Segmentation fault at address 0x0
 bumblebeed[1209]: [XORG] (EE) 
 bumblebeed[1209]: [XORG] (EE) Caught signal 11 (Segmentation fault). Server aborting
 bumblebeed[1209]: [XORG] (EE) 
 bumblebeed[1209]: [XORG] (EE) 
 bumblebeed[1209]: [XORG] (EE) Please also check the log file at "/var/log/Xorg.8.log" for additional information.
 bumblebeed[1209]: [XORG] (EE) 

Eu tentei olhar para /var/log/Xorg.8.log , mas não encontrei nenhuma informação útil lá (tentei procurar por erros, mas tive o seguinte resultado:

 cat /var/log/Xorg.8.log | grep EE
    (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
 [  1664.687] Initializing built-in extension MIT-SCREEN-SAVER
 [  1664.721] (EE) Failed to load module "kbd" (module does not exist, 0)
 [  1665.313] (EE) NVIDIA(0): Failed to initiate mode change.
 [  1665.313] (EE) NVIDIA(0): Failed to complete mode change
 [  1665.678] (EE) Failed to load module "kbd" (module does not exist, 0)
 [  1665.678] (EE) No input driver matching 'kbd'
 [  1665.892] (EE) Server terminated successfully (0). Closing log file.

Eu também tentei mudar o KeepUnusedXServer para true para ver se eu tinha outras saídas, mas a única que eu tinha no syslog era a seguinte: glxgears[2086]: segfault at 0 ip 00007f5ee5d41547 sp 00007fff71783f40 error 4 in libGL.so.1[7f5ee5d1c000+41000] .

Além disso, quando executo primusrun nvidia-settings , tenho uma mensagem informando que não estou executando o driver nvidia. Mas optirun nvidia-settings -c :8 mostra as configurações.Ela, ainda produz o mesmo tipo de log em syslog .

Apenas no caso, o (descomentado) bumblebee.conf :

 [bumblebeed]
 VirtualDisplay=:8
 KeepUnusedXServer=false
 ServerGroup=bumblebee
 TurnCardOffAtExit=false
 NoEcoModeOverride=false
 Driver=nvidia
 XorgConfDir=/etc/bumblebee/xorg.conf.d

 [optirun]
 Bridge=auto
 VGLTransport=proxy
 PrimusLibraryPath=/usr/lib/x86_64-linux-gnu/primus:/usr/lib/i386-linux-gnu/primus
 AllowFallbackToIGC=false

 [driver-nvidia]
 KernelDriver=nvidia-319-updates
 PMMethod=auto
 LibraryPath=/usr/lib/nvidia-319-updates:/usr/lib32/nvidia-319-updates

 XorgModulePath=/usr/lib/nvidia-319-updates/xorg,/usr/lib/xorg/modules
 XorgConfFile=/etc/bumblebee/xorg.conf.nvidia

 [driver-nouveau]
 KernelDriver=nouveau
 PMMethod=auto
 XorgConfFile=/etc/bumblebee/xorg.conf.nouveau

Agradecemos antecipadamente pelas respostas!

    
por Py. 28.12.2013 / 10:41

1 resposta

0

Bem, de repente começou a funcionar. Eu não fiz nada de especial além de atualizações e upgrades. Não sei o que consertou.

    
por Py. 26.01.2014 / 22:43