You are not logged in.
Hi, I have switched to arch linux yesterday and i'm trying to get my discrete nvidia card to get to work.
optirun glxgears ends with
$ optirun glxgears
[ 968.356831] [ERROR]Cannot access secondary GPU - error: [XORG] (EE) systemd-logind: failed to get session: PID 582 does not belong to any known session
[ 968.356888] [ERROR]Aborting because fallback start is disabled. $ cat /var/log/Xorg.8.log
[ 128.887]
X.Org X Server 1.16.0
Release Date: 2014-07-16
[ 128.887] X Protocol Version 11, Revision 0
[ 128.887] Build Operating System: Linux 3.15.5-2-ARCH x86_64
[ 128.887] Current Operating System: Linux issac-acer-linux 3.15.7-1-ARCH #1 SMP PREEMPT Mon Jul 28 20:06:17 CEST 2014 x86_64
[ 128.887] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-linux root=UUID=cfb63f77-a755-4d88-a223-a44ab117b3c1 rw quiet
[ 128.887] Build Date: 25 July 2014 10:42:31PM
[ 128.887]
[ 128.887] Current version of pixman: 0.32.6
[ 128.887] Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[ 128.887] Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 128.887] (==) Log file: "/var/log/Xorg.8.log", Time: Thu Jul 31 15:02:45 2014
[ 128.903] (++) Using config file: "/etc/bumblebee/xorg.conf.nvidia"
[ 128.903] (++) Using config directory: "/etc/bumblebee/xorg.conf.d"
[ 128.903] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[ 128.914] (==) ServerLayout "Layout0"
[ 128.914] (==) No screen section available. Using defaults.
[ 128.914] (**) |-->Screen "Default Screen Section" (0)
[ 128.914] (**) | |-->Monitor "<default monitor>"
[ 128.914] (==) No device specified for screen "Default Screen Section".
Using the first device section listed.
[ 128.914] (**) | |-->Device "DiscreteNvidia"
[ 128.914] (==) No monitor specified for screen "Default Screen Section".
Using a default monitor configuration.
[ 128.914] (**) Option "AutoAddDevices" "false"
[ 128.914] (**) Option "AutoAddGPU" "false"
[ 128.914] (**) Not automatically adding devices
[ 128.914] (==) Automatically enabling devices
[ 128.914] (**) Not automatically adding GPU devices
[ 128.914] (WW) The directory "/usr/share/fonts/OTF/" does not exist.
[ 128.914] Entry deleted from font path.
[ 128.914] (WW) The directory "/usr/share/fonts/Type1/" does not exist.
[ 128.914] Entry deleted from font path.
[ 128.914] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/100dpi/".
[ 128.914] Entry deleted from font path.
[ 128.914] (Run 'mkfontdir' on "/usr/share/fonts/100dpi/").
[ 128.914] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/75dpi/".
[ 128.914] Entry deleted from font path.
[ 128.914] (Run 'mkfontdir' on "/usr/share/fonts/75dpi/").
[ 128.914] (==) FontPath set to:
/usr/share/fonts/misc/,
/usr/share/fonts/TTF/
[ 128.914] (++) ModulePath set to "/usr/lib/nvidia/xorg/,/usr/lib/xorg/modules"
[ 128.914] (==) |-->Input Device "<default pointer>"
[ 128.914] (==) |-->Input Device "<default keyboard>"
[ 128.914] (==) The core pointer device wasn't specified explicitly in the layout.
Using the default mouse configuration.
[ 128.914] (==) The core keyboard device wasn't specified explicitly in the layout.
Using the default keyboard configuration.
[ 128.914] (II) Loader magic: 0x818d80
[ 128.914] (II) Module ABI versions:
[ 128.914] X.Org ANSI C Emulation: 0.4
[ 128.914] X.Org Video Driver: 18.0
[ 128.914] X.Org XInput driver : 21.0
[ 128.914] X.Org Server Extension : 8.0
[ 128.917] (EE) systemd-logind: failed to get session: PID 582 does not belong to any known session
[ 128.917] (II) xfree86: Adding drm device (/dev/dri/card1)
[ 128.917] (II) xfree86: Adding drm device (/dev/dri/card0)
[ 128.917] (EE) /dev/dri/card0: failed to set DRM interface version 1.4: Permission denied
[ 128.919] (--) PCI:*(0:1:0:0) 10de:0fd2:1025:0648 rev 161, Mem @ 0xb2000000/16777216, 0xa0000000/268435456, 0xb0000000/33554432, I/O @ 0x00002000/128
[ 128.919] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
[ 128.919] (II) LoadModule: "glx"
[ 128.919] (II) Loading /usr/lib/nvidia/xorg/modules/extensions/libglx.so
[ 130.134] (II) Module glx: vendor="NVIDIA Corporation"
[ 130.134] compiled for 4.0.2, module version = 1.0.0
[ 130.134] Module class: X.Org Server Extension
[ 130.140] (II) NVIDIA GLX Module 340.24 Wed Jul 2 15:04:31 PDT 2014
[ 130.153] (II) LoadModule: "nvidia"
[ 130.153] (II) Loading /usr/lib/xorg/modules/drivers/nvidia_drv.so
[ 130.309] (II) Module nvidia: vendor="NVIDIA Corporation"
[ 130.309] compiled for 4.0.2, module version = 1.0.0
[ 130.309] Module class: X.Org Video Driver
[ 130.326] (II) LoadModule: "mouse"
[ 130.327] (WW) Warning, couldn't open module mouse
[ 130.327] (II) UnloadModule: "mouse"
[ 130.327] (II) Unloading mouse
[ 130.327] (EE) Failed to load module "mouse" (module does not exist, 0)
[ 130.327] (II) LoadModule: "kbd"
[ 130.327] (WW) Warning, couldn't open module kbd
[ 130.327] (II) UnloadModule: "kbd"
[ 130.327] (II) Unloading kbd
[ 130.327] (EE) Failed to load module "kbd" (module does not exist, 0)
[ 130.327] (II) NVIDIA dlloader X Driver 340.24 Wed Jul 2 14:42:23 PDT 2014
[ 130.327] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
[ 130.328] (--) using VT number 1
[ 130.330] (II) Loading sub module "fb"
[ 130.330] (II) LoadModule: "fb"
[ 130.330] (II) Loading /usr/lib/xorg/modules/libfb.so
[ 130.352] (II) Module fb: vendor="X.Org Foundation"
[ 130.353] compiled for 1.16.0, module version = 1.0.0
[ 130.353] ABI class: X.Org ANSI C Emulation, version 0.4
[ 130.353] (WW) Unresolved symbol: fbGetGCPrivateKey
[ 130.353] (II) Loading sub module "wfb"
[ 130.353] (II) LoadModule: "wfb"
[ 130.353] (II) Loading /usr/lib/xorg/modules/libwfb.so
[ 130.368] (II) Module wfb: vendor="X.Org Foundation"
[ 130.368] compiled for 1.16.0, module version = 1.0.0
[ 130.368] ABI class: X.Org ANSI C Emulation, version 0.4
[ 130.368] (II) Loading sub module "ramdac"
[ 130.368] (II) LoadModule: "ramdac"
[ 130.368] (II) Module "ramdac" already built-in
[ 130.390] (II) NVIDIA(0): Creating default Display subsection in Screen section
"Default Screen Section" for depth/fbbpp 24/32
[ 130.390] (==) NVIDIA(0): Depth 24, (==) framebuffer bpp 32
[ 130.390] (==) NVIDIA(0): RGB weight 888
[ 130.390] (==) NVIDIA(0): Default visual is TrueColor
[ 130.390] (==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0)
[ 130.390] (**) NVIDIA(0): Option "NoLogo" "true"
[ 130.390] (**) NVIDIA(0): Option "ProbeAllGpus" "false"
[ 130.390] (**) NVIDIA(0): Option "UseEDID" "false"
[ 130.390] (**) NVIDIA(0): Option "UseDisplayDevice" "none"
[ 130.391] (**) NVIDIA(0): Enabling 2D acceleration
[ 130.391] (**) NVIDIA(0): Ignoring EDIDs
[ 130.391] (**) NVIDIA(0): Option "UseDisplayDevice" set to "none"; enabling NoScanout
[ 130.391] (**) NVIDIA(0): mode
[ 137.777] (EE) NVIDIA(GPU-0): Failed to initialize the NVIDIA GPU at PCI:1:0:0. Please
[ 137.777] (EE) NVIDIA(GPU-0): check your system's kernel log for additional error
[ 137.777] (EE) NVIDIA(GPU-0): messages and refer to Chapter 8: Common Problems in the
[ 137.777] (EE) NVIDIA(GPU-0): README for additional information.
[ 137.777] (EE) NVIDIA(GPU-0): Failed to initialize the NVIDIA graphics device!
[ 137.777] (EE) NVIDIA(0): Failing initialization of X screen 0
[ 137.777] (II) UnloadModule: "nvidia"
[ 137.777] (II) UnloadSubModule: "wfb"
[ 137.777] (II) UnloadSubModule: "fb"
[ 137.778] (EE) Screen(s) found, but none have a usable configuration.
[ 137.778] (EE)
Fatal server error:
[ 137.778] (EE) no screens found(EE)
[ 137.778] (EE)
Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
[ 137.778] (EE) Please also check the log file at "/var/log/Xorg.8.log" for additional information.
[ 137.778] (EE)
[ 137.778] (EE) Server terminated with error (1). Closing log file.dmesg:
[ 20.404210] bbswitch: version 0.8
[ 20.404223] bbswitch: Found integrated VGA device 0000:00:02.0: \_SB_.PCI0.GFX0
[ 20.404231] bbswitch: Found discrete VGA device 0000:01:00.0: \_SB_.PCI0.PEG0.PEGP
[ 20.404253] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20140214/nsarguments-95)
[ 20.404391] bbswitch: detected an Optimus _DSM function
[ 20.404415] pci 0000:01:00.0: enabling device (0006 -> 0007)
[ 20.404507] bbswitch: Succesfully loaded. Discrete card 0000:01:00.0 is on
[ 20.406825] bbswitch: disabling discrete graphics
[ 20.406845] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20140214/nsarguments-95)
[ 129.563705] bbswitch: enabling discrete graphics
[ 130.203538] vgaarb: device changed decodes: PCI:0000:01:00.0,olddecodes=io+mem,decodes=none:owns=none
[ 130.203913] [drm] Initialized nvidia-drm 0.0.0 20130102 for 0000:01:00.0 on minor 1
[ 130.203920] NVRM: loading NVIDIA UNIX x86_64 Kernel Module 340.24 Wed Jul 2 14:24:20 PDT 2014
[ 131.882877] nvidia 0000:01:00.0: irq 51 for MSI/MSI-X
[ 131.886992] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20140214/nsarguments-95)
[ 131.887048] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20140214/nsarguments-95)
[ 131.887076] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20140214/nsarguments-95)
[ 131.887121] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20140214/nsarguments-95)
[ 131.887148] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20140214/nsarguments-95)
[ 131.887173] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20140214/nsarguments-95)
[ 131.887229] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20140214/nsarguments-95)
[ 131.887256] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20140214/nsarguments-95)
[ 139.185174] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20140214/nsarguments-95)
[ 139.210285] NVRM: GPU at 0000:01:00.0 has fallen off the bus.
[ 139.250650] NVRM: RmInitAdapter failed! (0x25:0x28:1181)
[ 139.250661] NVRM: rm_init_adapter failed for device bearing minor number 0
[ 139.250687] NVRM: nvidia_frontend_open: minor 0, module->open() failed, error -5
[ 771.942105] bbswitch: enabling discrete graphics
[ 805.694476] bbswitch: enabling discrete graphics
[ 805.706876] nvidia 0000:01:00.0: Refused to change power state, currently in D3
[ 970.771335] bbswitch: enabling discrete graphics
[ 970.782743] nvidia 0000:01:00.0: Refused to change power state, currently in D3I tried to manually switch card ON with bbswitch, however it still sits in OFF with refused to change power state warning.
Any ideas? Last time bumblebee worked for me half year ago, I suppose my different problems(on debian i had drm warning) may have something intact with pm in 3.12 kernel.
Last edited by bartexsz (2014-07-31 14:52:48)
Offline
Offline
Um, dunno what part of article you have on mind exactly, however, I would like to use bumblebee (which I already installed based on arch wiki) to use discrete card, only when I need it( mostly when working with blender)
Offline
The link I posted should point you straight to 'No screens found on a laptop/NVIDIA Optimus' section.
What browser are you using?
Offline
I would think he is implying read through that section of the Wiki and try/test what is there to see if it helps. If it doesn't, follow the link to Bumblebee (https://wiki.archlinux.org/index.php/Bumblebee) and go through that setup again and check to make sure everything is right according to that. Have you done that?
List exactly what steps you've taken to troubleshoot this problem, and the results output from those attempts and we may be able to narrow it down a bit more.
Matt
"It is very difficult to educate the educated."
Offline
@karol - yes, link brought me there. However, this article advices to use bumblebee or permamently turn on discrete card. At first I don't have bios option for permamently enabling discrete card. Second, I wanted to use bumblebee.
I have reinstalled everything bumblebee related, and it didn't work.I re-read troubleshotting section, and tried to found anything in dmesg / xorg log what fits. And this time I i found rm_init failed. It works now.
I consider topic solved
Last edited by bartexsz (2014-07-31 14:54:22)
Offline