bluefish86
April 16th, 2008, 02:43 PM
I'm trying to set up a second X server on which to play games. So far I have it working for non-OpenGL games. I just run the games through the following script:
#!/bin/sh
sudo xinit /usr/bin/sudo -u chris -H `which $@` -- /usr/bin/X :1 -br -layout "Game640 Layout"
The problem is the second server fails to enable DRI with the following errors:
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 8, (OK)
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 8, (OK)
drmOpenByBusid: Searching for BusID pci:0000:00:02.0
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 8, (OK)
drmOpenByBusid: drmOpenMinor returns 8
drmOpenByBusid: drmGetBusid reports pci:0000:00:02.0
(II) I810(0): [drm] DRM interface version 1.0
(II) I810(0): [drm] drmSetBusid failed (8, pci:0000:00:02.0), Permission denied
(EE) I810(0): [dri] DRIScreenInit failed. Disabling DRI.
Any opengl games will only work in indirect mode, making them unusably slow. I've done a bunch of searching, but can't find any info on it.
My first server is running DRI without problems, but it's current dual head MergedFB setup prevents all full screen OpenGL games from working at all. Most windowed OpenGL games also glitch out in weird ways.
#!/bin/sh
sudo xinit /usr/bin/sudo -u chris -H `which $@` -- /usr/bin/X :1 -br -layout "Game640 Layout"
The problem is the second server fails to enable DRI with the following errors:
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 8, (OK)
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 8, (OK)
drmOpenByBusid: Searching for BusID pci:0000:00:02.0
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 8, (OK)
drmOpenByBusid: drmOpenMinor returns 8
drmOpenByBusid: drmGetBusid reports pci:0000:00:02.0
(II) I810(0): [drm] DRM interface version 1.0
(II) I810(0): [drm] drmSetBusid failed (8, pci:0000:00:02.0), Permission denied
(EE) I810(0): [dri] DRIScreenInit failed. Disabling DRI.
Any opengl games will only work in indirect mode, making them unusably slow. I've done a bunch of searching, but can't find any info on it.
My first server is running DRI without problems, but it's current dual head MergedFB setup prevents all full screen OpenGL games from working at all. Most windowed OpenGL games also glitch out in weird ways.