|
|
#1 | |
|
Registered User
Join Date: Jul 2005
Location: Munich
Posts: 910
|
Since 2.6.18, most semaphores in the Linux kernel have been changed to
mutexes. The kernel module of the nvidia linux graphics driver still uses semaphores. There is bascially nothing wrong about that since mutexes and semaphores can be mixed (AFAIK), but i have experienced a very strange problem with 2.6.18, 2.6.19 and 2.6.20-rt5 with UT2004: While doing network matches, it apears as if the connection to the server gets lost - means, you can still move around or perform menu operations, but you can't hit enemies, etc. With tcpdump, you can still see network traffic to/from the server - i guess this is the reason why you don't get a "connection lost" message. The problem tyically showed up within 20 minutes of playing. I tried a whole lot of things that didn't helped, but after replacing the semaphores in the nvidia graphics driver with mutexes, the problem seems to have disapeared. So if you are experiencing similar issues with newer kernels, then you may like to try out the attached patch. regards Bernhard |
|
|
|
|
|
|
#2 | |
|
Registered User
Join Date: Mar 2005
Posts: 84
|
I haven't noticed the same problem, here (maybe because I don't do any on-line gaming), but I will give you patch a try later tonight or tomorrow evening and see what happens. Have you noticed any other performance changes (for the better or for the worse) as a result?
(PS - always appreciate you efforts in the RT arena!) |
|
|
|
|
|
|
#3 | ||
|
Registered User
Join Date: Jul 2005
Location: Munich
Posts: 910
|
Quote:
difference for you, and I haven't recoginzed any significant performance boost :-) Quote:
mutexes have formerly been part of the -rt patch and now got mainstream :-) (So it is an -rt related issue? hmm ... ) regards Bernhard |
||
|
|
|
|
|
#4 | |
|
Registered User
Join Date: Jul 2005
Location: Munich
Posts: 910
|
Quote:
stability testing, of course! ;-) regards Bernhard |
|
|
|
|
|
|
#5 |
|
Unregistered User
Join Date: Apr 2006
Location: Poland, Warsaw
Posts: 203
|
And what about legacy drivers?
Any special patches for Enemy-Territory fans? ![]()
__________________
mandriva > all kthnxbai
|
|
|
|
|
|
#6 | ||
|
Registered User
Join Date: Jul 2005
Location: Munich
Posts: 910
|
Quote:
Quote:
regards Bernhard |
||
|
|
|
|
|
#7 | ||
|
Unregistered User
Join Date: Apr 2006
Location: Poland, Warsaw
Posts: 203
|
Quote:
Quote:
Does that "incompatabilities" could have any impact on ET ?
__________________
mandriva > all kthnxbai
|
||
|
|
|
|
|
#8 | |
|
Registered User
Join Date: Jul 2005
Location: Munich
Posts: 910
|
Quote:
performance difference amongst kernels (however, i didn't do benchmarks on that topic) regards Bernhard |
|
|
|
|
|
|
#9 |
|
Registered User
Join Date: Jul 2005
Location: Munich
Posts: 910
|
Hi just to keep you in the loop, the problem still exists with
the patched module. However, i have the feeling that it does show up less often than before ... With 2.6.14, this issue never showed up within many month of usage. I also tried 2.6.17 and it also seemes to be stable. I suspect the mutexes as the root cause of the problem. (BTW.: nvidia-bug-report.log doesn't give a clue what could be the problem). regards Bernhard |
|
|
|
|
|
#10 |
|
Registered User
Join Date: Jul 2005
Location: Munich
Posts: 910
|
Hi just to keep you again in the loop, the problem still exists with
"mutex-free" 2.6.17. So it seems that mutexes are basically not the problem ! However, it seems that there is some relationship concerning how often the problem occurs ... I fear, i need to go back kernel by kernel to 2.6.14 in order to figure out where the regression was introduced. regards Bernhard |
|
|
|
![]() |
| Thread Tools | |
|
|