Re: gkrellmd question

Rio <[email protected]> Thu, 14 Jan 2010 19:33:35 -0500
Newsgroups gmane.comp.gnome.apps.gkrellm
Message-ID <[email protected]>
On Thursday 14 January 2010, you wrote:
> On Wed, 13 Jan 2010 13:47:02 -0500
> Rio <[email protected]> wrote:
> 
> > ok here ya go!
> > 
> > 
> > #src/gkrellm -d 0x80
> > --- GKrellM 2.3.4 ---
> > hddtemp_daemon_read (once a minute):
> >         |/dev/sda|WDC WD7502ABYS-02A6B0|31|C||/dev/sdb|WDC WD7502ABYS-02A6B0|30|C|
> > nvidia-settings: result=1  output=
> > 2 GPUs on odyssey:0
> > 
> >     [0] odyssey:0[gpu:0] (GeForce GTX 285)
> > 
> >     [1] odyssey:0[gpu:1] (Tesla C1060)
> > 
> > 
> > nvidia-settings: gpus = 2
> ...
> > 
> > #server/gkrellmd -d 0x80
> > Starting GKrellM Daemon 2.3.4test
> >         [gkrellm_connect_to: (2,1,6) 127.0.0.1:7634]
> > hddtemp_daemon_read (once a minute):
> >         |/dev/sda|WDC WD7502ABYS-02A6B0|31|C||/dev/sdb|WDC WD7502ABYS-02A6B0|30|C|
> > nvidia-settings: result=1  output=
> > nvidia-settings: gpus = 0
> 
> gkrellm and gkrellmd both use the same source code file for running the nvidia-settings
> program, so I'm almost clueless here.  For your gkrellmd run you are getting no
> output (after the "nvidia-settings: result=1  output=" line).
> At least none from stdout and I neglected to look at stderr.  That would be the only
> thing left I can think to look at because as far as the glib g_spawn functions are 
concerned,
> the nvidia-settings command is running successfully.  But you mentioned before
> something about running as root?  Are you running either or both gkrellm and gkrellmd
> as root?  I wonder because if gkrellmd doesn't have permission to open a display
> to the X server, then nvidia-settings won't give any output on stdout.
> 

however, in these tests both gkrellm and gkrellmd debug code was running as root

i just ran gkrellmd as my user rather than root and the results are a bit different

server/gkrellmd -d 0x80
Starting GKrellM Daemon 2.3.4test                                       
        [gkrellm_connect_to: (2,1,6) 127.0.0.1:7634]                    
hddtemp_daemon_read (once a minute):                                    
        |/dev/sda|WDC WD7502ABYS-02A6B0|31|C||/dev/sdb|WDC WD7502ABYS-02A6B0|30|C|
nvidia-settings: result=1  output=
2 GPUs on odyssey:0

    [0] odyssey:0[gpu:0] (GeForce GTX 285)

    [1] odyssey:0[gpu:1] (Tesla C1060)


nvidia-settings: gpus = 2
libsensors: init OK
coretemp:/sys/class/hwmon/hwmon0/device coretemp@0/temp1 1
coretemp:/sys/class/hwmon/hwmon1/device coretemp@1/temp1 10001
coretemp:/sys/class/hwmon/hwmon2/device coretemp@2/temp1 20001
coretemp:/sys/class/hwmon/hwmon3/device coretemp@3/temp1 30001
it8718:/sys/class/hwmon/hwmon4/device it8718@290/in0 2900001
it8718:/sys/class/hwmon/hwmon4/device it8718@290/in1 2900001
it8718:/sys/class/hwmon/hwmon4/device it8718@290/in2 2900001
it8718:/sys/class/hwmon/hwmon4/device it8718@290/in3 2900001
it8718:/sys/class/hwmon/hwmon4/device it8718@290/in4 2900001
it8718:/sys/class/hwmon/hwmon4/device it8718@290/in5 2900001
it8718:/sys/class/hwmon/hwmon4/device it8718@290/in6 2900001
it8718:/sys/class/hwmon/hwmon4/device it8718@290/in7 2900001
it8718:/sys/class/hwmon/hwmon4/device it8718@290/in8 2900001
it8718:/sys/class/hwmon/hwmon4/device it8718@290/fan1 2900001
it8718:/sys/class/hwmon/hwmon4/device it8718@290/fan2 2900001
it8718:/sys/class/hwmon/hwmon4/device it8718@290/fan3 2900001
it8718:/sys/class/hwmon/hwmon4/device it8718@290/fan4 2900001
it8718:/sys/class/hwmon/hwmon4/device it8718@290/temp1 2900001
it8718:/sys/class/hwmon/hwmon4/device it8718@290/temp2 2900001
it8718:/sys/class/hwmon/hwmon4/device it8718@290/temp3 2900001
libsensors: error determining type for: it8718@290/cpu0_vid
        [gkrellm_connect_to: (2,1,6) 127.0.0.1:7634]
