Inspired by one of the latest blog posts of Martin G. I switched the bindings from GLX to EGL to test with that. This works mostly okay, but when playing Planeshift on the external display I get heavy flickering after login in to my Planeshift account. Reproducible: Always Steps to Reproduce: 1. Switch from GLX to EGL 2. Start PlaneShift 3. Login in with an account Actual Results: Flickering where the currently selected char is displayed in a rotating view. Expected Results: No flickering. This is on ThinkPad T520 with martin@merkaba:~> phoronix-test-suite system-info Phoronix Test Suite v5.2.1 System Information Hardware: Processor: Intel Core i5-2520M @ 3.20GHz (4 Cores), Motherboard: LENOVO 42433WG, Chipset: Intel 2nd Generation Core Family DRAM, Memory: 16384MB, Disk: 300GB INTEL SSDSA2CW30 + 480GB Crucial_CT480M50, Graphics: Intel HD 3000 (1300MHz), Audio: Conexant CX20590, Network: Intel 82579LM Gigabit Connection + Intel Centrino Advanced-N 6205 Software: OS: Debian unstable, Kernel: 4.2.0-rc5-tp520-btrfstrim+ (x86_64), Desktop: KDE Frameworks 5, Display Server: X Server 1.17.2, Display Driver: intel 2.99.917, OpenGL: 3.3 Mesa 10.6.3, Compiler: GCC 4.9.3, File-System: btrfs, Screen Resolution: 3840x1080 martin@merkaba:~> lspci -nn | grep VGA 00:02.0 VGA compatible controller [0300]: Intel Corporation 2nd Generation Core Processor Family Integrated Graphics Controller [8086:0126] (rev 09) Screen is forced to full screen by kwin window rule and is running on external screen: martin@merkaba:~> apt-show-versions | egrep "libgl1-mesa-dri|libdrm-intel1|xserver-xorg-video-intel|xserver-xorg-core|kwin-x11" kwin-x11:amd64/sid 4:5.3.2-3 uptodate kwin-x11:i386 not installed libdrm-intel1:amd64/sid 2.4.62-1 uptodate libdrm-intel1:i386/sid 2.4.62-1 uptodate libgl1-mesa-dri:amd64/sid 10.6.3-1 uptodate libgl1-mesa-dri:i386/sid 10.6.3-1 uptodate xserver-xorg-core:amd64/sid 2:1.17.2-1 uptodate xserver-xorg-core:i386 not installed xserver-xorg-video-intel:amd64/sid 2:2.99.917-2 uptodate xserver-xorg-video-intel:i386 not installed
Didn´t mention it, but it is clear from the context: When using GLX bindings no flickering at this point. There is some occasional flickering in game since update to latest mesa, but its not as persistent and large as the one I have with EGL bindings. Compositing is set to OpenGL 3.1 here.
Does this also happen on a singlescreen setup (external screen OR internal screen)? Does it also happen with a) es2gears_x11 b) glxgears I don't know "planeshift", but from your description, it sounds like only a fraction of the planameshift scene "flickers" while the rest of the scene/screen/display is ok? Eg. what happens in a windowed mode (all screen flickers or just the game or just the rotating character) Please attach the outputs of qdbus org.kde.KWin /KWin supportInformation glxinfo -l # sic! I want to see the HW limitations of the IGP ;-)
Okay, during playing PS just the things that are easy to do in between. Flickering is only on one half of the PS fullscreen window, where the displayed char rotates, but that may be related to were the gfx is updated. I think this may be the case, cause the flickering areas changed after I logged in and the in game scene renderings with the in game gui controls begins. With GLX binding I can provoke some flickering with window compositing effect (i.e. where it displays all windows on current screen), but its only temporary. The flickering with EGL bindings are permanent. I will attach the outputs you mentioned.
Created attachment 93995 [details] qdbus support info
Created attachment 93996 [details] glxinfo -l
> OpenGL platform interface: GLX errrr... on the broken setup, please ;-) In addition, you may want to try export KWIN_USE_BUFFER_AGE=0 kwin_x11 --replace &
The option to select EGL got removed as it was in general too broken on most systems. It's still possible to use EGL by setting the env variable or manually editing the config file, but one is on own risk then.