Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

[Solved]hp pavilion, Stretch, display rotates spontaneously

Graphical Environments, Managers, Multimedia & Desktop questions.
Post Reply
Message
Author
amorales
Posts: 32
Joined: 2013-12-29 07:53

[Solved]hp pavilion, Stretch, display rotates spontaneously

#1 Post by amorales »

Hi:
In a hp pavilion 15 Notebook PC with Debian Stretch, display rotates spontaneously from time to time.
Some body knows a solution to this Problem?
Thanks.
Last edited by amorales on 2017-12-30 04:11, edited 1 time in total.

User avatar
debiman
Posts: 3063
Joined: 2013-03-12 07:18

Re: In a hp pavilion with Stretch, display rotates spontaneo

#2 Post by debiman »

full hardware specs please, exact model etc.
does this have screen rotating sensors?
and a better problem description would be good.

amorales
Posts: 32
Joined: 2013-12-29 07:53

Re: In a hp pavilion with Stretch, display rotates spontaneo

#3 Post by amorales »

Hi:
Complete specifications are: HP Pavilion model 15-p001la.
No touchscreen, no screen rotating sensors.
AMD Quad-Core A10-5745M, AMD Radeon R7 M260
Description of the problem: Some minutes after login without any action of the user, display begins rotating with a rotation each ~5 minutes. The display remains ~5 minutes with rotation 90° and then ~5 minutes with rotation -90°, and so for.
I will provide more information as demanded.
Thanks.

Wheelerof4te
Posts: 1454
Joined: 2015-08-30 20:14

Re: In a hp pavilion with Stretch, display rotates spontaneo

#4 Post by Wheelerof4te »

Do you have firmware-amd-graphics installed?

amorales
Posts: 32
Joined: 2013-12-29 07:53

Re: In a hp pavilion with Stretch, display rotates spontaneo

#5 Post by amorales »

Dear Wheelerof4te:
Yes, have installed firmware-amd-graphics.
What to do?
Thanks

Wheelerof4te
Posts: 1454
Joined: 2015-08-30 20:14

Re: In a hp pavilion with Stretch, display rotates spontaneo

#6 Post by Wheelerof4te »

Try a newer kernel from backports.

amorales
Posts: 32
Joined: 2013-12-29 07:53

Re: In a hp pavilion with Stretch, display rotates spontaneo

#7 Post by amorales »

Dear Wheelerof4te:
I have installed kernel 4.13.0-0.bpo.1-amd64 but unfortunately the problem remains the same.
Do you have another suggestion?
Thanks

User avatar
debiman
Posts: 3063
Joined: 2013-03-12 07:18

Re: In a hp pavilion with Stretch, display rotates spontaneo

#8 Post by debiman »

anything in the logs? that would be Xorg log, dmesg and journalctl.

oh, and a general

Code: Select all

lspci -k | grep -iEA5 'vga|3d|display'
xrandr
cannot hurt.

Wheelerof4te
Posts: 1454
Joined: 2015-08-30 20:14

Re: In a hp pavilion with Stretch, display rotates spontaneo

#9 Post by Wheelerof4te »

Does the same problem occur when you select GNOME on Wayland from GDM on login? Plus what debiman said.

amorales
Posts: 32
Joined: 2013-12-29 07:53

Re: In a hp pavilion with Stretch, display rotates spontaneo

#10 Post by amorales »

Hi:
Yes the problem is the same in GNOME on Wayland.
In a first view, I don't find anything useful in Xorg log, dmesg, journalctl and lspci, but probably is because I don't know what look for.
In the mean time I have discovered a surprising behaviour: When display rotates, I can restore the right display by rotating all the laptop some 45° and coming back!
That means that the laptop has an acceleration sensor? I said before that there was not a rotation sensor. For what is it a rotation sensor in a laptop?
Anyway, looks that the laptop has a rotation sensor and now I know that I can recover the verticality each time the display rotates by rotating the laptop.
I have to do that each 5 minutes or so. Still a problem.
Anybody knows how to solve this problem?
Thanks.

