This seems to be specific to the i965 (or ixxx?) mesa driver.  I put a
PCI R128 AIW card into the machine (to use as a second head).  After
finding and reporting some bugs with two X screens, I set X to use the
r128 as its only screen.

 Now glxgears and glxinfo read ~/.drirc, and look for /etc/drirc.
Configuring the swap interval actually has an effect: setting it to 1
makes glxgears -printfps go at 70FPS, the monitor refresh rate.  0 gives
265FPS.  (The g965 hardware does more like 1220FPS :)


It's the last thing it does before it starts doing 3D:
...
open("/usr/lib/x86_64-linux-gnu/libtxc_dxtn.so", O_RDONLY) = -1 ENOENT (No such 
file or directory)
munmap(0x2b06e7270000, 70806)           = 0
open("/etc/drirc", O_RDONLY)            = -1 ENOENT (No such file or directory)
open("/home/peter/.drirc", O_RDONLY)    = 5
read(5, "<driconf>\n    <device screen=\"0\""..., 4096) = 290
read(5, "", 4096)                       = 0
close(5)                                = 0
mmap(NULL, 1417216, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x
2b06e7270000
brk(0x593000)                           = 0x593000
brk(0x5bd000)                           = 0x5bd000
...
then pretty soon the string of ioctl()s...

-- 
~/.drirc is not read
https://launchpad.net/bugs/75702

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to