Fedora Linux Support Community & Resources Center
  #1  
Old 3rd January 2017, 02:14 PM
exilholsteiner Offline
Registered User
 
Join Date: Dec 2016
Location: Germany
Posts: 5
linuxfirefox
Unhappy Strange screen rotation issue under Gnome/Cinnanom

Hi everybody,

I have a strange screen rotation issue on my HP 350 G1 notebook. Under Gnome, Cinnamon and GDM the screen is displayed upside down. This does not occur under SDDM and other desktop environments like KDE/Plasma or Mate. I can rotate the screen to normal via the Gnome and Cinnampn system settings or with the xrandr command, but this setting is not saved, so the display is turned upside down again when I log in to Gnome or Cinnamon the next time. This phenomenon also occurs when I create a new user account and log in to Gnome or Cinnamon for the first time with the new user account. This looks like a Gnome/GTK bug to me. The problem didn't occur under a parallel installation of Debian Testing on the same notebook until today.

Is there any global Gnome/GTK configuration file where I can prevent GDM and Gnome/Cinnamon from rotating the screen 180°?

I have added the command "xrandr --output eDP1 --rotate normal" as a startup application in the Cinnamon system settings as a workaround, but this doesn't solve the issue with GDM and doesn't get rid of the problem once and for all.

Edit: Sorry I forgot to mention that I am using Fedora 25

--------
$ lspci
00:00.0 Host bridge: Intel Corporation Haswell-ULT DRAM Controller (rev 0b)
00:02.0 VGA compatible controller: Intel Corporation Haswell-ULT Integrated Graphics Controller (rev 0b)
00:03.0 Audio device: Intel Corporation Haswell-ULT HD Audio Controller (rev 0b)
00:14.0 USB controller: Intel Corporation 8 Series USB xHCI HC (rev 04)
00:16.0 Communication controller: Intel Corporation 8 Series HECI #0 (rev 04)
00:1b.0 Audio device: Intel Corporation 8 Series HD Audio Controller (rev 04)
00:1c.0 PCI bridge: Intel Corporation 8 Series PCI Express Root Port 1 (rev e4)
00:1c.1 PCI bridge: Intel Corporation 8 Series PCI Express Root Port 2 (rev e4)
00:1c.3 PCI bridge: Intel Corporation 8 Series PCI Express Root Port 4 (rev e4)
00:1d.0 USB controller: Intel Corporation 8 Series USB EHCI #1 (rev 04)
00:1f.0 ISA bridge: Intel Corporation 8 Series LPC Controller (rev 04)
00:1f.2 SATA controller: Intel Corporation 8 Series SATA Controller 1 [AHCI mode] (rev 04)
00:1f.3 SMBus: Intel Corporation 8 Series SMBus Controller (rev 04)
01:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 10)
02:00.0 Network controller: Ralink corp. RT3290 Wireless 802.11n 1T/1R PCIe
02:00.1 Bluetooth: Ralink corp. RT3290 Bluetooth
03:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. RTS5227 PCI Express Card Reader (rev 01)

$ xrandr -q
Screen 0: minimum 8 x 8, current 1366 x 768, maximum 32767 x 32767
eDP1 connected primary 1366x768+0+0 (normal left inverted right x axis y axis) 340mm x 190mm
1366x768 59.99*+ 39.94
1280x720 60.00
1024x768 60.00
1024x576 60.00
960x540 60.00
800x600 60.32 56.25
864x486 60.00
640x480 59.94
720x405 60.00
680x384 60.00
640x360 60.00
DP1 disconnected (normal left inverted right x axis y axis)
HDMI1 disconnected (normal left inverted right x axis y axis)
VIRTUAL1 disconnected (normal left inverted right x axis y axis)

Last edited by exilholsteiner; 3rd January 2017 at 03:15 PM. Reason: forgot necessary information
Reply With Quote
  #2  
Old 3rd January 2017, 05:19 PM
flyingdutchman Online
Registered User
 
Join Date: Jan 2015
Location: Al Ain, UAE
Posts: 633
macosfirefox
Re: Strange screen rotation issue under Gnome/Cinnanom

A true perverted bug...

If I were you, I'd just carry on with the xrandr solution - chalk it up to one of life's little mysteries and forget about it.
__________________
--
Have fun!
http://www.aeronetworks.ca
Reply With Quote
  #3  
