Author: swordfish6975

Openelec Build for OPI PC and 2 now with HW decoding

  [Copy link]
Published in 2016-5-11 21:57:41 | Show all floors
jernej replied at 2016-5-11 13:27
This "shutdown override" to do actually suspend is normal thing in OpenELEC. I think most, if not  ...

The second part I really like, the ablity to upgrade, without loosing setting, is a great time savings, which lowering my frustration with upgrades (but, keep the word, frustration in mind).I still have issues with the first part though. Starting with, what does this change do, to OrangePi's yearly power consumtion estimate? With the unit not retaining customer settings, on power loss, I don't see much advantage. Reminding you, it use to retain these settings on power loss, what changed? But now, what happens when the electric goes off, or, when I need to move the unit from room to room? You'll say you can always do a full backup, before moving the unit, adding user steps, instead of retaining ease of operation, but, this isn't much help on power interuptions. It maybe necessary to lose a little, form for fashion, to gain the availibility for the remote to function. But, were only emulating a STB, when we're really much much better than that.

3

threads

165

posts

1203

credits

Gold member

Rank: 6Rank: 6

credits
1203
Published in 2016-5-11 22:33:01 | Show all floors
Again, there's something wrong with your config. I don't know what, but I have never lost any setting. And my OpiPC is rebooted at least 3x per week by unplugging the DC jack and plugging it back in. (without shutting down properly)
The 3rd party apps that I use also don't loose any settings upon power loss.
Can you provide any specific user settings that you loose that don't have anything to do with specific 3rd party apps? Then I can test.

4

threads

1118

posts

9504

credits

Moderator

Rank: 7Rank: 7Rank: 7

credits
9504
Published in 2016-5-11 23:23:55 | Show all floors
Dima replied at 2016-5-11 11:51
On latest image I noticed occasional tearing of the screen (once few minutes). In video and in gui.  ...

I noticed that too. Only possible explanation is updated mali driver. I will revert it back.

4

threads

1118

posts

9504

credits

Moderator

Rank: 7Rank: 7Rank: 7

credits
9504
Published in 2016-5-11 23:32:55 | Show all floors
chaszim replied at 2016-5-11 14:57
The second part I really like, the ablity to upgrade, without loosing setting, is a great time sav ...

As Dima already said, data loss can happen, but it is usually minimal if at all. There is probably something wrong with your board, but since I don't have OPiPC I can just guess.

Power consumption in suspended state is minimal, much lower than when in operating mode. But AFAIK nobody bothered to measure. I also can't do much about sudden power losses. Not yet written data will be lost, same as on PC.

Published in 2016-5-12 11:32:23 | Show all floors
jernej replied at 2016-5-11 23:32
As Dima already said, data loss can happen, but it is usually minimal if at all. There is probably ...

Well, if it were one unit, I might agree, that it's something wrong with my board. But, since I have "two" OPI PC, and they're both producing the same symptoms, exactly the same way, (and this is the last 2 images), I believe that theres a problem other than the board. And, it worked before, retaining the customer settings on "power off" (either normal shutdown, or by pulling the plug), with earlier versions of the image. This first popped up about 4 images back. If it's not corrected, every time it's unplug, the power burps, or to move it to a new loction, the customer will have to spend time re-loading their customer settings they already had. I'm sorry that's just not right.



3

threads

165

posts

1203

credits

Gold member

Rank: 6Rank: 6

credits
1203
Published in 2016-5-12 13:45:18 | Show all floors
chaszim replied at 2016-5-12 11:32
Well, if it were one unit, I might agree, that it's something wrong with my board. But, since I ha ...

I also have Orangepi PC.I have tried the main functions of user settings: configured some addons like Quasar, changed time zone, changed active services, added a keyboard layout, .. And the just pulled the plug and put it back in again. All the settings I've just set remained. None of them were lost.

So I'll request it from you one last time: can you please provide a step-by-step to reproduce the problem? Then I can debug a bit and maybe help find where the problem is. By just complaining without any real logs or even steps to reproduce, your problem can't be solved.

BTW: are you sure that your SD cards isn't full?

4

threads

1118

posts

9504

credits

Moderator

Rank: 7Rank: 7Rank: 7

credits
9504
Published in 2016-5-12 23:43:05 | Show all floors
chaszim replied at 2016-5-12 04:32
Well, if it were one unit, I might agree, that it's something wrong with my board. But, since I ha ...

