You are not logged in.

#1 2016-09-26 08:07:49

manuelschneid3r
Member
From: Germany
Registered: 2013-04-14
Posts: 152

Issues with OpenGL applications

Hi,

I have problems with my video output. Open GL applications stutter when I resize the window. I reported bugs at archlinux, mesa and qt none of them is really proceeding. To show the problem I meanwhile made a whole  playlist of videos around the bug. My GPU is the internal Intel(R) Core(TM) i5-4590 CPU @ 3.30GHz Intel HD Graphics 4600. Affected are OpenGL applications (Google Aura Toolkit, Qt QML, general OpenGL apps like glxgears etc.). I tried to fallback to DRI2 which make the problem virtually not recognizeable, but it still exists.

I dont know what to do anymore. Can you please give me any hints. If not you can still help by posting your graphics hardware and if you have the problem or not.


Please feel free to correct my english.

Offline

#2 2016-09-26 09:25:16

beta990
Member
Registered: 2011-07-10
Posts: 207

Re: Issues with OpenGL applications

I assume this isn't a notebook, could you just use an other GPU for testing?

Offline

#3 2016-09-26 12:10:48

Lone_Wolf
Member
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 11,919

Re: Issues with OpenGL applications

The Qt bug report requires a login.

For clarity, you have tested setups without a compositor, like twm ?

Have you tried running with linux-lts kernel ?

I would also advise to test with modesetting driver, temporarily remove xf86-video-intel then restart X .


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.


(A works at time B)  && (time C > time B ) ≠  (A works at time C)

Offline

#4 2016-09-26 12:17:40

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,525
Website

Re: Issues with OpenGL applications

I second Lone_Wolf's suggestion.  I had a lot of problems with the indel X11 driver, but modesetting works great for me.  If that helps, using the intel X11 driver with Glamor may also be worth trying.


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

#5 2016-09-26 19:16:09

manuelschneid3r
Member
From: Germany
Registered: 2013-04-14
Posts: 152

Re: Issues with OpenGL applications

I assume this isn't a notebook, could you just use an other GPU for testing?

No, desktop. Unfortunately no, I have no graphic cards.

For clarity, you have tested setups without a compositor, like twm ?

Yep, one of the videos shows a few deskop envs, including i3 and awesome.

Have you tried running with linux-lts kernel ?

Nope, altough my first time I will try it.

I would also advise to test with modesetting driver, temporarily remove xf86-video-intel then restart X .

I tried this but X does not start. I posted the x log in the mesa bug report I linked above. Is this a arch specific bug? However the driver file exists.


.:[manuel@argon]:. /usr/lib/xorg/modules/drivers $ ll
insgesamt 1,8M
-rwxr-xr-x 1 root root 1,7M 11. Sep 14:14 intel_drv.so
-rwxr-xr-x 1 root root  77K 19. Jul 19:55 modesetting_drv.so
-rwxr-xr-x 1 root root  27K 11. Nov 2015  vesa_drv.so

Please feel free to correct my english.

Offline

#6 2016-09-26 20:15:04

promarbler14
Member
From: MD, U.S.
Registered: 2016-03-28
Posts: 40

Re: Issues with OpenGL applications

When you uninstall the xf86-video-intel driver, also remove the xorg.conf / xorg.conf.d files as well. One of those files specifies a Driver "intel", which it obviously can't find. Removing the file should do, although you can re-specify the driver as "modesetting" to achieve the same effect.

Edit: Have you tried the -lts kernel? I had a weird bug where the HTML5 canvas in a page would update without giving the GUI a chance to re-render, and rebooting with -lts fixed the issue. (I cannot be sure the kernel was the cause though, as it may have been a possible pending Firefox update or my intel driver rebuild which fixed it...)

Last edited by promarbler14 (2016-09-26 20:23:13)

Offline

#7 2016-09-26 20:24:55

manuelschneid3r
Member
From: Germany
Registered: 2013-04-14
Posts: 152

Re: Issues with OpenGL applications

Yep, I just realized that I have to change the Driver value in the xorg conf. Well but no luck none of the four combinations works. (lts/non-lts x modesetting/intel). Any ideas?


Please feel free to correct my english.

Offline

#8 2016-09-26 20:43:11

promarbler14
Member
From: MD, U.S.
Registered: 2016-03-28
Posts: 40

Re: Issues with OpenGL applications

You could try the latest kernel and mesa commits. This would require you to build those packages to do so. Another random idea could be to disable framebuffer compression (but that's a shot in the dark).

Offline

Board footer

Powered by FluxBB