On Fri, Jun 26, 2009 at 11:31 AM, Mark Knecht<[email protected]> wrote:
> On Fri, Jun 26, 2009 at 11:23 AM, Mark Knecht<[email protected]> wrote:
>> On Fri, Jun 26, 2009 at 10:57 AM, Alan McKinnon<[email protected]>
>> wrote:
>>> On Friday 26 June 2009 18:43:37 Mark Knecht wrote:
>>>> Yep. did all those earlier and saw this OpenGL problem with eselect.
>>>> Sort of disregarded it at the time and figured it would get worked out
>>>> later but now it's in the way.
>>>
>>> So what exactly did eselect say at the time?
>>>
>>> Therein likely lies the solution to your problem.
>>
>> Well, at the time it seems I remember two options for eselect list
>> opengl, but at this point I'm seeing only 1. Anyway, trying to set it
>> to 1 causes the same error message I remember:
>>
>> myth12 ~ # eselect opengl list
>> Available OpenGL implementations:
>> [1] xorg-x11
>> myth12 ~ # eselect opengl set 1
>> Switching to xorg-x11 OpenGL interface...ln: creating symbolic link
>> `./libglx.so': File exists
>> !!! Error: Failed to create lib/libglx.so
>> Killed
>> myth12 ~ #
>>
>> myth12 ~ # slocate libglx
>> /usr/lib/opengl/xorg-x11/extensions/libglx.so
>> /usr/lib/xorg/modules/extensions/libglx.so
>> myth12 ~ # ls -al /usr/lib/opengl/xorg-x11/extensions/libglx.so
>> -rwxr-xr-x 1 root root 338584 Jun 23 16:41
>> /usr/lib/opengl/xorg-x11/extensions/libglx.so
>> myth12 ~ # ls -al /usr/lib/opengl/xorg-x11/extensions/
>> total 344
>> drwxr-xr-x 2 root root 4096 Jun 23 16:42 .
>> drwxr-xr-x 5 root root 4096 Jun 23 16:42 ..
>> -rwxr-xr-x 1 root root 338584 Jun 23 16:41 libglx.so
>> myth12 ~ #
>>
>>
>> myth12 ~ # equery belongs /usr/lib/opengl/xorg-x11/extensions/libglx.so
>> [ Searching for file(s) /usr/lib/opengl/xorg-x11/extensions/libglx.so in
>> *... ]
>> x11-base/xorg-server-1.5.3-r6 (/usr/lib/opengl/xorg-x11/extensions/libglx.so)
>> myth12 ~ #
>>
>> So the file is there and owned by xorg-server which is in the list to
>> get rebuilt.
>>
>>>
>>>> I'm trying a kernel rebuild and will reinstall modules, reboot, etc.
>>>
>>> What do you hope to achieve with that? OpenGL runs in user-space, and you
>>> have
>>> a problem with a missing header file - totally unrelated to the kernle and
>>> it's modules.
>>
>> I made a mistake earlier when I built this new kernel. (Updating from
>> 2.6.19 to 2.6.29) I forgot to include ext2 support in the kernel so
>> for a little while I had newer modules than the kernel because I
>> couldn't mount the boot directory to install the kernel. I decide this
>> morning to rebuild the whole kernel, rewrite the modules and get the
>> whole thing consistent. Nothing more than cleaning up an earlier
>> mistake.
>>
>> I've just rebuilt python and run python-updater just to make sure that
>> I didn't miss rebuilding something that was required.
>>
>> I have no issues at all completely removing xorg-server and everything
>> it loads and rebuilding it from scratch if folks think that might
>> help.
>>
>> thanks,
>> Mark
>>
>
> Humm...removing xorg-server allowed me to set OpenGL to xorg-x11
> without an error:
>
>
> myth12 ~ # emerge -C xorg-server
>
> x11-base/xorg-server
> selected: 1.5.3-r6
> protected: none
> omitted: none
>
>>>> 'Selected' packages are slated for removal.
>>>> 'Protected' and 'omitted' packages will not be removed.
>
>>>> Waiting 5 seconds before starting...
>>>> (Control-C to abort)...
>>>> Unmerging in: 5 4 3 2 1
>>>> Unmerging x11-base/xorg-server-1.5.3-r6...
>
> * GNU info directory index is up-to-date.
> myth12 ~ # updatedb
> myth12 ~ # ls -al /usr/lib/opengl/xorg-x11/extensions/
> ls: cannot access /usr/lib/opengl/xorg-x11/extensions/: No such file
> or directory
> myth12 ~ # eselect opengl list
> Available OpenGL implementations:
> [1] xorg-x11
> myth12 ~ # eselect opengl set 1
> Switching to xorg-x11 OpenGL interface... done
> myth12 ~ #
>
> and now mesa seems to be building.
>
> Problem solved - sort of. ;-)
>
> Cheers,
> Mark
>
So the weirdness continues. mesa built but then xorg-server failed
with the same failure:
>>> Installing (4 of 11) x11-base/xorg-server-1.5.3-r6
* >>> SetUID: [chmod go-r] /usr/bin/Xorg ...
[ ok ]
Switching to xorg-x11 OpenGL interface...ln: creating symbolic link
`./libglx.so': File exists
!!! Error: Failed to create /lib/libglx.so
/var/tmp/portage/x11-base/xorg-server-1.5.3-r6/temp/environment: line
3403: 32139 Killed eselect opengl set ${OLD_IMPLEM}
* Users of reduced blanking now need:
* Option "ReducedBlanking"
* In the relevant Monitor section(s).
* Make sure your reduced blanking modelines are safe!
* You must rebuild all drivers if upgrading from xorg-server 1.4.1
* or earlier, because the ABI changed. If you cannot start X because
* of module version mismatch errors, this is your problem.
* You can generate a list of all installed packages in the x11-drivers
* category using this command:
* emerge portage-utils; qlist -I -C x11-drivers/
- Mark