Go Back   DisplayLink Forum > DisplayLink Graphics Technology > Linux and Open Source

Reply
 
Thread Tools Search this Thread Display Modes
Old 03-06-2017, 01:37 AM   #1
Conassa
Junior Member
 
Join Date: Mar 2017
Posts: 3
Default

Stefan, awesome, thanks for this. Rotation works fine on my Intel HD4000.

I have reduced your xorg config to this:

Code:
Section "Device"
  Identifier  "intel"
  Option      "kmsdev" "/dev/dri/card0"
  Option      "PageFlip" "off"
EndSection

Section "Device"
  Identifier  "USB3"
  BusID       "USB"
  Driver      "modesetting"
  Option      "kmsdev" "/dev/dri/card1"
  Option      "PageFlip" "off"
EndSection
I'm also using the new driver - and glxgears seems synced with the DisplayLink monitor's refresh rate. However for it to draw properly I had to use:
compton --glx-use-copysubbuffermesa --glx-no-rebind-pixmap
(I'm using compton with openbox)

My only complain is CPU usage. With glxgears running I get 40% usage on one core... is this normal?

taiki - try removing the RandRRotation and rotate options. It rotates fine for me without those.

Last edited by Conassa; 03-06-2017 at 12:45 PM.
Conassa is offline   Reply With Quote
Old 03-30-2017, 01:48 PM   #2
Eevey
Junior Member
 
Join Date: Mar 2017
Posts: 1
Default

Thanks for the information and research, rotation works like a charm here as well, after some fiddling! (Gnome Shell on Antergos/Arch Linux)

I have an Asus MB169B+ that I bought without properly researching whether screen rotation would work on Linux, and was quite shocked to find that it didn't out of the box. I tried a number of variations, based on the experience of the other people in this thread, and found that it didn't really work properly without having all the lines:
Code:
Section "Device"
  Identifier  "intel"
  Driver      "modesetting"
  Option      "kmsdev" "/dev/dri/card0"
  Option      "PageFlip" "off"
  Option      "SWCursor" "on"
  Option      "ShadowFB" "true"
EndSection

Section "Device"
  Identifier  "USB3"
  BusID       "USB"
  Driver      "modesetting"
  Option      "kmsdev" "/dev/dri/card1"
  Option      "PageFlip" "off"
  Option      "SWCursor" "on"
  Option      "ShadowFB" "true"
EndSection
On a side-note: the SWCursor option significantly reduces mouse flickering for me, though it's not completely gone.

Also really hope Wayland will be supported soon and screen rotation will just work out of the box there. :-)
Eevey is offline   Reply With Quote
Old 01-18-2021, 01:36 PM   #3
ArcturusB
Junior Member
 
Join Date: Jan 2021
Posts: 1
Default

It took me a while to get rotation to work with my Asus MB16A display, so I figured I’d post something in case it helps other users.

The solution posted by Eevey (almost 4 years ago!) for their Asus MB169B+ also works with the MB16A on Arch Linux.
ArcturusB is offline   Reply With Quote
Reply

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


All times are GMT. The time now is 01:49 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2026, vBulletin Solutions, Inc.