No protocol specified über root

Du kommst mit der Installation nicht voran oder willst noch was nachfragen? Schau auch in den "Tipps und Tricks"-Bereich.
Antworten
BambusRuediger
Beiträge: 6
Registriert: 15.03.2020 16:55:00

No protocol specified über root

Beitrag von BambusRuediger » 15.03.2020 18:13:15

Hallöchen,
ich hab da ein kleines Problem. Ich hatte Probleme mit meiner nvidia Grafikkarte auf Debian 10 buster, dessen Treiber ich neu installiert habe, zusammen mit Bumblebee und Optimus und seitdem habe ich das merkwürdige Problem.

Über optirun glxgears bekomme ich folgende Ausgabe:

Code: Alles auswählen

No protocol specified
primus: fatal: failed to open main X display
Über xhost + bekomme ich die Meldung

Code: Alles auswählen

xhost:  unable to open display ":0"
Dabei habe im Gegensatz zu den anderen, die ich auf meiner langen Googlesuche gefunden habe, habe ich keine Probleme grafische Anwendungen über das Terminal zu öffnen, sondern nur Anwendungen die sich potentiell auf die Grafikkarte beziehen könnten, bspw WINE.

Ausgabe von nvidia detect:

Code: Alles auswählen

01:00.0 3D controller [0302]: NVIDIA Corporation GM107 [GeForce 940MX] [10de:179c] (rev ff)

Checking card:  NVIDIA Corporation GM107 [GeForce 940MX] (rev ff)
Your card is supported by the default drivers and legacy driver series 390.
It is recommended to install the
    nvidia-driver
package.
Ausgabe von lspci -vnnn | grep VGA:

Code: Alles auswählen

00:02.0 VGA compatible controller [0300]: Intel Corporation HD Graphics 520 [8086:1916] (rev 07) (prog-if 00 [VGA controller])
Ausgabe von optirun -vv glxspheres:

Code: Alles auswählen

[ 8654.244559] [DEBUG]Reading file: /etc/bumblebee/bumblebee.conf
[ 8654.245476] [INFO]Configured driver: nvidia
[ 8654.246157] [DEBUG]optirun version 3.2.1 starting...
[ 8654.246226] [DEBUG]Active configuration:
[ 8654.246249] [DEBUG] bumblebeed config file: /etc/bumblebee/bumblebee.conf
[ 8654.246272] [DEBUG] X display: :8
[ 8654.246312] [DEBUG] LD_LIBRARY_PATH: /usr/lib/x86_64-linux-gnu/nvidia:/usr/lib/i386-linux-gnu/nvidia:/usr/lib/nvidia
[ 8654.246338] [DEBUG] Socket path: /var/run/bumblebee.socket
[ 8654.246359] [DEBUG] Accel/display bridge: auto
[ 8654.246384] [DEBUG] VGL Compression: proxy
[ 8654.246426] [DEBUG] VGLrun extra options: 
[ 8654.246452] [DEBUG] Primus LD Path: /usr/lib/x86_64-linux-gnu/primus:/usr/lib/i386-linux-gnu/primus:/usr/lib/primus:/usr/lib32/primus
[ 8654.246705] [DEBUG]Using auto-detected bridge primus
[ 8654.966196] [INFO]Response: Yes. X is active.

[ 8654.966216] [INFO]Running application using primus.
[ 8654.966320] [DEBUG]Process glxspheres started, PID 14871.
[ 8654.966412] [ERROR]Error running "glxspheres": No such file or directory
[ 8654.966692] [DEBUG]SIGCHILD received, but wait failed with No child processes
[ 8654.966709] [DEBUG]Socket closed.
[ 8654.966723] [DEBUG]Killing all remaining processes.
Ausgabe von xauth info:

Code: Alles auswählen

auth info
xauth:  file /root/.Xauthority does not exist
Authority file:       /root/.Xauthority
File new:             yes
File locked:          no
Number of entries:    0
Changes honored:      yes
Changes made:         no
Current input:        (argv):1
/etc/X11/xorg.conf.d/20-nvidia.conf:

Code: Alles auswählen

# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig:  version 418.56

# Insert any additional custom configurations, below:

