Pages:
Author

Topic: Is Linux Supposed to be laggy while mining? - page 2. (Read 1393 times)

full member
Activity: 236
Merit: 100
January 18, 2014, 01:56:58 PM
#7
Unfortunately Windows drivers are simply superior for 'normal' usage. I do think if you tune your settings you will get a higher hash rate on Linux then Windows, but you won't fix the lag problem. Ideally we should be able to run cgminer without even having X running but unfortunately the drivers don't allow this so some resources will always be wasted driving the display.

On my boxes this is how I do mining.

When the box fires up I VNC into it and open a terminal and open a tmux session in that terminal. I then disconnect the tmux session. I now disconnect the VNC session. Next, I ssh into the box and resume my tmux session. This tmux session is now running "in" X. I've tried exporting the display and for some reason that is flaky but this method works all the time. Next I run my cgminer.sh script which has something like this in it... I set the resolution of the X server to a very low value so that less resources are dedicated to driving the X Window system.

You won't notice any lag in this method because you are never waiting on the graphics display.

Code:
#!/bin/sh
export DISPLAY=:0
export GPU_USE_SYNC_OBJECTS=1
export GPU_MAX_ALLOC_PERCENT=100
xrandr -s 800x600 # this sets the resolution of your display to a low value
cgminer
full member
Activity: 238
Merit: 100
January 18, 2014, 01:17:26 PM
#6
I may be a Linux noob guys but I'm not a mining newb.  Cool  I know I could lower intensity.  I shouldn't have to do that.  I'm using the same settings on Windows and there isn't any lag at all, which is the only reason I am asking this question.  Linux has all the rave of being better and faster than Windows and so far I am not seeing that.  I also updated the drivers to the newest ones. There is still lag. I am guessing it's normal from your guy's answers.

I even use Intensity 13 (highest for my card) on my main windows rig that I am on now and I can surf the web and watch movies while it's mining. Just as an example.  Hell I even played GTAIV the other day while it was mining (because I forgot the turn the miner off), granted the game was slower, I played for a whole couple hours before I realized I was still mining in the background.  This was on max settings in full HD with a heavily modified game.  I can't even move the mouse on Linux.  

Hashrate is also faster in Windows.  Same exact settings.  Though I'm sure that just needs readjusting.

It's just a simple question, not a complaint.  I was just wondering if it was normal and if there was a solution other than sacrificing hashrate.  I am likely to stay with Linux anyway given it's abilities.
sr. member
Activity: 280
Merit: 250
January 18, 2014, 12:49:32 PM
#5
You think about it, you are getting the GPU to do all these calculation, of course it will be laggy. Like someone has suggested, try to lower the intensity of the GPU which you are going to connect your monitor.

I set my to I20. I also SSH into it, and have that displayed on my laptop. I don't ever touch the rig for any reason.
legendary
Activity: 3472
Merit: 1721
January 18, 2014, 12:04:47 PM
#4
Try lowering the intensity on the GPU which is connected to the monitor.
full member
Activity: 238
Merit: 100
January 18, 2014, 12:04:33 PM
#3
same as other rigs, I 13.

There are plenty of reasons for needing to get in the rig at times while mining.  it's not like I plan to transcode videos or play games on it. come on now...
sr. member
Activity: 280
Merit: 250
January 18, 2014, 11:57:05 AM
#2
What intensity have you set it? To be honest, once you start mining. You are not really supposed to use the PC for anything else. It is a miner rig. I do mine CPU coins as well. Might as well, since the PC is running.
full member
Activity: 238
Merit: 100
January 18, 2014, 11:50:29 AM
#1
I just got setup with Xubuntu 13.10 x64 mining on one of my rigs.  All hardware is last gen Z77, Ivy bridge, SSDs, 7970s, etc.

When cgminer opens everything gets very laggy, the mouse drags behind pretty heavily.  is this normal?  How do you subside this?  In Windows 8 there is no lag whatsoever.

I'm using the same cgminer settings as usual
Pages:
Jump to: