LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Radeon kms works! (https://www.linuxquestions.org/questions/slackware-14/radeon-kms-works-760963/)

BroX 12-25-2009 07:07 AM

Quote:

Originally Posted by dolphin77 (Post 3804220)
Yoop.

Just checked again. For newer xorg the right order should be libdrm, xf86-video-ati, mesa.
---cut---
Once again I am not expert, but I read a lot of x.org wikies, phoronix and etc and they argue, that mesa should be installed later.

Neither am I, thanks for the correction!

Josh000 12-28-2009 02:24 AM

2 Attachment(s)
Hmm, I'm having some problems compiling xf86-video-ati.

It seems to be an issue with the sourcetree not being included, is this correct?

I have uploaded both my xorg.log and the errors from running the slackbuild script for xf86-video-ati

dolphin77 12-28-2009 07:43 AM

did you upgrade util-macros as specified above in this thread?

Josh000 12-28-2009 08:14 AM

Yes, exactly as above

dolphin77 12-28-2009 09:33 AM

it looks like it doesnt run autogen.sh or configure. try to manualy
cd src/xf86-video-ati
./autogen.sh

and see if it is running or not, does it give any missing stuff errors etc. If it runs normally, configure file will be created.

Josh000 12-29-2009 06:04 AM

1 Attachment(s)
OK, I tried autorun.sh by itself and got the same error about it needing the source tree, and util-macros is definitely installed and fine.

I have uploaded the error log, but it is the same as previously posted. Am I possibly missing a package?

rvdboom 12-29-2009 09:37 AM

Yep. For some reason, you need to have the xserver source tree somewhere on your disk and pass the path of it to configure. I already ran into that problem once.

adamk75 12-29-2009 09:51 AM

You really don't. I've not needed the full Xorg source to build xf86-video-ati from git on Slackware 13.0. There is something very odd going on here.

Josh000, your log file shows (among other things):

checking for dri.h... no
checking whether to include DRI support... no
checking exa.h usability... no
checking exa.h presence... no
checking for exa.h... no

All those were yes on my build. Does /usr/include/xorg/exa.h exist? How about /usr/include/xorg/dri.h?

Wait a second here.... Now I remember you... http://www.linuxquestions.org/questi...nstall-762485/

Perhaps this is why you shouldn't go around installing what you believe to be the minimum number of packages necessary for a functioning X :-)

Adam

Josh000 12-29-2009 10:03 AM

Hmmm,

I'm sure I have installed the necessary packages...not least to compile libdri and mesa. I wouldnt be surprised if I have left of a needed package, but I don't actually think that is the cause here.

I can't check for the presence of the files right now, but will as soon as I can.

Josh000 12-30-2009 05:24 AM

Yes, exa.h and dri.h both exist in /us/include/xorg, as well as a whole host of other header files.

adamk75 12-30-2009 05:40 AM

Attach the config.log file to a post here.

Adam

BrZ 12-30-2009 08:43 AM

1 Attachment(s)
I'm using the attached script to build the video driver standalone on both 32 and 64bit...

Josh000 12-30-2009 12:41 PM

2 Attachment(s)
Hi Adam,

I was missing XI.h, which was inputproto. Installed that and ran again, and now it states there is no sys/endian.h

There certainly is no endian.h in /usr/include/sys, although there is one in /usr/include

Out of the few files that contain a file named endian.h, I have them installed or they don't seem appropriate. I certainly have glibc and kernel headers installed.

I have uploaded the config.log and the output of trying to run the slackbuild.

Thanks for your help!

adamk75 12-30-2009 12:52 PM

From your build:

Code:

radeon.h:76:23: error: GL/glxint.h: No such file or directory
From my system:

Code:

[adamk@camaris packages]$ grep glxint.h *
glproto-1.4.10-noarch-1:usr/include/GL/glxint.h

glproto, another package you apparently decided you didn't need to install.

Adam

Josh000 12-31-2009 09:38 AM

Quote:

Originally Posted by adamk75 (Post 3809110)
From your build:
glproto, another package you apparently decided you didn't need to install.

Adam

I wouldn't have normally except I am recompiling some of this X stuff.

Even so, installing a few extra proto packages is still a lot less than everything.

Thanks for your help though


All times are GMT -5. The time now is 11:32 PM.