You are not logged in.

#1 2022-04-21 18:04:44

gh0stzk
Member
Registered: 2020-03-28
Posts: 33

[Solved] mesa-amber i915 dri

Hello some weeks ago i create a thread on this forum, the problem, new mesa 22 remove i915 dri, and all ready know that.
i downgrade to previous mesa package and works fine. So today i tried to test mesa-amber and i have this problem "zsh: segmentation fault (core dumped)  retroarch"

My setup:
00:02.0 VGA compatible controller: Intel Corporation 82G33/G31 Express Integrated Graphics Controller (rev 10)
linux-zen
xorg-server
xf86-video-intel
mesa-amber
added in /etc/profile :
env __GLX_VENDOR_LIBRARY_NAME=amber
export MESA_LOADER_DRIVER_OVERRIDE=i915
mkinitcpio.conf : MODULES=(intel_agp i915)

i test it with retroarch because is the app i have to test it.

dmsg log

 [  297.974998] retroarch[1106]: segfault at 0 ip 0000000000000000 sp 00007ffd462b6f08 error 14 in retroarch[561d58eae000+7a000]
[  297.975018] Code: Unable to access opcode bytes at RIP 0xffffffffffffffd6.
[  297.975068] audit: type=1701 audit(1650562945.248:119): auid=1000 uid=1000 gid=984 ses=2 pid=1106 comm="retroarch" exe="/usr/bin/retroarch" sig=11 res=1
[  297.983079] audit: type=1334 audit(1650562945.256:120): prog-id=38 op=LOAD
[  297.983218] audit: type=1334 audit(1650562945.256:121): prog-id=39 op=LOAD
[  297.983267] audit: type=1334 audit(1650562945.256:122): prog-id=40 op=LOAD
[  297.984844] audit: type=1130 audit(1650562945.257:123): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-coredump@6-1110-0 comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'

.xsession-error on my home:

[ 21/04/22 12:37:38.638 glx_init ERROR ] Failed to get GLX context.

ls /usr/lib/dri

i830_dri.so*  i965_dri.so*        nouveau_vieux_dri.so*  radeon_dri.so*
i915_dri.so*  kms_swrast_dri.so*  r200_dri.so*           swrast_dri.so* 

glxinfo -B:

name of display: :0
Error: couldn't find RGB GLX visual or fbconfig

so i will go back to previus mesa driver. its my error? packs error? kernel error? well i will stay with previuos pack but its supposed to work with mesa-amber no?

hope u can help if is an error i need to open thread in bugs?

Last edited by gh0stzk (2022-04-22 16:40:33)

Offline

#2 2022-04-21 18:09:28

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,410

Re: [Solved] mesa-amber i915 dri

Drop the MESA_LOADER_DRIVER_OVERRIDE and actually export __GLX_VENDOR_LIBRARY_NAME instead of using env

Offline

#3 2022-04-21 18:21:19

gh0stzk
Member
Registered: 2020-03-28
Posts: 33

Re: [Solved] mesa-amber i915 dri

Thanks V1del, so it worked!

Another question, why mesa removed support for old igpu, new mesa is supposed to work with other dri's like crocus, but at least on my machine no other dri's work. MESA remember me  microsoft tongue sad

Offline

#4 2022-04-21 18:37:28

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,410

Re: [Solved] mesa-amber i915 dri

You'd have to ask the actual maintainers of mesa that. The usual reasoning is that it isn't fun and a big maintenance burden to keep code around that might even block newer progress because they don't use the common code everything else semi modern does and also likely a lack of testing, as it's likely that none of the active maintainers actually still owns HW that needs that code. So they've decided to make a clean cut, keep the old code "as is" and continue improving the modern and exciting things, without having to care whether a change breaks and has to be fixed in "old" code.

Offline

Board footer

Powered by FluxBB