Could someone please be so kind to explain to me what the following means and what I can do, if possible, to fix it:
Couldn't reference dri2 back buffer handle 0x00000002: No such file or directory
Segmentation fault
I know what segmentation fault is, but the rest is a mystery to me. This is on OpenSuse 11.3, 64bit.
I get it from some games I installed for the kids to play, but obviously they can’t until I’ve managed to fix that. It happens in Ppracer and Super Maryo Chronicles, and the games worked fine in 11.2. Same graphics card too, and the same xorg.conf file. DRI is enabled in that config-file.
The gfx-card works fine otherwise, and it’s an Intel G33 GPU. I do get some lock-ups now and then, but I’m not sure if it’s the gfx-card/driver or something else.
Any ideas?
I’m on Gentoo and I’m seeing this too. I’ve delved into some source code and have found that the relevant files are intel/intel_bufmgr_gem.c from libdrm and src/mesa/drivers/dri/i915/intel_context.c (in my case, I have an i915) from Mesa but I still don’t know what the actual problem is. Have you had any luck?
Indeed I have.
First I needed to upgrade all of X11. I don’t know how to do that on Gentoo, but in Suse I added this repo: URL: Index of /repositories/X11:/XOrg/openSUSE_11.3
Secondly, I removed my legacy xorg.conf.
Suse uses a xorg.conf.d directory to override the default values if they are not suitable. So, I modified the 50-device.conf in that directory to look like this:
Section "Device"
Identifier "Default Device"
#Driver "radeon"
## Required magic for radeon/radeonhd drivers; output name
## (here: "DVI-0") can be figured out via 'xrandr -q'
#Option "monitor-DVI-0" "Default Monitor"
Driver "intellegacy"
EndSection
A reboot and everything worked. So in essence, probably bug(s) in either the intel driver or somewhere else in the x11 stack.
Hmm, I suppose that’s one way to fix it for now but that just switches back to the old pre-KMS driver. I’d like to use the new stuff if I can. I’ll keep digging. Thanks.
True. It’s a bit of a workaround, but for now I’m happy that it works. If you find a better solution, please post it here as well.