Giter VIP home page Giter VIP logo

Comments (7)

andresgongora avatar andresgongora commented on September 27, 2024

from synth-shell.

Nachiten avatar Nachiten commented on September 27, 2024

I have good news and bad news:

The good news is, disabling CPUTEMP in my user solved the problem, so it seems like your asumption is right.

The bad news is, when I try installing "lm-sensors" I already have it installed and updated
image

The other bad news is, I dont know where to change the greeter config for my root user. I already changed the file
/etc/synth-shell/synth-shell-greeter.config but that didnt work, I still get the default config.

image

So, I still have the default config on my root user, and I also have the error. I have been able to fix it only for my user.

Thanks for you answers :)

from synth-shell.

andresgongora avatar andresgongora commented on September 27, 2024

I'm glad one issue is solved! :)
I might not have the time until this weekend, but I'll try to find where to root config is supposed to be. Maybe it's pointing at /root/.config/synth-shell/synth-shell-greeter.config?
Also, I'll try to come up with a quick test do determine what is malformed in the sensors call; I might have to ask you to run one or two alternatives for me :)
Cheers!

from synth-shell.

Nachiten avatar Nachiten commented on September 27, 2024

I already tried that directory, but /root/.config/synth-shell does not exist here :(

image

So my two questions now are:

  1. How can I change my root user config (its always using the default)
  2. How can I make the cpu temp sensor work correctly

I would be glad to test some options to help you out

Thanks :)

from synth-shell.

derekscha avatar derekscha commented on September 27, 2024

Just to chime in with some additional information. I'm experiencing the same issue with similar cause. In my case, the output of sensors does not include a CPU temp. In your code for synth-shell-greeter.sh where you're grepping for Core to get 'temp_line', I have no string "Core" or any CPU information in my output:

iwlwifi_1-virtual-0
Adapter: Virtual device
temp1:            N/A  

nvme-pci-0400
Adapter: PCI adapter
Composite:    +36.9°C  (low  = -273.1°C, high = +84.8°C)
                       (crit = +84.8°C)
Sensor 1:     +36.9°C  (low  = -273.1°C, high = +65261.8°C)
Sensor 2:     +35.9°C  (low  = -273.1°C, high = +65261.8°C)

k10temp-pci-00c3
Adapter: PCI adapter
Tctl:         +47.5°C  

amdgpu-pci-0500
Adapter: PCI adapter
vddgfx:      706.00 mV 
vddnb:       749.00 mV 
edge:         +35.0°C  
PPT:           0.00 W  

BAT0-acpi-0
Adapter: ACPI interface
in0:          16.91 V  
curr1:         0.00 A  

Raw output:

iwlwifi_1-virtual-0
Adapter: Virtual device
temp1:
ERROR: Can't get value of subfeature temp1_input: Can't read

nvme-pci-0400
Adapter: PCI adapter
Composite:
  temp1_input: 36.850
  temp1_max: 84.850
  temp1_min: -273.150
  temp1_crit: 84.850
  temp1_alarm: 0.000
Sensor 1:
  temp2_input: 36.850
  temp2_max: 65261.850
  temp2_min: -273.150
Sensor 2:
  temp3_input: 36.850
  temp3_max: 65261.850
  temp3_min: -273.150

k10temp-pci-00c3
Adapter: PCI adapter
Tctl:
  temp1_input: 42.875

amdgpu-pci-0500
Adapter: PCI adapter
vddgfx:
  in0_input: 0.706
vddnb:
  in1_input: 0.743
edge:
  temp1_input: 34.000
PPT:
  power1_average: 0.000

BAT0-acpi-0
Adapter: ACPI interface
in0:
  in0_input: 16.913
curr1:
  curr1_input: 0.000

from synth-shell.

andresgongora avatar andresgongora commented on September 27, 2024

Hi all. Let's solve one problem at a time. First the CPU temp issue.

Thanks @derekscha for your output. I'll try to edit the script to make it handle odd situation like yours. Can you please confirm that none of those temps are related to the CPU? I'm seeing PCI stuff, GPU stuff and battery stuff... is that correct?

As for the root issue, @Nachiten , can you try to create the root config folder+file manually? I'm 99% sure (from memory) that I made the script look at the aforementioned path. If the script does not find a config file, then it will revert to defaults. My take (to make it super easy) would be to copy your normal user's synth-shell config folder under ~/.config/and just copy it to/root/.config/`. Let me know if that works. If not, maybe we should create a separate issue for this matter

from synth-shell.

Nachiten avatar Nachiten commented on September 27, 2024

Hi all. Let's solve one problem at a time. First the CPU temp issue.

Thanks @derekscha for your output. I'll try to edit the script to make it handle odd situation like yours. Can you please confirm that none of those temps are related to the CPU? I'm seeing PCI stuff, GPU stuff and battery stuff... is that correct?

As for the root issue, @Nachiten , can you try to create the root config folder+file manually? I'm 99% sure (from memory) that I made the script look at the aforementioned path. If the script does not find a config file, then it will revert to defaults. My take (to make it super easy) would be to copy your normal user's synth-shell config folder under ~/.config/and just copy it to/root/.config/`. Let me know if that works. If not, maybe we should create a separate issue for this matter

Hi, doing this copy command solved the issue cp /home/nachiten/.config/synth-shell/synth-shell-greeter.config /root/.config/synth-shell/synth-shell-greeter.config (after creating the folders manually)

Now my root loads the same config as my user, I can change it if needed.

Now my last problem would be, being able to show my cpu temp. Thanks!

from synth-shell.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.