Jump to content
Forums in Read-Only Mode - Please use Reddit ×
  • 0

rotate screen on kde plasma 5


benzolius

Question

Hi,

 

I'd like to rotate the screen by 90? in a Funtoo based system on KDE Plasma 5.

 

Unfortunately I can't do that by the KDE System Settings -> Display and Monitor: Orientation (doesn't work).

 

I tried to add an xorg conf file: /etc/X11/xorg.conf.d/40-monitor.conf according to this

 

but has no effect.

 

I don't know whether I should change /etc/sddm.conf or what is the solution.

 

I'd appreciate any help.

 

Thanks

Link to comment
Share on other sites

7 answers to this question

Recommended Posts

  • 0

Please answer this question and provide the information requested below in your reply.

What direction is the rotation?

Left = Counterclockwise

Right = Clockwise

 

Information required for the Configuration

Post the link to view Xorg.0.log in your reply:

 

wgetpaste /var/log/Xorg.0.log
Post configs in /etc/X11 or /etc/X11/xorg.conf.d required by xorg-server to get a screen.

Post output from these commands in your reply:

lxrandr -q
lspci -nn | grep VGA
Link to comment
Share on other sites

  • 0

Hi cardinal,

 

I'd like to rotate Left = Counterclockwise

 

Here are the values:

Xorg.0.log:

 

https://bpaste.net/show/4bbf576df8d8

 

lxrandr -q

 

Resolution: 1920x1200   Refresh Rate: 59.95

 

lspci -nn | grep VGA:

01:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Bonaire XTX [Radeon R7 260X/360] [1002:6658]

Currently I have only the default /etc/X11/xorg.conf.d/20opengl.conf:

 

Section "Files"                                                                                                                                                                                                                                                                
EndSection

 

 

Thanks for help.

Link to comment
Share on other sites

  • 0

Hi cardinal,

 

Thanks for the configs. I tried them, but unfortunately I get segmentation fault in Xorg.0.log:

 

https://bpaste.net/show/df0271fcb6b7

 

Is interesting that these configs have effect, because I tried something like:

 

05-device.conf (unmodified)

10-monitor.conf

 

Section "Monitor"
  Identifier "DVI"
  Option "PreferredMode" "1680x1050"
EndSection




Section "Screen"
  Identifier "Default Screen"
  Monitor "DVI"
  Device "RadeonR7"
  DefaultDepth 24
  Subsection "Display"
    Depth 24
    Modes  "1680x1050" "1280x800"
  EndSubSection
EndSection

but have no effect at all. I wanted to see only if I can change something.

 

I tried also arandr, but the Outputs->DVI-1->Orientation->left (or right) menu option is not active.

 

Anyway, thanks.

Best.

Link to comment
Share on other sites

  • 0

Now I tried:

xrandr --output DVI-1 --mode 1920x1200 --pos 0x0 --rotate left

output:

xrandr: output DVI-1 cannot use rotation "left" reflection "none"

and 05-device.conf:

 

Section "Device"
  Identifier "RadeonR7"
  Driver "radeon"
  Option "monitor-DVI-1" "DVI"
  Option "RandRRotation" "True"
EndSection

the same output.

 

But I don't know why RandR is disabled and RandRRotation is not used, from Xorg.0.log:

 

[    16.699] (II) RADEON(0): RandR 1.2 enabled, ignore the following RandR disabled message.
[    16.749] (WW) RADEON(0): Option "RandRRotation" is not used
[    16.749] (--) RandR disabled

Any idea?

Thanks

Link to comment
Share on other sites

  • 0

My guess is rotation fails on your graphics system because direct rendering is not working.

Xorg.0.log lines 338,436-439,444-447

According to https://wiki.gentoo.org/wiki/Radeon your Sea Islands Bonaire XTX [Radeon R7 260X/360] should have:

VIDEO_CARDS="radeon radeonsi" set in /etc/portage/make.conf

