<<  >> (p.249)
    Author Topic: OFFICIAL CGMINER mining software thread for linux/win/osx/mips/arm/r-pi 4.11.1  (Read 5806567 times)
    This is a self-moderated topic. If you do not want to be moderated by the person who started this topic, create a new topic. (3 posts by 1+ user deleted.)
    kano
    Legendary
    *
    Offline Offline

    Activity: 4746
    Merit: 1907


    Linux since 1997 RedHat 4


    View Profile
    April 20, 2012, 04:50:21 AM
     #4961

    Who was the moron who thought up 8? Me. 14 was the tipping point. Beyond 14 the display became corrupt. It is impossible to create "windows" off-screen with a curses display meaning that when I tried to make the window larger, it generated all sorts of annoying problems to do with trying to "resuscitate" the display when it's resized to a reasonable size. Now I'm quite sure you really could not care less about the reasons behind the annoying code problems that affect me. The reason I chose 8 was that I figured anyone with more than 8 devices is likely to at some stage get to 16, 20, whatever, and NOT be using GPUs, since most drivers are limited to 8 devices. Bad choice? Maybe, but there is another limit at 14 which will affect you at some stage even if you're okay at 12. So I can easily change it to 14 on the next release, but then you'll be burnt beyond that. When I created the curses interface for cgminer I never anticipated device numbers would be a limit. I CAN rewrite it entirely to make no upper limit but that would involve doing some annoying code rewrites.
    I was thinking (well I've actually already done the change on my machine) to make it 8 by default (though 14 now since you said there is some issue above 14) and a parameter --max-status-lines that people can use and be damned of the consequences of their own choice if they resize the screen?

    No idea if that is problematic or not - but if resizing the screen before starting cgminer works OK for more than 14 (and not changing it smaller later) then those with many FPGA's who still want to see all that info in a single terminal window can cause their own problems if they wish by using the --max-status-lines option?

    (and adding the option is of course a simple code change)

    Though, I guess, I can see that coming back in the future to bite you coz people will then say it doesn't work when they use that option and resize the screen to mess it up ...

    Pool: https://kano.is - low 0.5% fee PPLNS 3 Days - Most reliable Solo with ONLY 0.5% fee   Bitcointalk thread: Forum
    Discord support invite at https://kano.is/ Majority developer of the ckpool code - k for kano
    The ONLY active original developer of cgminer. Original master git: https://github.com/kanoi/cgminer
Page 248
Viewing Page: 249