I will upload new build soon (few days) to fix some things and one of them will be wifi driver crash on OPiPC (don't even ask, reported almost by accident). That could be the reason why you lost your settings. Actually, if you notice some strange things in dmesg output, please report. This helps a lot in kernel crash/bug fixing.

0

threads

5

posts

34

credits

Novice

Rank: 1

credits
34
Published in 2016-5-13 06:36:52 | Show all floors
I have tried with fresh image and waiting for 10mins.. After 2-3 minutes the OpenElec logo was displayed and then it went to Input Not Supported again.

As my monitor has two states - No signal when unplaged and Input Not Supported when there is some signal but it looks like as it can not be displayed I believe there is something running on my board but it just can not be displayed on the screen.

How can I debug it?

4

threads

1118

posts

9504

credits

Moderator

Rank: 7Rank: 7Rank: 7

credits
9504
Published in 2016-5-13 06:39:43 | Show all floors
xonex replied at 2016-5-12 23:36
I have tried with fresh image and waiting for 10mins.. After 2-3 minutes the OpenElec logo was displ ...

Connect serial adapter to RX,TX and GND pins and provide the output.

Published in 2016-5-13 07:37:39 | Show all floors
Edited by chaszim at 2016-5-13 07:55
Dima replied at 2016-5-12 13:45
I also have Orangepi PC.I have tried the main functions of user settings: configured some addons li ...

Most people hate to admit when their wrong, fortunantly, I'm not one who suffers that. I think I found my error, in the sequencing, of how to change &save settings.So, I suppose, all my objections, to the other changes, are now rendered mute. And, sorry for the delay, I was at the hospital in Tampa, most of the day for tests.

This is how it works,

>Customer Setting "Task Bar" Main

System > (Confluence)Appearance > Skin > -Settings > Home window options > --- /show video information ("on" to add) /show weather information ("on" to add) ---- /Hide-Music ("on" to exclude) /Hide Pictures ("on" to exclude)
-exit -back
-exit -back
-exit -back  or the "Home" tab works too (to home screen / task bar)
choose power tab /reboot  ---> retains changes
                          /shutdown ---> retains changes

choose power button pc <2x> shutdown - restart---> retains changes
choose power button pc <1 long>  reboot---> retains changes
                          /power plug ---> looses changes

>Customer Setting "Task Bar" Subs
System > (Confluence)Appearance > Skin > -Settings > Add-on Shortcuts Add-on  <add> 1 /(Israel Live) 2/ (cCloud TV) 3/(channel PEAR)
(same for "Programs")
Home tab
choose power tab /reboot  ---> retains changes
                          /shutdown ---> retains changes

choose power button pc <2x> shutdown - restart---> retains changes
choose power button pc <1 long>  reboot---> retains changes
                          /power plug ---> looses changes


Results same as above, working.


Once the unit shuts down by any of the above shutdowns, except pulling the plug, It should have saved the settings. But, after normal shutdown is where I pull the plug, to conserve power, and other security issues. And that's where the mistake occoured. Even after shutting down normally the settings aren't saved unless you've reboot without power loss at least once.
Now, let me wager a guess here. You fixed the PC power button, about 1 or 2 images back, from 4/28. So, to restart the computer before a working power button, after normal Tab Shutdown, you had to pull the power for restart? And the settings did hold without issue before then.



My error was not rebooting to save the change.


You can't pull the power plug, until you've fully rebooted, at least once, restarting with the power button, and then shutdown again, using the shutdown tab. Once done, you can pull the plug and the settings will still hold.
So it boot>, settings>, Home>, reboot>, shutdown>, pull the plug. This works & the settings then hold.
Once everything is saved, you can pull the plug anytime after, even while watching something, that as long as there's nothing being saved, which you need if an app locks up the system.
I'm still waiting to see if the power button work on a system lockup


  
But, I still don't understand, what's going on with the time/date, dropping to 1969, &, why clock set fails for me on openELEC. I've got a thought on that. I've seen no descussion, on what time server Open/Kodi uses. The time server I add in Open's Network setting, says, keep the "pings" to a minimum, else your black listed.
So, my thoughts are, the unit looses signal from the server, it continues, until interupted, & requires to re-sync. When it can't, it runs back to the bios, which was likely written in 1969 in unix or c/pm, and takes that as the correct time stamp. It's either a problem to be solved by whoever wrote the original versions of OpenELEC. But it could just as easily be a hardware problem with OrangePi clock or bios. So, the first thing is to figure out which. It effects the ability to display accurate Time, Weather and other information, so it needs to be addressed.
Edit: BTW SD card is a 16gb. FAT is 5.12mb Free, about 128mb used EXT4 14.33GB Free / 1.72gb used


You need to log in before you can reply login | Register

Points Rule

Quick reply Top Return list