Open sological opened 10 years ago
It would be best if you described the issue which the patch is for.
Of course. For me and others I've seen on forums the command windows turns black when curses initializes. I'm getting output before switch and after I press Q to quit. If I use --compact or -T I have visible text all the time. This is true like 95% of the times I try, sometimes it actually works anyway. I'm running a MinGW version on windows.
Sounds like a bug in some curses versions. Does this change add CPU load to sgminer though?
No change you can measure.
Ok, disregard everything above. It's obvious now that there are bugs in pdcurses making this happen. At least on Win 8.1 64bit. I've found a work around though. Start with --compact to get to program to start without black window and then change to non-compact with commands 'D' and 'M'. I have seen others with this problem so perhaps it could be mentioned in the docs?
I had the black screen with both windows and linux using the ATI 13 driver. The issue was not with curses there is something funny with the driver. The issues only happened if I had more then one video card in my system. I upgraded to the v14 beta driver and issues had gone away.
i can say i have same problems, latest build, after a while 1-2 hours mining anything i get bsod, Black screen of death.. computer unresponsive, on reboot in event log i see this
Faulting application name: sgminer.exe, version: 0.0.0.0, time stamp: 0x53315d5b Faulting module name: libpdcurses.dll, version: 0.0.0.0, time stamp: 0x4c11ea2e Exception code: 0xc0000005 Fault offset: 0x000012fe Faulting process id: 0x23f4 Faulting application start time: 0x01cf5735f6177c91 Faulting application path: C:\cgi\go\sgminer.exe Faulting module path: C:\cgi\go\libpdcurses.dll Report Id: 350c727f-c329-11e3-9367-005056c00001
libpdcurses.dll seems o be compiled 6/11/2010 thats all i can see
All my rigs run 24/7 without an issue.
it seems that issue is caused by nscrypt with powertune > then -10, like 0 or 20...
ran for 12 hours straight at -10...still should not be pdcurses related right ?
No, this is related to your video card probably. Curses is more or less just for displaying the information as far as I know.
I think this patch will help those getting a black screen when using curses (like me)
Edit: Perhaps I spoke too soon. Can't seem to replicate my first results... Need to investigate more. It's an annoying problem. It works with --compact (and -T of course)