Old 6th January 2017, 03:51 PM
Englischdude Offline
Registered User
 
Join Date: Dec 2016
Location: Bregenz, Austria
Posts: 11
linuxchrome
Re: Strange screen rotation issue under Gnome/Cinnanom

that is an easy one maybe, go to setting and then general settings, there is a bar to select Auto rotate screen. turn it off!
Reply With Quote
  #4  
Old 8th January 2017, 04:08 PM
exilholsteiner Offline
Registered User
 
Join Date: Dec 2016
Location: Germany
Posts: 5
linuxfirefox
Re: Strange screen rotation issue under Gnome/Cinnanom

Quote:
Originally Posted by Englischdude View Post
that is an easy one maybe, go to setting and then general settings, there is a bar to select Auto rotate screen. turn it off!
Thanks for your reply.

That setting prevents Cinnamon (and Gnome) from rotating during a session and obsolates my xrandr solution. But it doesn't solve the issue with GDM. The GDM login screen is still turned upside down.

I've noticed that making that setting creates a file ~/.config/monitors.xml. Following this tip, I've copied this monitors.xml to /var/lib/gdm/.config/, but without success. The GDM login screen is still turned upside down, even after disabling Wayland.

I guess I'll follow flyingdutchman's advice and use SDDM instead of GDM. At least Cinnamon is usable again.
Reply With Quote
  #5  
Old 9th January 2017, 07:41 PM
Englischdude Offline
Registered User
 
Join Date: Dec 2016
Location: Bregenz, Austria
Posts: 11
linuxchrome
Re: Strange screen rotation issue under Gnome/Cinnanom

Quote:
Originally Posted by exilholsteiner View Post
Thanks for your reply.

That setting prevents Cinnamon (and Gnome) from rotating during a session and obsolates my xrandr solution. But it doesn't solve the issue with GDM. The GDM login screen is still turned upside down.

I've noticed that making that setting creates a file ~/.config/monitors.xml. Following this tip, I've copied this monitors.xml to /var/lib/gdm/.config/, but without success. The GDM login screen is still turned upside down, even after disabling Wayland.

I guess I'll follow flyingdutchman's advice and use SDDM instead of GDM. At least Cinnamon is usable again.
ok, then blacklist the accelerometer

/etc/modprobe.d/blacklist.conf:

blacklist hp_accel
Reply With Quote
  #6  
Old 11th January 2017, 04:18 AM
exilholsteiner Offline
Registered User
 
Join Date: Dec 2016
Location: Germany
Posts: 5
linuxfirefox
Re: Strange screen rotation issue under Gnome/Cinnanom

Quote:
Originally Posted by Englischdude View Post
ok, then blacklist the accelerometer

/etc/modprobe.d/blacklist.conf:

blacklist hp_accel
That 's it

Since i've replaced the HD with an SSD a couple of months ago, the accelerometer doesn't seem to anywayprovide any value anyway
Reply With Quote
  #7  
Old 11th January 2017, 08:55 PM
Englischdude Offline
Registered User
 
Join Date: Dec 2016
Location: Bregenz, Austria
Posts: 11
linuxchrome
Re: Strange screen rotation issue under Gnome/Cinnanom

Quote:
Originally Posted by exilholsteiner View Post
That 's it

Since i've replaced the HD with an SSD a couple of months ago, the accelerometer doesn't seem to anywayprovide any value anyway
glad it is solved, drove me nuts too.... i also have the 350 g1
Reply With Quote
Reply

Tags
gnome, gnome or cinnanom, hp 350 g1, rotation, screen, strange

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Fedora 25 Screen Rotation Issues eseyden Hardware & Laptops 1 13th December 2016 08:39 PM
TABLET and screen rotation problem shedyed Hardware & Laptops 4 1st October 2011 03:34 PM
Screen rotation script for HP TC4200 csmith Programming & Packaging 2 25th April 2010 05:45 AM
screen rotation on CF-19 dweeborks Using Fedora 0 20th April 2010 08:48 PM
How to get screen rotation in boot up automatically? yu xintian Using Fedora 3 5th March 2010 01:56 AM


Current GMT-time: 00:11 (Tuesday, 27-06-2017)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat