Forum Home
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Popular

    \[solved\] Need help with cgminer in xubuntu \* miner advice

    Support
    4
    16
    9099
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • K
      Kevlar Spammer last edited by

      Well, have you tweaked the cgminer settings? Try adding these command line parameters:

      -w 256 -v 1 -I 18 -g 1 -l 1 -T --thread-concurrency 3200

      1 Reply Last reply Reply Quote 0
      • S
        svennand Regular Member last edited by

        Hmm

        intensity is at 8, if i set to 10 i get around 100khash… but get occationaly hw error, when i set 11 i get lots of hw error… lots of them…

        What can be wrong?

        heres my settings

        export DISPLAY=:0
        export GPU_USE_SYNC_OBJECTS=1
        ./cgminer --scrypt -o 192.168.0.2 -u blabla -p blabla

        should be fairly simple…

        1 Reply Last reply Reply Quote 0
        • U
          UKMark last edited by

          [quote name=“svennand” post=“5897” timestamp=“1369344576”]
          Hmm

          intensity is at 8, if i set to 10 i get around 100khash… but get occationaly hw error, when i set 11 i get lots of hw error… lots of them…

          What can be wrong?

          heres my settings

          export DISPLAY=:0
          export GPU_USE_SYNC_OBJECTS=1
          ./cgminer --scrypt -o 192.168.0.2 -u blabla -p blabla

          should be fairly simple…
          [/quote]

          Drivers? Missing Libs?

          Edit: Also see kanoi’s guide:

          https://github.com/kanoi/linux-usb-cgminer/blob/master/linux-usb-cgminer

          1 Reply Last reply Reply Quote 0
          • S
            svennand Regular Member last edited by

            hmmm
            added a couple of extras, thread-concurrency and worksize, now i get 273khash with intensity 13, 305 if i use intensity 18. no hw error.

            Im new to mining with linux, and linux in general, so seems that i need to set these values manual, that cgminer do not do a good job guessing=)

            EDIT:
            Seems that i needed to set thread-concurrency manualy to 8192 that fixed it, just typing shaders didnt help.

            1 Reply Last reply Reply Quote 0
            • S
              svennand Regular Member last edited by

              hmm

              anyone have any idea why i cant get my 6970 rig up to the hash i had on windows? now i get around 285khash pr card. it should be 450.

              ./cgminer --scrypt -thread-concurrency 8192 (also tried with shaders 1536), makes allmost no difference, intensity 16. if i turn it up to 20 i can still not get over 300…

              1 Reply Last reply Reply Quote 0
              • U
                UKMark last edited by

                [quote name=“svennand” post=“6006” timestamp=“1369402154”]
                hmm

                anyone have any idea why i cant get my 6970 rig up to the hash i had on windows? now i get around 285khash pr card. it should be 450.

                ./cgminer --scrypt -thread-concurrency 8192 (also tried with shaders 1536), makes allmost no difference, intensity 16. if i turn it up to 20 i can still not get over 300…
                [/quote]

                I know I get approx 20kH/s less on Linux per card compared to Windows and this is because of better Driver compatibility and support for Windows by AMD… But nearly 200 difference and I would suspect my first suggestion that I made to you.

                1 Reply Last reply Reply Quote 0
                • S
                  svennand Regular Member last edited by

                  Strange,
                  followed the exact same recipie as the prevouse rig which gets me 570 on 7970 and 280 on 7850.

                  Tried changing thread-concurrency with hardly not much impact, unless i set it to 3200 then the hashrate goes higher but i get flooded with hw error.
                  tried setting -v 1 and -g1
                  worksize to 256 and adjusted Intensity both up and down.

                  Im really loving xubuntu on my rigs (remote control and so on), so i really want this to work=)

                  1 Reply Last reply Reply Quote 0
                  • U
                    UKMark last edited by

                    [quote name=“svennand” post=“6028” timestamp=“1369405680”]
                    Strange,
                    followed the exact same recipie as the prevouse rig which gets me 570 on 7970 and 280 on 7850.

                    Tried changing thread-concurrency with hardly not much impact, unless i set it to 3200 then the hashrate goes higher but i get flooded with hw error.
                    tried setting -v 1 and -g1
                    worksize to 256 and adjusted Intensity both up and down.

                    Im really loving xubuntu on my rigs (remote control and so on), so i really want this to work=)
                    [/quote]

                    Is 280 normal for a 7850? I’m seeing 420+ off my 6950’s all standard factory clock…

                    1 Reply Last reply Reply Quote 0
                    • S
                      svennand Regular Member last edited by

                      [quote name=“UKMark” post=“6031” timestamp=“1369406008”]
                      [quote author=svennand link=topic=766.msg6028#msg6028 date=1369405680]
                      Strange,
                      followed the exact same recipie as the prevouse rig which gets me 570 on 7970 and 280 on 7850.

                      Tried changing thread-concurrency with hardly not much impact, unless i set it to 3200 then the hashrate goes higher but i get flooded with hw error.
                      tried setting -v 1 and -g1
                      worksize to 256 and adjusted Intensity both up and down.

                      Im really loving xubuntu on my rigs (remote control and so on), so i really want this to work=)
                      [/quote]

                      Is 280 normal for a 7850? I’m seeing 420+ off my 6950’s all standard factory clock…
                      [/quote]

                      i had 250 under windows, on all of my three 7850 (asus sapphire and gigabyte), everything at stock.
                      This is as far as i know normal as long as you do not do any overclocking I over 13 and so on.

                      However they use VERY little power. so 250 is pretty decent compared to their power consumption.

                      Seems that i getting closer now, when i completly removed the thread-concurrency i now get 400khash on each of those 5 cards.
                      Still not there, but it seems that the run somewhat cooler than they did under windows.

                      1 Reply Last reply Reply Quote 0
                      • U
                        UKMark last edited by

                        [quote name=“svennand” post=“6053” timestamp=“1369408979”]
                        [quote author=UKMark link=topic=766.msg6031#msg6031 date=1369406008]
                        [quote author=svennand link=topic=766.msg6028#msg6028 date=1369405680]
                        Strange,
                        followed the exact same recipie as the prevouse rig which gets me 570 on 7970 and 280 on 7850.

                        Tried changing thread-concurrency with hardly not much impact, unless i set it to 3200 then the hashrate goes higher but i get flooded with hw error.
                        tried setting -v 1 and -g1
                        worksize to 256 and adjusted Intensity both up and down.

                        Im really loving xubuntu on my rigs (remote control and so on), so i really want this to work=)
                        [/quote]

                        Is 280 normal for a 7850? I’m seeing 420+ off my 6950’s all standard factory clock…
                        [/quote]

                        i had 250 under windows, on all of my three 7850 (asus sapphire and gigabyte), everything at stock.
                        This is as far as i know normal as long as you do not do any overclocking I over 13 and so on.

                        However they use VERY little power. so 250 is pretty decent compared to their power consumption.

                        Seems that i getting closer now, when i completly removed the thread-concurrency i now get 400khash on each of those 5 cards.
                        Still not there, but it seems that the run somewhat cooler than they did under windows.
                        [/quote]

                        Yeah I don’t use TC setting either, --shaders is all I use, works well for me.

                        1 Reply Last reply Reply Quote 0
                        • S
                          svennand Regular Member last edited by

                          i usually only set shaders. but when i did i got only low hash

                          1 Reply Last reply Reply Quote 0
                          • S
                            solasaurus last edited by

                            [quote name=“svennand” post=“5890” timestamp=“1369344038”]
                            Woho i fixed it.

                            if anybody else has this problem.

                            just do this:

                            sudo apt-get install libudev1
                            cd /lib/x86_64-linux-gnu/
                            ln -s libudev.so.1 libudev.so.0

                            and done 8)
                            [/quote]

                            Just wanted to post to say thanks for posting this solution. I followed the same instructions you followed and got stuck at the same point with the same error. This helped me solve the problem and get my cgminer operational. So a thankyou is in order.

                            1 Reply Last reply Reply Quote 0
                            • S
                              svennand Regular Member last edited by

                              [quote name=“solasaurus” post=“18602” timestamp=“1372490472”]

                              Just wanted to post to say thanks for posting this solution. I followed the same instructions you followed and got stuck at the same point with the same error. This helped me solve the problem and get my cgminer operational. So a thankyou is in order.
                              [/quote]

                              Sweet :)

                              1 Reply Last reply Reply Quote 0
                              • First post
                                Last post