Section "ServerLayout"
    Identifier     "Default Layout"
    Screen         "Default Screen" 0 0
    InputDevice    "Keyboard0" "CoreKeyboard"
    InputDevice    "Mouse0" "CorePointer"
EndSection

Section "Module"
    Load           "modesetting"
    Load           "glx"
EndSection

Section "InputDevice"
    # generated from default
    Identifier     "Keyboard0"
    Driver         "kbd"
EndSection

Section "InputDevice"
    # generated from default
    Identifier     "Mouse0"
    Driver         "mouse"
    Option         "Protocol" "auto"
    Option         "Device" "/dev/psaux"
    Option         "Emulate3Buttons" "no"
    Option         "ZAxisMapping" "4 5"
EndSection

Section "Device"
    Identifier     "nvidia"
    Driver         "nvidia"
EndSection

Section "Screen"
    Identifier     "Default Screen"
    Device         "nvidia"
    DefaultDepth    24
    Option         "AllowEmptyInitialConfiguration"
    SubSection     "Display"
        Depth       24
        Modes      "nvidia-auto-select"
    EndSubSection
EndSection
Xorg.8.log:

Code: Alles auswählen

[  8860.632] 
X.Org X Server 1.20.4
X Protocol Version 11, Revision 0
[  8860.632] Build Operating System: Linux 4.9.0-8-amd64 x86_64 Debian
[  8860.632] Current Operating System: Linux debian 4.19.0-8-amd64 #1 SMP Debian 4.19.98-1 (2020-01-26) x86_64
[  8860.632] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-4.19.0-8-amd64 root=UUID=e113c95f-2428-4063-8962-cb7e49a15eb7 ro quiet
[  8860.632] Build Date: 05 March 2019  08:11:12PM
[  8860.632] xorg-server 2:1.20.4-1 (https://www.debian.org/support) 
[  8860.632] Current version of pixman: 0.36.0
[  8860.632] 	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
[  8860.632] Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[  8860.632] (==) Log file: "/var/log/Xorg.8.log", Time: Sun Mar 15 17:28:01 2020
[  8860.632] (++) Using config file: "/etc/bumblebee/xorg.conf.nvidia"
[  8860.632] (++) Using config directory: "/etc/bumblebee/xorg.conf.d"
[  8860.632] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[  8860.632] (==) ServerLayout "Layout0"
[  8860.632] (==) No screen section available. Using defaults.
[  8860.632] (**) |-->Screen "Default Screen Section" (0)
[  8860.632] (**) |   |-->Monitor "<default monitor>"
[  8860.632] (==) No device specified for screen "Default Screen Section".
	Using the first device section listed.
[  8860.632] (**) |   |-->Device "DiscreteNvidia"
[  8860.632] (==) No monitor specified for screen "Default Screen Section".
	Using a default monitor configuration.
[  8860.632] (**) Option "AutoAddDevices" "false"
[  8860.632] (**) Option "AutoAddGPU" "false"
[  8860.632] (**) Not automatically adding devices
[  8860.632] (==) Automatically enabling devices
[  8860.632] (**) Not automatically adding GPU devices
[  8860.633] (==) Max clients allowed: 256, resource mask: 0x1fffff
[  8860.633] (WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
[  8860.633] 	Entry deleted from font path.
[  8860.633] (==) FontPath set to:
	/usr/share/fonts/X11/misc,
	/usr/share/fonts/X11/100dpi/:unscaled,
	/usr/share/fonts/X11/75dpi/:unscaled,
	/usr/share/fonts/X11/Type1,
	/usr/share/fonts/X11/100dpi,
	/usr/share/fonts/X11/75dpi,
	built-ins
[  8860.633] (++) ModulePath set to "/usr/lib/nvidia/nvidia,/usr/lib/xorg/modules"
[  8860.633] (==) |-->Input Device "<default pointer>"
[  8860.633] (==) |-->Input Device "<default keyboard>"
[  8860.633] (==) The core pointer device wasn't specified explicitly in the layout.
	Using the default mouse configuration.
[  8860.633] (==) The core keyboard device wasn't specified explicitly in the layout.
	Using the default keyboard configuration.
[  8860.633] (II) Loader magic: 0x55db1bc0ae20
[  8860.633] (II) Module ABI versions:
[  8860.633] 	X.Org ANSI C Emulation: 0.4
[  8860.633] 	X.Org Video Driver: 24.0
[  8860.633] 	X.Org XInput driver : 24.1
[  8860.633] 	X.Org Server Extension : 10.0
[  8860.633] (--) using VT number 2

[  8860.633] (II) systemd-logind: logind integration requires -keeptty and -keeptty was not provided, disabling logind integration
[  8860.634] (II) xfree86: Adding drm device (/dev/dri/card0)
[  8860.634] (EE) /dev/dri/card0: failed to set DRM interface version 1.4: Permission denied
[  8860.636] (--) PCI:*(1@0:0:0) 10de:179c:1025:1094 rev 162, Mem @ 0xc3000000/16777216, 0xb0000000/268435456, 0xc0000000/33554432, I/O @ 0x00004000/128, BIOS @ 0x????????/524288
[  8860.636] (II) LoadModule: "glx"
[  8860.636] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[  8860.647] (II) Module glx: vendor="X.Org Foundation"
[  8860.647] 	compiled for 1.20.4, module version = 1.0.0
[  8860.647] 	ABI class: X.Org Server Extension, version 10.0
[  8860.647] (II) LoadModule: "nvidia"
[  8860.647] (II) Loading /usr/lib/nvidia/nvidia/nvidia_drv.so
[  8860.649] (II) Module nvidia: vendor="NVIDIA Corporation"
[  8860.649] 	compiled for 4.0.2, module version = 1.0.0
[  8860.649] 	Module class: X.Org Video Driver
[  8860.649] (II) LoadModule: "mouse"
[  8860.649] (WW) Warning, couldn't open module mouse
[  8860.649] (EE) Failed to load module "mouse" (module does not exist, 0)
[  8860.649] (II) LoadModule: "kbd"
[  8860.649] (WW) Warning, couldn't open module kbd
[  8860.649] (EE) Failed to load module "kbd" (module does not exist, 0)
[  8860.649] (II) NVIDIA dlloader X Driver  418.74  Wed May  1 11:26:02 CDT 2019
[  8860.649] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
[  8860.649] (II) Loading sub module "fb"
[  8860.649] (II) LoadModule: "fb"
[  8860.649] (II) Loading /usr/lib/xorg/modules/libfb.so
[  8860.650] (II) Module fb: vendor="X.Org Foundation"
[  8860.650] 	compiled for 1.20.4, module version = 1.0.0
[  8860.650] 	ABI class: X.Org ANSI C Emulation, version 0.4
[  8860.650] (II) Loading sub module "wfb"
[  8860.650] (II) LoadModule: "wfb"
[  8860.650] (II) Loading /usr/lib/xorg/modules/libwfb.so
[  8860.651] (II) Module wfb: vendor="X.Org Foundation"
[  8860.651] 	compiled for 1.20.4, module version = 1.0.0
[  8860.651] 	ABI class: X.Org ANSI C Emulation, version 0.4
[  8860.651] (II) Loading sub module "ramdac"
[  8860.651] (II) LoadModule: "ramdac"
[  8860.651] (II) Module "ramdac" already built-in
[  8860.651] (II) NVIDIA(0): Creating default Display subsection in Screen section
	"Default Screen Section" for depth/fbbpp 24/32
[  8860.651] (==) NVIDIA(0): Depth 24, (==) framebuffer bpp 32
[  8860.651] (==) NVIDIA(0): RGB weight 888
[  8860.651] (==) NVIDIA(0): Default visual is TrueColor
[  8860.651] (==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0)
[  8860.651] (**) NVIDIA(0): Option "ProbeAllGpus" "false"
[  8860.651] (**) NVIDIA(0): Option "UseEDID" "false"
[  8860.651] (**) NVIDIA(0): Option "UseDisplayDevice" "none"
[  8860.652] (**) NVIDIA(0): Enabling 2D acceleration
[  8860.652] (**) NVIDIA(0): Ignoring EDIDs
[  8860.652] (**) NVIDIA(0): Option "UseDisplayDevice" set to "none"; enabling NoScanout
[  8860.652] (**) NVIDIA(0):     mode
[  8860.652] (II) Loading sub module "glxserver_nvidia"
[  8860.652] (II) LoadModule: "glxserver_nvidia"
[  8860.652] (II) Loading /usr/lib/nvidia/nvidia/libglxserver_nvidia.so
[  8860.680] (II) Module glxserver_nvidia: vendor="NVIDIA Corporation"
[  8860.680] 	compiled for 4.0.2, module version = 1.0.0
[  8860.680] 	Module class: X.Org Server Extension
[  8860.680] (II) NVIDIA GLX Module  418.74  Wed May  1 11:24:49 CDT 2019
[  8861.062] (II) NVIDIA(0): NVIDIA GPU GeForce 940MX (GM107-B) at PCI:1:0:0 (GPU-0)
[  8861.062] (--) NVIDIA(0): Memory: 2097152 kBytes
[  8861.062] (--) NVIDIA(0): VideoBIOS: 82.07.9b.00.ab
[  8861.062] (II) NVIDIA(0): Detected PCI Express Link width: 16X
[  8861.062] (II) NVIDIA(0): Validated MetaModes:
[  8861.062] (II) NVIDIA(0):     "NULL"
[  8861.062] (II) NVIDIA(0): Virtual screen size determined to be 640 x 480
[  8861.062] (WW) NVIDIA(0): Unable to get display device for DPI computation.
[  8861.062] (==) NVIDIA(0): DPI set to (75, 75); computed from built-in default
[  8861.062] (II) NVIDIA: Using 6144.00 MB of virtual memory for indirect memory
[  8861.062] (II) NVIDIA:     access.
[  8861.066] (II) NVIDIA(0): ACPI: failed to connect to the ACPI event daemon; the daemon
[  8861.066] (II) NVIDIA(0):     may not be running or the "AcpidSocketPath" X
[  8861.066] (II) NVIDIA(0):     configuration option may not be set correctly.  When the
[  8861.066] (II) NVIDIA(0):     ACPI event daemon is available, the NVIDIA X driver will
[  8861.066] (II) NVIDIA(0):     try to use it to receive ACPI event notifications.  For
[  8861.066] (II) NVIDIA(0):     details, please see the "ConnectToAcpid" and
[  8861.066] (II) NVIDIA(0):     "AcpidSocketPath" X configuration options in Appendix B: X
[  8861.066] (II) NVIDIA(0):     Config Options in the README.
[  8861.086] (II) NVIDIA(0): Setting mode "NULL"
[  8861.091] (==) NVIDIA(0): Disabling shared memory pixmaps
[  8861.091] (==) NVIDIA(0): Backing store enabled
[  8861.091] (==) NVIDIA(0): Silken mouse enabled
[  8861.092] (==) NVIDIA(0): DPMS enabled
[  8861.092] (WW) NVIDIA(0): Option "NoLogo" is not used
[  8861.092] (II) Loading sub module "dri2"
[  8861.092] (II) LoadModule: "dri2"
[  8861.092] (II) Module "dri2" already built-in
[  8861.092] (II) NVIDIA(0): [DRI2] Setup complete
[  8861.092] (II) NVIDIA(0): [DRI2]   VDPAU driver: nvidia
[  8861.092] (II) Initializing extension Generic Event Extension
[  8861.092] (II) Initializing extension SHAPE
[  8861.092] (II) Initializing extension MIT-SHM
[  8861.092] (II) Initializing extension XInputExtension
[  8861.093] (II) Initializing extension XTEST
[  8861.093] (II) Initializing extension BIG-REQUESTS
[  8861.093] (II) Initializing extension SYNC
[  8861.093] (II) Initializing extension XKEYBOARD
[  8861.093] (II) Initializing extension XC-MISC
[  8861.093] (II) Initializing extension SECURITY
[  8861.093] (II) Initializing extension XFIXES
[  8861.093] (II) Initializing extension RENDER
[  8861.094] (II) Initializing extension RANDR
[  8861.094] (II) Initializing extension COMPOSITE
[  8861.094] (II) Initializing extension DAMAGE
[  8861.094] (II) Initializing extension MIT-SCREEN-SAVER
[  8861.094] (II) Initializing extension DOUBLE-BUFFER
[  8861.094] (II) Initializing extension RECORD
[  8861.094] (II) Initializing extension DPMS
[  8861.094] (II) Initializing extension Present
[  8861.094] (II) Initializing extension DRI3
[  8861.094] (II) Initializing extension X-Resource
[  8861.095] (II) Initializing extension XVideo
[  8861.095] (II) Initializing extension XVideo-MotionCompensation
[  8861.095] (II) Initializing extension SELinux
[  8861.095] (II) SELinux: Disabled on system
[  8861.095] (II) Initializing extension GLX
[  8861.095] (II) Initializing extension GLX
[  8861.095] (II) Indirect GLX disabled.
[  8861.095] (II) GLX: Another vendor is already registered for screen 0
[  8861.095] (II) Initializing extension XFree86-VidModeExtension
[  8861.095] (II) Initializing extension XFree86-DGA
[  8861.095] (II) Initializing extension XFree86-DRI
[  8861.095] (II) Initializing extension DRI2
[  8861.095] (II) Initializing extension NV-GLX
[  8861.095] (II) Initializing extension NV-CONTROL
[  8861.145] (II) LoadModule: "mouse"
[  8861.145] (WW) Warning, couldn't open module mouse
[  8861.145] (EE) Failed to load module "mouse" (module does not exist, 0)
[  8861.145] (EE) No input driver matching `mouse'
[  8861.145] (II) Falling back to input driver `libinput'
[  8861.145] (II) LoadModule: "libinput"
[  8861.145] (II) Loading /usr/lib/xorg/modules/input/libinput_drv.so
[  8861.152] (II) Module libinput: vendor="X.Org Foundation"
[  8861.152] 	compiled for 1.20.4, module version = 0.28.2
[  8861.152] 	Module class: X.Org XInput Driver
[  8861.152] 	ABI class: X.Org XInput driver, version 24.1
[  8861.152] (II) Using input driver 'libinput' for '<default pointer>'
[  8861.152] (**) Option "CorePointer" "on"
[  8861.152] (**) <default pointer>: always reports core events
[  8861.152] (EE) PreInit returned 2 for "<default pointer>"
[  8861.152] (II) UnloadModule: "libinput"
[  8861.152] (II) LoadModule: "kbd"
[  8861.152] (WW) Warning, couldn't open module kbd
[  8861.152] (EE) Failed to load module "kbd" (module does not exist, 0)
[  8861.152] (EE) No input driver matching `kbd'
[  8861.152] (II) Falling back to input driver `libinput'
[  8861.152] (II) Using input driver 'libinput' for '<default keyboard>'
[  8861.152] (**) Option "CoreKeyboard" "on"
[  8861.152] (**) <default keyboard>: always reports core events
[  8861.152] (EE) PreInit returned 2 for "<default keyboard>"
[  8861.152] (II) UnloadModule: "libinput"
[  8861.163] (II) config/udev: Adding input device Power Button (/dev/input/event4)
[  8861.163] (II) AutoAddDevices is off - not adding device.
[  8861.164] (II) config/udev: Adding input device Video Bus (/dev/input/event7)
[  8861.164] (II) AutoAddDevices is off - not adding device.
[  8861.165] (II) config/udev: Adding input device Video Bus (/dev/input/event8)
[  8861.165] (II) AutoAddDevices is off - not adding device.
[  8861.166] (II) config/udev: Adding input device Power Button (/dev/input/event1)
[  8861.166] (II) AutoAddDevices is off - not adding device.
[  8861.166] (II) config/udev: Adding input device Lid Switch (/dev/input/event3)
[  8861.166] (II) AutoAddDevices is off - not adding device.
[  8861.167] (II) config/udev: Adding input device Sleep Button (/dev/input/event2)
[  8861.167] (II) AutoAddDevices is off - not adding device.
[  8861.167] (II) config/udev: Adding drm device (/dev/dri/card0)
[  8861.167] (II) xfree86: Adding drm device (/dev/dri/card0)
[  8861.167] (EE) /dev/dri/card0: failed to set DRM interface version 1.4: Permission denied
[  8861.168] (II) config/udev: Adding input device ROCCAT ROCCAT Kone EMP Mouse (/dev/input/event18)
[  8861.168] (II) AutoAddDevices is off - not adding device.
[  8861.168] (II) config/udev: Adding input device ROCCAT ROCCAT Kone EMP Mouse (/dev/input/mouse1)
[  8861.168] (II) AutoAddDevices is off - not adding device.
[  8861.169] (II) config/udev: Adding input device ROCCAT ROCCAT Kone EMP Consumer Control (/dev/input/event19)
[  8861.169] (II) AutoAddDevices is off - not adding device.
[  8861.170] (II) config/udev: Adding input device ROCCAT ROCCAT Kone EMP System Control (/dev/input/event20)
[  8861.170] (II) AutoAddDevices is off - not adding device.
[  8861.171] (II) config/udev: Adding input device ROCCAT ROCCAT Kone EMP (/dev/input/event21)
[  8861.171] (II) AutoAddDevices is off - not adding device.
[  8861.171] (II) config/udev: Adding input device ROCCAT ROCCAT Kone EMP (/dev/input/event22)
[  8861.171] (II) AutoAddDevices is off - not adding device.
[  8861.172] (II) config/udev: Adding input device HD WebCam: HD WebCam (/dev/input/event6)
[  8861.172] (II) AutoAddDevices is off - not adding device.
[  8861.173] (II) config/udev: Adding input device ELAN0501:00 04F3:3019 Touchpad (/dev/input/event5)
[  8861.173] (II) AutoAddDevices is off - not adding device.
[  8861.173] (II) config/udev: Adding input device ELAN0501:00 04F3:3019 Touchpad (/dev/input/mouse0)
[  8861.173] (II) AutoAddDevices is off - not adding device.
[  8861.174] (II) config/udev: Adding input device HDA Digital PCBeep (/dev/input/event11)
[  8861.174] (II) AutoAddDevices is off - not adding device.
[  8861.174] (II) config/udev: Adding input device HDA Intel PCH Front Headphone (/dev/input/event12)
[  8861.174] (II) AutoAddDevices is off - not adding device.
[  8861.174] (II) config/udev: Adding input device HDA Intel PCH HDMI/DP,pcm=3 (/dev/input/event13)
[  8861.174] (II) AutoAddDevices is off - not adding device.
[  8861.175] (II) config/udev: Adding input device HDA Intel PCH HDMI/DP,pcm=7 (/dev/input/event14)
[  8861.175] (II) AutoAddDevices is off - not adding device.
[  8861.175] (II) config/udev: Adding input device HDA Intel PCH HDMI/DP,pcm=8 (/dev/input/event15)
[  8861.175] (II) AutoAddDevices is off - not adding device.
[  8861.175] (II) config/udev: Adding input device HDA Intel PCH HDMI/DP,pcm=9 (/dev/input/event16)
[  8861.175] (II) AutoAddDevices is off - not adding device.
[  8861.176] (II) config/udev: Adding input device HDA Intel PCH HDMI/DP,pcm=10 (/dev/input/event17)
[  8861.176] (II) AutoAddDevices is off - not adding device.
[  8861.176] (II) config/udev: Adding input device AT Translated Set 2 keyboard (/dev/input/event0)
[  8861.176] (II) AutoAddDevices is off - not adding device.
[  8861.176] (II) config/udev: Adding input device PC Speaker (/dev/input/event9)
[  8861.176] (II) AutoAddDevices is off - not adding device.
[  8861.177] (II) config/udev: Adding input device Acer WMI hotkeys (/dev/input/event10)
[  8861.177] (II) AutoAddDevices is off - not adding device.
[  8861.177] (II) config/udev: Adding input device 00:16:0C:11:72:B6 (/dev/input/event23)
[  8861.177] (II) AutoAddDevices is off - not adding device.
[  8861.207] (II) NVIDIA(GPU-0): Deleting GPU-0
[  8861.208] (II) Server terminated successfully (0). Closing log file.
Bumblebee.conf:

Code: Alles auswählen

# 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=nvidia
# Directory with a dummy config file to pass as a -configdir to secondary X
XorgConfDir=/etc/bumblebee/xorg.conf.d
# Xorg binary to run
XorgBinary=/usr/lib/xorg/Xorg

## 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/nvidia,/usr/lib/xorg/modules
XorgConfFile=/etc/bumblebee/xorg.conf.nvidia
# If set to true, will always unload the kernel module(s) even with
# PMMethod=none - useful for newer Optimus models on which the kernel power
# management works out of the box to power the card on/off without bbswitch.
AlwaysUnloadKernelDriver=false

## Section with nouveau driver specific options, only parsed if Driver=nouveau
[driver-nouveau]
KernelDriver=nouveau
PMMethod=auto
XorgConfFile=/etc/bumblebee/xorg.conf.nouveau
Betriebssystem:
Linux debian 4.19.0-8-amd64 #1 SMP Debian 4.19.98-1 (2020-01-26) x86_64 GNU/Linux


Ich hoffe ich hab nichts vergessen und danke schon im vorraus für jeden der mir helfen versucht, ich verzweifel schon langsam hier :)

willy4711

Re: No protocol specified über root

Beitrag von willy4711 » 15.03.2020 18:30:15

Bist du mit Gnpme oder KDE mit Wayland zugange ?
BambusRuediger hat geschrieben: ↑ zum Beitrag ↑
15.03.2020 18:13:15

Code: Alles auswählen

# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig:  version 418.56
BambusRuediger hat geschrieben: ↑ zum Beitrag ↑
15.03.2020 18:13:15

Code: Alles auswählen

01:00.0 3D controller [0302]: NVIDIA Corporation GM107 [GeForce 940MX] [10de:179c] (rev ff)

Checking card:  NVIDIA Corporation GM107 [GeForce 940MX] (rev ff)
Your card is supported by the default drivers and legacy driver series 390.
Fällt dir was auf ?
Du Brauchst Debiannvidia-legacy-390xx-driver

Ob es das Debianbumblebee Zeugs dafür passend dafür gibt ? Nicht nachgesehen.

Upps- Falsch geschaut --- passt doch :facepalm:

BambusRuediger
Beiträge: 6
Registriert: 15.03.2020 16:55:00

Re: No protocol specified über root

Beitrag von BambusRuediger » 15.03.2020 19:06:11

willy4711 hat geschrieben: ↑ zum Beitrag ↑
15.03.2020 18:30:15
Bist du mit Gnpme oder KDE mit Wayland zugange ?
Mit GNOME gdm3

Hier noch zusätzlich die source.list:

Code: Alles auswählen

#
 
# deb cdrom:[Debian GNU/Linux 10.2.0 _Buster_ - Official amd64 NETINST 20191116-09:56]/ buster main

# deb cdrom:[Debian GNU/Linux 10.2.0 _Buster_ - Official amd64 NETINST 20191116-09:56]/ buster main

deb http://deb.debian.org/debian/ buster main contrib non-free
deb-src http://deb.debian.org/debian/ buster main contrib non-free
deb http://httpredir.debian.org/debian unstable main
deb-src http://httpredir.debian.org/debian unstable main
deb http://security.debian.org/debian-security buster/updates main contrib non-free
deb-src http://security.debian.org/debian-security buster/updates main contrib non-free

# buster-updates, previously known as 'volatile'
deb http://deb.debian.org/debian/ buster-updates main contrib non-free
deb-src http://deb.debian.org/debian/ buster-updates main contrib non-free

# This system was installed using small removable media
# (e.g. netinst, live or single CD). The matching "deb cdrom"
# entries were disabled at the end of the installation process.
# For information about how to configure apt package sources,
# deb http://cz.archive.ubuntu.com/ubuntu wily main multiverse contrib non-free
# deb-src http://cz.archive.ubuntu.com/ubuntu wily main multiverse
# see the sources.list(5) manual.

# deb [trusted=yes] https://dl.winehq.org/wine-builds/ubuntu/ bionic main
# deb-src https://dl.winehq.org/wine-builds/ubuntu/ bionic main

willy4711

Re: No protocol specified über root

Beitrag von willy4711 » 15.03.2020 19:11:18

Mal testen (X11 / Wayland):

Code: Alles auswählen

loginctl
Dann mit der Session - NR

Code: Alles auswählen

loginctl show-session <Session - NR> -p Type
EDIT:

Code: Alles auswählen

deb http://httpredir.debian.org/debian unstable main
deb-src http://httpredir.debian.org/debian unstable main
Was hattest / hast du denn noch von Ubuntu installiert :idea: :?:

Na das wird ja ein ziemlich unverdaulicher Mix sein :evil: :roll: :facepalm:

BambusRuediger
Beiträge: 6
Registriert: 15.03.2020 16:55:00

Re: No protocol specified über root

Beitrag von BambusRuediger » 15.03.2020 19:28:18

Er gibt mir mit

Code: Alles auswählen

loginctl show-session 2 -p Type
Type=wayland wieder.
BambusRuediger hat geschrieben: ↑ zum Beitrag ↑
15.03.2020 19:06:11
Was hattest / hast du denn noch von Ubuntu installiert
Nichts mehr, ich weiß auch nicht mehr für was ich das mal gebraucht habe :|

willy4711

Re: No protocol specified über root

Beitrag von willy4711 » 15.03.2020 19:36:15

Dann stell mal zuerst auf x11 um, und versuche glxgears dann nochmal.
nivida funktioniert nicht mit Wayland.

BambusRuediger
Beiträge: 6
Registriert: 15.03.2020 16:55:00

Re: No protocol specified über root

Beitrag von BambusRuediger » 15.03.2020 20:02:24

willy4711 hat geschrieben: ↑ zum Beitrag ↑
15.03.2020 19:36:15
nivida funktioniert nicht mit Wayland
Bist du dir sicher? In der Anleitung stand:
"The proprietary "NVIDIA Accelerated Linux Graphics Driver" provides optimized hardware acceleration of OpenGL and Vulkan applications through either Xorg or Wayland. It is a binary-only driver requiring a Linux kernel module for its use."
Ich kann irgendwie nicht wechseln. Wenn ich X11 oder GNOME mit Xorg ausgewählt habe, dann wird nur kurz der Bildschirm dunkel und ich lande wieder im Login Screen :cry:

willy4711

Re: No protocol specified über root

Beitrag von willy4711 » 15.03.2020 20:07:30

Mein Wissen ist, dass nur der freie Treiber funktioniert.
Ich bin kein Gnome Spezialist, hab es nur in einer VM, wo beides funktioniert (x11 / wayland)

Vielleicht läuft hier mal ein Spezialist vorbei, der dir da weiterhelfen kann :roll:

BambusRuediger
Beiträge: 6
Registriert: 15.03.2020 16:55:00

Re: No protocol specified über root

Beitrag von BambusRuediger » 15.03.2020 20:09:29

Würde mich freuen und vielen dank für deine Hilfe!

willy4711

Re: No protocol specified über root

Beitrag von willy4711 » 17.03.2020 17:50:09

Das einzige was mir noch einfällt, wäre ein anderer Display-Manger. Hier gibt es einige Threads, wo über einen gewisse "Zickigkeit"
von Debiangdm3 berichtet wird.
Als Versuch wäre vielleicht die Installation von Debianlightdm möglich. Bei der Installation wird man gefragt,
welchen Display- Manager man benutzen möchte.

BambusRuediger
Beiträge: 6
Registriert: 15.03.2020 16:55:00

Re: No protocol specified über root

Beitrag von BambusRuediger » 18.03.2020 12:59:01

Ne,
das lag wie ich erwartet habe, an den nvidia Treiber. Die haben GNOME am Ende komplett gesprengt und ich konnte nur noch auf tty2 zurückgreifen. Hab jetzt ein komplett reset gemacht und bin auf KDE Plasma gewechselt. Vielen Dank für deine Hilfe :)

willy4711

Re: No protocol specified über root

Beitrag von willy4711 » 18.03.2020 13:32:17

Na Ja ist auch ein Weg. Ich hatte vor ein Paar Monaten noch ein Multi Boot - System. Auf der einen Platte war halt Gnome.
Das lief allerdings problemlos, soweit ich das irgendwann mal gestartet hatte. (X11 / Nvidia 1060). Ich hatte die Treiber allerdings auch
unter X11 installiert. Wayland hab ich nie benutzt, da ich ja wusste, dass das nicht funktioniert..

Antworten