andreiw / RaspberryPiPkg

DEPRECATED - DO NOT USE | Go here instead ->
https://github.com/tianocore/edk2-platforms/tree/master/Platform/RaspberryPi/RPi3
744 stars 143 forks source link

The Raspberry Pi Processor Clock and Windows 10 #83

Closed Andrew752 closed 5 years ago

Andrew752 commented 5 years ago

I don't knew if this problem related to UEFI or no BUT i want your HELP @andreiw . Hello, i have a problem about the processor, i have changed from Raspberry configurations > chipset configuration > clock from "override" to "MAX" but it still shown in task manger that's the speed of the processor is 0.60 GHz not 1.2 GHz and the windows is very slow :(

andreiw commented 5 years ago

Change the frequency in UEFI, say 'Y' to confirm changes, it will prompt you to reset. Enter UEFI Config again. Does it say 1.2Ghz?

A

On Mon, Oct 1, 2018 at 10:23 AM Andrew akram notifications@github.com wrote:

I don't knew if this problem related to UEFI or no BUT i want your HELP @andreiw https://github.com/andreiw . Hello, i have a problem about the processor, i have changed from Raspberry configurations > chipset configuration > clock from "override" to "MAX" but it still shown in task manger that's the speed of the processor is 0.60 GHz not 1.2 GHz and the windows is very slow :(

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/andreiw/RaspberryPiPkg/issues/83, or mute the thread https://github.com/notifications/unsubscribe-auth/AAstayQ8Xn13g3WFv0ydUi9AGtv5IFYAks5ugiV4gaJpZM4XCLdb .

-- A

Andrew752 commented 5 years ago

I have done that very carefully and it is saying 1.2Ghz but Windows 10 say 0.60Ghz

andreiw commented 5 years ago

So windows is setting it back. It means it is doing power management and knows how to drive the Pi. That’s a good thing - when its not idling it will probably set it higher.

A

1 окт. 2018 г., в 12:19, Andrew akram notifications@github.com написал(а):

I have done that very carefully and it is saying 1.2Ghz but Windows 10 say 0.60Ghz

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or mute the thread.

BelleNottelling commented 5 years ago

Unless it's saying that the maximum speed is 0.60GHz

Andrew752 commented 5 years ago

@andreiw I think it is not a good thing because windows is very slow and some times it's showing to me a blue screen while using, But please if you knew a method i can with it prevent the windows from setting it back tell me. @BenNottelling Amm.. Chipset clock in the UEFI Menu is saying 1.2Ghz but Windows 10 > Task manager say 0.60Ghz and the Windows is very SLOW.. i don't knew if it from the Raspberry Pi. I'm Using The Raspberry Pi 3 model b (WIFI & Bluetooth Built in) Made in UK

img_20181001_233340 img_20181001_233448

andreiw commented 5 years ago

Frustrating, but I can't repro your bad luck.

I've tried 09/18 UEFI build and everything older and newer. I've used the same build as you (17134). See screenshot for Pi 3B+ and 3. img_3903

img_2775

One thought I have is thermal throttling - I see you have no heat sink anywhere in sight. The other question is what drivers do you have installed (but this is probably more a question for @mariobalanica and the WoR project)

Closing this one. Sorry.

Andrew752 commented 5 years ago

Okay thanks for your help. Don't apologize, you did your job and I really appreciate your tired to help me. But Please last thing can you please take a photo for your raspberry pi 3 model b with your thermal throttling please and thanks.

andreiw commented 5 years ago

Yep, here's a photo of my set up . The black one is the Pi 3B, but you can see that both have heatsinks on like every chip.

img_1377

andreiw commented 5 years ago

I think it'd be nice to be able to tell if the OS really is telling it to run slower or if it's a different problem.

I filed https://github.com/andreiw/RaspberryPiPkg/issues/84 which may shed light on what's going on here.

Andrew752 commented 5 years ago

Thanks for everything. I really appreciate your help and I'm trying everything possible to knew the answer. I will buy heatsink for my Raspberry Pi 3 next Thursday and i will tell you what i will come up with.

andreiw commented 5 years ago

Please ask around the WoR forum or in the big thread (https://github.com/andreiw/RaspberryPiPkg/issues/12), specifically @mariobalanica. I am assuming you were using his raspberry pi tool, and I'm hoping other people can pipe in as to what they see the frequency being.

kingdevnl commented 5 years ago

@andreiw What do you use for serial debugging?

Andrew752 commented 5 years ago

@andreiw, Okay, Yes i have used the WoR Project, Because i found the method of the WoR Project is letting me to go to the windows Frist boot setup Menu and after that the sound is working very well. I will try everything i can do and when i fix this up i will tell.

Andrew752 commented 5 years ago

Actually, the problem is not thermal throttling. There is something wrong. I think windows can not change it maybe its from Kind of The inner system of the raspberry or it is not accepting the information from the UEFI as well as shown in the UEFI Menu.

andreiw commented 5 years ago

@kingdevnl

A USB serial breakout adapter will do. You need the one with 3.3V levels (not 5V or 12V). Something like https://www.amazon.com/Rapsberry-TTL-232R-RPI-Compatible-Programming-EZSync012/dp/B015ME2WKO/ref=sr_1_12?ie=UTF8&qid=1538797055&sr=8-12&keywords=3.3v+serial+raspberry or https://www.amazon.com/SunFounder-FT232RL-Adapter-Arduino-Raspberry/dp/B01K1RQE38/ref=sr_1_21?ie=UTF8&qid=1538797098&sr=8-21&keywords=3.3v+serial+raspberry.

SparkFun or Adafruit are other places you can find them. Again, be careful not to get 5V ones. You connect it to the TX, RX and GND wires. Be sure to connect Pi RX to adapter TX, and adapter RX to Pi Tx (i.e. null-modem it).

img_5787

img_6085

jrhqi

andreiw commented 5 years ago

@Andrew752 so the text you see in UEFI setup screen is actually the value the hardware reports back (i.e. it's not the value it thinks its setting, its actually the value it reads back),

Andrew752 commented 5 years ago

I have tried everything possible but its still the same(I have used the driver's which you provide but the processor has the same speed and the windows is running very slow & I have used the davindra tutorial and I followed him very carefully but still same) I have no idea what kind of problems I'm facing now. I'm getting disappointed :(

Andrew752 commented 5 years ago

I want to ask you another question but Its not a problem. I want to knew can I run Windows 7 on the raspberry pi and if yes how?

Andrew752 commented 5 years ago

There is something strange i have realized recently?! As you knew. I'm new in this so i saw a lighting icon on the corner of the screen. What is that mean? Do you knew?

under_volt

BelleNottelling commented 5 years ago

An orange lighting bolt means your pi isn't running on an idea power supply and probably isn't getting as much power as it needs.. as for Windows 7 there is an arm version of embedded that my friend said he got working on his pi, but it's hard to come by. He got his from SSDs that came out of systems such as an ATM

Andrew752 commented 5 years ago

Okay. But do you think this orange lighting bolt can reduce the CPU speed?

BelleNottelling commented 5 years ago

I believe it does

Andrew752 commented 5 years ago

So how can I fix it? I'm using my Samsung charger to power up my raspberry pi 3

BelleNottelling commented 5 years ago

Buy a power supply that correctly matches the Pi's needs. I bought a case that had one with it and it works great.. but if you have other chargers you can totally try them

Andrew752 commented 5 years ago

I have a 2.4A charger can this run the pi correctly or I should expect from it to be a very big explosion

kingdevnl commented 5 years ago

Thanks andreiw, Im looking into ordering one soon

kingdevnl commented 5 years ago

@Andrew752 2AMP should work fine, Check the cable Some cheap cables don't seem to work, I have no clue why tho.

Andrew752 commented 5 years ago

@kingdevnl Cheap cables? I have been distracted. So now the problem is a power problem, I will see if i have other cables and i will try it. This is my charger which I'm using right now and it's not working fine (Now i don't knew if it the cable or the charger)

img_20181009_025348

.

Googulator commented 5 years ago

I suspect that charger may be a counterfeit.

I have the exact same charger model EP-TA20EWE, which I know to be genuine since it came from a Samsung Experience Store. samsungafc_genuine

There are some visible differences:

samsungafc_comparison

EDIT: Also, "MODELNO" instead of "MODEL NO"

Andrew752 commented 5 years ago

Wow, Thank you @Googulator for your help. I really appreciate it so much :), So the charger which i have is a fake one? Okay i have ordered something else from amazon, which i think it will give me 5V and 2.4A. I think that's the best solution, I have changed the whole charger (Note: I have read that's the FAST CHARGER can Adversely affect the Raspberry pi) and i have changed the wire too.

Andrew752 commented 5 years ago

I'm right now building AI Assistant called "Karin" based on C# and she is runing only on Windows OS so i want a portable Windows to take she everywhere with me. Several days ago i have bought for the first time a new Raspberry pi model b, When i heard that's it is possible to run on it Windows 10 ARM (The desktop Version) and when i did everything right i notice after the windows has boot up that's everything is very slow and then i opened the task manger of the windows and i find out that's is the CPU clock (speed) is 0.60GHz not 1.2GHz as it should be so i notice that there is an icon for some lighting bolt in the top of the corner of my screen so here is the solution.

hello-yellow

The last thing i have come up with: THIS problem is a power problem (under voltage problem) (under voltage can lead you to SD card corruption and other difficult to trace issues) The "lighting bolt" Image:

46590053-bedcdb00-cab0-11e8-91c3-e9b587901f89

(In the corner of the screen) means that's your Raspberry PI it's not taking what it's need to power it up well and you should use a good power cable some cheap cables seams are not working WELL at all and the Raspberry pi 3 model B need's to power it up well, 5.1V at least 5.0V and 2.5A at least 2.0A. And it should work well and another thing you should knew the FAST Charging chargers can damage your Raspberry PI [i have heard this], Otherwise i don't knew what is this Mystery solution

alert-exclamation-message-warning-icon-19

[NOTE: I'm still finding the solution i have bought from amazon another Charger which it should give me 5V and 2.4A and i also bought another Micro USB cable i think it is for Oppo F9 so it is very powerful i think. (All this things should arrive the next week)] So I'm sill trying and you can follow this thread to the end to see the solution.

thanks

Finially. Thanks to @BenNottelling for explaining to me this Lighting bolt, and thanks to @Googulator and @kingdevnl for explaining to me the right charger. And last thing and the most important thing is BIG Thanks to @andreiw who have created this Beautiful UEFI and to letting me in here and for helping me and for everything. Thanks you guys i love you all.

driver1998 commented 5 years ago

@Andrew752 As far as your AI assistant project, why not port it to .Net Core? Then you can run it on IoT Core (with official support, much more stable), or even Linux.

kingdevnl commented 5 years ago

Np so samsung cables seem to work the best I never had issues with those

Andrew752 commented 5 years ago

@driver1998 I don't knew how to use IoT core and i need to make my AI Assistant run with a solo PC ( I mean run it on only one PC without the other debugging the program on the first on [Raspberry] ) and i don't knew anything on Linux Programming. @kingdevnl Yap, I think the problem was the cheap cable and the fake charger. but now unfortunately the samsung usb cable which works have been damaged (i have it from long time ago) now i have bought another one (It's not belongs to samsung, It's belongs to another company called "Aorax") and it works very well (It's not cheap one i think). AND if anyone Interested and wanna help me, You can give me some ideas there (https://github.com/Andrew752/KarinAssistant/issues/1) and thanks for everything again.

andreiw commented 5 years ago

This looks resolved