Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 330249 - app-admin/eselect-opengl: `eselect opengl` wrong about missing xorg-x11 implementation
Summary: app-admin/eselect-opengl: `eselect opengl` wrong about missing xorg-x11 imple...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-07-28 17:14 UTC by d3dal3
Modified: 2010-07-30 22:15 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
/usr/share/eselect/modules/opengl.eselect patch (opengl.eselect.diff,4.44 KB, patch)
2010-07-28 17:15 UTC, d3dal3
Details | Diff
Diff 1 without indentation (opengl.eselect.diff.1.reviewable,1.29 KB, patch)
2010-07-30 11:12 UTC, d3dal3
Details | Diff
Diff 2 for indentation (opengl.eselect.diff.2.indent,4.32 KB, patch)
2010-07-30 11:13 UTC, d3dal3
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description d3dal3 2010-07-28 17:14:40 UTC
on amd64, xorg-x11 implementation is in /usr/lib64/opengl/xorg-x11.
emerging nvidia-drivers (256.35) creates /usr/lib32/opengl
then setting xorg-x11 configuration will fail because it will always look in the lib32 folder.





Reproducible: Always

Steps to Reproduce:
1. emerge nvidia-drivers
2. eselect opengl set xorg-x11

Actual Results:  
Switching to xorg-x11 OpenGL interface...!!! Error: No proper xorg-x11 or xorg-x11 opengl implementation found
exiting


Expected Results:  
Switching to xorg-x11 OpenGL interface... done


Proposed patch as opengl.eselect.diff.
Comment 1 d3dal3 2010-07-28 17:15:54 UTC
Created attachment 240473 [details, diff]
/usr/share/eselect/modules/opengl.eselect patch

Also fixed indentation.
Comment 2 Rémi Cardona (RETIRED) gentoo-dev 2010-07-30 09:42:11 UTC
(In reply to comment #1)
> Also fixed indentation.

Patch is unreviewable, please provide 2 patches if you want to clean up indentation.

Thanks
Comment 3 d3dal3 2010-07-30 11:12:48 UTC
Created attachment 240669 [details, diff]
Diff 1 without indentation
Comment 4 d3dal3 2010-07-30 11:13:50 UTC
Created attachment 240671 [details, diff]
Diff 2 for indentation

FYI
You can ignore this patch and fix indentation by yourself if you prefer
Comment 5 Tomáš Chvátal (RETIRED) gentoo-dev 2010-07-30 22:03:59 UTC
Tbh you are fixing something that should not happen.
On amd64 you need proper emul libs...

app-emulation/emul-linux-x86-opengl-20100611-r99 (/usr/lib32/opengl/xorg-x11/lib/libGL.so.1.2)
media-libs/mesa-9999 (/usr/lib64/opengl/xorg-x11/lib/libGL.so.1.2)

scarab@ugly-elf: ~ $ s eselect opengl set nvidia
Switching to nvidia OpenGL interface... done
scarab@ugly-elf: ~ $ s eselect opengl set xorg-x11
Switching to xorg-x11 OpenGL interface... done

So it works as advertised. Just ebuild deps are lacking. It always expected emul-libs to be around on amd64...
Comment 6 Tomáš Chvátal (RETIRED) gentoo-dev 2010-07-30 22:15:44 UTC
Ok i fixed deps in both ati and nvidia drivers.

So this is again fixed. Thanks for report.

Reopen if i missed something :]