LINUX.ORG.RU

bumblebee и nouveau

 , ,


0

1

Возникла проблема со свободными драйверами:

Вывод optirun glxinfo:

[  549.881092] [ERROR]Cannot access secondary GPU - error: [XORG] (EE) /dev/dri/card1: failed to set DRM interface version 1.4: Permission denied

[  549.881161] [ERROR]Aborting because fallback start is disabled.
Вывод dmesg:
[  253.523913] bbswitch: enabling discrete graphics
[  254.096935] MXM: GUID detected in BIOS
[  254.097025] ACPI Warning: \_SB_.PCI0.GFX0._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20140424/nsarguments-95)
[  254.097062] ACPI: \_SB_.PCI0.GFX0: failed to evaluate _DSM
[  254.097102] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20140424/nsarguments-95)
[  254.097178] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20140424/nsarguments-95)
[  254.097392] pci 0000:01:00.0: optimus capabilities: enabled, status dynamic power, hda bios codec supported
[  254.097399] VGA switcheroo: detected Optimus DSM method \_SB_.PCI0.PEG0.PEGP handle
[  254.097750] nouveau  [  DEVICE][0000:01:00.0] BOOT0  : 0x0c1b80a1
[  254.097755] nouveau  [  DEVICE][0000:01:00.0] Chipset: GF108 (NVC1)
[  254.097759] nouveau  [  DEVICE][0000:01:00.0] Family : NVC0
[  254.097812] nouveau  [   VBIOS][0000:01:00.0] checking PRAMIN for image...
[  254.097820] nouveau  [   VBIOS][0000:01:00.0] ... signature not found
[  254.097824] nouveau  [   VBIOS][0000:01:00.0] checking PROM for image...
[  254.097891] nouveau  [   VBIOS][0000:01:00.0] ... signature not found
[  254.097894] nouveau  [   VBIOS][0000:01:00.0] checking ACPI for image...
[  259.028381] nouveau  [   VBIOS][0000:01:00.0] ... appears to be valid
[  259.028394] nouveau  [   VBIOS][0000:01:00.0] using image from ACPI
[  259.028736] nouveau  [   VBIOS][0000:01:00.0] BIT signature found
[  259.028744] nouveau  [   VBIOS][0000:01:00.0] version 70.08.72.00.a8
[  259.029815] nouveau  [ DEVINIT][0000:01:00.0] adaptor not initialised
[  259.029828] nouveau  [   VBIOS][0000:01:00.0] running init tables
[  259.144758] nouveau 0000:01:00.0: irq 45 for MSI/MSI-X
[  259.144775] nouveau  [     PMC][0000:01:00.0] MSI interrupts enabled
[  259.144813] nouveau W[     PFB][0000:01:00.0][0x00000000][ffff8801d54bb000] reclocking of this ram type unsupported
[  259.144816] nouveau  [     PFB][0000:01:00.0] RAM type: DDR3
[  259.144818] nouveau  [     PFB][0000:01:00.0] RAM size: 1024 MiB
[  259.144819] nouveau  [     PFB][0000:01:00.0]    ZCOMP: 0 tags
[  259.146586] nouveau  [    VOLT][0000:01:00.0] GPU voltage: 980000uv
[  259.176007] nouveau  [  PTHERM][0000:01:00.0] FAN control: none / external
[  259.176016] nouveau  [  PTHERM][0000:01:00.0] fan management: automatic
[  259.176029] nouveau  [  PTHERM][0000:01:00.0] internal sensor: yes
[  259.176061] nouveau  [     CLK][0000:01:00.0] 03: core 50 MHz memory 135 MHz 
[  259.176064] nouveau  [     CLK][0000:01:00.0] 07: core 202 MHz memory 324 MHz 
[  259.176067] nouveau  [     CLK][0000:01:00.0] 0f: core 672 MHz memory 800 MHz 
[  259.176226] nouveau  [     CLK][0000:01:00.0] --: core 202 MHz memory 324 MHz 
[  259.180088] vga_switcheroo: enabled
[  259.180403] [TTM] Zone  kernel: Available graphics memory: 2988508 kiB
[  259.180410] [TTM] Zone   dma32: Available graphics memory: 2097152 kiB
[  259.180414] [TTM] Initializing pool allocator
[  259.180436] [TTM] Initializing DMA pool allocator
[  259.180449] nouveau  [     DRM] VRAM: 1024 MiB
[  259.180450] nouveau  [     DRM] GART: 1048576 MiB
[  259.180454] nouveau  [     DRM] TMDS table version 2.0
[  259.180456] nouveau  [     DRM] DCB version 4.0
[  259.180458] nouveau  [     DRM] DCB outp 00: 02000300 00000000
[  259.180460] nouveau  [     DRM] DCB conn 00: 00000000
[  259.181292] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[  259.181293] [drm] Driver supports precise vblank timestamp query.
[  259.187687] nouveau  [     DRM] MM: using COPY0 for buffer copies
[  259.233357] nouveau  [     DRM] allocated 1024x768 fb: 0x60000, bo ffff8801d080ac00
[  259.233488] nouveau 0000:01:00.0: fb1: nouveaufb frame buffer device
[  259.233504] [drm] Initialized nouveau 1.1.2 20120801 for 0000:01:00.0 on minor 1
[  265.048794] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20140424/nsarguments-95)
[  265.049127] ACPI: \_SB_.PCI0.PEG0.PEGP: failed to evaluate _DSM
[  265.049141] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20140424/nsarguments-95)
[  265.075209] nouveau E[    PBUS][0000:01:00.0] MMIO write of 0x77777777 FAULT at 0x111618 [ !ENGINE ]
[  286.182175] bbswitch: enabling discrete graphics
[  296.087114] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20140424/nsarguments-95)
[  296.087437] ACPI: \_SB_.PCI0.PEG0.PEGP: failed to evaluate _DSM
[  296.087451] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20140424/nsarguments-95)
[  549.656317] bbswitch: enabling discrete graphics
[  555.383712] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20140424/nsarguments-95)
[  555.384050] ACPI: \_SB_.PCI0.PEG0.PEGP: failed to evaluate _DSM
[  555.384064] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20140424/nsarguments-95)
Вывод bumblebee.conf:
# Configuration file for Bumblebee. Values should **not** be put between quotes

