Debugging Graphics Problems

If you are having problems with Graphics on FreeBSD, you may be asked to provide information from your system.

Here are some things that you need to know.

Getting Information

vgapci0: <VGA-compatible display> port 0xdc80-0xdcff mem 0xf6000000-0xf6ffffff,0xc0000000-0xdfffffff,0xf4000000-0xf5ffffff irq 24 at device 0.0 on pci2
vgapci0: Boot video device
[...]
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0

Debugging Tips

Complaints From glxinfo/glxgears

If you get libGL error: failed to open drm device, try the following suggestion from CarlosPuga:

  pw groupmod video -m <youruser>
  cat >> /etc/devfs.rules << EOF
  add path 'dri/*' mode 0666 group video
  add path 'drm/*' mode 0666 group video
  EOF

Kernel Features

DRM-specific issues

KMS Drivers

Hardware Acceleration

MarkLinimon/WorkAreaGraphics/Debugging (last edited 2020-07-31T23:18:00+0000 by MarkLinimon)