amonakov / primus

Low-overhead client-side GPU offloading
ISC License
218 stars 21 forks source link

Crash in HL1/CS 1.6 while changing video settings #60

Closed AnAkkk closed 11 years ago

AnAkkk commented 11 years ago

In HL1/CS 1.6, when changing the video settings, the game reboots. With primusrun, it crashes. It works fine with optirun.

I'm on Kubuntu 13.04 with primusrun built from the latest sources.

The current error I am getting is:

primus: fatal: unexpected context at glXSwapBuffers

I used to have this error with primus from the Ubuntu PPA:

The program 'hl_linux' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadDrawable (invalid Pixmap or Window parameter)'.
  (Details: serial 7207 error_code 9 request_code 153 minor_code 8)
  (Note to programmers: normally, X errors are reported asynchronously;
   that is, you will receive the error a while after causing it.
   To debug your program, run it with the --sync command line
   option to change this behavior. You can then get a meaningful
   backtrace from your debugger if you break on the gdk_x_error() function.)

Reported here as well: https://github.com/ValveSoftware/halflife/issues/396

AnAkkk commented 11 years ago

Thanks, this solved the issue. Though, I am now getting the following issue that I didn't have before: https://github.com/amonakov/primus/issues/61