continuous nvidia problems

Getting your soundcard to work, using Debian on non-i386 hardware, etc

continuous nvidia problems

Postby shrike » 2017-04-20 09:37

Hi guys,

So,... I have no idea if this is appropriate subforum or even topic, but I'm seriously frustrated. The past 5 laptops I had all had intel+nvidia combo and on NONE of them did bumblebee/ optimus work. Ever. Not even slightly. It did work out of the box on the same machine on ubuntu, mint or suse (heck even tumblweed), but no distro of debian has ever worked. No tutorial ever helped, debian wiki is absolutely useless and never worked. So... how do you guys manage to get it to work? Which tutorial do you follow? Because for the life of me i can't darn make it to work. If anyone wonders, this is my system: Aspire E5-774 with GM107M [GeForce GTX 950M] Distro is currently Debian 9.0 . i have nvidia drivers from the repo installed (not from nvidia site).


This is what happens on optirun:


Code: Select all
optirun -vv glxgears
[ 7073.866348] [DEBUG]Reading file: /etc/bumblebee/bumblebee.conf
[ 7073.866500] [INFO]Configured driver: nouveau
[ 7073.866578] [DEBUG]optirun version 3.2.1 starting...
[ 7073.866584] [DEBUG]Active configuration:
[ 7073.866590] [DEBUG] bumblebeed config file: /etc/bumblebee/bumblebee.conf
[ 7073.866594] [DEBUG] X display: :8
[ 7073.866597] [DEBUG] LD_LIBRARY_PATH:
[ 7073.866601] [DEBUG] Socket path: /var/run/bumblebee.socket
[ 7073.866604] [DEBUG] Accel/display bridge: auto
[ 7073.866608] [DEBUG] VGL Compression: proxy
[ 7073.866611] [DEBUG] VGLrun extra options:
[ 7073.866615] [DEBUG] Primus LD Path: /usr/lib/x86_64-linux-gnu/primus:/usr/lib/i386-linux-gnu/primus:/usr/lib/primus:/usr/lib32/primus
[ 7073.866630] [DEBUG]Using auto-detected bridge virtualgl
[ 7073.947820] [INFO]Response: No - error: [XORG] (EE) Failed to load module "mouse" (module does not exist, 0)

[ 7073.947834] [ERROR]Cannot access secondary GPU - error: [XORG] (EE) Failed to load module "mouse" (module does not exist, 0)

[ 7073.947837] [DEBUG]Socket closed.
[ 7073.947851] [ERROR]Aborting because fallback start is disabled.
[ 7073.947854] [DEBUG]Killing all remaining processes.


The fun part is that a lot of links on stacktrace and other places say that this error is misleading and it actually has nothing to do with mouse driver. Now that's some shoddy programming right there.


This is with strace:

