Unnamed pupplet (puppy411 kernel-2.6.27.5 Xorg-7.4 LXDE)

For talk and support relating specifically to Puppy derivatives
Message
Author
wow
Posts: 1052
Joined: Fri 30 Jun 2006, 00:18
Location: Peru

#181 Post by wow »

Mount to /mnt/data

Code: Select all

mount -o loop Xorg-7.4-video-input-apps-i686-wow-patched_411.sfs /mnt/data
Browse

Code: Select all

rox /mnt/data
Unmount

Code: Select all

umount /mnt/data
[url=http://www.puppylinux.com][img]http://i.imgur.com/M4OyHe1.gif[/img][/url]

User avatar
battleshooter
Posts: 1378
Joined: Wed 14 May 2008, 05:10
Location: Australia

#182 Post by battleshooter »

Hey Wow,

Thanks for the tip. Got the files fine.

I'm feeling rather like noob, so while I'm in the mood may I ask another question? I'm not sure what's wrong but I can't seem to get glxgears working. I get the message:

Code: Select all

Xlib: extension "GLX" missing on display ":0.0"
Error: couldn't get an RGB, Double-buffered visual
What am I doing wrong?

User avatar
MU
Posts: 13649
Joined: Wed 24 Aug 2005, 16:52
Location: Karlsruhe, Germany
Contact:

#183 Post by MU »

please attach your files:
/var/log/Xorg.0.log
/etc/X11/xorg.conf

add them to a .tar.gz with xarchive, then you can attach them here.
Mark
[url=http://murga-linux.com/puppy/viewtopic.php?p=173456#173456]my recommended links[/url]

User avatar
battleshooter
Posts: 1378
Joined: Wed 14 May 2008, 05:10
Location: Australia

#184 Post by battleshooter »

Thanks for the reply MU. Attached is the files requested.
Attachments
xorg-settings.tar.gz
(6.63 KiB) Downloaded 422 times

User avatar
MU
Posts: 13649
Joined: Wed 24 Aug 2005, 16:52
Location: Karlsruhe, Germany
Contact:

#185 Post by MU »

Code: Select all

(II) intel(0): Integrated Graphics Chipset: Intel(R) Mobile Intel® GM45 Express Chipset

Code: Select all

(II) Module glx: vendor="NVIDIA Corporation"
	compiled for 4.0.2, module version = 1.0.0
	Module class: X.Org Server Extension
(II) NVIDIA GLX Module  177.82  Tue Nov  4 14:03:48 PST 2008

Code: Select all

(EE) Failed to initialize GLX extension (Compatible NVIDIA X driver not found)
It looks like, that you first installed the mesa.sfs, and then the nvidia.sfs.
I suggest to install the mesa.sfs again, so that /usr/X11R7/lib/xorg/modules/extensions/libglx.so gets replaced with the correct version.

Mark
[url=http://murga-linux.com/puppy/viewtopic.php?p=173456#173456]my recommended links[/url]

User avatar
battleshooter
Posts: 1378
Joined: Wed 14 May 2008, 05:10
Location: Australia

#186 Post by battleshooter »

Hi Mark,

Mesa-7.2-i686.sfs doesn't seem to contain the folder /usr/X11R7/lib/xorg.
Attachments
noxorg.jpg
(24.65 KiB) Downloaded 371 times

User avatar
MU
Posts: 13649
Joined: Wed 24 Aug 2005, 16:52
Location: Karlsruhe, Germany
Contact:

#187 Post by MU »

ah yes, sorry, that file is in pup_411.sfs, in the original iso.
You can mount it like the other files.

e.g. like:
mkdir /root/mount
cd /wherever-pup_411.sfs-is-located
mount -o loop pup_411.sfs /root/mount


Mark
[url=http://murga-linux.com/puppy/viewtopic.php?p=173456#173456]my recommended links[/url]

User avatar
battleshooter
Posts: 1378
Joined: Wed 14 May 2008, 05:10
Location: Australia

#188 Post by battleshooter »

Ok, I've copied libglx.so from the original pup_411.sfs to /usr/X11R7/lib/xorg/modules/extensions/. As it was a symlink I transferred the target libglx.so.177.82 as well. Is that right?

User avatar
MU
Posts: 13649
Joined: Wed 24 Aug 2005, 16:52
Location: Karlsruhe, Germany
Contact:

#189 Post by MU »

best will be to delete libglx.so and libglx.so.177.82, then copy the correct one.
But your solution should also work :)
Mark
[url=http://murga-linux.com/puppy/viewtopic.php?p=173456#173456]my recommended links[/url]

User avatar
battleshooter
Posts: 1378
Joined: Wed 14 May 2008, 05:10
Location: Australia

#190 Post by battleshooter »

Libglx.so and libglx.so.177.82 were both replaced (I confirmed them both) so, hopefully it had the same effects as being deleted, then I restarted. What's the next step?

User avatar
MU
Posts: 13649
Joined: Wed 24 Aug 2005, 16:52
Location: Karlsruhe, Germany
Contact:

#191 Post by MU »

after restarting X try again glxgears or glxinfo.
If still no success, I need again /var/log/Xorg.0.log.
Mark
[url=http://murga-linux.com/puppy/viewtopic.php?p=173456#173456]my recommended links[/url]

User avatar
battleshooter
Posts: 1378
Joined: Wed 14 May 2008, 05:10
Location: Australia

#192 Post by battleshooter »

After restarting X glxgears is still displaying the same error.

Looking at Xorg.0.log I noticed it's identified my chipset as GM45 but in Windows it's identified as GL40. Could that be part of the problem? GM45 does use the same graphics processor as GL40. My laptop is a Toshiba L300/R00.
Attachments
Xorg0log.tar.gz
(5.16 KiB) Downloaded 375 times

User avatar
MU
Posts: 13649
Joined: Wed 24 Aug 2005, 16:52
Location: Karlsruhe, Germany
Contact:

#193 Post by MU »

your log still says:
(II) Loading /usr/X11R7/lib/xorg/modules/extensions//libglx.so
(II) Module glx: vendor="NVIDIA Corporation"
compiled for 4.0.2, module version = 1.0.0
Module class: X.Org Server Extension
(II) NVIDIA GLX Module 177.82 Tue Nov 4 14:03:48 PST 2008
(II) Loading extension GLX
What size has your libglx.so?
It should be less than 500 kb, mine is 311 kb.
Maybe it is best not only to restart X, but to reboot.
Mark
[url=http://murga-linux.com/puppy/viewtopic.php?p=173456#173456]my recommended links[/url]

User avatar
battleshooter
Posts: 1378
Joined: Wed 14 May 2008, 05:10
Location: Australia

#194 Post by battleshooter »

Hmmm, seems to be a slight difference in size :?

libglx.so, the link, is 16B

libglx.so.177.82 is 1218K

User avatar
MU
Posts: 13649
Joined: Wed 24 Aug 2005, 16:52
Location: Karlsruhe, Germany
Contact:

#195 Post by MU »

ok, so delete all the libglx.so,
and use the one I attach.
Attachments
libglx.so.tar.gz
(84.33 KiB) Downloaded 377 times
[url=http://murga-linux.com/puppy/viewtopic.php?p=173456#173456]my recommended links[/url]

User avatar
battleshooter
Posts: 1378
Joined: Wed 14 May 2008, 05:10
Location: Australia

#196 Post by battleshooter »

Hi Mark,

I deleted libglx.so and it's target, and replaced them with yours. Rebooted and was given a black screen just before entering X. Waited about 5 minutes and then forced a reboot. Right now I'm using another pup-save I had on the drive.

User avatar
MU
Posts: 13649
Joined: Wed 24 Aug 2005, 16:52
Location: Karlsruhe, Germany
Contact:

#197 Post by MU »

hm, you can reboot again.
X should recognize that it did not exit properly, and drop you to console.
There you could try again, or type:

rm -f /usr/X11R7/lib/xorg/modules/extensions/libglx.so
xwin


This would delete it.

I actually have no idea, why it fails.
Just to be certain, do you have this folder?
/usr/X11R7/lib/dri/

It should contain:
i810_dri.so
i915_dri.so
i965_dri.so

When X started, type:
lsmod

Look, if that shows a module loaded, like "i915".

For now, I must say goodnight, but will try to help you again tomorrow evening.
Mark
[url=http://murga-linux.com/puppy/viewtopic.php?p=173456#173456]my recommended links[/url]

User avatar
battleshooter
Posts: 1378
Joined: Wed 14 May 2008, 05:10
Location: Australia

#198 Post by battleshooter »

Just to be certain, do you have this folder?
/usr/X11R7/lib/dri/

It should contain:
i810_dri.so
i915_dri.so
i965_dri.so
I have the folder and all 3 files. I'm going to try and restart now. Thanks for all your help Mark. Have a good night sleep. :)

User avatar
battleshooter
Posts: 1378
Joined: Wed 14 May 2008, 05:10
Location: Australia

#199 Post by battleshooter »

Oddly enough X didn't seem aware it didn't exit correctly. Skipping the console it led me directly to the black screen.

Typing lsmod, I couldn't seem to find i915.

I attached a screen shot of the modules loaded. I can't seem to copy and paste urxvt.

Battleshooter
Attachments
lsmod.jpg
(114.98 KiB) Downloaded 1161 times

User avatar
MU
Posts: 13649
Joined: Wed 24 Aug 2005, 16:52
Location: Karlsruhe, Germany
Contact:

#200 Post by MU »

what really makes me wonder is, that libglx.so from the original xorg gives a black screen.
I had a similar issue yesterday in Puppy 4.12, creating Ati drivers.
The problem was, that there was missing a symlink
/usr/X11R7/lib/dri

In this puplet here, it is a folder.
Maybe you miss
/usr/X11R7/lib/modules/dri

If that does not exist, type:

Code: Select all

ln -s /usr/X11R7/lib/dri /usr/X11R7/lib/modules/dri
------------
Else, I could imagine a conflict with one of the files installed from the nvidia sfs.
I would try to boot from CD, create a savefile.
Then add in /mnt/home these files:
Xorg-7.4-video-input-apps-i686-wow_411.sfs
Mesa-7.2-i686-wow_411.sfs
Then add them in the bootmanager and reboot, so that they get mounted.

If it works, you know, that something is wrong with your full installation.

---------------------
One other idea:
When X gives a black screen with the original libglx.so in your full installation, power off the computer.
Boot from CD, and look, if a /var/log/xorg.0.log was created on your harddrive.
Attach it here, also /var/log/messages and /tmp/xerrs.txt.
All from the harddrive, not from the current CD system.
Maybe they include a hint.

Mark
[url=http://murga-linux.com/puppy/viewtopic.php?p=173456#173456]my recommended links[/url]

Post Reply