[SOLVED] Intel 82865g 2.6.33-smp kernel xorgserver 1.8, 2.11 driver version problem
SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I have few questions since i manually builded xorg-server 1.8 im wondering what packages are dependent for x11 to be upgraded so everything run smoothly for xserver 1.8. are those xf86-input* and xf86-video* the only one or there are other packages that i have to get rebuilded?
the second question: im wondering if im the only one for that having a problem of that lastest driver dosent work for me,
for the purpose i rebuilded the driver and libdrm 2.4.20 with kms enabled once i installed xorg-xserver 1.8.0
heres log problem:
Code:
214.704] (II) LoadModule: "intel"
[ 214.704] (II) Loading /usr/lib/xorg/modules/intel_drv.so
[ 214.704] dlopen: /usr/lib/xorg/modules/intel_drv.so: undefined symbol: resVgaShared
[ 214.706] (EE) Failed to load /usr/lib/xorg/modules/intel_drv.so
[ 214.707] (II) UnloadModule: "intel"
[ 214.707] (EE) Failed to load module "intel" (loader failed, 7)
[ 214.708] (II) LoadModule: "vesa"
[ 214.709] (II) Loading /usr/lib/xorg/modules/drivers/vesa_drv.so
[ 214.709] (II) Module vesa: vendor="X.Org Foundation"
[ 214.709] compiled for 1.8.0, module version = 2.3.0
[ 214.709] Module class: X.Org Video Driver
[ 214.709] ABI class: X.Org Video Driver, version 7.0
how can i fix the problem? is there a solution yet?
thanks
ive removed xorg-server 1.8, and then ive tried, again slackware current: executing commands in this order :
Code:
slackpkg update
slackpkg install-new
slackpkg upgrade-all
slackpkg install xorg-server
slackpkg reinstall x ## i thouht it would reinstall all x11 packages,
and rebooted tried to remove vesa xorg.conf to see if it would work but no joy, same problem , cant load intel module properly.
heres log:
Code:
(II) Module dri2: vendor="X.Org Foundation"
compiled for 1.7.7, module version = 1.1.0
ABI class: X.Org Server Extension, version 2.0
(II) Loading extension DRI2
(II) LoadModule: "intel"
(II) Loading /usr/lib/xorg/modules/intel_drv.so
dlopen: /usr/lib/xorg/modules/intel_drv.so: undefined symbol: resVgaShared
(EE) Failed to load /usr/lib/xorg/modules/intel_drv.so
(II) UnloadModule: "intel"
(EE) Failed to load module "intel" (loader failed, 7)
(II) LoadModule: "vesa"
(II) Loading /usr/lib/xorg/modules/drivers/vesa_drv.so
(II) Module vesa: vendor="X.Org Foundation"
compiled for 1.7.5, module version = 2.3.0
Module class: X.Org Video Driver
ABI class: X.Org Video Driver, version 6.0
for me everything worked smoothly when in current stock was xorg-server 1.7.3 and ive builded from source libdrm and xf86-video-intel 2.10 kms enabled, after that i have this problem,
I'm not sure where that symbol is coming from, but it means that some of your packages are not in sync with what's in our tree (or perhaps you have other stuff in /usr/local that's being seen).
if you don't have anything you need in /usr/local, you can try "resetting" it: maybe, as robby hinted above, something you build yourself has ended up installing there and it's loaded instead of the stuff in /usr.
so you can temporary move away the folders, create some pristine ones and see if it helps
Code:
cd /usr/local
mkdir old
mv bin old/
mv include old/
mv lib old/
mv man old/
mv sbin old/
mv share old/
mkdir bin
mkdir include
mkdir lib
mkdir man
mkdir sbin
mkdir share
if something breaks instead of fixing, you can put them back
but, in general and in particular with a complex package like X, it's very difficult to repair a situation where you don't know where your "make install"s have copied stuff...
if you don't have anything you need in /usr/local, you can try "resetting" it: maybe, as robby hinted above, something you build yourself has ended up installing there and it's loaded instead of the stuff in /usr.
so you can temporary move away the folders, create some pristine ones and see if it helps
Code:
cd /usr/local
mkdir old
mv bin old/
mv include old/
mv lib old/
mv man old/
mv sbin old/
mv share old/
mkdir bin
mkdir include
mkdir lib
mkdir man
mkdir sbin
mkdir share
if something breaks instead of fixing, you can put them back
but, in general and in particular with a complex package like X, it's very difficult to repair a situation where you don't know where your "make install"s have copied stuff...
although all directories in /usr/local were empty except bin wich had bchunk file i followed your advice and no joy, same problem occurs.
we will see what kind of idea rworkman has
im wondering how i can trace from where undefined symbol is coming from?
i don't know robby's idea, but if I were you I would do this (it's not a rude answer, just what I would do):
- backup personal data
- reinstall pristine -current from iso
- use packages/slackbuilds only
that will fix your problem faster than losing time trying to fix the symbol thing
i don't know robby's idea, but if I were you I would do this (it's not a rude answer, just what I would do):
- backup personal data
- reinstall pristine -current from iso
- use packages/slackbuilds only
that will fix your problem faster than losing time trying to fix the symbol thing
the thing was old module from previous version of intel 2.10 was in /usr/lib/xorg/modules/intel_drv.so that i copied to by accident
and 2.11 was in /usr/lib/xorg/modules/drivers/intel_drv.so
so i had just to remove intel_drv.so from /usr/lib/xorg/modules and problem solved
im just wondering when you guys incorporate new xserver 1.8.0 version into stock-current tree is it really necessary to rebuild from scratch all x11 packages aswell?
I think yes, but someone more into building X than me (and maybe involved in the slackware team, but maybe you are referring to robby) can answer surely better.
also, if you search in the forum, there are some old threads about X building.
its pointed to everyone, surely would like to know rworkman and other opinion about it,(although my opinion is just like yours, but want to check to make sure ) but im very glad that i got the solution to the problem
Possibly you could be having issues with something that will be fixed in 2.6.33.5:
Code:
------------------
From: Jesse Barnes <jbarnes@virtuousgeek.org>
commit 1918ad77f7f908ed67cf37c505c6ad4ac52f1ecf upstream.
My PIPE_CONTROL fix (just sent via Eric's tree) was buggy; I was
testing a whole set of patches together and missed a conversion to the
new HAS_PIPE_CONTROL macro, which will cause breakage on non-Ironlake
965 class chips. Fortunately, the fix is trivial and has been tested.
Be sure to use the HAS_PIPE_CONTROL macro in i915_get_gem_seqno, or
we'll end up reading the wrong graphics memory, likely causing hangs,
crashes, or worse.
Reported-by: Zdenek Kabelac <zdenek.kabelac@gmail.com>
Reported-by: Toralf Förster <toralf.foerster@gmx.de>
Tested-by: Toralf Förster <toralf.foerster@gmx.de>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
---
drivers/gpu/drm/i915/i915_gem.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- a/drivers/gpu/drm/i915/i915_gem.c
+++ b/drivers/gpu/drm/i915/i915_gem.c
@@ -1785,7 +1785,7 @@ i915_get_gem_seqno(struct drm_device *de
{
drm_i915_private_t *dev_priv = dev->dev_private;
- if (IS_I965G(dev))
+ if (HAS_PIPE_CONTROL(dev))
return ((volatile u32 *)(dev_priv->seqno_page))[0];
else
return READ_HWSP(dev_priv, I915_GEM_HWS_INDEX);
Re xorg-server-1.8.x, at least some of the video drivers will need a rebuild, and probably some of them won't build against it, and we'll have to work out the documentation side of "how do I do $x" with regards to setting keymaps using udev instead of hal, and while we're at it, we'll look into using udisks and upower for removable devices and power management, and then nothing will be left using hal, I don't think, but that will require testing, and if I'm right, we can remove hal, but then that will require lots of testing to make sure, so that's why we didn't shoot for the newer 1.8.x branch for 13.1. Long sentence, anyone? ;-)
Re xorg-server-1.8.x, at least some of the video drivers will need a rebuild, and probably some of them won't build against it, and we'll have to work out the documentation side of "how do I do $x" with regards to setting keymaps using udev instead of hal, and while we're at it, we'll look into using udisks and upower for removable devices and power management, and then nothing will be left using hal, I don't think, but that will require testing, and if I'm right, we can remove hal, but then that will require lots of testing to make sure, so that's why we didn't shoot for the newer 1.8.x branch for 13.1. Long sentence, anyone? ;-)
Yes thats why i was thinking if everything has to be rebuilded.
Everything else clear, although its a bit long sentence.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.