Code: Select all
strace -s 2048 optirun -vv glxgears
execve("/usr/bin/optirun", ["optirun", "-vv", "glxgears"], [/* 53 vars */]) = 0
brk(NULL)                               = 0x5614476ca000
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
mmap(NULL, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f7395bd7000
access("/etc/ld.so.preload", R_OK)      = -1 ENOENT (No such file or directory)
open("/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=185585, ...}) = 0
mmap(NULL, 185585, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f7395ba9000
close(3)                                = 0
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
open("/lib/x86_64-linux-gnu/libglib-2.0.so.0", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\320\254\1\0\0\0\0\0@\0\0\0\0\0\0\0`-\21\0\0\0\0\0\0\0\0\0@\0008\0\7\0@\0\34\0\33\0\1\0\0\0\5\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\244\22\21\0\0\0\0\0\244\22\21\0\0\0\0\0\0\0 \0\0\0\0\0\1\0\0\0\6\0\0\0\340\32\21\0\0\0\0\0\340\0321\0\0\0\0\0\340\0321\0\0\0\0\0P\21\0\0\0\0\0\0\10\34\0\0\0\0\0\0\0\0 \0\0\0\0\0\2\0\0\0\6\0\0\0@\35\21\0\0\0\0\0@\0351\0\0\0\0\0@\0351\0\0\0\0\0\0\2\0\0\0\0\0\0\0\2\0\0\0\0\0\0\10\0\0\0\0\0\0\0\4\0\0\0\4\0\0\0\310\1\0\0\0\0\0\0\310\1\0\0\0\0\0\0\310\1\0\0\0\0\0\0$\0\0\0\0\0\0\0$\0\0\0\0\0\0\0\4\0\0\0\0\0\0\0P\345td\4\0\0\0\2547\17\0\0\0\0\0\2547\17\0\0\0\0\0\2547\17\0\0\0\0\0LA\0\0\0\0\0\0LA\0\0\0\0\0\0\4\0\0\0\0\0\0\0Q\345td\6\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\20\0\0\0\0\0\0\0R\345td\4\0\0\0\340\32\21\0\0\0\0\0\340\0321\0\0\0\0\0\340\0321\0\0\0\0\0 \5\0\0\0\0\0\0 \5\0\0\0\0\0\0\1\0\0\0\0\0\0\0\4\0\0\0\24\0\0\0\3\0\0\0GNU\0\351,,\30V\274\16\5\6L\315@\306\210\357\223\0\315M\246\0\0\0\0\344\3\0\0\334\0\0\0\0\1\0\0\16\0\0\0\244*A\0\310\206\0\203\20\200\22\0\0\1\17@\2\0\21\2 \24\0\1\6\0\f\300\0\0\0\f\0\0\0\204\n\4\1\3\3\3r\204b\360\22\230\n\5\200\4\21\21S2\207\10\0HP\30(\302\0  \201\300\320\0\224\0\4\4 \0@B\0000\0\0@L\0\0\304\23\2$\6\5\1\"\20\3\2\1@ R\n\241\3@\220 \2\1\6\0\227\2\2\5\0\24\4\n\0@\n\5\4&\5\0\20\16\214\0@E\343\0\220\t\20\274\200A \0\10@\0\2H\0\0 \0\306\0 \0\4\6(\0\5\10\0\0062\32\2\nY`@@\0\0`\0\20\0\n\1\0\0\0\f\0\240 \214\0\1\220@\0000\10\1\200B\21`J\4\0\214\24\20\f\4\1\10 \0)\" \0162\0@\200 \10\1\0020\6\4\0\20@\0\200\0\0\0\203@\4\2\0\1\0\20\1\200\21#\0\1\4\200\0\1p\251\200H0\200.\30\0\252d\200\200 \0\10\204\4\0\0\0\10\300@\0\0\0\24\f\0$\2\10\5\300 \200\1\2\4\204\0\214\5\1\1 \202\30\204$@\0P\0S(\201!\0!\2\4%\3\223", 832) = 832
fstat(3, {st_mode=S_IFREG|0644, st_size=1127520, ...}) = 0
mmap(NULL, 3225320, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f73956a3000
mprotect(0x7f73957b5000, 2093056, PROT_NONE) = 0
mmap(0x7f73959b4000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x111000) = 0x7f73959b4000
mmap(0x7f73959b6000, 1768, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f73959b6000
close(3)                                = 0
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
open("/lib/x86_64-linux-gnu/libkmod.so.2", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0P,\0\0\0\0\0\0@\0\0\0\0\0\0\0pa\1\0\0\0\0\0\0\0\0\0@\0008\0\7\0@\0\33\0\32\0\1\0\0\0\5\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\fU\1\0\0\0\0\0\fU\1\0\0\0\0\0\0\0 \0\0\0\0\0\1\0\0\0\6\0\0\0(Z\1\0\0\0\0\0(Z!\0\0\0\0\0(Z!\0\0\0\0\0\30\6\0\0\0\0\0\0 \6\0\0\0\0\0\0\0\0 \0\0\0\0\0\2\0\0\0\6\0\0\0\20[\1\0\0\0\0\0\20[!\0\0\0\0\0\20[!\0\0\0\0\0\340\1\0\0\0\0\0\0\340\1\0\0\0\0\0\0\10\0\0\0\0\0\0\0\4\0\0\0\4\0\0\0\310\1\0\0\0\0\0\0\310\1\0\0\0\0\0\0\310\1\0\0\0\0\0\0$\0\0\0\0\0\0\0$\0\0\0\0\0\0\0\4\0\0\0\0\0\0\0P\345td\4\0\0\0\24\36\1\0\0\0\0\0\24\36\1\0\0\0\0\0\24\36\1\0\0\0\0\0\274\6\0\0\0\0\0\0\274\6\0\0\0\0\0\0\4\0\0\0\0\0\0\0Q\345td\6\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\20\0\0\0\0\0\0\0R\345td\4\0\0\0(Z\1\0\0\0\0\0(Z!\0\0\0\0\0(Z!\0\0\0\0\0\330\5\0\0\0\0\0\0\330\5\0\0\0\0\0\0\1\0\0\0\0\0\0\0\4\0\0\0\24\0\0\0\3\0\0\0GNU\0\270Q\231s\354@\223\226/\220Z\37\237\347\345Z\346\33\10\16\0\0\0\0C\0\0\0C\0\0\0\10\0\0\0\t\0\0\0\5\26%Z\0\341\362\251\0 \10p\0\244\0\30\200\260\2\0\240 \272A\240\22\r\2\1\301\\\\\10\20\0009J\232\t\242\nP\206\3205(\t\0240\230@\2\"\4\20\0\0\0\0\2\254\0\2\4C\0\0\0\0\0\0\0F\0\0\0\0\0\0\0G\0\0\0\0\0\0\0H\0\0\0\0\0\0\0\0\0\0\0I\0\0\0J\0\0\0\0\0\0\0K\0\0\0\0\0\0\0L\0\0\0M\0\0\0\0\0\0\0N\0\0\0P\0\0\0\0\0\0\0R\0\0\0\0\0\0\0T\0\0\0V\0\0\0W\0\0\0X\0\0\0Y\0\0\0\0\0\0\0Z\0\0\0\0\0\0\0\\\0\0\0\0\0\0\0]\0\0\0_\0\0\0\0\0\0\0\0\0\0\0`\0\0\0d\0\0\0e\0\0\0f\0\0\0j\0\0\0\0\0\0\0l\0\0\0n\0\0\0p\0\0\0r\0\0\0s\0\0\0t\0\0\0u\0\0\0w\0\0\0z\0\0\0\0\0\0\0{\0\0\0|\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0}\0\0\0~\0\0\0\201\0\0\0\203\0\0\0\205\0\0\0\206\0\0\0\210\0\0\0", 832) = 832
fstat(3, {st_mode=S_IFREG|0644, st_size=92208, ...}) = 0
mmap(NULL, 2187336, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f739548c000
mprotect(0x7f73954a2000, 2093056, PROT_NONE) = 0
mmap(0x7f73956a1000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x15000) = 0x7f73956a1000
close(3)                                = 0
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
open("/lib/x86_64-linux-gnu/librt.so.1", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\340 \0\0\0\0\0\0@\0\0\0\0\0\0\0\300s\0\0\0\0\0\0\0\0\0\0@\0008\0\7\0@\0!\0 \0\1\0\0\0\5\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0(d\0\0\0\0\0\0(d\0\0\0\0\0\0\0\0 \0\0\0\0\0\1\0\0\0\6\0\0\0Xm\0\0\0\0\0\0Xm \0\0\0\0\0Xm \0\0\0\0\0\364\4\0\0\0\0\0\0h\16\0\0\0\0\0\0\0\0 \0\0\0\0\0\2\0\0\0\6\0\0\0xm\0\0\0\0\0\0xm \0\0\0\0\0xm \0\0\0\0\0000\2\0\0\0\0\0\0000\2\0\0\0\0\0\0\10\0\0\0\0\0\0\0\4\0\0\0\4\0\0\0\310\1\0\0\0\0\0\0\310\1\0\0\0\0\0\0\310\1\0\0\0\0\0\0D\0\0\0\0\0\0\0D\0\0\0\0\0\0\0\4\0\0\0\0\0\0\0P\345td\4\0\0\0\210R\0\0\0\0\0\0\210R\0\0\0\0\0\0\210R\0\0\0\0\0\0004\2\0\0\0\0\0\0004\2\0\0\0\0\0\0\4\0\0\0\0\0\0\0Q\345td\6\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\20\0\0\0\0\0\0\0R\345td\4\0\0\0Xm\0\0\0\0\0\0Xm \0\0\0\0\0Xm \0\0\0\0\0\250\2\0\0\0\0\0\0\250\2\0\0\0\0\0\0\1\0\0\0\0\0\0\0\4\0\0\0\24\0\0\0\3\0\0\0GNU\0\3\241\6\366\242qY\5\370\333\00283\262Wx\250Jh[\4\0\0\0\20\0\0\0\1\0\0\0GNU\0\0\0\0\0\2\0\0\0\6\0\0\0 \0\0\0\0\0\0\0b\0\0\0?\0\0\0\10\0\0\0\t\0\0\0\1\0\204!0\0\10@\0\20P\213\340\6\22 \0\10\202@\0(\200 \t\3\0\4@\1@#\2\20\0\2\240\4 \0\10\0\0\2\0\4\0\200\210\206D\20\0\0\20\4P\20\2\322\4\1\4\206\0\0\0\0\0\0\0\0?\0\0\0@\0\0\0A\0\0\0\0\0\0\0B\0\0\0\0\0\0\0C\0\0\0\0\0\0\0E\0\0\0F\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0H\0\0\0\0\0\0\0I\0\0\0\0\0\0\0J\0\0\0\0\0\0\0L\0\0\0M\0\0\0\0\0\0\0N\0\0\0O\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0Q\0\0\0\0\0\0\0\0\0\0\0R\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0S\0\0\0", 832) = 832
fstat(3, {st_mode=S_IFREG|0644, st_size=31744, ...}) = 0
mmap(NULL, 2128832, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f7395284000
mprotect(0x7f739528b000, 2093056, PROT_NONE) = 0
mmap(0x7f739548a000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x6000) = 0x7f739548a000
close(3)                                = 0
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
open("/lib/x86_64-linux-gnu/libc.so.6", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\3\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\320\3\2\0\0\0\0\0@\0\0\0\0\0\0\0P\245\31\0\0\0\0\0\0\0\0\0@\0008\0\n\0@\0G\0F\0\6\0\0\0\5\0\0\0@\0\0\0\0\0\0\0@\0\0\0\0\0\0\0@\0\0\0\0\0\0\0000\2\0\0\0\0\0\0000\2\0\0\0\0\0\0\10\0\0\0\0\0\0\0\3\0\0\0\4\0\0\0\340\254\26\0\0\0\0\0\340\254\26\0\0\0\0\0\340\254\26\0\0\0\0\0\34\0\0\0\0\0\0\0\34\0\0\0\0\0\0\0\20\0\0\0\0\0\0\0\1\0\0\0\5\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\350F\31\0\0\0\0\0\350F\31\0\0\0\0\0\0\0 \0\0\0\0\0\1\0\0\0\6\0\0\0\310G\31\0\0\0\0\0\310G9\0\0\0\0\0\310G9\0\0\0\0\0008O\0\0\0\0\0\0\330\221\0\0\0\0\0\0\0\0 \0\0\0\0\0\2\0\0\0\6\0\0\0\240{\31\0\0\0\0\0\240{9\0\0\0\0\0\240{9\0\0\0\0\0\340\1\0\0\0\0\0\0\340\1\0\0\0\0\0\0\10\0\0\0\0\0\0\0\4\0\0\0\4\0\0\0p\2\0\0\0\0\0\0p\2\0\0\0\0\0\0p\2\0\0\0\0\0\0D\0\0\0\0\0\0\0D\0\0\0\0\0\0\0\4\0\0\0\0\0\0\0\7\0\0\0\4\0\0\0\310G\31\0\0\0\0\0\310G9\0\0\0\0\0\310G9\0\0\0\0\0\20\0\0\0\0\0\0\0x\0\0\0\0\0\0\0\10\0\0\0\0\0\0\0P\345td\4\0\0\0\374\254\26\0\0\0\0\0\374\254\26\0\0\0\0\0\374\254\26\0\0\0\0\0\224Y\0\0\0\0\0\0\224Y\0\0\0\0\0\0\4\0\0\0\0\0\0\0Q\345td\6\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\20\0\0\0\0\0\0\0R\345td\4\0\0\0\310G\31\0\0\0\0\0\310G9\0\0\0\0\0\310G9\0\0\0\0\00088\0\0\0\0\0\00088\0\0\0\0\0\0\1\0\0\0\0\0\0\0\4\0\0\0\24\0\0\0\3\0\0\0GNU\0\"F\272\5\10\227\361\331\2004\247\312K~\300kYJ7=\4\0\0\0\20\0\0\0\1\0\0\0GNU\0\0\0\0\0\2\0\0\0\6\0\0\0 \0\0\0\0\0\0\0\363\3\0\0\10\0\0\0\0\1\0\0\16\0\0\0\0000\20D\240 \2\1\210\3\346\220\305E\214\0\304\0\10\0\5\204\0`\300\200\0\r\212\f\0\4\20\0\210@2\10*@\210T<, \0162H&\204\300\214\4\10\0\2\2\16\241\254\32\4f\300\0\3002\0\300\0P\1 \201\10\204\v  ($\0\4 Z\0\20X\200\312DB(\0\6\200\20\30B\0 @\200\0IP\0Q\212@\22\0\0\0\0\10\0\0\21\20", 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=1685264, ...}) = 0
mmap(NULL, 3791264, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f7394ee6000
mprotect(0x7f739507b000, 2093056, PROT_NONE) = 0
mmap(0x7f739527a000, 24576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x194000) = 0x7f739527a000
mmap(0x7f7395280000, 14752, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f7395280000
close(3)                                = 0
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
open("/lib/x86_64-linux-gnu/libpcre.so.3", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\320\25\0\0\0\0\0\0@\0\0\0\0\0\0\0008!\7\0\0\0\0\0\0\0\0\0@\0008\0\7\0@\0\32\0\31\0\1\0\0\0\5\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\304\24\7\0\0\0\0\0\304\24\7\0\0\0\0\0\0\0 \0\0\0\0\0\1\0\0\0\6\0\0\0\250\33\7\0\0\0\0\0\250\33'\0\0\0\0\0\250\33'\0\0\0\0\0\210\4\0\0\0\0\0\0`\5\0\0\0\0\0\0\0\0 \0\0\0\0\0\2\0\0\0\6\0\0\0\320\34\7\0\0\0\0\0\320\34'\0\0\0\0\0\320\34'\0\0\0\0\0\320\1\0\0\0\0\0\0\320\1\0\0\0\0\0\0\10\0\0\0\0\0\0\0\4\0\0\0\4\0\0\0\310\1\0\0\0\0\0\0\310\1\0\0\0\0\0\0\310\1\0\0\0\0\0\0$\0\0\0\0\0\0\0$\0\0\0\0\0\0\0\4\0\0\0\0\0\0\0P\345td\4\0\0\0\0\304\6\0\0\0\0\0\0\304\6\0\0\0\0\0\0\304\6\0\0\0\0\0\364\4\0\0\0\0\0\0\364\4\0\0\0\0\0\0\4\0\0\0\0\0\0\0Q\345td\6\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\20\0\0\0\0\0\0\0R\345td\4\0\0\0\250\33\7\0\0\0\0\0\250\33'\0\0\0\0\0\250\33'\0\0\0\0\0X\4\0\0\0\0\0\0X\4\0\0\0\0\0\0\1\0\0\0\0\0\0\0\4\0\0\0\24\0\0\0\3\0\0\0GNU\0\33r0n\360\1f\376\25\21\325q@\265\17\\\343A\27\16\0\0\0\0%\0\0\0\33\0\0\0\4\0\0\0\10\0\0\0B\204\t\0\202!\20\240\250@\0\23\304\320\201\30\2\242X@\30\"E\17\200\30\10\1\">\226\2\33\0\0\0\35\0\0\0\0\0\0\0\0\0\0\0\37\0\0\0 \0\0\0\0\0\0\0!\0\0\0\0\0\0\0\"\0\0\0\0\0\0\0$\0\0\0%\0\0\0'\0\0\0\0\0\0\0\0\0\0\0)\0\0\0+\0\0\0-\0\0\0.\0\0\0\0\0\0\0\0\0\0\0/\0\0\0001\0\0\0002\0\0\0004\0\0\0007\0\0\0\0\0\0\0\0\0\0\0008\0\0\0:\0\0\0<\0\0\0\0\0\0\0=\0\0\0\0\0\0\0>\0\0\0?\0\0\0&\206t\2005\317\205\323\270\201\272\305\21\177\27\257\225\273q3\353\323\357\16q\\\374\177\364\354\2212{\374\266NcG\32s\362\371\272n)\241H\16f\267\251\177o\316\312\205\272\360\375\177\227\17\332f\350\341\354\224\223\351\373\177o\331\3621\211\236\254\16\3447\234!\371\262E2\2552Vs\330qX\34\353\364\320\30\244vTi\272\343\222|-S>\36EX[\373\350\f.p\1\23\365\350BE\325\354w\257\326\223\355\7\262\236\313\207\345 ", 832) = 832
fstat(3, {st_mode=S_IFREG|0644, st_size=468920, ...}) = 0
mmap(NULL, 2564360, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f7394c73000
mprotect(0x7f7394ce5000, 2093056, PROT_NONE) = 0
mmap(0x7f7394ee4000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x71000) = 0x7f7394ee4000
close(3)                                = 0
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
open("/lib/x86_64-linux-gnu/libpthread.so.0", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0Pa\0\0\0\0\0\0@\0\0\0\0\0\0\0P\7\2\0\0\0\0\0\0\0\0\0@\0008\0\t\0@\0'\0&\0\6\0\0\0\5\0\0\0@\0\0\0\0\0\0\0@\0\0\0\0\0\0\0@\0\0\0\0\0\0\0\370\1\0\0\0\0\0\0\370\1\0\0\0\0\0\0\10\0\0\0\0\0\0\0\3\0\0\0\4\0\0\0 4\1\0\0\0\0\0 4\1\0\0\0\0\0 4\1\0\0\0\0\0\34\0\0\0\0\0\0\0\34\0\0\0\0\0\0\0\20\0\0\0\0\0\0\0\1\0\0\0\5\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\10x\1\0\0\0\0\0\10x\1\0\0\0\0\0\0\0 \0\0\0\0\0\1\0\0\0\6\0\0\0x{\1\0\0\0\0\0x{!\0\0\0\0\0x{!\0\0\0\0\0008\7\0\0\0\0\0\0\320H\0\0\0\0\0\0\0\0 \0\0\0\0\0\2\0\0\0\6\0\0\0P}\1\0\0\0\0\0P}!\0\0\0\0\0P}!\0\0\0\0\0000\2\0\0\0\0\0\0000\2\0\0\0\0\0\0\10\0\0\0\0\0\0\0\4\0\0\0\4\0\0\0008\2\0\0\0\0\0\0008\2\0\0\0\0\0\0008\2\0\0\0\0\0\0D\0\0\0\0\0\0\0D\0\0\0\0\0\0\0\4\0\0\0\0\0\0\0P\345td\4\0\0\0<4\1\0\0\0\0\0<4\1\0\0\0\0\0<4\1\0\0\0\0\0\304\10\0\0\0\0\0\0\304\10\0\0\0\0\0\0\4\0\0\0\0\0\0\0Q\345td\6\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\20\0\0\0\0\0\0\0R\345td\4\0\0\0x{\1\0\0\0\0\0x{!\0\0\0\0\0x{!\0\0\0\0\0\210\4\0\0\0\0\0\0\210\4\0\0\0\0\0\0\1\0\0\0\0\0\0\0\4\0\0\0\24\0\0\0\3\0\0\0GNU\0\331\223\206\6\321\312w\345\3344#\324\356\223\v=\257_v\307\4\0\0\0\20\0\0\0\1\0\0\0GNU\0\0\0\0\0\2\0\0\0\6\0\0\0 \0\0\0\0\0\0\0\345\1\0\0X\0\0\0 \0\0\0\v\0\0\0\31#\2\261\1\10\20\2@@a\370\3\10\10\25\200 \0\0\0\0\200\300\321Q\0\0\0\22\353\3020D\0\10\20A\0\2\0\2\f\1\200\v\221\1\330\240\r\240@\230 \244\200\21\n\202-l@g\214V\24\0\224 \200$H\200P(\1\22\f\311B\240\220\22\10\f \2ZdA\245c\4@\n\n\n\0\2009\1(\314D\204\201\300\22\10(\fD\0\0\0\200Q\10\200\35\4B\320\2608A\0\1\0\0\265\0300\0\200`\2\20\"\0\tA\20\1\5\0P(\251\22G(\0\0\202\4\230@\4\0\20\340T\0\2@\2\2\20\3010f\26\200\0", 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=135440, ...}) = 0
mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f7395ba7000
mmap(NULL, 2212936, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f7394a56000
mprotect(0x7f7394a6e000, 2093056, PROT_NONE) = 0
mmap(0x7f7394c6d000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x17000) = 0x7f7394c6d000
mmap(0x7f7394c6f000, 13384, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f7394c6f000
close(3)                                = 0
mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f7395ba5000
arch_prctl(ARCH_SET_FS, 0x7f7395ba5700) = 0
mprotect(0x7f739527a000, 16384, PROT_READ) = 0
mprotect(0x7f7394c6d000, 4096, PROT_READ) = 0
mprotect(0x7f7394ee4000, 4096, PROT_READ) = 0
mprotect(0x7f739548a000, 4096, PROT_READ) = 0
mprotect(0x7f73956a1000, 4096, PROT_READ) = 0
mprotect(0x7f73959b4000, 4096, PROT_READ) = 0
mprotect(0x561445aa4000, 4096, PROT_READ) = 0
mprotect(0x7f7395bda000, 4096, PROT_READ) = 0
munmap(0x7f7395ba9000, 185585)          = 0
set_tid_address(0x7f7395ba59d0)         = 18394
set_robust_list(0x7f7395ba59e0, 24)     = 0
rt_sigaction(SIGRTMIN, {sa_handler=0x7f7394a5bbd0, sa_mask=[], sa_flags=SA_RESTORER|SA_SIGINFO, sa_restorer=0x7f7394a670c0}, NULL, 8) = 0
rt_sigaction(SIGRT_1, {sa_handler=0x7f7394a5bc60, sa_mask=[], sa_flags=SA_RESTORER|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f7394a670c0}, NULL, 8) = 0
rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0
getrlimit(RLIMIT_STACK, {rlim_cur=8192*1024, rlim_max=RLIM64_INFINITY}) = 0
brk(NULL)                               = 0x5614476ca000
brk(0x5614476eb000)                     = 0x5614476eb000
rt_sigaction(SIGHUP, {sa_handler=0x5614458a0da0, sa_mask=[HUP], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7f7394f19030}, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=0}, 8) = 0
rt_sigaction(SIGTERM, {sa_handler=0x5614458a0da0, sa_mask=[TERM], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7f7394f19030}, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=0}, 8) = 0
rt_sigaction(SIGINT, {sa_handler=0x5614458a0da0, sa_mask=[INT], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7f7394f19030}, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=0}, 8) = 0
rt_sigaction(SIGQUIT, {sa_handler=0x5614458a0da0, sa_mask=[QUIT], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7f7394f19030}, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=0}, 8) = 0
write(2, "[ 7122.057770] ", 15[ 7122.057770] )         = 15
write(2, "[DEBUG]Reading file: /etc/bumblebee/bumblebee.conf\n", 51[DEBUG]Reading file: /etc/bumblebee/bumblebee.conf
) = 51
open("/usr/share/locale/locale.alias", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=2995, ...}) = 0
read(3, "# Locale name alias data base.\n# Copyright (C) 1996-2016 Free Software Foundation, Inc.\n#\n# This program is free software; you can redistribute it and/or modify\n# it under the terms of the GNU General Public License as published by\n# the Free Software Foundation; either version 2, or (at your option)\n# any later version.\n#\n# This program is distributed in the hope that it will be useful,\n# but WITHOUT ANY WARRANTY; without even the implied warranty of\n# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n# GNU General Public License for more details.\n#\n# You should have received a copy of the GNU General Public License\n# along with this program; if not, see <http://www.gnu.org/licenses/>.\n\n# The format of this file is the same as for the corresponding file of\n# the X Window System, which normally can be found in\n#\t/usr/lib/X11/locale/locale.alias\n# A single line contains two fields: an alias and a substitution value.\n# All entries are case independent.\n\n# Note: This file is obsolete and is kept around for the time being for\n# backward compatibility.  Nobody should rely on the names defined here.\n# Locales should always be specified by their full name.\n\n# Note: This file used to contain the following lines:\n#\tbokmaal\t\tnb_NO.ISO-8859-1\n#\tfranc,ais\tfr_FR.ISO-8859-1\n# except that the \"aa\" was actually the byte '\\0xE5' (the Latin-1\n# encoding for U+00E5 LATIN SMALL LETTER A WITH RING ABOVE) and the\n# \"c,\" was actually the byte '\\xE7' (the Latin-1 encoding for U+00E7\n# LATIN SMALL LETTER C WITH CEDILLA).  These lines were removed\n# because they caused 'locale -a' to output text encoded in Latin-1,\n# which broke applications in UTF-8 locales.  See:\n# https://sourceware.org/bugzilla/show_bug.cgi?id=18412\n\nbokmal\t\tnb_NO.ISO-8859-1\ncatalan\t\tca_ES.ISO-8859-1\ncroatian\thr_HR.ISO-8859-2\nczech\t\tcs_CZ.ISO-8859-2\ndanish          da_DK.ISO-8859-1\ndansk\t\tda_DK.ISO-8859-1\ndeutsch\t\tde_DE.ISO-8859-1\ndutch\t\tnl_NL.ISO-8859-1\neesti\t\tet_EE.ISO-8859-15\nestonian\tet_EE.ISO-8859-15\nfinnish         fi_FI.ISO-8859-1\nfrench\t\tfr_FR.ISO-"..., 4096) = 2995
read(3, "", 4096)                       = 0
close(3)                                = 0
futex(0x7f73959b64a8, FUTEX_WAKE_PRIVATE, 2147483647) = 0
open("/etc/bumblebee/bumblebee.conf", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=3055, ...}) = 0
read(3, "# Configuration file for Bumblebee. Values should **not** be put between quotes\n\n## Server options. Any change made in this section will need a server restart\n# to take effect.\n[bumblebeed]\n# The secondary Xorg server DISPLAY number\nVirtualDisplay=:8\n# Should the unused Xorg server be kept running? Set this to true if waiting\n# for X to be ready is too long and don't need power management at all.\nKeepUnusedXServer=false\n# The name of the Bumbleblee server group name (GID name)\nServerGroup=bumblebee\n# Card power state at exit. Set to false if the card shoud be ON when Bumblebee\n# server exits.\nTurnCardOffAtExit=false\n# The default behavior of '-f' option on optirun. If set to \"true\", '-f' will\n# be ignored.\nNoEcoModeOverride=false\n# The Driver used by Bumblebee server. If this value is not set (or empty),\n# auto-detection is performed. The available drivers are nvidia and nouveau\n# (See also the driver-specific sections below)\nDriver=nouveau\n# Directory with a dummy config file to pass as a -configdir to secondary X\nXorgConfDir=/etc/bumblebee/xorg.conf.d\n# Xorg binary to run\nXorgBinary=/usr/lib/xorg/Xorg\n\n## Client options. Will take effect on the next optirun executed.\n[optirun]\n# Acceleration/ rendering bridge, possible values are auto, virtualgl and\n# primus.\nBridge=auto\n# The method used for VirtualGL to transport frames between X servers.\n# Possible values are proxy, jpeg, rgb, xv and yuv.\nVGLTransport=proxy\n# List of paths which are searched for the primus libGL.so.1 when using\n# the primus bridge\nPrimusLibraryPath=/usr/lib/x86_64-linux-gnu/primus:/usr/lib/i386-linux-gnu/primus:/usr/lib/primus:/usr/lib32/primus\n# Should the program run under optirun even if Bumblebee server or nvidia card\n# is not available?\nAllowFallbackToIGC=false\n\n\n# Driver-specific settings are grouped under [driver-NAME]. The sections are\n# parsed if the Driver setting in [bumblebeed] is set to NAME (or if auto-\n# detection resolves to NAME).\n# PMMethod: method to use for saving power by disabling the nvidia card, valid\n# values are: au"..., 4096) = 3055
read(3, "", 4096)                       = 0
futex(0x7f73959b64a8, FUTEX_WAKE_PRIVATE, 2147483647) = 0
futex(0x7f73959b64a8, FUTEX_WAKE_PRIVATE, 2147483647) = 0
close(3)                                = 0
write(2, "[ 7122.058085] ", 15[ 7122.058085] )         = 15
write(2, "[INFO]Configured driver: nouveau\n", 33[INFO]Configured driver: nouveau
) = 33
socket(AF_UNIX, SOCK_STREAM|SOCK_CLOEXEC, 0) = 3
connect(3, {sa_family=AF_UNIX, sun_path="/var/run/bumblebee.socket"}, 110) = 0
sendto(3, "Query LibraryPath\0", 18, MSG_NOSIGNAL, NULL, 0) = 18
recvfrom(3, "Value: \n\0", 1024, 0, NULL, NULL) = 9
sendto(3, "Query VirtualDisplay\0", 21, MSG_NOSIGNAL, NULL, 0) = 21
recvfrom(3, "Value: :8\n\0", 1024, 0, NULL, NULL) = 11
write(2, "[ 7122.058260] ", 15[ 7122.058260] )         = 15
write(2, "[DEBUG]optirun version 3.2.1 starting...\n", 41[DEBUG]optirun version 3.2.1 starting...
) = 41
write(2, "[ 7122.058282] ", 15[ 7122.058282] )         = 15
write(2, "[DEBUG]Active configuration:\n", 29[DEBUG]Active configuration:
) = 29
write(2, "[ 7122.058301] ", 15[ 7122.058301] )         = 15
write(2, "[DEBUG] bumblebeed config file: /etc/bumblebee/bumblebee.conf\n", 62[DEBUG] bumblebeed config file: /etc/bumblebee/bumblebee.conf
) = 62
write(2, "[ 7122.058320] ", 15[ 7122.058320] )         = 15
write(2, "[DEBUG] X display: :8\n", 22[DEBUG] X display: :8
) = 22
write(2, "[ 7122.058343] ", 15[ 7122.058343] )         = 15
write(2, "[DEBUG] LD_LIBRARY_PATH: \n", 26[DEBUG] LD_LIBRARY_PATH:
) = 26
write(2, "[ 7122.058416] ", 15[ 7122.058416] )         = 15
write(2, "[DEBUG] Socket path: /var/run/bumblebee.socket\n", 47[DEBUG] Socket path: /var/run/bumblebee.socket
) = 47
write(2, "[ 7122.058449] ", 15[ 7122.058449] )         = 15
write(2, "[DEBUG] Accel/display bridge: auto\n", 35[DEBUG] Accel/display bridge: auto
) = 35
write(2, "[ 7122.058487] ", 15[ 7122.058487] )         = 15
write(2, "[DEBUG] VGL Compression: proxy\n", 31[DEBUG] VGL Compression: proxy
) = 31
write(2, "[ 7122.058529] ", 15[ 7122.058529] )         = 15
write(2, "[DEBUG] VGLrun extra options: \n", 31[DEBUG] VGLrun extra options:
) = 31
write(2, "[ 7122.058574] ", 15[ 7122.058574] )         = 15
write(2, "[DEBUG] Primus LD Path: /usr/lib/x86_64-linux-gnu/primus:/usr/lib/i386-linux-gnu/primus:/usr/lib/primus:/usr/lib32/primus\n", 122[DEBUG] Primus LD Path: /usr/lib/x86_64-linux-gnu/primus:/usr/lib/i386-linux-gnu/primus:/usr/lib/primus:/usr/lib32/primus
) = 122
access("/usr/local/sbin/vglrun", X_OK)  = 0
access("/usr/local/sbin/vglclient", X_OK) = 0
write(2, "[ 7122.058739] ", 15[ 7122.058739] )         = 15
write(2, "[DEBUG]Using auto-detected bridge virtualgl\n", 44[DEBUG]Using auto-detected bridge virtualgl
) = 44
sendto(3, "Connect \0", 9, MSG_NOSIGNAL, NULL, 0) = 9
recvfrom(3, "No - error: [XORG] (EE) Failed to load module \"mouse\" (module does not exist, 0)\n\0", 1024, 0, NULL, NULL) = 82
write(2, "[ 7122.299247] ", 15[ 7122.299247] )         = 15
write(2, "[INFO]Response: No - error: [XORG] (EE) Failed to load module \"mouse\" (module does not exist, 0)\n\n", 98[INFO]Response: No - error: [XORG] (EE) Failed to load module "mouse" (module does not exist, 0)

) = 98
write(2, "[ 7122.299312] ", 15[ 7122.299312] )         = 15
write(2, "[ERROR]Cannot access secondary GPU - error: [XORG] (EE) Failed to load module \"mouse\" (module does not exist, 0)\n\n", 114[ERROR]Cannot access secondary GPU - error: [XORG] (EE) Failed to load module "mouse" (module does not exist, 0)

) = 114
write(2, "[ 7122.299350] ", 15[ 7122.299350] )         = 15
write(2, "[DEBUG]Socket closed.\n", 22[DEBUG]Socket closed.
) = 22
shutdown(3, SHUT_RDWR)                  = 0
close(3)                                = 0
write(2, "[ 7122.299434] ", 15[ 7122.299434] )         = 15
write(2, "[ERROR]Aborting because fallback start is disabled.\n", 52[ERROR]Aborting because fallback start is disabled.
) = 52
write(2, "[ 7122.299463] ", 15[ 7122.299463] )         = 15
write(2, "[DEBUG]Killing all remaining processes.\n", 40[DEBUG]Killing all remaining processes.
) = 40
exit_group(1)                           = ?
+++ exited with 1 +++



I know this is all a bit negative, but I'm supremely frustrated and I'd like to get this to work on debian. Please don't offer 1st links on google as a solution to try. I'd really like to hear from someone who managed to get optimus to work on Debian. Bounus points if you know how to enable nvidia prime
User avatar
shrike
 
Posts: 13
Joined: 2015-04-29 12:55
Location: Graz

Re: continuous nvidia problems

Postby stevepusser » 2017-04-20 18:45

First, please give us the exact procedure that you are using that doesn't work, so we don't waste time telling you to do that again.

Also remember that Optimus laptops by default only expose the Intel GPU to the system--with Bumblebee running, the Nvidia GPU can be used only for 3d rendering that it then passes to the Intel display server. Some machines allow the Intel GPU to be disabled in the BIOS/UEFI setup, making it Nvidia only--that simplifies things at the cost of increased power consumption.

For what it's worth, the Bumblebee procedure in the Debian wiki worked for me and I assume for most people.
The MX Linux repositories: Backports galore! If we don't have something, just ask and we'll try--we like challenges. New packages: AzPainter 2.0.4, Pale Moon 27.2.1, Liquorix kernel 4.10-2, mpv 0.24, Kodi 17.1, Ksnip 1.3.1, Mesa 13.0.6
User avatar
stevepusser
 
Posts: 8045
Joined: 2009-10-06 05:53

Re: continuous nvidia problems

Postby shrike » 2017-04-21 05:07

Hi,

@stevepusser any chance you could tar your /etc/X11 and send it to me? I'd also like the output of your dpkg -l | egrep 'nvidia|bumblebee|optimus'

I followed debian wiki on bumblbee and this never worked on any laptop. Aside from normal wiki these are the ones I remember: https://www.unixmen.com/how-to-make-nvi ... on-debian/ and https://fixmynix.com/install-and-config ... in-debian/ googling the errors below that i get with mouse modules renders the same result: it can be anything at all whatsoever, the error is misleading. Keep in mind that on the same laptop ubunt/mint/suse bumblebee worked with no problem at all, and on ubuntu/mint it even worked with PRIME allowing me to run a whole DE on nvidia directly, not via optirun. See my frustration here?

See its funny tho, for almost everyone I know debian wiki procedure didn't work. No one could get nvidia to work on debian laptop irrelevant of experience with it (provided it is optimus combo). one thing I did notice is that blacklisting nouveau doesn't work, it still gets loaded (this is a real WTF). /etc/modprobe.d/nouveau-blacklist.conf has blacklist nouveau and I did run update-initramfs -u -k all to no avail .. this is one of the issues for sure (fact that this doesn't work is a complete BS on the part of debian maintainers).

Sorry for being so negative, this is really getting to me :/
User avatar
shrike
 
Posts: 13
Joined: 2015-04-29 12:55
Location: Graz

Re: continuous nvidia problems

Postby Head_on_a_Stick » 2017-04-21 06:15

shrike wrote:I followed debian wiki on bumblbee and this never worked on any laptop.

This is not enough detail...

There are several steps in the wiki and there are common errors that are made by many during the procedure.

Unless you list the *exact* steps taken (including any commands used and any the contents of any configuration files created), we have no way of knowing where the misstep is.

For the record, I have never owned an NVIDIA machine (as if!) but I have been able to help many others get Optimus working by following the Debian wiki guide so it does definitely work.

shrike wrote:one thing I did notice is that blacklisting nouveau doesn't work, it still gets loaded (this is a real WTF). /etc/modprobe.d/nouveau-blacklist.conf has blacklist nouveau and I did run update-initramfs -u -k all to no avail ..

That is indeed a real "WTF", as you say :?

Please post the full output of:
Code: Select all
lspci -knn | grep -iA2 'vga\|3d'
grep -R blacklist /etc/modprobe.d

You can blacklist the nouveau module from the GRUB screen by pressing "e" with the Debian menu entry highlighted and adding this to the end of the line that starts with "linux":
Code: Select all
modprobe.blacklist=nouveau

If that works, add it to /etc/default/grub and run `grub-mkconfig -o /boot/grub/grub.cfg` as root.
“Such is modern computing: everything simple is made too complicated because it’s easy to fiddle with; everything complicated stays complicated because it’s hard to fix." — Rob Pike

Please read before posting How to report a problem
User avatar
Head_on_a_Stick
 
Posts: 6409
Joined: 2014-06-01 17:46
Location: /dev/chair

Re: continuous nvidia problems

Postby shrike » 2017-04-21 06:40

Head_on_a_Stick wrote:
shrike wrote:I followed debian wiki on bumblbee and this never worked on any laptop.

This is not enough detail...

There are several steps in the wiki and there are common errors that are made by many during the procedure.
Unless you list the *exact* steps taken (including any commands used and any the contents of any configuration files created), we have no way of knowing where the misstep is.

I did everything as it said, no missed steps.

Head_on_a_Stick wrote:For the record, I have never owned an NVIDIA machine (as if!) but I have been able to help many others get Optimus working by following the Debian wiki guide so it does definitely work.

To me this is impressive since on 5 laptops this didn't work once and I don't know anyone in person to whom it did work. From my perspective those instructions are faulty at best.

Head_on_a_Stick wrote:Please post the full output of:
Code: Select all
lspci -knn | grep -iA2 'vga\|3d'
grep -R blacklist /etc/modprobe.d



Code: Select all
lspci -knn | grep -iA2 'vga\|3d'
00:02.0 VGA compatible controller [0300]: Intel Corporation Device [8086:5916] (rev 02)
        Subsystem: Acer Incorporated [ALI] Device [1025:111a]
        Kernel driver in use: i915
--
01:00.0 3D controller [0302]: NVIDIA Corporation GM107M [GeForce GTX 950M] [10de:139a] (rev a2)
        Subsystem: Acer Incorporated [ALI] GM107M [GeForce GTX 950M] [1025:111a]
        Kernel driver in use: nouveau


Code: Select all
grep -R blacklist /etc/modprobe.d/
/etc/modprobe.d/nouveau-blacklist.conf:blacklist nouveau
/etc/modprobe.d/amd64-microcode-blacklist.conf:blacklist microcode
/etc/modprobe.d/nvidia-blacklists-nouveau.conf:blacklist nouveau
/etc/modprobe.d/intel-microcode-blacklist.conf:blacklist microcode
/etc/modprobe.d/r8168-dkms.conf:# map the specific PCI IDs instead of blacklisting the whole r8169 module
/etc/modprobe.d/r8168-dkms.conf:# to blacklist the whole r8169 module
/etc/modprobe.d/r8168-dkms.conf:#blacklist r8169
/etc/modprobe.d/bumblebee.conf:blacklist nouveau
/etc/modprobe.d/bumblebee.conf:blacklist nvidia
/etc/modprobe.d/bumblebee.conf:blacklist nvidia-current
/etc/modprobe.d/bumblebee.conf:blacklist nvidia-legacy-304xx
/etc/modprobe.d/bumblebee.conf:blacklist nvidia-legacy-340xx
/etc/modprobe.d/bumblebee.conf:blacklist nvidia
/etc/modprobe.d/bumblebee.conf:blacklist nvidia-current
/etc/modprobe.d/bumblebee.conf:blacklist nvidia-current-updates
/etc/modprobe.d/bumblebee.conf:blacklist nvidia-304
/etc/modprobe.d/bumblebee.conf:blacklist nvidia-304-updates
/etc/modprobe.d/bumblebee.conf:blacklist nvidia-experimental-304
/etc/modprobe.d/bumblebee.conf:blacklist nvidia-310
/etc/modprobe.d/bumblebee.conf:blacklist nvidia-310-updates
/etc/modprobe.d/bumblebee.conf:blacklist nvidia-experimental-310
/etc/modprobe.d/bumblebee.conf:blacklist nvidia-313
/etc/modprobe.d/bumblebee.conf:blacklist nvidia-313-updates
/etc/modprobe.d/bumblebee.conf:blacklist nvidia-experimental-313
/etc/modprobe.d/bumblebee.conf:blacklist nvidia-319
/etc/modprobe.d/bumblebee.conf:blacklist nvidia-319-updates
/etc/modprobe.d/bumblebee.conf:blacklist nvidia-experimental-319
/etc/modprobe.d/bumblebee.conf:blacklist nvidia-325
/etc/modprobe.d/bumblebee.conf:blacklist nvidia-325-updates
/etc/modprobe.d/bumblebee.conf:blacklist nvidia-experimental-325
/etc/modprobe.d/bumblebee.conf:blacklist nvidia-331
/etc/modprobe.d/bumblebee.conf:blacklist nvidia-331-updates
/etc/modprobe.d/bumblebee.conf:blacklist nvidia-experimental-331
/etc/modprobe.d/bumblebee.conf:blacklist nvidia-334
/etc/modprobe.d/bumblebee.conf:blacklist nvidia-334-updates
/etc/modprobe.d/bumblebee.conf:blacklist nvidia-experimental-334
/etc/modprobe.d/bumblebee.conf:blacklist nvidia-337
/etc/modprobe.d/bumblebee.conf:blacklist nvidia-337-updates
/etc/modprobe.d/bumblebee.conf:blacklist nvidia-experimental-337
/etc/modprobe.d/bumblebee.conf:blacklist nvidia-340
/etc/modprobe.d/bumblebee.conf:blacklist nvidia-340-updates
/etc/modprobe.d/bumblebee.conf:blacklist nvidia-experimental-340
/etc/modprobe.d/bumblebee.conf:blacklist nvidia-343
/etc/modprobe.d/bumblebee.conf:blacklist nvidia-343-updates
/etc/modprobe.d/bumblebee.conf:blacklist nvidia-experimental-343
/etc/modprobe.d/bumblebee.conf:blacklist nvidia-346
/etc/modprobe.d/bumblebee.conf:blacklist nvidia-346-updates
/etc/modprobe.d/bumblebee.conf:blacklist nvidia-experimental-346
/etc/modprobe.d/bumblebee.conf:blacklist nvidia-349
/etc/modprobe.d/bumblebee.conf:blacklist nvidia-349-updates
/etc/modprobe.d/bumblebee.conf:blacklist nvidia-experimental-349
/etc/modprobe.d/bumblebee.conf:blacklist nvidia-352
/etc/modprobe.d/bumblebee.conf:blacklist nvidia-352-updates
/etc/modprobe.d/bumblebee.conf:blacklist nvidia-experimental-352
/etc/modprobe.d/bumblebee.conf:blacklist nvidia-355
/etc/modprobe.d/bumblebee.conf:blacklist nvidia-355-updates
/etc/modprobe.d/bumblebee.conf:blacklist nvidia-experimental-355
/etc/modprobe.d/bumblebee.conf:blacklist nvidia-358
/etc/modprobe.d/bumblebee.conf:blacklist nvidia-358-updates
/etc/modprobe.d/bumblebee.conf:blacklist nvidia-experimental-358
/etc/modprobe.d/bumblebee.conf:blacklist nvidia-361
/etc/modprobe.d/bumblebee.conf:blacklist nvidia-361-updates
/etc/modprobe.d/bumblebee.conf:blacklist nvidia-experimental-361
/etc/modprobe.d/bumblebee.conf:blacklist nvidia-364
/etc/modprobe.d/bumblebee.conf:blacklist nvidia-364-updates
/etc/modprobe.d/bumblebee.conf:blacklist nvidia-experimental-364
/etc/modprobe.d/bumblebee.conf:blacklist nvidia-367
/etc/modprobe.d/bumblebee.conf:blacklist nvidia-367-updates
/etc/modprobe.d/bumblebee.conf:blacklist nvidia-experimental-367


Head_on_a_Stick wrote:You can blacklist the nouveau module from the GRUB screen by pressing "e" with the Debian menu entry highlighted and adding this to the end of the line that starts with "linux":
Code: Select all
modprobe.blacklist=nouveau

If that works, add it to /etc/default/grub and run `grub-mkconfig -o /boot/grub/grub.cfg` as root.


I'll try this next. I did manage to solve the mouse module problem by reinstalling xorg packages and installing other ones, current error is:

Code: Select all
optirun pwd
[ 6468.168211] [ERROR]Cannot access secondary GPU, secondary X is not active.

[ 6468.168299] [ERROR]Aborting because fallback start is disabled.
User avatar
shrike
 
Posts: 13
Joined: 2015-04-29 12:55
Location: Graz

Re: continuous nvidia problems

Postby stevepusser » 2017-04-21 17:08

You've got to be missing a step, but if you don't want to list out the exact procedure you are following so we can see what it is, I can't help you--you're on your own.

As an example, here's a user that just got it working on Jessie with new hardware by finding a couple packages that they neglected to upgrade (not applicable to Stretch or to older hardware): viewtopic.php?f=7&t=132788
The MX Linux repositories: Backports galore! If we don't have something, just ask and we'll try--we like challenges. New packages: AzPainter 2.0.4, Pale Moon 27.2.1, Liquorix kernel 4.10-2, mpv 0.24, Kodi 17.1, Ksnip 1.3.1, Mesa 13.0.6
User avatar
stevepusser
 
Posts: 8045
Joined: 2009-10-06 05:53

Re: continuous nvidia problems

Postby shrike » 2017-04-21 17:33

stevepusser wrote:You've got to be missing a step, but if you don't want to list out the exact procedure you are following so we can see what it is, I can't help you--you're on your own.

I really don't know what more to provide here, I said exactly the steps I did - the ones from the debian wiki (https://wiki.debian.org/Bumblebee) and the 2 links provided earlier. Nothing worked. I didn't miss out any steps, assuming debian wiki has all the steps and it's not one of those "oh, we never wrote it but it is assumed you have to install entirely unrelated apps we never mention and apply this obscure git repo configuration we also didn't mention" things. Is this it? Is there something else I'm supposed to do but it's never mentioned or said for some reason? Because to me it's unbelievable that this absolutely never works on any laptop and to anyone I ever met. This topic is literally the first time in 5 years I ever heard anyone say that debian wiki worked for them.


stevepusser wrote:As an example, here's a user that just got it working on Jessie with new hardware by finding a couple packages that they neglected to upgrade (not applicable to Stretch or to older hardware): viewtopic.php?f=7&t=132788


Tnx, I'll check it out :)


Also, AGAIN, although nouveau didn't get loaded after adding grub line, I still see this in dmesg:
Code: Select all
[34075.647432] nouveau 0000:01:00.0: DRM: resuming kernel object tree...
[34075.647708] nouveau 0000:01:00.0: priv: HUB0: 6013d4 badf573f (1f408200)
[34075.743222] nouveau 0000:01:00.0: priv: HUB0: 10ecc0 ffffffff (1840822c)
[34075.763978] nouveau 0000:01:00.0: DRM: resuming client object trees...
[34082.755220] nouveau 0000:01:00.0: DRM: evicting buffers...
[34082.837665] nouveau 0000:01:00.0: DRM: waiting for kernel channels to go idle...
[34082.837689] nouveau 0000:01:00.0: DRM: suspending client object trees...
[34082.841601] nouveau 0000:01:00.0: DRM: suspending kernel object tree...
[34090.135418] nouveau 0000:01:00.0: DRM: resuming kernel object tree...
[34090.135773] nouveau 0000:01:00.0: priv: HUB0: 6013d4 badf573f (1f408200)
[34090.269064] nouveau 0000:01:00.0: priv: HUB0: 10ecc0 ffffffff (1840822c)
[34090.289903] nouveau 0000:01:00.0: DRM: resuming client object trees...
[34096.547005] nouveau 0000:01:00.0: DRM: evicting buffers...
[34096.547007] nouveau 0000:01:00.0: DRM: waiting for kernel channels to go idle...
[34096.547028] nouveau 0000:01:00.0: DRM: suspending client object trees...
[34096.550915] nouveau 0000:01:00.0: DRM: suspending kernel object tree...


and lshw -c video lists (notice 2nd line from bottom):
Code: Select all
 *-display
       description: 3D controller
       product: GM107M [GeForce GTX 950M]
       vendor: NVIDIA Corporation
       physical id: 0
       bus info: pci@0000:01:00.0
       version: a2
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress bus_master cap_list
       configuration: driver=nouveau latency=0
       resources: irq:130 memory:b3000000-b3ffffff memory:a0000000-afffffff memory:b0000000-b1ffffff ioport:4000(size=128)


Which is again, WTF. Why can't this stuff just not load and not use nouveau? This behavior is more appropriate for some shoddy experimental distro and not for stable and/or testing. Do I have to recompile kernel with no nouveau to make sure it's not used? Why? What's the point of blacklisting modules then? How hard can this be to implement properly? My current line in grub.cfg with which it booted:

Code: Select all
        linux   /boot/vmlinuz-4.9.0-2-amd64 root=UUID=7713bfbc-aee5-4047-bd03-5f5955375507 ro  quiet pcie_aspm=off rcutree.rcu_idle_gp_delay=1 nouveau.blacklist=1


To me this whole thing looks like debian developers just couldn't possibly care less about the nvida/graphics stack and simply ship the first compile and hope for the best.
Last edited by shrike on 2017-04-22 05:24, edited 1 time in total.
User avatar
shrike
 
Posts: 13
Joined: 2015-04-29 12:55
Location: Graz

Re: continuous nvidia problems

Postby stevepusser » 2017-04-21 20:02

So, what version of the driver did the nvidia-detect script tell you to use when you ran it?
The MX Linux repositories: Backports galore! If we don't have something, just ask and we'll try--we like challenges. New packages: AzPainter 2.0.4, Pale Moon 27.2.1, Liquorix kernel 4.10-2, mpv 0.24, Kodi 17.1, Ksnip 1.3.1, Mesa 13.0.6
User avatar
stevepusser
 
Posts: 8045
Joined: 2009-10-06 05:53

Re: continuous nvidia problems

Postby shrike » 2017-04-22 02:03

stevepusser wrote:So, what version of the driver did the nvidia-detect script tell you to use when you ran it?


None:)

Code: Select all
nvidia-detect
No NVIDIA GPU detected.


If I set bumblebee to work with nouveau it sys it doesn't support NV117 chipset (unknown chipset). Keep in mind that lshw and lspci do report nvidia card and there in fact is one.
User avatar
shrike
 
Posts: 13
Joined: 2015-04-29 12:55
Location: Graz

Re: continuous nvidia problems

Postby shrike » 2017-04-22 05:22

Currently I'm compiling kernel 4.10 with nouveau removed. I'll purge all the prime|optimus packages and start from zero with custom kernel and NVIDIA-Linux-x86_64-378.13.run driver version (currently it's 375.39-1 from the repo). I'd like to make one thing clear - I didn't miss any steps. I paid special attention not to miss anything out precisely to avoid whopsy-daisy situations. Googling this issue shows me that I'm hardly the only one who has this exact same issue.
User avatar
shrike
 
Posts: 13
Joined: 2015-04-29 12:55
Location: Graz

Re: continuous nvidia problems

Postby shrike » 2017-04-22 11:57

I can't make the kerenel image now.... kernel-pacage seems broken. This is the error I get:

Code: Select all
debian/ruleset/targets/common.mk:295: recipe for target 'debian/stamp/build/kernel' failed
make: *** [debian/stamp/build/kernel] Error 2


All and all, that's it from me. I give up on getting nvidia to work and on debian. I've been using it since woody, I was a big fan of it and a supporter but as time progresses this distro is getting worse and worse. Too many problems, too much hassle to deal with, basic stuff works really bad. Lately almost everything I use has bugs, weird or random behavior or keeps failing. I really don't want to waste my time any more. After over a decade I give up on Debian as well as it has become a horrible distro. I hope that the Debian project gets proper QA done and some debugging becuase this behavior would be appropriate for sid/experimental and nothing else :/ :(

Thank you everyone who tried to help me, you guys rock. I mean it :)
User avatar
shrike
 
Posts: 13
Joined: 2015-04-29 12:55
Location: Graz

Re: continuous nvidia problems

Postby stevepusser » 2017-04-22 16:18

Now you make me want to see if our MX-16 Linux Nvidia driver auto-installer, which aims to detect and install bumblebee-nividia automagically on Optimus systems, will have troubles with your machines, too. The 64-bit ISO should cover newer hardware, 32-bit just has the stock Jessie kernel.

Our developer also passed what we had learned on to the SolydXK developers, so their Device Driver Manager may also now incorporate the same ability. Both these distros are based on Debian Jessie with added tweaks.
The MX Linux repositories: Backports galore! If we don't have something, just ask and we'll try--we like challenges. New packages: AzPainter 2.0.4, Pale Moon 27.2.1, Liquorix kernel 4.10-2, mpv 0.24, Kodi 17.1, Ksnip 1.3.1, Mesa 13.0.6
User avatar
stevepusser
 
Posts: 8045
Joined: 2009-10-06 05:53

Re: continuous nvidia problems

Postby shrike » 2017-04-23 05:57

stevepusser wrote:Now you make me want to see if our MX-16 Linux Nvidia driver auto-installer, which aims to detect and install bumblebee-nividia automagically on Optimus systems, will have troubles with your machines, too. The 64-bit ISO should cover newer hardware, 32-bit just has the stock Jessie kernel.

Our developer also passed what we had learned on to the SolydXK developers, so their Device Driver Manager may also now incorporate the same ability. Both these distros are based on Debian Jessie with added tweaks.


I'll try MX-16 and pass the results in the next few days.
User avatar
shrike
 
Posts: 13
Joined: 2015-04-29 12:55
Location: Graz


Return to Hardware

Who is online

Users browsing this forum: No registered users and 5 guests

fashionable