[arch-general] Optirun sees no mouse, refuses to load
Hi archers, I've been runing AL for some time, and, after more games has been added to steam lib, play them. So I've moved to bumlebee setup, in order to exploit my beefy GFX 660. Well, that's what I've got: szymon@arch /etc/X11/xorg.conf.d % optirun -vv glxgears [ 2103.749413] [DEBUG]Reading file: /etc/bumblebee/bumblebee.conf [ 2103.750131] [DEBUG]optirun version 3.1 starting... [ 2103.750178] [DEBUG]Active configuration: [ 2103.750206] [DEBUG] bumblebeed config file: /etc/bumblebee/bumblebee.conf [ 2103.750234] [DEBUG] X display: :8 [ 2103.750262] [DEBUG] LD_LIBRARY_PATH: /usr/lib/nvidia-bumblebee:/usr/lib32/nvidia-bumblebee [ 2103.750300] [DEBUG] Socket path: /var/run/bumblebee.socket [ 2103.750341] [DEBUG] Accel/display bridge: auto [ 2103.750372] [DEBUG] VGL Compression: proxy [ 2103.750433] [DEBUG]Using auto-detected bridge virtualgl [ 2103.787266] [INFO]Response: No - error: [XORG] (EE) Failed to load module "mouse" (module does not exist, 0) [ 2103.787296] [ERROR]Cannot access secondary GPU - error: [XORG] (EE) Failed to load module "mouse" (module does not exist, 0) [ 2103.787311] [DEBUG]Socket closed. [ 2103.787331] [ERROR]Aborting because fallback start is disabled. [ 2103.787343] [DEBUG]Killing all remaining processes. O RLY, no mouse module? Now, a bit stripped inxi output: szymon@arch ~ % inxi -v 4 System: Host: arch.local Kernel: 3.8.2-1-ck x86_64 (64 bit, gcc: 4.7.2) Desktop: KDE 4.10.1 (Qt 4.8.4) Distro: Arch Linux Machine: System: LENOVO product: Lenovo IdeaPad Y580 version: Lenovo IdeaPad Y580 Mobo: LENOVO model: Product Name version: Mainboard version Bios: LENOVO version: 5DCN38WW(V2.05) date: 06/26/2012 CPU: Dual core Intel Core i5-3210M CPU (-HT-MCP-) cache: 3072 KB flags: (lm nx sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx) bmips: 9980.7 Clock Speeds: 1: 1200.00 MHz 2: 1200.00 MHz 3: 1200.00 MHz 4: 1200.00 MHz Graphics: Card-1: Intel 3rd Gen Core processor Graphics Controller bus-ID: 00:02.0 Card-2: NVIDIA Device 0fd4 bus-ID: 01:00.0 X.Org: 1.13.3 drivers: intel (unloaded: vesa) Resolution: 1366x768@60.0hz GLX Renderer: Mesa DRI Intel Ivybridge Mobile GLX Version: 3.0 Mesa 9.1 Direct Rendering: Yes Network: Card-1: Intel Centrino Wireless-N 2200 driver: iwlwifi ver: in-tree: bus-ID: 03:00.0 IF: wlan0 state: up mac: xx:xx:xx:xx:xx:xx What I do wrong? Cheese, Pizza & Tacos Szymon Szydełko PS. I haven't any video "Driver" clauses in xorg.conf.d - there are only evdev and synaptics references. PPS. I use nvidia-bumblebee-ck driver and corresponding kernel, but on arch' mainline, everything is the same.
On 03/11/2013 01:40 AM, Szymon Szydełko wrote:
Hi archers, I've been runing AL for some time, and, after more games has been added to steam lib, play them. So I've moved to bumlebee setup, in order to exploit my beefy GFX 660. Well, that's what I've got: szymon@arch /etc/X11/xorg.conf.d % optirun -vv glxgears [ 2103.749413] [DEBUG]Reading file: /etc/bumblebee/bumblebee.conf [ 2103.750131] [DEBUG]optirun version 3.1 starting... [ 2103.750178] [DEBUG]Active configuration: [ 2103.750206] [DEBUG] bumblebeed config file: /etc/bumblebee/bumblebee.conf [ 2103.750234] [DEBUG] X display: :8 [ 2103.750262] [DEBUG] LD_LIBRARY_PATH: /usr/lib/nvidia-bumblebee:/usr/lib32/nvidia-bumblebee [ 2103.750300] [DEBUG] Socket path: /var/run/bumblebee.socket [ 2103.750341] [DEBUG] Accel/display bridge: auto [ 2103.750372] [DEBUG] VGL Compression: proxy [ 2103.750433] [DEBUG]Using auto-detected bridge virtualgl [ 2103.787266] [INFO]Response: No - error: [XORG] (EE) Failed to load module "mouse" (module does not exist, 0)
[ 2103.787296] [ERROR]Cannot access secondary GPU - error: [XORG] (EE) Failed to load module "mouse" (module does not exist, 0)
[ 2103.787311] [DEBUG]Socket closed. [ 2103.787331] [ERROR]Aborting because fallback start is disabled. [ 2103.787343] [DEBUG]Killing all remaining processes.
O RLY, no mouse module?
Now, a bit stripped inxi output: szymon@arch ~ % inxi -v 4 System: Host: arch.local Kernel: 3.8.2-1-ck x86_64 (64 bit, gcc: 4.7.2) Desktop: KDE 4.10.1 (Qt 4.8.4) Distro: Arch Linux Machine: System: LENOVO product: Lenovo IdeaPad Y580 version: Lenovo IdeaPad Y580 Mobo: LENOVO model: Product Name version: Mainboard version Bios: LENOVO version: 5DCN38WW(V2.05) date: 06/26/2012 CPU: Dual core Intel Core i5-3210M CPU (-HT-MCP-) cache: 3072 KB flags: (lm nx sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx) bmips: 9980.7 Clock Speeds: 1: 1200.00 MHz 2: 1200.00 MHz 3: 1200.00 MHz 4: 1200.00 MHz Graphics: Card-1: Intel 3rd Gen Core processor Graphics Controller bus-ID: 00:02.0 Card-2: NVIDIA Device 0fd4 bus-ID: 01:00.0 X.Org: 1.13.3 drivers: intel (unloaded: vesa) Resolution: 1366x768@60.0hz GLX Renderer: Mesa DRI Intel Ivybridge Mobile GLX Version: 3.0 Mesa 9.1 Direct Rendering: Yes Network: Card-1: Intel Centrino Wireless-N 2200 driver: iwlwifi ver: in-tree: bus-ID: 03:00.0 IF: wlan0 state: up mac: xx:xx:xx:xx:xx:xx
What I do wrong? Cheese, Pizza & Tacos Szymon Szydełko
PS. I haven't any video "Driver" clauses in xorg.conf.d - there are only evdev and synaptics references. PPS. I use nvidia-bumblebee-ck driver and corresponding kernel, but on arch' mainline, everything is the same.
As you can see, it's an XORG error. The "module does not exist" means that you don't have xf86-whatever-whatever package. mouse_drv module is provided by xf86-video-mouse. But it shouldn't be looking for it unless you specified it in xorg.conf ... I could be wrong though, I don't have nvidia nor I have used the program you use ...
On 03/11/2013 12:52 PM, Armin K. wrote:
On 03/11/2013 01:40 AM, Szymon Szydełko wrote:
Hi archers, I've been runing AL for some time, and, after more games has been added to steam lib, play them. So I've moved to bumlebee setup, in order to exploit my beefy GFX 660. Well, that's what I've got: szymon@arch /etc/X11/xorg.conf.d % optirun -vv glxgears [ 2103.749413] [DEBUG]Reading file: /etc/bumblebee/bumblebee.conf [ 2103.750131] [DEBUG]optirun version 3.1 starting... [ 2103.750178] [DEBUG]Active configuration: [ 2103.750206] [DEBUG] bumblebeed config file: /etc/bumblebee/bumblebee.conf [ 2103.750234] [DEBUG] X display: :8 [ 2103.750262] [DEBUG] LD_LIBRARY_PATH: /usr/lib/nvidia-bumblebee:/usr/lib32/nvidia-bumblebee [ 2103.750300] [DEBUG] Socket path: /var/run/bumblebee.socket [ 2103.750341] [DEBUG] Accel/display bridge: auto [ 2103.750372] [DEBUG] VGL Compression: proxy [ 2103.750433] [DEBUG]Using auto-detected bridge virtualgl [ 2103.787266] [INFO]Response: No - error: [XORG] (EE) Failed to load module "mouse" (module does not exist, 0)
[ 2103.787296] [ERROR]Cannot access secondary GPU - error: [XORG] (EE) Failed to load module "mouse" (module does not exist, 0)
[ 2103.787311] [DEBUG]Socket closed. [ 2103.787331] [ERROR]Aborting because fallback start is disabled. [ 2103.787343] [DEBUG]Killing all remaining processes.
O RLY, no mouse module?
Now, a bit stripped inxi output: szymon@arch ~ % inxi -v 4 System: Host: arch.local Kernel: 3.8.2-1-ck x86_64 (64 bit, gcc: 4.7.2) Desktop: KDE 4.10.1 (Qt 4.8.4) Distro: Arch Linux Machine: System: LENOVO product: Lenovo IdeaPad Y580 version: Lenovo IdeaPad Y580 Mobo: LENOVO model: Product Name version: Mainboard version Bios: LENOVO version: 5DCN38WW(V2.05) date: 06/26/2012 CPU: Dual core Intel Core i5-3210M CPU (-HT-MCP-) cache: 3072 KB flags: (lm nx sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx) bmips: 9980.7 Clock Speeds: 1: 1200.00 MHz 2: 1200.00 MHz 3: 1200.00 MHz 4: 1200.00 MHz Graphics: Card-1: Intel 3rd Gen Core processor Graphics Controller bus-ID: 00:02.0 Card-2: NVIDIA Device 0fd4 bus-ID: 01:00.0 X.Org: 1.13.3 drivers: intel (unloaded: vesa) Resolution: 1366x768@60.0hz GLX Renderer: Mesa DRI Intel Ivybridge Mobile GLX Version: 3.0 Mesa 9.1 Direct Rendering: Yes Network: Card-1: Intel Centrino Wireless-N 2200 driver: iwlwifi ver: in-tree: bus-ID: 03:00.0 IF: wlan0 state: up mac: xx:xx:xx:xx:xx:xx
What I do wrong? Cheese, Pizza & Tacos Szymon Szydełko
PS. I haven't any video "Driver" clauses in xorg.conf.d - there are only evdev and synaptics references. PPS. I use nvidia-bumblebee-ck driver and corresponding kernel, but on arch' mainline, everything is the same.
As you can see, it's an XORG error. The "module does not exist" means that you don't have xf86-whatever-whatever package. mouse_drv module is provided by xf86-video-mouse. But it shouldn't be looking for it unless you specified it in xorg.conf ... I could be wrong though, I don't have nvidia nor I have used the program you use ...
It should be "xf86-input-mouse" ... Sorry. https://www.archlinux.org/packages/?q=xf86-input-mouse
As you can see, it's an XORG error. The "module does not exist" means that you don't have xf86-whatever-whatever package. mouse_drv module is provided by xf86-video-mouse. But it shouldn't be looking for it unless you specified it in xorg.conf ... I could be wrong though, I don't have nvidia nor I have used the program you use ...
It should be "xf86-input-mouse" ... Sorry.
Thanks, this moved the issue further: now what I have is: szymon@arch ~ % optirun glxgears [ERROR]Cannot access secondary GPU - error: [XORG] (EE) NVIDIA(0): Failed to initialize the NVIDIA GPU at PCI:1:0:0. Please and excerpt from dmesg: NVRM: failed to copy vbios to system memory. NVRM: RmInitAdapter failed! (0x30:0xffffffff:756) NVRM: rm_init_adapter(0) failed and from /var/log/Xorg.8.log: http://paste.kde.org/693368/ (Paste since this one is very long.) Any ideas? Xorg is black magic for me, it's logs aren't better. Thanks in advance, Szymon
On 03/11/2013 01:59 PM, Szymon Szydełko wrote:
As you can see, it's an XORG error. The "module does not exist" means that you don't have xf86-whatever-whatever package. mouse_drv module is provided by xf86-video-mouse. But it shouldn't be looking for it unless you specified it in xorg.conf ... I could be wrong though, I don't have nvidia nor I have used the program you use ...
It should be "xf86-input-mouse" ... Sorry.
Thanks, this moved the issue further: now what I have is: szymon@arch ~ % optirun glxgears [ERROR]Cannot access secondary GPU - error: [XORG] (EE) NVIDIA(0): Failed to initialize the NVIDIA GPU at PCI:1:0:0. Please
and excerpt from dmesg: NVRM: failed to copy vbios to system memory. NVRM: RmInitAdapter failed! (0x30:0xffffffff:756) NVRM: rm_init_adapter(0) failed
and from /var/log/Xorg.8.log: http://paste.kde.org/693368/ (Paste since this one is very long.)
Any ideas? Xorg is black magic for me, it's logs aren't better. Thanks in advance, Szymon
It's not that I understand much from logs (aside that you might need xf86-input-kbd, too) but it seems that the problem is on the kernel side. Does "nvidia" kernel module exist? Is it loaded when you run optirun?
On Mon, Mar 11, 2013 at 1:53 PM, Armin K. <krejzi@email.com> wrote:
It's not that I understand much from logs (aside that you might need xf86-input-kbd, too) but it seems that the problem is on the kernel side. Does "nvidia" kernel module exist? Is it loaded when you run optirun?
Yup, kbd also is installed, yup, nvidia module exist, yup, when I start optirun it loads this module. Regards, Szymon
On 03/11/2013 03:24 PM, Szymon Szydełko wrote:
On Mon, Mar 11, 2013 at 1:53 PM, Armin K. <krejzi@email.com> wrote:
It's not that I understand much from logs (aside that you might need xf86-input-kbd, too) but it seems that the problem is on the kernel side. Does "nvidia" kernel module exist? Is it loaded when you run optirun?
Yup, kbd also is installed, yup, nvidia module exist, yup, when I start optirun it loads this module.
Regards, Szymon
So, can you post your kernel log? You can dump journalctl -b output to a file and pastebin it ... You can use --no-pager for easier redirect to file.
On Mon, Mar 11, 2013 at 2:41 PM, Armin K. <krejzi@email.com> wrote:
On 03/11/2013 03:24 PM, Szymon Szydełko wrote:
On Mon, Mar 11, 2013 at 1:53 PM, Armin K. <krejzi@email.com> wrote:
It's not that I understand much from logs (aside that you might need xf86-input-kbd, too) but it seems that the problem is on the kernel side. Does "nvidia" kernel module exist? Is it loaded when you run optirun?
Yup, kbd also is installed, yup, nvidia module exist, yup, when I start optirun it loads this module.
Regards, Szymon
So, can you post your kernel log? You can dump journalctl -b output to a file and pastebin it ... You can use --no-pager for easier redirect to file. Here it is: http://paste.kde.org/693482/
In your log, about line 1089: mar 11 13:05:48 arch.local kernel: NVRM: failed to copy vbios to system memory. mar 11 13:05:48 arch.local kernel: NVRM: RmInitAdapter failed! (0x30:0xffffffff:756) mar 11 13:05:48 arch.local kernel: NVRM: rm_init_adapter(0) failed There's entry about such problem in NVIDIA common problems section [1]: --- Why does the VBIOS fail to load on my Optimus system? On some notebooks with Optimus graphics, the NVIDIA driver may not be able to retrieve the Video BIOS due to interactions between the System BIOS and the Linux kernel's ACPI subsystem. On affected notebooks, applications that require the GPU will fail, and messages like the following may appear in the system log: NVRM: failed to copy vbios to system memory. NVRM: RmInitAdapter failed! (0x30:0xffffffff:858) NVRM: rm_init_adapter(0) failed Such problems are typically beyond the control of the NVIDIA driver, which relies on proper cooperation of ACPI and the System BIOS to retrieve important information about the GPU, including the Video BIOS. --- Have you tried to disable power management (automatic switching card on and off)? [1] http://us.download.nvidia.com/XFree86/Linux-x86_64/304.43/README/commonprobl... pozdrawiam, Łukasz 2013/3/11 Szymon Szydełko <sszydelko@gmail.com>:
On Mon, Mar 11, 2013 at 2:41 PM, Armin K. <krejzi@email.com> wrote:
On 03/11/2013 03:24 PM, Szymon Szydełko wrote:
On Mon, Mar 11, 2013 at 1:53 PM, Armin K. <krejzi@email.com> wrote:
It's not that I understand much from logs (aside that you might need xf86-input-kbd, too) but it seems that the problem is on the kernel side. Does "nvidia" kernel module exist? Is it loaded when you run optirun?
Yup, kbd also is installed, yup, nvidia module exist, yup, when I start optirun it loads this module.
Regards, Szymon
So, can you post your kernel log? You can dump journalctl -b output to a file and pastebin it ... You can use --no-pager for easier redirect to file. Here it is: http://paste.kde.org/693482/
On Mon, Mar 11, 2013 at 5:15 PM, Łukasz Redynk <lukas.redynk@gmail.com> wrote:
Have you tried to disable power management (automatic switching card on and off)?
[1] http://us.download.nvidia.com/XFree86/Linux-x86_64/304.43/README/commonprobl...
1. There is a kernel parameter for that, right? Can you point me to it? 2. Hmm, can I disable Intel gpu? And just leave Nvidia one?
pozdrawiam, Łukasz Dziękuję, Szymon
On Tue, Mar 12, 2013 at 6:43 AM, Szymon Szydełko <sszydelko@gmail.com> wrote:
2. Hmm, can I disable Intel gpu? And just leave Nvidia one?
As far as I know you cannot do that on a Optimus system. Maybe your card is not turned on when optirun starts. My journal when starting `optirun glxspheres' : Mar 12 21:30:01 lightning.hexchain.org kernel: bbswitch: enabling discrete graphics Mar 12 21:30:02 lightning.hexchain.org kernel: pci 0000:01:00.0: power state changed by ACPI to D0 Mar 12 21:30:02 lightning.hexchain.org kernel: vgaarb: device changed decodes: PCI:0000:01:00.0,olddecodes=none,decodes=none:owns=none Mar 12 21:30:02 lightning.hexchain.org kernel: NVRM: loading NVIDIA UNIX x86_64 Kernel Module 313.26 Wed Feb 27 13:04:31 PST 2013 Mar 12 21:30:03 lightning.hexchain.org logger[15184]: button/lid: ACPI group/action undefined: processor / LNXCPU:00 Mar 12 21:30:03 lightning.hexchain.org acpid[313]: client connected from 15180[0:996] Mar 12 21:30:03 lightning.hexchain.org acpid[313]: 1 client rule loaded Mar 12 21:30:04 lightning.hexchain.org bumblebeed[323]: [13353.380547] [WARN][XORG] (WW) NVIDIA: This server has an unsupported input driver ABI version (have 19.1, need < 19.0). The driver will continue to load, but may behave strangely. Mar 12 21:30:04 lightning.hexchain.org bumblebeed[323]: [13353.380596] [WARN][XORG] (WW) NVIDIA(0): Unable to get display device for DPI computation. Mar 12 21:30:16 lightning.hexchain.org kernel: bbswitch: disabling discrete graphics Mar 12 21:30:16 lightning.hexchain.org kernel: pci 0000:01:00.0: Refused to change power state, currently in D0 Mar 12 21:30:16 lightning.hexchain.org kernel: pci 0000:01:00.0: power state changed by ACPI to D3cold Mar 12 21:30:18 lightning.hexchain.org acpid[313]: client 15180[0:996] has disconnected Notice those lines containing "power state changed by ACPI".
On 03/11/2013 04:22 PM, Szymon Szydełko wrote:
On Mon, Mar 11, 2013 at 2:41 PM, Armin K. <krejzi@email.com> wrote:
On 03/11/2013 03:24 PM, Szymon Szydełko wrote:
On Mon, Mar 11, 2013 at 1:53 PM, Armin K. <krejzi@email.com> wrote:
It's not that I understand much from logs (aside that you might need xf86-input-kbd, too) but it seems that the problem is on the kernel side. Does "nvidia" kernel module exist? Is it loaded when you run optirun?
Yup, kbd also is installed, yup, nvidia module exist, yup, when I start optirun it loads this module.
Regards, Szymon
So, can you post your kernel log? You can dump journalctl -b output to a file and pastebin it ... You can use --no-pager for easier redirect to file. Here it is: http://paste.kde.org/693482/
Hm, I notice the module loads properly at first try: mar 11 13:02:47 arch.local kernel: nvidia: module license 'NVIDIA' taints kernel. mar 11 13:02:47 arch.local kernel: Disabling lock debugging due to kernel taint mar 11 13:02:47 arch.local kernel: nvidia 0000:01:00.0: enabling device (0006 -> 0007) mar 11 13:02:47 arch.local kernel: vgaarb: device changed decodes: PCI:0000:01:00.0,olddecodes=io+mem,decodes=none:owns=none mar 11 13:02:47 arch.local kernel: NVRM: loading NVIDIA UNIX x86_64 Kernel Module 313.26 Wed Feb 27 13:04:31 PST 2013 There's also this mar 11 13:02:57 arch.local bumblebeed[383]: modprobe: FATAL: Module bbswitch not found. mar 11 13:02:57 arch.local bumblebeed[383]: [ 20.959851] [ERROR]Module bbswitch could not be loaded (timeout?) mar 11 13:02:57 arch.local bumblebeed[383]: [ 20.959868] [WARN]No switching method available. The dedicated card will always be on. mar 11 13:02:57 arch.local bumblebeed[383]: [ 20.960960] [INFO]/usr/sbin/bumblebeed 3.1 started What's "bbswitch" anyways? As I said, I never used bumblebee, but that might be a source of your problems. If you google for NVRM: failed to copy vbios to system memory. You can notice someone having problems with bumblbee earlier. https://forums.gentoo.org/viewtopic-p-7170644.html?sid=ae50b258eb14d94f32442... If this is true then you might not be able to use it at all. Another issue is this one https://github.com/Bumblebee-Project/Bumblebee/issues/111#issuecomment-46020... And you can find one on Arch forums, too https://bbs.archlinux.org/viewtopic.php?id=153678
On Tue, Mar 12, 2013 at 1:32 AM, Armin K. <krejzi@email.com> wrote:
What's "bbswitch" anyways? As I said, I never used bumblebee, but that might be a source of your problems.
bbswitch is a module written by Bumblebee developers, aiming to provide dynamic power management of (in other words, automatically switching on and off) the discrete NVIDIA card.
participants (4)
-
Armin K.
-
Hexchain Tong
-
Szymon Szydełko
-
Łukasz Redynk