USE="glamor" in xorg-server and xf86-video-ati build.

USE="gbm egl gles2 llvm" in the mesa build.

Install mesa-progs which provides glxgears and glxinfo for troubleshooting.

 

The information below is from my system:

The rotation configuration works on my system using an evergreen cedar R5450 which is a cheaper lower spec card that uses the radeon driver.

I have VIDEO_CARDS="radeon r600 nouveau" so I can use my nvidia geforce 8400gs card when needed.

01:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Cedar [Radeon HD 5000/6000/7350/8350 Series] [1002:68f9]

Xorg.0.log

 

rj@funtoo ~ $ xrandr -q
Screen 0: minimum 320 x 200, current 1280 x 1024, maximum 8192 x 8192
HDMI-0 disconnected primary (normal left inverted right x axis y axis)
DVI-0 disconnected (normal left inverted right x axis y axis)
VGA-0 connected 1280x1024+0+0 (normal left inverted right x axis y axis) 338mm x 270mm
   1280x1024     60.02*+  75.02  
   1280x960      60.00  
   1152x864      75.00  
   1024x768      75.08    70.07    60.00  
   832x624       74.55  
   800x600       72.19    75.00    60.32    56.25  
   640x480       75.00    72.81    66.67    60.00  
   720x400       70.08  

rj@funtoo ~ $ equery u xorg-server
[ Legend : U - final flag setting for installation]
[        : I - package is installed with flag     ]
[ Colors : set, unset                             ]
 * Found these USE flags for x11-base/xorg-server-1.17.4:
 U I
 - - dmx         : Build the Distributed Multiheaded X server
 - - doc         : Add extra documentation (API, Javadoc, etc). It is
                   recommended to enable per package instead of globally
 + + glamor      : Enable Glamor OpenGL 2D acceleration
 + + ipv6        : Add support for IP version 6
 - - kdrive      : Build the kdrive X servers
 - - libressl    : Use dev-libs/libressl as SSL provider (might need ssl USE
                   flag), packages should not depend on this USE flag
 - - minimal     : Install a very minimal build (disables, for example,
                   plugins, fonts, most drivers, non-critical features)
 + + nptl        : Enable support for Native POSIX Threads Library, the new
                   threading module (requires linux-2.6 or better usually)
 - - static-libs : Build static versions of dynamic libraries as well
 + + suid        : Enable setuid root program, with potential security risks
 - - systemd     : Enable use of systemd-specific libraries and features like
                   socket activation or session tracking
 - - tslib       : Build with tslib support for touchscreen devices
 + + udev        : Enable virtual/udev integration (device discovery, power and
                   storage device support, etc)
 - - unwind      : Enable libunwind usage for backtraces
 - - wayland     : Enable dev-libs/wayland backend
 - - xephyr      : Build the Xephyr server
 - - xnest       : Build the Xnest server
 + + xorg        : Build the Xorg X server (HIGHLY RECOMMENDED)
 - - xvfb        : Build the Xvfb server
rj@funtoo ~ $ equery u xf86-video-ati
[ Legend : U - final flag setting for installation]
[        : I - package is installed with flag     ]
[ Colors : set, unset                             ]
 * Found these USE flags for x11-drivers/xf86-video-ati-7.7.0:
 U I
 + + glamor : Enable Glamor OpenGL 2D acceleration
 + + udev   : Enable virtual/udev integration (device discovery, power and
              storage device support, etc)

