View previous topic :: View next topic |
Author |
Message |
Adel Ahmed Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
Joined: 21 Sep 2012 Posts: 1607
|
Posted: Wed Dec 25, 2019 9:56 am Post subject: mesa useflags[solved] |
|
|
I have done some reading on the intel driver and what kind of acceleration i should be using, however, many of the mesa flags are still not clear for me
I'm using a x5-Z8350 processor with an integrated graohics chip, video decoding of mp4 videos I have taken on my mobile phone are extremely slow, so I need to make sure i have enabled all the correct flags
in addition to playing videos, I use some emulators and wine to play some windows and console games
flags:
classic
I do not understand what the classic architecture is, and whether it would bebetter for me to use this or not
d3d9:
I plan to use wine and direct X I assume i should enable this correct?
dri3:
I can't determine if my card supports this feature
egl:
I read somewhere that enabling egl disables opengl in some scenarios, but I had to enable it becauase one of the packages(I can't remember which) requires egl, will this adversely affect the performance in general? should I look for an alternative to the package?
gallium:
same as classic I guess, do I need this?
gbm:
will I need this if I use egl?
gles1,gles2:
will I need any of thise?
llvm:
I'm lost on this one
opencl:
I haven't checked if my hardware supports this yet, I will later on
osmesa:
is off screen rendering something one normally uses in a desktop?
vdpau:
there is no support for VDPAU on intel cards, is that correct?
vulkan, wayland,xa,xvmc:
does my card support those? will those be used on my system?
Sorry for all the questions, but I am a bit lost on this matter.
thanks
Last edited by Adel Ahmed on Thu Jan 09, 2020 10:22 am; edited 1 time in total |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Ant P. Watchman
![Watchman Watchman](/images/ranks/rank-G-2-watchman.gif)
Joined: 18 Apr 2009 Posts: 6920
|
Posted: Wed Dec 25, 2019 6:32 pm Post subject: |
|
|
/etc/portage/package.use/intel-gpu.conf: | media-libs/mesa d3d9 -gallium wayland VIDEO_CARDS: i965
x11-libs/libva VIDEO_CARDS: i965 |
you can leave everything else at the defaults, if it needs them it'll say so |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Adel Ahmed Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
Joined: 21 Sep 2012 Posts: 1607
|
Posted: Thu Dec 26, 2019 2:02 pm Post subject: |
|
|
When enabling d3d9 flag
It said that i need one of the iris, r300,r600,radeonsi,nouveau or vmware video cards
So I'm guessing there is no point in enabling that flag |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Ionen Developer
![Developer Developer](/images/ranks/rank-dev.gif)
![](images/avatars/12407261860db424480089.png)
Joined: 06 Dec 2018 Posts: 2892
|
Posted: Thu Dec 26, 2019 2:17 pm Post subject: |
|
|
Adel Ahmed wrote: | When enabling d3d9 flag
It said that i need one of the iris, r300,r600,radeonsi,nouveau or vmware video cards
So I'm guessing there is no point in enabling that flag | As far as I'm aware, about the only use for d3d9 USE was for app-emulation/wine-d3d9 and that been dropped from gentoo recently (normal wine does not need this).
Edit:
If can use vulkan (I "think" you can, I've never used intel graphics but it says you have vulkan 1.0 support), dxvk is typically a fine solution for better d3d9 performance anyway (it merged with d9vk in version 1.5+ so it provides a d3d9.dll now, not that it's perfect so normal wine opengl-based d3d9 is still useful). |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Ionen Developer
![Developer Developer](/images/ranks/rank-dev.gif)
![](images/avatars/12407261860db424480089.png)
Joined: 06 Dec 2018 Posts: 2892
|
Posted: Thu Dec 26, 2019 3:15 pm Post subject: |
|
|
Guess I could comment on a few more flags, I don't really use mesa though (I'm on the nvidia proprietary boat).
osmesa: I believe mostly used by rendering applications (like to draw something off-screen and dump it in a .png) rather than games and can sometime cause conflicts with buggy drivers, better off disabled unless you know you need it
xvmc: this is mostly obsolete, used to be for video acceleration but normally you'll use vaapi or vdpau(nvidia). I don't use xv-anything anymore (was great back in 2001), things like mpv are better off using opengl or vulkan, especially for the sake of better colorspaces support (did I mention I hate yuv420?)
wayland: wayland is a replacement for Xorg/X11, if you're using Xorg then you don't need this. Wine also doesn't play that well with wayland, it's still usable but well. I intend to switch to it someday, but I think it can wait if I'm going to use everything through XWayland(used to run x11 applications on wayland) anyway all while fighting with nvidia. You would need gbm if you used wayland, not sure if you do otherwise (but I'd leave things enabled by default alone)
gles2: "may" run into a linux game that needs it (more likely on things ported from mobile), believe could technically disable it until you happen to need it for something (if ever), not that it hurts to keep will just have an extra library (likewise for gles1, but doubt you'll need it). When it's optional on some games/emulators, there's no reason I'm aware of to use it over regular opengl (or vulkan), unless it has a buggy implementation.
vulkan: good odds that you want this along with enabling vulkan on wine. No idea how it goes on intel drivers though. Some native linux games are also starting to use vulkan, although most are opengl still (I hope that native dxvk project will help prevent sloppy directx->opengl linux ports).
opencl: you have opencl 1.2 support but do you actually use it? This isn't really for games, and used to offload cpu work to the gpu (and other things) by "some" applications. Wine has a flag for it, but odds are you're not running any opencl-using windows applications so it's not needed for it. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Adel Ahmed Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
Joined: 21 Sep 2012 Posts: 1607
|
Posted: Thu Jan 09, 2020 10:21 am Post subject: |
|
|
this is great,
thanks everyone
I have enabled the following flags:
classic, dri3, egl(for some game emulators), gbm, vaapi, vulkan, opencl(for ffmpeg) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|