## Server options. Any change made in this section will need a server restart
# to take effect.
[bumblebeed]
# The secondary Xorg server DISPLAY number
VirtualDisplay=:8
# Should the unused Xorg server be kept running? Set this to true if waiting
# for X to be ready is too long and don't need power management at all.
KeepUnusedXServer=false
# The name of the Bumbleblee server group name (GID name)
ServerGroup=bumblebee
# Card power state at exit. Set to false if the card shoud be ON when Bumblebee
# server exits.
TurnCardOffAtExit=false
# The default behavior of '-f' option on optirun. If set to "true", '-f' will
# be ignored.
NoEcoModeOverride=false
# The Driver used by Bumblebee server. If this value is not set (or empty),
# auto-detection is performed. The available drivers are nvidia and nouveau
# (See also the driver-specific sections below)
Driver=
# Directory with a dummy config file to pass as a -configdir to secondary X
XorgConfDir=/etc/bumblebee/xorg.conf.d

## Client options. Will take effect on the next optirun executed.
[optirun]
# Acceleration/ rendering bridge, possible values are auto, virtualgl and
# primus.
Bridge=auto
# The method used for VirtualGL to transport frames between X servers.
# Possible values are proxy, jpeg, rgb, xv and yuv.
VGLTransport=proxy
# List of paths which are searched for the primus libGL.so.1 when using
# the primus bridge
PrimusLibraryPath=/usr/lib/x86_64-linux-gnu/primus:/usr/lib/i386-linux-gnu/primus:/usr/lib/primus:/usr/lib32/primus
# Should the program run under optirun even if Bumblebee server or nvidia card
# is not available?
AllowFallbackToIGC=false


# Driver-specific settings are grouped under [driver-NAME]. The sections are
# parsed if the Driver setting in [bumblebeed] is set to NAME (or if auto-
# detection resolves to NAME).
# PMMethod: method to use for saving power by disabling the nvidia card, valid
# values are: auto - automatically detect which PM method to use
#         bbswitch - new in BB 3, recommended if available
#       switcheroo - vga_switcheroo method, use at your own risk
#             none - disable PM completely
# https://github.com/Bumblebee-Project/Bumblebee/wiki/Comparison-of-PM-methods

## Section with nvidia driver specific options, only parsed if Driver=nvidia
[driver-nvidia]
# Module name to load, defaults to Driver if empty or unset
KernelDriver=nvidia
PMMethod=auto
# colon-separated path to the nvidia libraries
LibraryPath=/usr/lib/x86_64-linux-gnu/nvidia:/usr/lib/i386-linux-gnu/nvidia:/usr/lib/nvidia
# comma-separated path of the directory containing nvidia_drv.so and the
# default Xorg modules path
XorgModulePath=/usr/lib/nvidia,/usr/lib/xorg/modules
XorgConfFile=/etc/bumblebee/xorg.conf.nvidia

## Section with nouveau driver specific options, only parsed if Driver=nouveau
[driver-nouveau]
KernelDriver=nouveau
PMMethod=auto
XorgConfFile=/etc/bumblebee/xorg.conf.nouveau
Вывод xorg.nouveau.conf:
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

...навалил портянок, а xorg.log приложить- не судьба?

Google_Play
()
1 марта 2015 г.

Fedora небось? Погугли на тему Optimus, SELinux, permissive.

Deleted
()
Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.