rj@funtoo ~ $ equery u mesa
[ Legend : U - final flag setting for installation]
[        : I - package is installed with flag     ]
[ Colors : set, unset                             ]
 * Found these USE flags for media-libs/mesa-11.2.2:
 U I
 - - bindist              : Disable patent-encumbered ARB_texture_float,
                            EXT_texture_shared_exponent, and EXT_packed_float
                            extensions.
 + + classic              : Build drivers based on the classic architecture.
 - - d3d9                 : Enable Direct 3D9 API through Nine state tracker.
                            Can be used together with patched wine.
 - - debug                : Enable extra debug codepaths, like asserts and
                            extra output. If you want to get meaningful
                            backtraces see https://wiki.gentoo.org/wiki/Project
                            :Quality_Assurance/Backtraces
 + + dri3                 : Enable DRI3 support.
 + + egl                  : Enable EGL support.
 + + gallium              : Build drivers based on Gallium3D, the new
                            architecture for 3D graphics drivers.
 + + gbm                  : Enable the Graphics Buffer Manager for EGL on KMS.
 - - gles1                : Enable GLESv1 support.
 - - gles2                : Enable GLESv2 support.
 + + llvm                 : Enable LLVM backend for Gallium3D.
 + + nptl                 : Enable support for Native POSIX Threads Library,
                            the new threading module (requires linux-2.6 or
                            better usually)
 - - opencl               : Enable the Clover Gallium OpenCL state tracker.
 - - openmax              : Enable OpenMAX video decode/encode acceleration for
                            Gallium3D.
 - - osmesa               : Build the Mesa library for off-screen rendering.
 - - pax_kernel           : Enable if the user plans to run the package under a
                            pax enabled hardened kernel
 - - pic                  : disable optimized assembly code that is not PIC
                            friendly
 + + udev                 : Enable virtual/udev integration (device discovery,
                            power and storage device support, etc)
 - - vaapi                : Enable Video Acceleration API for hardware decoding
 + + vdpau                : Enable the VDPAU acceleration interface for the
                            Gallium3D Video Layer.
 - - video_cards_i915     : VIDEO_CARDS setting to build driver for Intel i915
                            video cards
 - - video_cards_i965     : VIDEO_CARDS setting to build driver for Intel i965
                            video cards
 - - video_cards_ilo      : VIDEO_CARDS setting to build unofficial gallium
                            driver for Intel gen6/7 video cards
 - - video_cards_intel    : VIDEO_CARDS setting to build driver for Intel video
                            cards
 + + video_cards_nouveau  : VIDEO_CARDS setting to build reverse-engineered
                            driver for nvidia cards
 - - video_cards_r100     : VIDEO_CARDS setting to build only r100 based chips
                            code for radeon
 - - video_cards_r200     : VIDEO_CARDS setting to build only r200 based chips
                            code for radeon
 - - video_cards_r300     : VIDEO_CARDS setting to build only r300, r400 and
                            r500 based chips code for radeon
 + + video_cards_r600     : VIDEO_CARDS setting to build only r600, r700,
                            Evergreen and Northern Islands based chips code for
                            radeon
 + + video_cards_radeon   : VIDEO_CARDS setting to build driver for ATI radeon
                            video cards
 - - video_cards_radeonsi : VIDEO_CARDS setting to build only Southern Islands
                            based chips code for radeon
 - - video_cards_vmware   : VIDEO_CARDS setting to build driver for vmware
                            video cards
 - - wayland              : Enable support for dev-libs/wayland
 + + xa                   : Enable the XA (X Acceleration) API for Gallium3D.
 + + xvmc                 : Enable the XvMC acceleration interface for the
                            Gallium3D Video Layer.
Reference:

http://www.funtoo.org/Package:Radeon_Video_Drivers

https://wiki.gentoo.org/wiki/Radeon#Driver

https://www.x.org/wiki/RadeonFeature/

Link to comment
Share on other sites

  • 0

Hi cardinal,

 

Thanks a lot.

 

I have already "x11-base/xorg-server glamor" in /etc/portage/package.use

 

I tried to add VIDEO_CARDS="radeon radeonsi" in /etc/portage/make.conf

 

and tried:

 

# emerge -auvDN --with-bdeps=y @world --autounmask-write

 

Unfortunately I have a dependency problem, which I could not solve yet.

 

I'll post my problem on the "Portage Help" forum.

 

Best Regards

Link to comment
Share on other sites

×
×
  • Create New...