Bumblebee-Project / Bumblebee

Bumblebee daemon and client rewritten in C
http://www.bumblebee-project.org/
GNU General Public License v3.0
1.29k stars 142 forks source link

[ERROR]No discrete video card found, quitting #1091

Open happeeshopper opened 1 year ago

happeeshopper commented 1 year ago

System: MX Linux 21.3 (AHS) Kernel: 5.18.0-4mx-amd64 Processor: AMD Ryzen 5 2400G with Radeon Graphics GPU: Integrated

sudo bumblebeed start
[ 1835.393561] [ERROR]No discrete video card found, quitting
lspci -vmk | grep -A 8 -B 2 VGA
Device: 09:00.0
Class:  VGA compatible controller
Vendor: Advanced Micro Devices, Inc. [AMD/ATI]
Device: Raven Ridge [Radeon Vega Series / Radeon Vega Mobile Series]
SVendor:    ASUSTeK Computer Inc.
SDevice:    PRIME Motherboard
Rev:    c6
Driver: amdgpu
Module: amdgpu
IOMMUGroup: 9
hwinfo --gfxcard
10: PCI 900.0: 0300 VGA compatible controller (VGA)             
  [Created at pci.386]
  Unique ID: x1VA.svmsI6nkqI8
  Parent ID: JZZT.LQZkgbVFNe1
  SysFS ID: /devices/pci0000:00/0000:00:08.1/0000:09:00.0
  SysFS BusID: 0000:09:00.0
  Hardware Class: graphics card
  Model: "ATI Raven Ridge [Radeon Vega Series / Radeon Vega Mobile Series]"
  Vendor: pci 0x1002 "ATI Technologies Inc"
  Device: pci 0x15dd "Raven Ridge [Radeon Vega Series / Radeon Vega Mobile Series]"
  SubVendor: pci 0x1043 "ASUSTeK Computer Inc."
  SubDevice: pci 0x876b 
  Revision: 0xc6
  Driver: "amdgpu"
  Driver Modules: "amdgpu"
  Memory Range: 0xe0000000-0xefffffff (ro,non-prefetchable)
  Memory Range: 0xf0000000-0xf01fffff (ro,non-prefetchable)
  I/O Ports: 0xe000-0xe0ff (rw)
  Memory Range: 0xfcb00000-0xfcb7ffff (rw,non-prefetchable)
  IRQ: 51 (no events)
  Module Alias: "pci:v00001002d000015DDsv00001043sd0000876Bbc03sc00i00"
  Driver Info #0:
    Driver Status: amdgpu is active
    Driver Activation Cmd: "modprobe amdgpu"
  Config Status: cfg=new, avail=yes, need=no, active=unknown
  Attached to: #24 (PCI bridge)

Primary display adapter: #10
glxinfo | grep -i opengl
OpenGL vendor string: AMD
OpenGL renderer string: AMD Radeon Vega 11 Graphics (raven, LLVM 14.0.5, DRM 3.46, 5.18.0-4mx-amd64)
OpenGL core profile version string: 4.6 (Core Profile) Mesa 22.0.5
OpenGL core profile shading language version string: 4.60
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile
OpenGL core profile extensions:
OpenGL version string: 4.6 (Compatibility Profile) Mesa 22.0.5
OpenGL shading language version string: 4.60
OpenGL context flags: (none)
OpenGL profile mask: compatibility profile
OpenGL extensions:
OpenGL ES profile version string: OpenGL ES 3.2 Mesa 22.0.5
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20
OpenGL ES profile extensions:
primusrun glxgears -info
primus: fatal: failed to connect to Bumblebee daemon: No such file or directory
vblank_mode=0 glxgears
ATTENTION: default value of option vblank_mode overridden by environment.
65264 frames in 5.0 seconds = 13052.698 FPS
70740 frames in 5.0 seconds = 14147.904 FPS
66953 frames in 5.0 seconds = 13390.427 FPS
68307 frames in 5.0 seconds = 13661.179 FPS
62838 frames in 5.0 seconds = 12567.528 FPS
systemctl status bumblebeed.service 
● bumblebeed.service - Bumblebee C Daemon
     Loaded: loaded (/lib/systemd/system/bumblebeed.service; enabled; vendor preset: enabled)
     Active: activating (auto-restart) (Result: exit-code) since Fri 2023-04-28 22:09:56 BST; 28s a>
    Process: 7654 ExecStart=/usr/sbin/bumblebeed (code=exited, status=1/FAILURE)
   Main PID: 7654 (code=exited, status=1/FAILURE)
        CPU: 4ms

bumblebeed syslog.txt

I'm experiencing crashes every time I run games, I wonder if this is causing the problem?

Seems very similar to: https://github.com/Bumblebee-Project/Bumblebee/issues/1090