Would it be a good/stupid idea to check for fglrx during wineboot, and set OSRM to a different value than fbo?
2009/6/6 Henri Verbeet hverbeet@gmail.com:
2009/6/6 Kovács András andras@csevego.net:
wine: Unhandled page fault on read access to 0x00000018 at address 0x7c71fb02 (thread 0009), starting debugger... Unhandled exception: page fault on read access to 0x00000018 in 32-bit code (0x7c71fb02). Register dump: CS:0073 SS:007b DS:007b ES:007b FS:0033 GS:003b EIP:7c71fb02 ESP:0033e2a4 EBP:7d838810 EFLAGS:00210246( R- -- I Z- -P- ) EAX:00000001 EBX:00000001 ECX:7d49d6a0 EDX:00000000 ESI:00000000 EDI:7d715258 Stack dump: 0x0033e2a4: 7c70ca7f 00000000 00000000 7d847520 0x0033e2b4: 7d612f90 7d612f90 00000000 00000000 0x0033e2c4: 00000000 00000000 7d82e7b8 7d612f90 0x0033e2d4: 7d82e7b8 7d848010 00000000 7d82e7b8 0x0033e2e4: 00000000 00000000 7d7e2628 00000000 0x0033e2f4: 7d612f90 7d6a7e88 00000000 00000000 Backtrace: =>0 0x7c71fb02 in fglrx_dri.so (+0x713b02) (0x7d838810) 0x7c71fb02: movl 0x18(%edx),%eax
That's probably the same issue as http://bugs.winehq.org/show_bug.cgi?id=18794 I'm afraid the conclusion there is simply going to be that fglrx's FBO support sucks. We could probably justify not checking depth stencil formats, but it's perfecly reasonable to try GL_COMPRESSED_RED_GREEN_RGTC2_EXT. The driver should of course crash on neither of those.
I suppose we could blacklist EXT_framebuffer_object on fglrx, but that will likely just hurt more in the long term.