Cameron Posted June 9, 2011 Report Posted June 9, 2011 This topic is for those experiencing problems on Linux with version 1.1.1 or above of the CRJ.Please do NOT post in this topic unless you have read and followed the procedure in the following topic: http://forums.x-pilot.com/index.php?topic=2486.0If you have followed the procedures as listed in the topic that brought you here, please attach your log.txt and crash.txt located in your main X-Plane directory. Give a brief explanation of what happened as well.Thank you! Quote
NathosThaymoth Posted June 16, 2011 Report Posted June 16, 2011 When i select the CRJ-200 my X-Plane CTD.I'm trying to run in a clean X-Plane 9 install under Linux Mint 11 (Ubuntu derivate distro).Log.txt Quote
Cameron Posted June 16, 2011 Author Report Posted June 16, 2011 Thanks. Philipp will be with your shortly! Quote
philipp Posted June 16, 2011 Report Posted June 16, 2011 Please attach the crash_log.txt also as the Log.txt alone is not revelaing much.Or if you are confident using gdb, please start X-Plane in gdb and post the stacktrace here.Instructions are available over there: http://forums.x-plane.org/index.php?showtopic=29916Philipp Quote
NathosThaymoth Posted June 16, 2011 Report Posted June 16, 2011 The strange thing is that there is no crash_log.txt file. :-[I will attach an image showing.I'll try with gdb. Quote
philipp Posted June 16, 2011 Report Posted June 16, 2011 This gdb log doesn't say anything at all, since you missed these important steps (condensed the two posts into one guide):in the gdb console you will see the crash info ("catched SIGSEG blah blah ....").After x-plane has crashed execute the following commands from the gdb commandline:- set pagination off- thread apply all backtrace- NOW you can create the back trace by simply typing in: bt- the resulting output is the back trace (which you could then post here in the forum OR even better send with a bug report to Laminar).- finally you can stop the hanging X-Plane by typing kill- and leave gdb by typing quit Quote
NathosThaymoth Posted June 16, 2011 Report Posted June 16, 2011 Program received signal SIGSEGV, Segmentation fault.0xf7c080a6 in ?? () from /lib32/libc.so.6(gdb) bt#0 0xf7c080a6 in ?? () from /lib32/libc.so.6#1 0x00000000 in ?? ()(gdb) Quote
MdMax Posted June 16, 2011 Report Posted June 16, 2011 Hello !What's the version you have for /lib32/libc.so.6 ?You may have to install a newer version of libc.so.6. Quote
NathosThaymoth Posted June 16, 2011 Report Posted June 16, 2011 Hello !What's the version you have for /lib32/libc.so.6 ?You may have to install a newer version of libc.so.6.Hey! Thanks! It works now, but i got another problem. When i turn the battery on and the panels power up my CPU jump to 100% on all 4 cores and my FPS keeps oscillating from 70 to 20 making tiny freezings.See the image. Quote
MdMax Posted June 16, 2011 Report Posted June 16, 2011 ;D CPU at 100% that's a normal situation. But you can try to set the "display performance" to low in the FMC (MCDU MENU). In your log.txt file I saw you're using a Radeon graphic driver, so this may not work for you, but installing a new graphic driver helped a lot for the FPS on my Nvidia system. Quote
philipp Posted June 16, 2011 Report Posted June 16, 2011 The stacktrace looks like the stackpointer is pointing into West Gibberish. No idea what caused this, but it's great that MdMax pointed you to a possible solution that worked right away. I never tried Linux Mint, but since it is based on Ubuntu no wonder that you can use the Ubunut packets right away and it works. Great.What I see now looks fairly normal: The CRJ offloads the display rendering tasks to the other CPU cores not used by the X-Plane main thread. The CRJ rendering is designed to use up to 8 cores if available, so it is pretty normal to see a quad-core operating near 100%. Thats the purpose of supporting multi-cores. Why would you like to see the others cores (for which you paid real money) just idling around?The frame rate fluctuation however is not normal. 70 frames are useless anyhow, our eyes can't track much more than 30 frames anyway (Holywood movies have only 24, BTW). You should use the X-Plane frame rate limiting option to limit the FPS to the refresh rate of your monitor, of it still causes fluctuation, half the refresh rate of the monitor (which is most likely 30, since modern LCD monitors all run at 60Hz).Philipp Quote
NathosThaymoth Posted June 16, 2011 Report Posted June 16, 2011 The stacktrace looks like the stackpointer is pointing into West Gibberish. No idea what caused this, but it's great that MdMax pointed you to a possible solution that worked right away. I never tried Linux Mint, but since it is based on Ubuntu no wonder that you can use the Ubunut packets right away and it works. Great.What I see now looks fairly normal: The CRJ offloads the display rendering tasks to the other CPU cores not used by the X-Plane main thread. The CRJ rendering is designed to use up to 8 cores if available, so it is pretty normal to see a quad-core operating near 100%. Thats the purpose of supporting multi-cores. Why would you like to see the others cores (for which you paid real money) just idling around?The frame rate fluctuation however is not normal. 70 frames are useless anyhow, our eyes can't track much more than 30 frames anyway (Holywood movies have only 24, BTW). You should use the X-Plane frame rate limiting option to limit the FPS to the refresh rate of your monitor, of it still causes fluctuation, half the refresh rate of the monitor (which is most likely 30, since modern LCD monitors all run at 60Hz).PhilippI see your point, one of the reasons that i bought the CRJ is the optimization for multi-cores CPUs. But on my pc, looks like the CRJ is trying to get more than my CPU can give and its causing lag when all cores load 100%. On Windows it works fine, but on linux my xplane runs really more smooth with a lot more FPS, so i'm giving a chance.I tried to turn v-sync on and it seens to help a little, but i cannot find a way to fix the framerate on 30fps. When i put to set "lock on half framrate" on xplane i get 19fps and its pretty unplayable. There is one way to fix on 30fps? Like the windows program "FPS Limiter".Thanks! Quote
MdMax Posted June 16, 2011 Report Posted June 16, 2011 I tried to turn v-sync on and it seens to help a little, but i cannot find a way to fix the framerate on 30fps. When i put to set "lock on half framrate" on xplane i get 19fps and its pretty unplayable. There is one way to fix on 30fps? Like the windows program "FPS Limiter".I'm also using driver VSync to limit my framerate to 60 and I didn't find something to limit the FPS to 30.19FPS instead of 30 when using the X-Plane framerate lock set to "half refresh of monitor" is a bug I have since X-Plane 9.40.I already sent a bug report for this, but it may help Laminar Research if you also send them a bug report with your Log.txt file showing your Ati driver version. Quote
crs Posted June 16, 2011 Report Posted June 16, 2011 Seems like it is not only me left with stuttering.NathosThaymoth, please let me know if you find solution.Also, do you mind posting your CPU (cat /proc/cpuinfo) infos?Kind regards,Kamil Quote
NathosThaymoth Posted June 16, 2011 Report Posted June 16, 2011 Seems like it is not only me left with stuttering.NathosThaymoth, please let me know if you find solution.Also, do you mind posting your CPU (cat /proc/cpuinfo) infos?Kind regards,Kamilprocessor : 0vendor_id : AuthenticAMDcpu family : 16model : 4model name : AMD Phenom II X4 965 Processorstepping : 3cpu MHz : 3399.550cache size : 512 KBphysical id : 0siblings : 4core id : 0cpu cores : 4apicid : 0initial apicid : 0fpu : yesfpu_exception : yescpuid level : 5wp : yesflags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm 3dnowext 3dnow constant_tsc rep_good nopl nonstop_tsc extd_apicid pni monitor cx16 popcnt lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw ibs skinit wdt npt lbrv svm_lock nrip_savebogomips : 6799.10TLB size : 1024 4K pagesclflush size : 64cache_alignment : 64address sizes : 48 bits physical, 48 bits virtualpower management: ts ttp tm stc 100mhzsteps hwpstateprocessor : 1vendor_id : AuthenticAMDcpu family : 16model : 4model name : AMD Phenom II X4 965 Processorstepping : 3cpu MHz : 3399.550cache size : 512 KBphysical id : 0siblings : 4core id : 1cpu cores : 4apicid : 1initial apicid : 1fpu : yesfpu_exception : yescpuid level : 5wp : yesflags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm 3dnowext 3dnow constant_tsc rep_good nopl nonstop_tsc extd_apicid pni monitor cx16 popcnt lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw ibs skinit wdt npt lbrv svm_lock nrip_savebogomips : 6800.27TLB size : 1024 4K pagesclflush size : 64cache_alignment : 64address sizes : 48 bits physical, 48 bits virtualpower management: ts ttp tm stc 100mhzsteps hwpstateprocessor : 2vendor_id : AuthenticAMDcpu family : 16model : 4model name : AMD Phenom II X4 965 Processorstepping : 3cpu MHz : 3399.550cache size : 512 KBphysical id : 0siblings : 4core id : 2cpu cores : 4apicid : 2initial apicid : 2fpu : yesfpu_exception : yescpuid level : 5wp : yesflags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm 3dnowext 3dnow constant_tsc rep_good nopl nonstop_tsc extd_apicid pni monitor cx16 popcnt lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw ibs skinit wdt npt lbrv svm_lock nrip_savebogomips : 6800.28TLB size : 1024 4K pagesclflush size : 64cache_alignment : 64address sizes : 48 bits physical, 48 bits virtualpower management: ts ttp tm stc 100mhzsteps hwpstateprocessor : 3vendor_id : AuthenticAMDcpu family : 16model : 4model name : AMD Phenom II X4 965 Processorstepping : 3cpu MHz : 3399.550cache size : 512 KBphysical id : 0siblings : 4core id : 3cpu cores : 4apicid : 3initial apicid : 3fpu : yesfpu_exception : yescpuid level : 5wp : yesflags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm 3dnowext 3dnow constant_tsc rep_good nopl nonstop_tsc extd_apicid pni monitor cx16 popcnt lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw ibs skinit wdt npt lbrv svm_lock nrip_savebogomips : 6800.27TLB size : 1024 4K pagesclflush size : 64cache_alignment : 64address sizes : 48 bits physical, 48 bits virtualpower management: ts ttp tm stc 100mhzsteps hwpstateMaybe it's an AMD issue? ??? Quote
crs Posted June 16, 2011 Report Posted June 16, 2011 I have (I think) an older version - also quad core:processor : 0vendor_id : AuthenticAMDcpu family : 16model : 2model name : AMD Phenom 9850 Quad-Core Processorstepping : 3cpu MHz : 2511.625cache size : 512 KBphysical id : 0siblings : 4core id : 0cpu cores : 4apicid : 0initial apicid : 0fpu : yesfpu_exception : yescpuid level : 5wp : yesflags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm 3dnowext 3dnow constant_tsc rep_good nopl nonstop_tsc extd_apicid pni monitor cx16 popcnt lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw ibs npt lbrv svm_lockbogomips : 5023.25TLB size : 1024 4K pagesclflush size : 64cache_alignment : 64address sizes : 48 bits physical, 48 bits virtualpower management: ts ttp tm stc 100mhzsteps hwpstatePhilipp? Quote
philipp Posted June 17, 2011 Report Posted June 17, 2011 Kamil,the only common denominator I see here is that you are both using AMD processors, while MdMax and I use Intel. It might be that the CRJ plugin makes use of optimizations that work great on Intel, but less so on AMD CPUs. What is strange however, is that this issue only affects Linux users. I have no record of a Windows user on AMD having the same problem.So it might be a problem of the scheduler, who knows ???The only thing I can offer you is a specifically AMD-optimized plugin build to test. It would require you to exchange your CRJ and vascore plugins in the file manager, without an installer. As you are Linux users I have some confidence you can do this If you want to test this, dop me a private message. If this proves helpful, we might include it in a future update.Philipp Quote
crs Posted June 18, 2011 Report Posted June 18, 2011 I am happy to give it a go. Hope it will work better.What scheduler are you using?in terms of my kernel configuration:$ grep -i sched /usr/src/linux/.config CONFIG_HAVE_UNSTABLE_SCHED_CLOCK=yCONFIG_CGROUP_SCHED=yCONFIG_FAIR_GROUP_SCHED=yCONFIG_RT_GROUP_SCHED=y# CONFIG_SCHED_AUTOGROUP is not set# IO SchedulersCONFIG_IOSCHED_NOOP=yCONFIG_IOSCHED_DEADLINE=yCONFIG_IOSCHED_CFQ=yCONFIG_DEFAULT_IOSCHED=[b]"cfq"[/b]CONFIG_SCHED_OMIT_FRAME_POINTER=y# CONFIG_SCHED_SMT is not setCONFIG_SCHED_MC=yCONFIG_SCHED_HRTICK=yCONFIG_NET_SCHED=y# Queueing/Scheduling# CONFIG_USB_EHCI_TT_NEWSCHED is not set# CONFIG_SCHED_TRACER is not setKind regards,Kamil Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.