You are not logged in.
i have bumblebee but when i put "nvidia-settings" it says "X Screnn 0 (No Scanout)", and if i run something with optirun ir appears but with "nvidia-smi" it's like GPU never be used
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 440.82 Driver Version: 440.82 CUDA Version: 10.2 |
|-------------------------------+----------------------+----------------------+
| GPU Name Persistence-M| Bus-Id Disp.A | Volatile Uncorr. ECC |
| Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. |
|===============================+======================+======================|
| 0 GeForce GTX 960M Off | 00000000:01:00.0 Off | N/A |
| N/A 52C P0 N/A / N/A | 0MiB / 4043MiB | 0% Default |
+-------------------------------+----------------------+----------------------+
+-----------------------------------------------------------------------------+
| Processes: GPU Memory |
| GPU PID Type Process name Usage |
|=============================================================================|
| No running processes found |
+-----------------------------------------------------------------------------+I dont know what to do. and i think i have nvidia and nouveau drivers together, cuz when I type "/etc/bumblebee/xorg.conf." and then I press TAB it appears config for nvidia and nouveau too
[sanbope@Sanbope ~]$ cat /etc/bumblebee/xorg.conf.
xorg.conf.d/ xorg.conf.nouveau xorg.conf.nvidia Last edited by sanbope (2020-06-08 19:45:57)
Offline
Please use code tags and not random colors.
Post your Xorg.8.log as well as the output of "optirun glxinfo".
What processes were supposed to be running on the nvidia chip ("optirun") when you dumped the nvidia-smi output?
You can run "nvidia-smi -l" to track the usage.
Online
I'm trying to run code-OOS
opritun codeand it starts, but when I open the emulator of android (like child of code-OOS) it doesnt appear, but if I run code without optirun it opens but sometimes it freeze my pc cuz it uses all my CPU
and whith
nvidia-smi -lit's allwais with 0% of usage (i have code runing with optirun)
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 440.82 Driver Version: 440.82 CUDA Version: 10.2 |
|-------------------------------+----------------------+----------------------+
| GPU Name Persistence-M| Bus-Id Disp.A | Volatile Uncorr. ECC |
| Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. |
|===============================+======================+======================|
| 0 GeForce GTX 960M Off | 00000000:01:00.0 Off | N/A |
| N/A 45C P8 N/A / N/A | 0MiB / 4043MiB | 0% Default |
+-------------------------------+----------------------+----------------------+
+-----------------------------------------------------------------------------+
| Processes: GPU Memory |
| GPU PID Type Process name Usage |
|=============================================================================|
| No running processes found |
+-----------------------------------------------------------------------------+Xorg.8.log
[sanbope@Sanbope ~]$ cat /var/log/Xorg.8.log
[ 15205.636]
X.Org X Server 1.20.8
X Protocol Version 11, Revision 0
[ 15205.636] Build Operating System: Linux Arch Linux
[ 15205.636] Current Operating System: Linux Sanbope 5.6.15-arch1-1 #1 SMP PREEMPT Wed, 27 May 2020 23:42:26 +0000 x86_64
[ 15205.636] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-linux root=UUID=2ca08f1e-2e40-43e0-84f4-d508dfb27e22 rw loglevel=3 quiet
[ 15205.636] Build Date: 05 May 2020 05:08:17AM
[ 15205.636]
[ 15205.636] Current version of pixman: 0.40.0
[ 15205.636] Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[ 15205.636] Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 15205.636] (==) Log file: "/var/log/Xorg.8.log", Time: Mon Jun 8 14:37:30 2020
[ 15205.636] (++) Using config file: "/etc/bumblebee/xorg.conf.nvidia"
[ 15205.636] (++) Using config directory: "/etc/bumblebee/xorg.conf.d"
[ 15205.636] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[ 15205.636] (==) ServerLayout "Layout0"
[ 15205.636] (==) No screen section available. Using defaults.
[ 15205.636] (**) |-->Screen "Default Screen Section" (0)
[ 15205.636] (**) | |-->Monitor "<default monitor>"
[ 15205.636] (==) No device specified for screen "Default Screen Section".
Using the first device section listed.
[ 15205.636] (**) | |-->Device "DiscreteNvidia"
[ 15205.636] (==) No monitor specified for screen "Default Screen Section".
Using a default monitor configuration.
[ 15205.636] (**) Option "AutoAddDevices" "false"
[ 15205.636] (**) Option "AutoAddGPU" "false"
[ 15205.636] (**) Not automatically adding devices
[ 15205.636] (==) Automatically enabling devices
[ 15205.636] (**) Not automatically adding GPU devices
[ 15205.636] (==) Automatically binding GPU devices
[ 15205.636] (==) Max clients allowed: 256, resource mask: 0x1fffff
[ 15205.637] (WW) The directory "/usr/share/fonts/misc" does not exist.
[ 15205.637] Entry deleted from font path.
[ 15205.637] (WW) The directory "/usr/share/fonts/OTF" does not exist.
[ 15205.637] Entry deleted from font path.
[ 15205.637] (WW) The directory "/usr/share/fonts/Type1" does not exist.
[ 15205.637] Entry deleted from font path.
[ 15205.637] (WW) The directory "/usr/share/fonts/100dpi" does not exist.
[ 15205.637] Entry deleted from font path.
[ 15205.637] (WW) The directory "/usr/share/fonts/75dpi" does not exist.
[ 15205.637] Entry deleted from font path.
[ 15205.637] (==) FontPath set to:
/usr/share/fonts/TTF
[ 15205.637] (++) ModulePath set to "/usr/lib/nvidia/xorg,/usr/lib/xorg/modules"
[ 15205.637] (==) |-->Input Device "<default pointer>"
[ 15205.637] (==) |-->Input Device "<default keyboard>"
[ 15205.637] (==) The core pointer device wasn't specified explicitly in the layout.
Using the default mouse configuration.
[ 15205.637] (==) The core keyboard device wasn't specified explicitly in the layout.
Using the default keyboard configuration.
[ 15205.637] (II) Module ABI versions:
[ 15205.637] X.Org ANSI C Emulation: 0.4
[ 15205.637] X.Org Video Driver: 24.1
[ 15205.637] X.Org XInput driver : 24.1
[ 15205.637] X.Org Server Extension : 10.0
[ 15205.637] (--) using VT number 1
[ 15205.637] (II) systemd-logind: logind integration requires -keeptty and -keeptty was not provided, disabling logind integration
[ 15205.638] (II) xfree86: Adding drm device (/dev/dri/card0)
[ 15205.638] (EE) /dev/dri/card0: failed to set DRM interface version 1.4: Permission denied
[ 15205.640] (--) PCI:*(1@0:0:0) 10de:139b:103c:8257 rev 162, Mem @ 0xa3000000/16777216, 0x90000000/268435456, 0xa0000000/33554432, I/O @ 0x00004000/128, BIOS @ 0x????????/524288
[ 15205.640] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
[ 15205.640] (II) LoadModule: "glx"
[ 15205.640] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[ 15205.642] (II) Module glx: vendor="X.Org Foundation"
[ 15205.642] compiled for 1.20.8, module version = 1.0.0
[ 15205.642] ABI class: X.Org Server Extension, version 10.0
[ 15205.642] (II) LoadModule: "nvidia"
[ 15205.642] (II) Loading /usr/lib/xorg/modules/drivers/nvidia_drv.so
[ 15205.642] (II) Module nvidia: vendor="NVIDIA Corporation"
[ 15205.642] compiled for 1.6.99.901, module version = 1.0.0
[ 15205.642] Module class: X.Org Video Driver
[ 15205.642] (II) LoadModule: "mouse"
[ 15205.642] (WW) Warning, couldn't open module mouse
[ 15205.642] (EE) Failed to load module "mouse" (module does not exist, 0)
[ 15205.642] (II) LoadModule: "kbd"
[ 15205.642] (WW) Warning, couldn't open module kbd
[ 15205.642] (EE) Failed to load module "kbd" (module does not exist, 0)
[ 15205.642] (II) NVIDIA dlloader X Driver 440.82 Wed Apr 1 19:50:17 UTC 2020
[ 15205.642] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
[ 15205.643] (II) Loading sub module "fb"
[ 15205.643] (II) LoadModule: "fb"
[ 15205.643] (II) Loading /usr/lib/xorg/modules/libfb.so
[ 15205.643] (II) Module fb: vendor="X.Org Foundation"
[ 15205.643] compiled for 1.20.8, module version = 1.0.0
[ 15205.643] ABI class: X.Org ANSI C Emulation, version 0.4
[ 15205.643] (II) Loading sub module "wfb"
[ 15205.643] (II) LoadModule: "wfb"
[ 15205.643] (II) Loading /usr/lib/xorg/modules/libwfb.so
[ 15205.643] (II) Module wfb: vendor="X.Org Foundation"
[ 15205.643] compiled for 1.20.8, module version = 1.0.0
[ 15205.643] ABI class: X.Org ANSI C Emulation, version 0.4
[ 15205.643] (II) Loading sub module "ramdac"
[ 15205.643] (II) LoadModule: "ramdac"
[ 15205.643] (II) Module "ramdac" already built-in
[ 15205.644] (II) NVIDIA(0): Creating default Display subsection in Screen section
"Default Screen Section" for depth/fbbpp 24/32
[ 15205.644] (==) NVIDIA(0): Depth 24, (==) framebuffer bpp 32
[ 15205.644] (==) NVIDIA(0): RGB weight 888
[ 15205.644] (==) NVIDIA(0): Default visual is TrueColor
[ 15205.644] (==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0)
[ 15205.644] (**) NVIDIA(0): Option "ProbeAllGpus" "false"
[ 15205.644] (**) NVIDIA(0): Option "UseEDID" "false"
[ 15205.644] (**) NVIDIA(0): Option "UseDisplayDevice" "none"
[ 15205.644] (**) NVIDIA(0): Enabling 2D acceleration
[ 15205.644] (**) NVIDIA(0): Ignoring EDIDs
[ 15205.644] (**) NVIDIA(0): Option "UseDisplayDevice" set to "none"; enabling NoScanout
[ 15205.644] (**) NVIDIA(0): mode
[ 15205.644] (II) Loading sub module "glxserver_nvidia"
[ 15205.644] (II) LoadModule: "glxserver_nvidia"
[ 15205.644] (II) Loading /usr/lib/nvidia/xorg/libglxserver_nvidia.so
[ 15205.650] (II) Module glxserver_nvidia: vendor="NVIDIA Corporation"
[ 15205.650] compiled for 1.6.99.901, module version = 1.0.0
[ 15205.650] Module class: X.Org Server Extension
[ 15205.650] (II) NVIDIA GLX Module 440.82 Wed Apr 1 19:47:36 UTC 2020
[ 15205.650] (II) NVIDIA: The X server supports PRIME Render Offload.
[ 15205.652] (II) NVIDIA(0): NVIDIA GPU GeForce GTX 960M (GM107-A) at PCI:1:0:0 (GPU-0)
[ 15205.652] (--) NVIDIA(0): Memory: 4194304 kBytes
[ 15205.652] (--) NVIDIA(0): VideoBIOS: 82.07.9b.00.cf
[ 15205.652] (II) NVIDIA(0): Detected PCI Express Link width: 16X
[ 15205.652] (II) NVIDIA(0): Validated MetaModes:
[ 15205.652] (II) NVIDIA(0): "NULL"
[ 15205.652] (II) NVIDIA(0): Virtual screen size determined to be 640 x 480
[ 15205.652] (WW) NVIDIA(0): Unable to get display device for DPI computation.
[ 15205.652] (==) NVIDIA(0): DPI set to (75, 75); computed from built-in default
[ 15205.652] (II) NVIDIA: Using 6144.00 MB of virtual memory for indirect memory
[ 15205.652] (II) NVIDIA: access.
[ 15205.657] (II) NVIDIA(0): ACPI: failed to connect to the ACPI event daemon; the daemon
[ 15205.657] (II) NVIDIA(0): may not be running or the "AcpidSocketPath" X
[ 15205.657] (II) NVIDIA(0): configuration option may not be set correctly. When the
[ 15205.657] (II) NVIDIA(0): ACPI event daemon is available, the NVIDIA X driver will
[ 15205.657] (II) NVIDIA(0): try to use it to receive ACPI event notifications. For
[ 15205.657] (II) NVIDIA(0): details, please see the "ConnectToAcpid" and
[ 15205.657] (II) NVIDIA(0): "AcpidSocketPath" X configuration options in Appendix B: X
[ 15205.657] (II) NVIDIA(0): Config Options in the README.
[ 15205.687] (II) NVIDIA(0): Setting mode "NULL"
[ 15205.691] (==) NVIDIA(0): Disabling shared memory pixmaps
[ 15205.691] (==) NVIDIA(0): Backing store enabled
[ 15205.691] (==) NVIDIA(0): Silken mouse disabled
[ 15205.692] (==) NVIDIA(0): DPMS enabled
[ 15205.692] (WW) NVIDIA(0): Option "NoLogo" is not used
[ 15205.692] (II) Loading sub module "dri2"
[ 15205.692] (II) LoadModule: "dri2"
[ 15205.692] (II) Module "dri2" already built-in
[ 15205.692] (II) NVIDIA(0): [DRI2] Setup complete
[ 15205.692] (II) NVIDIA(0): [DRI2] VDPAU driver: nvidia
[ 15205.692] (II) Initializing extension Generic Event Extension
[ 15205.692] (II) Initializing extension SHAPE
[ 15205.692] (II) Initializing extension MIT-SHM
[ 15205.692] (II) Initializing extension XInputExtension
[ 15205.692] (II) Initializing extension XTEST
[ 15205.692] (II) Initializing extension BIG-REQUESTS
[ 15205.692] (II) Initializing extension SYNC
[ 15205.692] (II) Initializing extension XKEYBOARD
[ 15205.693] (II) Initializing extension XC-MISC
[ 15205.693] (II) Initializing extension SECURITY
[ 15205.693] (II) Initializing extension XFIXES
[ 15205.693] (II) Initializing extension RENDER
[ 15205.693] (II) Initializing extension RANDR
[ 15205.693] (II) Initializing extension COMPOSITE
[ 15205.693] (II) Initializing extension DAMAGE
[ 15205.693] (II) Initializing extension MIT-SCREEN-SAVER
[ 15205.693] (II) Initializing extension DOUBLE-BUFFER
[ 15205.694] (II) Initializing extension RECORD
[ 15205.694] (II) Initializing extension DPMS
[ 15205.694] (II) Initializing extension Present
[ 15205.694] (II) Initializing extension DRI3
[ 15205.694] (II) Initializing extension X-Resource
[ 15205.694] (II) Initializing extension XVideo
[ 15205.694] (II) Initializing extension XVideo-MotionCompensation
[ 15205.694] (II) Initializing extension GLX
[ 15205.694] (II) Initializing extension GLX
[ 15205.694] (II) Indirect GLX disabled.
[ 15205.694] (II) GLX: Another vendor is already registered for screen 0
[ 15205.694] (II) Initializing extension XFree86-VidModeExtension
[ 15205.694] (II) Initializing extension XFree86-DGA
[ 15205.694] (II) Initializing extension XFree86-DRI
[ 15205.694] (II) Initializing extension DRI2
[ 15205.695] (II) Initializing extension NV-GLX
[ 15205.695] (II) Initializing extension NV-CONTROL
[ 15205.735] (II) LoadModule: "mouse"
[ 15205.736] (WW) Warning, couldn't open module mouse
[ 15205.736] (EE) Failed to load module "mouse" (module does not exist, 0)
[ 15205.736] (EE) No input driver matching `mouse'
[ 15205.736] (II) Falling back to input driver `libinput'
[ 15205.736] (II) LoadModule: "libinput"
[ 15205.736] (II) Loading /usr/lib/xorg/modules/input/libinput_drv.so
[ 15205.737] (II) Module libinput: vendor="X.Org Foundation"
[ 15205.737] compiled for 1.20.8, module version = 0.30.0
[ 15205.737] Module class: X.Org XInput Driver
[ 15205.737] ABI class: X.Org XInput driver, version 24.1
[ 15205.737] (II) Using input driver 'libinput' for '<default pointer>'
[ 15205.737] (**) Option "CorePointer" "on"
[ 15205.737] (**) <default pointer>: always reports core events
[ 15205.737] (EE) PreInit returned 2 for "<default pointer>"
[ 15205.737] (II) UnloadModule: "libinput"
[ 15205.737] (II) LoadModule: "kbd"
[ 15205.737] (WW) Warning, couldn't open module kbd
[ 15205.737] (EE) Failed to load module "kbd" (module does not exist, 0)
[ 15205.737] (EE) No input driver matching `kbd'
[ 15205.737] (II) Falling back to input driver `libinput'
[ 15205.737] (II) Using input driver 'libinput' for '<default keyboard>'
[ 15205.737] (**) Option "CoreKeyboard" "on"
[ 15205.737] (**) <default keyboard>: always reports core events
[ 15205.737] (EE) PreInit returned 2 for "<default keyboard>"
[ 15205.737] (II) UnloadModule: "libinput"
[ 15205.750] (II) config/udev: Adding input device Power Button (/dev/input/event2)
[ 15205.750] (II) AutoAddDevices is off - not adding device.
[ 15205.750] (II) config/udev: Adding input device Video Bus (/dev/input/event21)
[ 15205.750] (II) AutoAddDevices is off - not adding device.
[ 15205.750] (II) config/udev: Adding input device Video Bus (/dev/input/event20)
[ 15205.750] (II) AutoAddDevices is off - not adding device.
[ 15205.751] (II) config/udev: Adding input device Power Button (/dev/input/event1)
[ 15205.751] (II) AutoAddDevices is off - not adding device.
[ 15205.751] (II) config/udev: Adding input device Lid Switch (/dev/input/event0)
[ 15205.751] (II) AutoAddDevices is off - not adding device.
[ 15205.751] (II) config/udev: Adding input device HDA NVidia HDMI/DP,pcm=3 (/dev/input/event16)
[ 15205.751] (II) AutoAddDevices is off - not adding device.
[ 15205.752] (II) config/udev: Adding input device HDA NVidia HDMI/DP,pcm=7 (/dev/input/event17)
[ 15205.752] (II) AutoAddDevices is off - not adding device.
[ 15205.752] (II) config/udev: Adding input device HDA NVidia HDMI/DP,pcm=8 (/dev/input/event18)
[ 15205.752] (II) AutoAddDevices is off - not adding device.
[ 15205.752] (II) config/udev: Adding input device HDA NVidia HDMI/DP,pcm=9 (/dev/input/event19)
[ 15205.752] (II) AutoAddDevices is off - not adding device.
[ 15205.752] (II) config/udev: Adding drm device (/dev/dri/card0)
[ 15205.752] (II) xfree86: Adding drm device (/dev/dri/card0)
[ 15205.753] (EE) /dev/dri/card0: failed to set DRM interface version 1.4: Permission denied
[ 15205.753] (II) config/udev: Adding input device USB USB Keyboard (/dev/input/event4)
[ 15205.753] (II) AutoAddDevices is off - not adding device.
[ 15205.754] (II) config/udev: Adding input device USB USB Keyboard Mouse (/dev/input/event5)
[ 15205.754] (II) AutoAddDevices is off - not adding device.
[ 15205.754] (II) config/udev: Adding input device USB USB Keyboard Mouse (/dev/input/mouse0)
[ 15205.754] (II) AutoAddDevices is off - not adding device.
[ 15205.755] (II) config/udev: Adding input device USB USB Keyboard System Control (/dev/input/event6)
[ 15205.755] (II) AutoAddDevices is off - not adding device.
[ 15205.756] (II) config/udev: Adding input device USB USB Keyboard Consumer Control (/dev/input/event7)
[ 15205.756] (II) AutoAddDevices is off - not adding device.
[ 15205.756] (II) config/udev: Adding input device Microsoft X-Box 360 pad (/dev/input/event30)
[ 15205.756] (II) AutoAddDevices is off - not adding device.
[ 15205.757] (II) config/udev: Adding input device Microsoft X-Box 360 pad (/dev/input/js0)
[ 15205.757] (II) AutoAddDevices is off - not adding device.
[ 15205.757] (II) config/udev: Adding input device E-Signal USB Gaming Mouse (/dev/input/event8)
[ 15205.757] (II) AutoAddDevices is off - not adding device.
[ 15205.758] (II) config/udev: Adding input device E-Signal USB Gaming Mouse (/dev/input/mouse1)
[ 15205.758] (II) AutoAddDevices is off - not adding device.
[ 15205.758] (II) config/udev: Adding input device E-Signal USB Gaming Mouse Keyboard (/dev/input/event9)
[ 15205.758] (II) AutoAddDevices is off - not adding device.
[ 15205.759] (II) config/udev: Adding input device E-Signal USB Gaming Mouse System Control (/dev/input/event10)
[ 15205.759] (II) AutoAddDevices is off - not adding device.
[ 15205.759] (II) config/udev: Adding input device E-Signal USB Gaming Mouse Consumer Control (/dev/input/event11)
[ 15205.759] (II) AutoAddDevices is off - not adding device.
[ 15205.760] (II) config/udev: Adding input device E-Signal USB Gaming Mouse (/dev/input/event12)
[ 15205.760] (II) AutoAddDevices is off - not adding device.
[ 15205.760] (II) config/udev: Adding input device HP Wide Vision HD: HP Wide Visi (/dev/input/event31)
[ 15205.760] (II) AutoAddDevices is off - not adding device.
[ 15205.761] (II) config/udev: Adding input device HDA Intel PCH Mic (/dev/input/event23)
[ 15205.761] (II) AutoAddDevices is off - not adding device.
[ 15205.761] (II) config/udev: Adding input device HDA Intel PCH Headphone (/dev/input/event24)
[ 15205.761] (II) AutoAddDevices is off - not adding device.
[ 15205.761] (II) config/udev: Adding input device HDA Intel PCH HDMI/DP,pcm=3 (/dev/input/event25)
[ 15205.761] (II) AutoAddDevices is off - not adding device.
[ 15205.762] (II) config/udev: Adding input device HDA Intel PCH HDMI/DP,pcm=7 (/dev/input/event26)
[ 15205.762] (II) AutoAddDevices is off - not adding device.
[ 15205.762] (II) config/udev: Adding input device HDA Intel PCH HDMI/DP,pcm=8 (/dev/input/event27)
[ 15205.762] (II) AutoAddDevices is off - not adding device.
[ 15205.762] (II) config/udev: Adding input device HDA Intel PCH HDMI/DP,pcm=9 (/dev/input/event28)
[ 15205.762] (II) AutoAddDevices is off - not adding device.
[ 15205.763] (II) config/udev: Adding input device HDA Intel PCH HDMI/DP,pcm=10 (/dev/input/event29)
[ 15205.763] (II) AutoAddDevices is off - not adding device.
[ 15205.763] (II) config/udev: Adding input device AT Translated Set 2 keyboard (/dev/input/event3)
[ 15205.763] (II) AutoAddDevices is off - not adding device.
[ 15205.763] (II) config/udev: Adding input device SynPS/2 Synaptics TouchPad (/dev/input/event22)
[ 15205.763] (II) AutoAddDevices is off - not adding device.
[ 15205.764] (II) config/udev: Adding input device SynPS/2 Synaptics TouchPad (/dev/input/mouse2)
[ 15205.764] (II) AutoAddDevices is off - not adding device.
[ 15205.764] (II) config/udev: Adding input device PC Speaker (/dev/input/event14)
[ 15205.764] (II) AutoAddDevices is off - not adding device.
[ 15205.764] (II) config/udev: Adding input device HP Wireless hotkeys (/dev/input/event13)
[ 15205.764] (II) AutoAddDevices is off - not adding device.
[ 15205.765] (II) config/udev: Adding input device HP WMI hotkeys (/dev/input/event15)
[ 15205.765] (II) AutoAddDevices is off - not adding device.
[ 15207.312] (II) NVIDIA(GPU-0): Deleting GPU-0
[ 15207.312] (II) Server terminated successfully (0). Closing log file.Offline
I'm trying to run code-OOS
Please clarify whether that's the only problem and post the output of "optirun glxinfo".
If this is the only problem (and glxinfo and glxgears run fine and on the nvidia chip), please elaborate which android emulator you use (MS or google, psot a link to install source)
The log shows that the server ran successfully for ~2 seconds, there're no relevant errors.
Online
nvidia-settings doest works yet
I dont have glxinfo but with
optirun glxspheres64works
//nvidia-smi
Mon Jun 8 20:07:53 2020
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 440.82 Driver Version: 440.82 CUDA Version: 10.2 |
|-------------------------------+----------------------+----------------------+
| GPU Name Persistence-M| Bus-Id Disp.A | Volatile Uncorr. ECC |
| Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. |
|===============================+======================+======================|
| 0 GeForce GTX 960M Off | 00000000:01:00.0 Off | N/A |
| N/A 56C P0 N/A / N/A | 24MiB / 4043MiB | 70% Default |
+-------------------------------+----------------------+----------------------+
+-----------------------------------------------------------------------------+
| Processes: GPU Memory |
| GPU PID Type Process name Usage |
|=============================================================================|
| 0 1738 G /usr/lib/Xorg 19MiB |
| 0 1744 G glxspheres64 1MiB |
+-----------------------------------------------------------------------------+[sanbope@Sanbope ~]$ optirun glxspheres64
Polygons in scene: 62464 (61 spheres * 1024 polys/spheres)
GLX FB config ID of window: 0xad (8/8/8/0)
Visual ID of window: 0x20
Context is Direct
OpenGL Renderer: GeForce GTX 960M/PCIe/SSE2
216.652988 frames/sec - 241.784734 Mpixels/sec
218.889519 frames/sec - 244.280704 Mpixels/sec
222.543273 frames/sec - 248.358293 Mpixels/sec
219.057373 frames/sec - 244.468029 Mpixels/sec
217.813024 frames/sec - 243.079334 Mpixels/secbut it's wear why doesnt run well with code, cuz I need to program on android and my graphic card doesnd works, so my CPU just freeze my computer :'c
Last edited by sanbope (2020-06-09 04:03:29)
Offline
If this is the only problem (and glxinfo and glxgears run fine and on the nvidia chip)
So I guess the answer to this is "yes".
please elaborate which android emulator you use (MS or google, post a link to install source)
And the next question would be whether you can optirun the emulator standlone ie. not from the IDE.
Online