View previous topic :: View next topic |
Author |
Message |
ALF__ Apprentice
Joined: 30 Nov 2003 Posts: 246
|
Posted: Wed Aug 10, 2022 3:48 pm Post subject: Wrong driver for intel graphics card? Bad performance |
|
|
Hello!
Trying to pin down an issue with my internal graphic chip on my i5-4590. It is Haswell processor containing HD Graphics 4600 (Gen7.5) from what I gather.
Im getting bad performance in the only game i play (openrct2) and when i check the utilization while running the game with "intel_gpu_top" its in the low 5%.
I do have VIDEO_CARDS="intel" set.
And checking through xorg log, it only mention i915 (which seems to be a bit old or is it all called this now?)
Further down i saw this line
Quote: | (EE) AIGLX error: dlopen of /usr/lib64/dri/i965_dri.so failed (/usr/lib64/dri/i965_dri.so: cannot open shared object file: No such file or directory) |
I found a post regarding this error, and the fix was to "rebuild" mesa with intel set to videocards, but i had it set all along, but for sanity i tried to re-emerge it. Same deal.
Ill post dmesg, xorglog and .config below:
dmesg: https://pastebin.com/CWkkDaP8
kernel: https://pastebin.com/E2CBcxXR
xorg log: https://pastebin.com/nPifKDn6
Hopefully with greater GPU knowledge than me maybe have seen this? |
|
Back to top |
|
|
grknight Retired Dev
Joined: 20 Feb 2015 Posts: 1660
|
Posted: Wed Aug 10, 2022 4:11 pm Post subject: |
|
|
Uninstall x11-drivers/xf86-video-intel and it should work |
|
Back to top |
|
|
ALF__ Apprentice
Joined: 30 Nov 2003 Posts: 246
|
Posted: Wed Aug 10, 2022 4:19 pm Post subject: |
|
|
That would have been beautiful, but unfortunately nothing did change after deselecting and depclean.. |
|
Back to top |
|
|
grknight Retired Dev
Joined: 20 Feb 2015 Posts: 1660
|
Posted: Wed Aug 10, 2022 4:21 pm Post subject: |
|
|
The Xorg log should change significantly and choose the crocus DRI driver instead of the deprecated and removed i965 DRI driver |
|
Back to top |
|
|
ALF__ Apprentice
Joined: 30 Nov 2003 Posts: 246
|
Posted: Wed Aug 10, 2022 4:25 pm Post subject: |
|
|
Actually it still is trying to load the i965 driver. so nothing major changed in that regard..
Should i still call the "intel" driver in xorg settings? |
|
Back to top |
|
|
grknight Retired Dev
Joined: 20 Feb 2015 Posts: 1660
|
Posted: Wed Aug 10, 2022 4:30 pm Post subject: |
|
|
ALF__ wrote: | Actually it still is trying to load the i965 driver. so nothing major changed in that regard..
Should i still call the "intel" driver in xorg settings? |
The modesetting driver is preferred to intel in many cases. It may be necessary to force crocus like this:
Code: |
Section "Device"
Identifier "Intel Graphics"
Driver "modesetting"
Option "AccelMethod" "glamor"
Option "DRI" "crocus"
EndSection |
|
|
Back to top |
|
|
ALF__ Apprentice
Joined: 30 Nov 2003 Posts: 246
|
Posted: Wed Aug 10, 2022 4:34 pm Post subject: |
|
|
That sure made it load,
but performance is even worse. dropped 5-10 fps more
https://pastebin.com/SzMaps9L |
|
Back to top |
|
|
ALF__ Apprentice
Joined: 30 Nov 2003 Posts: 246
|
Posted: Fri Aug 12, 2022 9:23 am Post subject: |
|
|
Something fundamental needs to be off here.
Just checked old trustworthy glxgears, and it is returning 56 fps..
If i remember correctly from way back when we would get fps in the several hundreds if im not mistaken.
This is my glxinfo output in regards to "direct"
Quote: | ~ $ glxinfo | grep direct
direct rendering: Yes
GL_AMD_draw_buffers_blend, GL_AMD_multi_draw_indirect,
GL_ARB_derivative_control, GL_ARB_direct_state_access,
GL_ARB_draw_elements_base_vertex, GL_ARB_draw_indirect,
GL_ARB_half_float_vertex, GL_ARB_indirect_parameters,
GL_ARB_multi_draw_indirect, GL_ARB_occlusion_query2,
GL_AMD_draw_buffers_blend, GL_AMD_multi_draw_indirect,
GL_ARB_direct_state_access, GL_ARB_draw_buffers,
GL_ARB_draw_indirect, GL_ARB_draw_instanced, GL_ARB_enhanced_layouts,
GL_ARB_half_float_vertex, GL_ARB_indirect_parameters,
GL_ARB_multi_draw_indirect, GL_ARB_multisample, GL_ARB_multitexture,
GL_EXT_demote_to_helper_invocation, GL_EXT_direct_state_access, |
Any help would be greatly appreciated! |
|
Back to top |
|
|
ALF__ Apprentice
Joined: 30 Nov 2003 Posts: 246
|
Posted: Fri Aug 12, 2022 12:14 pm Post subject: |
|
|
Well, scratch that.
glxgears is probably locked to the screen refreshrate that seem to be 60hz..
To be sure i downloaded "Xonotic"-game. It runs locked at 60fps in "glx" mode, and between 60-100 in "sdl" whatever the difference is there, I dont know.
Shows I'm not a big gamer.
So then it might point to an issue with openRCT2 in it self then i guess.
If you have any other thoughts, like how to confirm everything is really "switched on and active".
Otherwise I guess we can close this? |
|
Back to top |
|
|
mike155 Advocate
Joined: 17 Sep 2010 Posts: 4438 Location: Frankfurt, Germany
|
Posted: Fri Aug 12, 2022 1:56 pm Post subject: |
|
|
Try
Code: | vblank_mode=0 glxgears |
or, even better:
Code: | vblank_mode=0 glxgears -fullscreen |
|
|
Back to top |
|
|
ALF__ Apprentice
Joined: 30 Nov 2003 Posts: 246
|
Posted: Fri Aug 12, 2022 3:46 pm Post subject: |
|
|
Well,
Windowed around 2.7k fps and fullscreen over both screens 270fps |
|
Back to top |
|
|
Goverp Advocate
Joined: 07 Mar 2007 Posts: 2006
|
Posted: Fri Aug 12, 2022 6:48 pm Post subject: |
|
|
mike155 wrote: | Try
Code: | vblank_mode=0 glxgears |
or, even better:
Code: | vblank_mode=0 glxgears -fullscreen |
|
Didn't know about those options, so I tried them on my laptop; interestingly, Wayland fullscreen runs about twice the fps of X11, but windowed is about the same. Of course, I know glxgears only tests how fast glxgears goes and is not a real performance test, but interesting nevertheless. _________________ Greybeard |
|
Back to top |
|
|
|