Hi there,
Probably a silly question.. Got a Matrox G200 on my server, did my reading, identified mga as the driver, builtthe fine, built DRI as well. Loading them dynamically during boot... but how do I actually instruct the system to pick it up as VGA driver?
Based on what I've read a solution could be to use pciconf and add info as device.hint. No clue how to do this, despite going through man pages. Is that even the right route?
And BTW - the reason why I'm trying to do this is to improve transcoding speed on Plex using DRI. No X. If you've got a view on whether this will work - let me know.
Many thanks!
Janusz
Probably a silly question.. Got a Matrox G200 on my server, did my reading, identified mga as the driver, builtthe fine, built DRI as well. Loading them dynamically during boot... but how do I actually instruct the system to pick it up as VGA driver?
Based on what I've read a solution could be to use pciconf and add info as device.hint. No clue how to do this, despite going through man pages. Is that even the right route?
Code:
# pciconf -lv
vgapci0@pci0:1:0:1: class=0x030000 card=0x3381103c chip=0x0533102b rev=0x00 hdr=0x00
vendor = 'Matrox Electronics Systems Ltd.'
device = 'MGA G200EH'
class = display
subclass = VGA
Code:
# kldstat
Id Refs Address Size Name
1 16 0xffffffff80200000 17bc718 kernel
2 1 0xffffffff81c11000 1ee0c8 zfs.ko
3 1 0xffffffff81e00000 333c opensolaris.ko
4 1 0xffffffff81e04000 125f4 mga.ko
5 1 0xffffffff81e17000 176c9 drm.ko
Code:
# dmesg | grep vga
vgapci0: <VGA-compatible display> mem 0xf9000000-0xf9ffffff,0xfbee0000-0xfbee3fff,0xfb000000-0xfb7fffff irq 16 at device 0.1 on pci1
vgapci0: Boot video device
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
And BTW - the reason why I'm trying to do this is to improve transcoding speed on Plex using DRI. No X. If you've got a view on whether this will work - let me know.

Many thanks!
Janusz