User avatar
4D696B65
Site admin
Site admin
Posts: 2696
Joined: 2009-06-28 06:09
Been thanked: 85 times

Re: In a hp pavilion with Stretch, display rotates spontaneo

#11 Post by 4D696B65 »

In dconf editor, navigate to

Code: Select all

/org/gnome/settings-daemon/peripherals/touchscreen/
Check if it is set to on.

amorales
Posts: 32
Joined: 2013-12-29 07:53

Re: In a hp pavilion with Stretch, display rotates spontaneo

#12 Post by amorales »

hi 4D696B65:
The result of the search is: orientation-lock false
I tried to change to true, but I could not. The reply mesagge is: failed to commit changes to dconf
Do you have some instruction?
Thanks.

User avatar
dotlj
Posts: 646
Joined: 2009-12-25 17:21

Re: In a hp pavilion with Stretch, display rotates spontaneo

#13 Post by dotlj »

I don't have a touch screen, but suspect the touchpad may be involved.
Do you, or have you, disabled the touchpad?
If not the touchpad, something in the touch screen settings should solve this.

https://wiki.debian.org/TabletAndTouchScreen
suggests that not everything may work.
Xorg logs, as others have said may give more clues.

amorales
Posts: 32
Joined: 2013-12-29 07:53

Re: In a hp pavilion with Stretch, display rotates spontaneo

#14 Post by amorales »

Hi 4D696B65:
I could not change orientation-lock to true because I tried to do it as root, but as normal user I have succeded doing it and now the display is no more rotating. Great!
I would like to do the same as root because the initial login display also rotates. I assume that doing the same as root the login display will be fixed. dconf-editor does not allow me make changes as root. Is there another way to do that?
Would be very good to have everything fixed.
Thanks.

User avatar
4D696B65
Site admin
Site admin
Posts: 2696
Joined: 2009-06-28 06:09
Been thanked: 85 times

Re: In a hp pavilion with Stretch, display rotates spontaneo

#15 Post by 4D696B65 »

amorales wrote:Hi 4D696B65:
I could not change orientation-lock to true because I tried to do it as root, but as normal user I have succeded doing it and now the display is no more rotating. Great!
Glad to hear it worked.
amorales wrote:I would like to do the same as root because the initial login display also rotates. I assume that doing the same as root the login display will be fixed.
I don't think that would solve the greeter problem. We will need to look deeper into this.
amorales wrote: dconf-editor does not allow me make changes as root. Is there another way to do that?
As I said, I dont think you should do that.
amorales wrote:Thanks.
You're welcome.

User avatar
debiman
Posts: 3063
Joined: 2013-03-12 07:18

Re: In a hp pavilion with Stretch, display rotates spontaneo

#16 Post by debiman »

debiman wrote:does this have screen rotating sensors?
amorales wrote:In the mean time I have discovered a surprising behaviour: When display rotates, I can restore the right display by rotating all the laptop some 45° and coming back!
That means that the laptop has an acceleration sensor? I said before that there was not a rotation sensor. For what is it a rotation sensor in a laptop?
i have to remember that:
ask people for facts, you still get opinions, only they thought it was fact.

amorales
Posts: 32
Joined: 2013-12-29 07:53

Re: [Solved]hp pavilion, Stretch, display rotates spontaneo

#17 Post by amorales »

Hi:
I have marked the problem as Solved, but I must say that still the login display is some times rotated. This can cause to the Linux beginners think that this operative system is primitive, which it is not true. I must remind that looks that the problem is specific to hp pavilion, therefore hp pavilion must take some action.
Thanks.

User avatar
debiman
Posts: 3063
Joined: 2013-03-12 07:18

Re: [Solved]hp pavilion, Stretch, display rotates spontaneo

#18 Post by debiman »

thoughts:
the screen rotation is triggered by some sensor, which is basically a device of your computer, and probably has a driver/module.

maybe you can

- disable the module. no more screen rotation.

or

- see if something can be done about the driver: driver options, newer driver, newer firmware...

Post Reply