libGL errors when attempting to launch certain software

When attemping to launch some software, PPSSPP and dolphin-emu both give me these libGL error.

libGL error: No matching fbConfigs or visuals found
libGL error: failed to load driver: swrast

However I can launch other applications seemingly with no errors at all: glxgears and steam both launch with no errors.

Output of inxi -Fazy is:

  Kernel: 5.10.2-2-MANJARO x86_64 bits: 64 compiler: gcc v: 10.2.0
  parameters: fs0:\vmlinuz.efi root=/dev/sda2 rw initrd=\intel-ucode.img
  Desktop: i3 4.19 info: i3bar dm: LightDM 1.30.0 Distro: Manjaro Linux
  Type: Laptop System: Apple product: MacBook7,1 v: 1.0 serial: <filter>
  Chassis: type: 10 v: Mac-F22C89C8 serial: <filter>
  Mobo: Apple model: Mac-F22C89C8 serial: <filter> UEFI: Apple
  v: MB71.88Z.0039.B0B.1006012319 date: 06/01/10
  ID-1: BAT0 charge: 38.2 Wh condition: 47.7/62.9 Wh (76%) volts: 11.0/10.9
  model: SMP bq20z451 type: Li-ion serial: N/A status: Discharging cycles: 509
  Info: Dual Core model: Intel Core2 Duo P8600 bits: 64 type: MCP arch: Penryn
  family: 6 model-id: 17 (23) stepping: A (10) microcode: A0B L2 cache: 3 MiB
  flags: lm nx pae sse sse2 sse3 sse4_1 ssse3 vmx bogomips: 9561
  Speed: 2350 MHz min/max: 798/2394 MHz Core speeds (MHz): 1: 2350 2: 2342
  Vulnerabilities: Type: itlb_multihit status: KVM: VMX disabled
  Type: l1tf mitigation: PTE Inversion; VMX: EPT disabled
  Type: mds
  status: Vulnerable: Clear CPU buffers attempted, no microcode; SMT disabled
  Type: meltdown mitigation: PTI
  Type: spec_store_bypass status: Vulnerable
  Type: spectre_v1
  mitigation: usercopy/swapgs barriers and __user pointer sanitization
  Type: spectre_v2
  mitigation: Full generic retpoline, STIBP: disabled, RSB filling
  Type: srbds status: Not affected
  Type: tsx_async_abort status: Not affected
  Device-1: NVIDIA MCP89 [GeForce 320M] vendor: Apple driver: nvidia
  v: 340.108 alternate: nouveau bus ID: 02:00.0 chip ID: 10de:08a0
  Device-2: Apple Built-in iSight type: USB driver: uvcvideo bus ID: 1-6:2
  chip ID: 05ac:8507 serial: <filter>
  Display: x11 server: XOrg 1.20.10 driver: nvidia display ID: :0 screens: 1
  Screen-1: 0 s-res: 1280x800 s-dpi: 112 s-size: 290x181mm (11.4x7.1")
  s-diag: 342mm (13.5")
  Monitor-1: LVDS-0 res: 1280x800 hz: 60 dpi: 114 size: 286x179mm (11.3x7.0")
  diag: 337mm (13.3")
  OpenGL: renderer: GeForce 320M/integrated/SSE2 v: 3.3.0 NVIDIA 340.108
  direct render: Yes
  Device-1: NVIDIA MCP89 High Definition Audio driver: snd_hda_intel v: kernel
  bus ID: 00:08.0 chip ID: 10de:0d94
  Sound Server: ALSA v: k5.10.2-2-MANJARO
  Device-1: NVIDIA MCP89 Ethernet vendor: Apple driver: forcedeth v: kernel
  port: 22a0 bus ID: 00:09.0 chip ID: 10de:0d7d
  IF: enp0s9 state: down mac: <filter>
  Device-2: Broadcom BCM43224 802.11a/b/g/n vendor: Apple AirPort Extreme
  driver: wl v: kernel modules: bcma port: 2280 bus ID: 01:00.0
  chip ID: 14e4:4353
  IF: wlp1s0 state: up mac: <filter>
  Local Storage: total: 238.47 GiB used: 200.95 GiB (84.3%)
  SMART Message: Required tool smartctl not installed. Check --recommends
  ID-1: /dev/sda maj-min: 8:0 vendor: A-Data model: SU800 size: 238.47 GiB
  block size: physical: 512 B logical: 512 B speed: 3.0 Gb/s serial: <filter>
  rev: 7ANR
  ID-1: / raw size: 218.18 GiB size: 213.75 GiB (97.97%)
  used: 200.89 GiB (94.0%) fs: ext4 dev: /dev/sda2 maj-min: 8:2
  ID-2: /boot/efi raw size: 300 MiB size: 299.4 MiB (99.80%)
  used: 60.2 MiB (20.1%) fs: vfat dev: /dev/sda1 maj-min: 8:1
  Kernel: swappiness: 60 (default) cache pressure: 100 (default)
  ID-1: swap-1 type: partition size: 20 GiB used: 0 KiB (0.0%) priority: -2
  dev: /dev/sda3 maj-min: 8:3
  System Temperatures: cpu: 91.0 C mobo: N/A gpu: nvidia temp: 87 C
  Fan Speeds (RPM): N/A
  Processes: 157 Uptime: 31m wakeups: 2 Memory: 15.38 GiB
  used: 2.24 GiB (14.5%) Init: systemd v: 247 Compilers: gcc: 10.2.0 Packages:
  pacman: 1641 lib: 420 flatpak: 0 Shell: Bash v: 5.1.0 running in: server
  inxi: 3.2.01

Output of glxinfo -B is:

name of display: :0
display: :0  screen: 0
direct rendering: Yes
Memory info (GL_NVX_gpu_memory_info):
    Dedicated video memory: 256 MB
    Total available memory: 256 MB
    Currently available dedicated video memory: 43 MB
OpenGL vendor string: NVIDIA Corporation
OpenGL renderer string: GeForce 320M/integrated/SSE2
OpenGL core profile version string: 3.3.0 NVIDIA 340.108
OpenGL core profile shading language version string: 3.30 NVIDIA via Cg compiler
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile
OpenGL version string: 3.3.0 NVIDIA 340.108
OpenGL shading language version string: 3.30 NVIDIA via Cg compiler
OpenGL context flags: (none)
OpenGL profile mask: (none)
OpenGL ES profile version string: OpenGL ES 2.0 NVIDIA 340.108 340.108
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 1.00

Thanks for the help, If you need any more info please let me know.

:+1: Welcome to Manjaro! :+1:

  • As I’m an editor on this site, I’ve edited your post for readability. Please click the orange pencil in the upper right of your post to see the changes I’ve made and use the same methodology when posting next time, please. :wink:
  • Kernel 5.10 has some issues with older nVidia cards. Have you tried Kernel 5.4 already?