Flickering and poor performance running GL applications on Intel NUC Frost Canyon, using xorg rotation

Asked by Oliver Reynolds on 2020-02-05

Running GL applications on Intel NUC Frost Canyon - Ubuntu 19.10, results in slow performance and for some GL applications flickering -- this is with rotation set to "Right" in the xorg config file (we are running on a UHD monitor in portrait kiosk mode).

This is with the Intel UHD driver, installed after the
"sudo add-apt-repository ppa:oibaf/graphics-drivers"
command had been executed.

It seems like performance is completely smooth (60FPS) when the rotation is not set in the xorg config file.

"chromium-browser --no-sandbox --window-size=2160,3840 --window-position=0,0 --app=https://alteredqualia.com/three/examples/webgl_pasta.html --kiosk --show-fps-counter --ignore-gpu-blacklist --enable-gpu-rasterization" to launch chromium with a WebGL page, to see the problem.

Make sure that the xrandr -q points to a UHD monitor -- we are using 3840x2160

The xorg config looks as so (as you can see, ours contain some device options we thought might solve the problem, but do not):

Section "ServerLayout"
 Identifier "X.org Configured"
 Screen 0 "Screen0" 0 0
 InputDevice "Mouse0" "CorePointer"
 InputDevice "Keyboard0" "CoreKeyboard"
 Option "StandbyTime" "0"
 Option "SuspendTime" "0"
 Option "OffTime" "0"
 Option "BlankTime" "0"
EndSection

Section "Files"
 ModulePath "/usr/lib/xorg/modules"
 FontPath "/usr/share/fonts/X11/misc"
 FontPath "/usr/share/fonts/X11/cyrillic"
 FontPath "/usr/share/fonts/X11/100dpi/:unscaled"
 FontPath "/usr/share/fonts/X11/75dpi/:unscaled"
 FontPath "/usr/share/fonts/X11/Type1"
 FontPath "/usr/share/fonts/X11/100dpi"
 FontPath "/usr/share/fonts/X11/75dpi"
 FontPath "built-ins"
EndSection

Section "Module"
 Load "glx"
EndSection

Section "InputDevice"
 Identifier "Keyboard0"
 Driver "kbd"
EndSection

Section "InputDevice"
 Identifier "Mouse0"
 Driver "mouse"
 Option "Protocol" "auto"
 Option "Device" "/dev/input/mice"
 Option "ZAxisMapping" "4 5 6 7"
EndSection

Section "Monitor"
    Identifier "Monitor0"
    Option "DPMS" "false"
    Option "Rotate" "right"
EndSection

Section "InputClass"
    Identifier "TouchScreen"
    Option "TransformationMatrix" "0 1 0 -1 0 1 0 0 1"
EndSection

Section "Screen"
 Identifier "Screen0"
 Device "Card0"
 Monitor "Monitor0"

 SubSection "Display"
  Modes "3840x2160"
  Depth 24
 EndSubSection
EndSection

Section "Device"
 Driver "intel"
  Identifier "Card0"
 Option "TearFree" "true"
    Option "TripleBuffer" "true"
    Option "HWRotation" "true"
EndSection

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Last query:
2020-02-05
Last reply:
2020-02-05

I suggest you contact the PPA maintainers if you are using a PPA for your driver. They manage their own packages

Can you help with this problem?

Provide an answer of your own, or ask Oliver Reynolds for more information if necessary.

To post a message you must log in.