View Single Post
Old 01-26-11, 09:15 AM   #31
Registered User
Join Date: May 2004
Location: Norway
Posts: 117
Default Re: NVRM: os_schedule: Attempted to yield the CPU while in atomic[...] [260.19.21 x86

Originally Posted by voegel View Post
I just tried disabling OpenGL sync to vblank in nvidia-settings with no effect. Disabling in the application isn't possible. I wasn't aware that this option has been removed with mythtv 0.24.

An upgrade to 270.18 didn't help either.
If you read a bit more carefully, you'll see that it's the "Sync to vblank" option in Compiz-settings that I'm talking about (ccsm), not the "opengl vblank sync" option in nvidia-settings.

Anyway, after disabling vblank-sync in Compiz, everything has been stable, including games and suspend/resume. I still get oodles of "os_raise_smp_barrier()" in the kernel log though, and that isn't exactly pretty. I'm running everything with "__GL_SYNC_TO_VBLANK" env var set, so OpenGL-apps sync good enough (though Compiz is not 100% tear free). This variable should be same setting that is present in nvidia-settings.
oyvind is offline   Reply With Quote