hddtemp_daemon_read (once a minute):
        |/dev/sda|WDC WD7502ABYS-02A6B0|31|C||/dev/sdb|WDC WD7502ABYS-02A6B0|30|C|

server/gkrellmd -d 0x88    
Starting GKrellM Daemon 2.3.4test                                           
        [gkrellm_connect_to: (2,1,6) 127.0.0.1:7634]                        
hddtemp_daemon_read (once a minute):                                        
        |/dev/sda|WDC WD7502ABYS-02A6B0|31|C||/dev/sdb|WDC WD7502ABYS-02A6B0|30|C|
nvidia-settings: result=1  output=
2 GPUs on odyssey:0

    [0] odyssey:0[gpu:0] (GeForce GTX 285)

    [1] odyssey:0[gpu:1] (Tesla C1060)


nvidia-settings: gpus = 2
libsensors: init OK
coretemp:/sys/class/hwmon/hwmon0/device coretemp@0/temp1 1
coretemp:/sys/class/hwmon/hwmon1/device coretemp@1/temp1 10001
coretemp:/sys/class/hwmon/hwmon2/device coretemp@2/temp1 20001
coretemp:/sys/class/hwmon/hwmon3/device coretemp@3/temp1 30001
it8718:/sys/class/hwmon/hwmon4/device it8718@290/in0 2900001
it8718:/sys/class/hwmon/hwmon4/device it8718@290/in1 2900001
it8718:/sys/class/hwmon/hwmon4/device it8718@290/in2 2900001
it8718:/sys/class/hwmon/hwmon4/device it8718@290/in3 2900001
it8718:/sys/class/hwmon/hwmon4/device it8718@290/in4 2900001
it8718:/sys/class/hwmon/hwmon4/device it8718@290/in5 2900001
it8718:/sys/class/hwmon/hwmon4/device it8718@290/in6 2900001
it8718:/sys/class/hwmon/hwmon4/device it8718@290/in7 2900001
it8718:/sys/class/hwmon/hwmon4/device it8718@290/in8 2900001
it8718:/sys/class/hwmon/hwmon4/device it8718@290/fan1 2900001
it8718:/sys/class/hwmon/hwmon4/device it8718@290/fan2 2900001
it8718:/sys/class/hwmon/hwmon4/device it8718@290/fan3 2900001
it8718:/sys/class/hwmon/hwmon4/device it8718@290/fan4 2900001
it8718:/sys/class/hwmon/hwmon4/device it8718@290/temp1 2900001
it8718:/sys/class/hwmon/hwmon4/device it8718@290/temp2 2900001
it8718:/sys/class/hwmon/hwmon4/device it8718@290/temp3 2900001
libsensors: error determining type for: it8718@290/cpu0_vid
        [gkrellm_connect_to: (2,1,6) 127.0.0.1:7634]
hddtemp_daemon_read (once a minute):
        |/dev/sda|WDC WD7502ABYS-02A6B0|31|C||/dev/sdb|WDC WD7502ABYS-02A6B0|30|C|


ok i changed the user gkrellmd runs as.. tried it as my desktop user and group and changed 
the group to video.. same thing. no video card temps. yet gkrellm running as my local 
desktop users sees them fine.





> Bill
> 
> ______________________________________________
> Gkrellm mailing list
> [email protected]
> Read archives-join-leave-set RSS feed:
> http://archive.lists.netservicesgroup.com
> This service is provided by The Network Services Group:
> http://www.netservicesgroup.com
> 
> 


-- 

Rio


______________________________________________
Gkrellm mailing list
[email protected]
Read archives-join-leave-set RSS feed:
http://archive.lists.netservicesgroup.com
This service is provided by The Network Services Group:
http://www.netservicesgroup.com
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.