Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
ATI-xorg-amd64-HOWTO
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2, 3  Next  
Reply to topic    Gentoo Forums Forum Index Gentoo on AMD64
View previous topic :: View next topic  
Author Message
blackwhite
Apprentice
Apprentice


Joined: 24 Jun 2004
Posts: 250

PostPosted: Thu Mar 17, 2005 4:34 pm    Post subject: Reply with quote

a good tutorial. It works. 3X.
My graphic card is ATI FIREGL X1. Now I use ~amd64 keywords for gentoo-dev-sources, ati drivers and opengl-update.
Quote:
amd64 root # emerge gentoo-dev-sources -pv

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild R ] sys-kernel/gentoo-dev-sources-2.6.11-r4 -build -doc -symlink (-ultra1) 0 kB

Total size of downloads: 0 kB
amd64 root # emerge ati-drivers -pv

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild R ] media-video/ati-drivers-8.10.19 0 kB

Total size of downloads: 0 kB
amd64 root # emerge opengl-update -pv

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild R ] x11-base/opengl-update-2.1.1-r1 0 kB

Total size of downloads: 0 kB


Code:
glxinfo | grep direct

Quote:
direct rendering: Yes

the FPS is about 4600 FPS, 600 FPS with maxium windows.
How about this record? is it normal?
Back to top
View user's profile Send private message
magnesium
Apprentice
Apprentice


Joined: 28 Oct 2003
Posts: 280
Location: Toronto, Canada

PostPosted: Thu Mar 17, 2005 11:44 pm    Post subject: Reply with quote

Are there any USE flags that I need or must not have? I ask because I had my AMD64 box working great when I had to hack to get my ati-drivers working, but when I recently updated my world ...
Code:
emerge -pvuD world
...the ati-drivers were a blocker for updating opengl.
I removed the ati-drivers and wanted to learn how the new fangled no-hack to install these drivers worked (because xorg won't start anymore) and was wondering if there's any use flags that should or should not be in /etc/make.conf
I have opengl as a use flag and am wondering if this is a no-no because of the blocking error I saw previously.

Thanks,
Mg
_________________
Adopt an unanswered post
Back to top
View user's profile Send private message
slugworth
Apprentice
Apprentice


Joined: 21 Aug 2004
Posts: 189

PostPosted: Fri Mar 18, 2005 1:46 am    Post subject: Reply with quote

Is xorg-x11 still "dangerous", or have they fixed the problems that it use to cause with libs? I already went through all this hell and just did a reinstall to fix it.
Back to top
View user's profile Send private message
slugworth
Apprentice
Apprentice


Joined: 21 Aug 2004
Posts: 189

PostPosted: Fri Mar 18, 2005 1:47 am    Post subject: Reply with quote

By xorg i mean 6.8.2
Back to top
View user's profile Send private message
magnesium
Apprentice
Apprentice


Joined: 28 Oct 2003
Posts: 280
Location: Toronto, Canada

PostPosted: Fri Mar 18, 2005 2:17 am    Post subject: Reply with quote

It's not an issue. I just re-emerged the "ati-drivers" and ran "opengl-update ati" (as pointed out by this lovely little guide) and it kicked right back in. My question was around if there are any use flags so that in the future I won't have ati-drivers act as a blocker for opengl.

Know what I mean?
_________________
Adopt an unanswered post
Back to top
View user's profile Send private message
mecolik
n00b
n00b


Joined: 06 Aug 2003
Posts: 21

PostPosted: Sun Mar 20, 2005 12:01 pm    Post subject: Reply with quote

3D accel. now working, the issue was not the AGP settings, there is a an option in the bios of the Tyan MB to set the PCI address space in a discrete or continous way.
It works with the latest 2.6.11 gentoo dev sources and the ati binary driver in portage.
Ubuntu is a good distro but gives me bad performance on this system and no 3D either :-( without recompiling a specific kernel.

If you want to test your powerfull system with something looking good and using latest opengl extensions,
take a look at http://www.humus.ca/index.php?page=3D.
Get the frameworks files and some demos, unpack all.
Get into each demo directory and type make.
This guy make damn good looking little demos.
Back to top
View user's profile Send private message
donjuan
l33t
l33t


Joined: 11 May 2004
Posts: 760
Location: At Uni

PostPosted: Tue Mar 22, 2005 3:35 am    Post subject: Reply with quote

magnesium wrote:
My question was around if there are any use flags so that in the future I won't have ati-drivers act as a blocker for opengl.

Know what I mean?
Actually I don't know what you mean because I haven't encountered this problem, and there's no opengl package. I might be able to answer your question if you're a bit clearer. Were you referring to opengl-update?
_________________
Command-line ACCEPT_KEYWORDS is considered harmful, use the package.* files.

The Stage 1 on 3 Install
Back to top
View user's profile Send private message
magnesium
Apprentice
Apprentice


Joined: 28 Oct 2003
Posts: 280
Location: Toronto, Canada

PostPosted: Sun Mar 27, 2005 12:13 am    Post subject: Reply with quote

@donjuan: it must have been opengl-update then. I don't really recall as I just saw the issue once and fixed it. kind of auto pilot mode.
_________________
Adopt an unanswered post
Back to top
View user's profile Send private message
slugworth
Apprentice
Apprentice


Joined: 21 Aug 2004
Posts: 189

PostPosted: Sun Mar 27, 2005 10:42 pm    Post subject: Reply with quote

All 3 modules failed to load in startup..... Do i need to do something with my kernel too or just add then to the modules.autoload.d file?
Back to top
View user's profile Send private message
donjuan
l33t
l33t


Joined: 11 May 2004
Posts: 760
Location: At Uni

PostPosted: Mon Mar 28, 2005 3:00 am    Post subject: Reply with quote

slugworth, if you got a message telling you that the modules failed to load you've probably changed kernel versions, so try re-emerging the ati-drivers and whatever else failed to load. If that doesn't work, please provide more detail.

@magnesium:It might have to do with the fact that the opengl-update-2.1.1 ebuild requires ati-drivers-8.8.25-r3 or later. So if you had 8.8.25 installed (were those even available for amd64 at any point?) at the time that could have caused the problem. Even if that wasn't the case, I doubt you'll see the problem again.
_________________
Command-line ACCEPT_KEYWORDS is considered harmful, use the package.* files.

The Stage 1 on 3 Install
Back to top
View user's profile Send private message
slugworth
Apprentice
Apprentice


Joined: 21 Aug 2004
Posts: 189

PostPosted: Tue Mar 29, 2005 1:12 am    Post subject: Reply with quote

As of right now i did all the steps in the guide at the begining. I switched over kernels to 2.6.11, adding the agpgart as built in and ATHLON-64 on cpu gart support both as BUILT IN. Should they be modules? Now it seems like im contridicting myself because i added them to /etc/modules.autoload.d/, telling my computer to load them as modules, but if their already loaded then it would be like double loading them, which might be why i have this problem.? But this would mean that if i had then built in and DIDNT have them on the /etc/modules.autoload.d/ script then that should be ok too? But thats how i have it and its not working.

So can someone help me straighten out which should be modules and which should be built in, if any should be built in?
Back to top
View user's profile Send private message
donjuan
l33t
l33t


Joined: 11 May 2004
Posts: 760
Location: At Uni

PostPosted: Tue Mar 29, 2005 1:25 am    Post subject: Reply with quote

It's up to you whether you want them built-in or not. I usually build them in. If you build them in you shouldn't list them in /etc/modules.autoload.d, the only thing you should list in there is fglrx. If you build them as modules you should list them in /etc/modules.autoload.d along with fglrx.
_________________
Command-line ACCEPT_KEYWORDS is considered harmful, use the package.* files.

The Stage 1 on 3 Install
Back to top
View user's profile Send private message
slugworth
Apprentice
Apprentice


Joined: 21 Aug 2004
Posts: 189

PostPosted: Tue Mar 29, 2005 1:58 am    Post subject: Reply with quote

Ok ive done that and it cleaned some stuff up, but it still doenst find the fglrx driver at boot up. Ive reemerged ati-drivers and opengl-update ati like 4 times and nothings happened.
Back to top
View user's profile Send private message
donjuan
l33t
l33t


Joined: 11 May 2004
Posts: 760
Location: At Uni

PostPosted: Tue Mar 29, 2005 2:56 am    Post subject: Reply with quote

Can you modprobe fglrx? If you can't, what's the error message?
_________________
Command-line ACCEPT_KEYWORDS is considered harmful, use the package.* files.

The Stage 1 on 3 Install
Back to top
View user's profile Send private message
slugworth
Apprentice
Apprentice


Joined: 21 Aug 2004
Posts: 189

PostPosted: Tue Mar 29, 2005 3:24 am    Post subject: Reply with quote

it just says:
Code:

Dantooine root # modprobe fglrx
FATAL: Module fglrx not found.
Back to top
View user's profile Send private message
donjuan
l33t
l33t


Joined: 11 May 2004
Posts: 760
Location: At Uni

PostPosted: Tue Mar 29, 2005 4:16 am    Post subject: Reply with quote

Odd...make sure your /usr/src/linux symlink is pointing to the correct kernel sources.
_________________
Command-line ACCEPT_KEYWORDS is considered harmful, use the package.* files.

The Stage 1 on 3 Install
Back to top
View user's profile Send private message
slugworth
Apprentice
Apprentice


Joined: 21 Aug 2004
Posts: 189

PostPosted: Wed Mar 30, 2005 12:26 am    Post subject: Reply with quote

DUH, im an idiot, now i wonder what else hasnt been working because of that, hum, maybe SOUND! Ok well im an idiot. But anyway so i assume im running off the drivers now that flgrx is loaded? I did that glxinfo | grep direct and it says yes.... But when i move windows around and stuff it still seems like its a little slow?

Glxgears:
Code:

23330 frames in 5.0 seconds = 4666.000 FPS


Is that good?
Back to top
View user's profile Send private message
donjuan
l33t
l33t


Joined: 11 May 2004
Posts: 760
Location: At Uni

PostPosted: Wed Mar 30, 2005 12:49 am    Post subject: Reply with quote

That looks right, you won't get those sort of framerates without fglrx loaded. As for moving windows seeming a bit slow, I wouldn't worry about it much. I would expect them to lag as much as they did without the fglrx driver because X isn't taking advantage of 3D acceleration yet. X has behaved the same way for me when I use the ati-drivers and the xorg radeon driver.
_________________
Command-line ACCEPT_KEYWORDS is considered harmful, use the package.* files.

The Stage 1 on 3 Install
Back to top
View user's profile Send private message
slugworth
Apprentice
Apprentice


Joined: 21 Aug 2004
Posts: 189

PostPosted: Wed Mar 30, 2005 2:29 am    Post subject: Reply with quote

no 3d acceleration? Can you help me with that or have i just missed something?
Back to top
View user's profile Send private message
donjuan
l33t
l33t


Joined: 11 May 2004
Posts: 760
Location: At Uni

PostPosted: Thu Mar 31, 2005 5:11 pm    Post subject: Reply with quote

Has it suddenly stopped working? Because those frame rates in glxgears mean that it's working. If you don't have 3D acceleration you will only get a couple hundred fps in glxgears.
_________________
Command-line ACCEPT_KEYWORDS is considered harmful, use the package.* files.

The Stage 1 on 3 Install
Back to top
View user's profile Send private message
Eidi
Tux's lil' helper
Tux's lil' helper


Joined: 02 Sep 2004
Posts: 82
Location: Arizona

PostPosted: Fri Apr 15, 2005 7:30 pm    Post subject: Reply with quote

Heh heh, nevermind, stupid me. My old kernel didn't have AGP support built in, now they appear as ~amd64. :-P I'll just leave my original post here in case anyone runs into the same problem as I did:

"Hi, I have a laptop with an ATI Radeon Mobility 9600. I tried to emerge ati-drivers, but all 4 of them are -* masked.

Should I unmask them and try?"
Back to top
View user's profile Send private message
strider3700
Tux's lil' helper
Tux's lil' helper


Joined: 10 Apr 2003
Posts: 94

PostPosted: Sat Apr 16, 2005 10:49 pm    Post subject: Reply with quote

I'm getting an error loading the fglrx module.
Code:

modprobe fglrx
FATAL: Error inserting fglrx (/lib/modules/2.6.9-gentoo-r14/video/fglrx.ko): Unknown symbol in module, or unknown parameter (see dmesg)
bash-2.05b# ls /usr/src


this happens from a boot or modprobe, and of course startx fails at that point. The funny thing is startx for root works but hard locks the pc after a little bit but startx fails for my user account.

dmesg gives me
Code:

agpgart: Found an AGP 3.0 compliant device at 0000:00:00.0.
agpgart: Device is in legacy mode, falling back to 2.x
agpgart: Putting AGP V2 device at 0000:00:00.0 into 1x mode
agpgart: Putting AGP V2 device at 0000:01:00.0 into 1x mode
[drm] Loading R200 Microcode
fglrx: module license 'Proprietary. (C) 2002 - ATI Technologies, Starnberg, GERMANY' taints kernel.
fglrx: Unknown symbol remap_pfn_range
fglrx: Unknown symbol remap_pfn_range


I believe thats the only necessary part.

Now I'm on kernel 2.6.9-gentoo-r14 will moving up to 2.6.11 correct the symbol issue or do I have something else wrong? I'll be moving kernels in a little bit here.

Any thoughts?
Back to top
View user's profile Send private message
strider3700
Tux's lil' helper
Tux's lil' helper


Joined: 10 Apr 2003
Posts: 94

PostPosted: Sun Apr 17, 2005 7:01 pm    Post subject: Reply with quote

Ok I updated the kernel to 2.6.11-r6 Still the same error. I'm going to run through all of the steps once again and see if I missed something.
Back to top
View user's profile Send private message
optik_knight
n00b
n00b


Joined: 15 Apr 2005
Posts: 12
Location: eastern Washington, western Idaho, USA

PostPosted: Wed Apr 20, 2005 2:12 am    Post subject: X300, PCI-Express? Reply with quote

Someone asked earlier about their PCI-Express X600 card... I'm using an X300 and would like to know the same.

One option I've seen (and am in the process of testing) is as follows:

Code:
USE="-hardened" emerge --newuse x11


Of course, that only applies to people who have 'hardened' in their USE flags... or am I mistaken?

Last week I was using the x86 Live CD to install on my Intel EM64T Xeon's, and got X to work, with the ati-drivers, and what not... so I'm not sure what the problem is here. Ultimately I had to scratch that installation since my GCC got toasted due to weird compiler flags during an update. So now I'm using the AMD64 base, and it's lookin good so far -- except for xorg and the ati-drivers, of course.

I'd be interested to hear what other people using PCI-Express cards have experienced.
Back to top
View user's profile Send private message
donjuan
l33t
l33t


Joined: 11 May 2004
Posts: 760
Location: At Uni

PostPosted: Fri Apr 29, 2005 2:28 am    Post subject: Reply with quote

@strider3700: Did you re-emerge the ati-drivers after you switched kernels? You will inevitably run into problems if you don't.

@optik_knight: The ATI-drivers should work for you on amd64. Just don't enable agpgart at all.
As for getting xorg working on a hardened system people have said to either use
Code:
USE="-hardened dlloader" emerge xorg-x11
or if that doesn't work
Code:
USE="-hardened static" emerge xorg-x11
Whichever set of USE flags works you should really put in /etc/portage/package.use so it sticks the next time you emerge xorg.

Edit: Wow, sorry for the late responses guys, I really hope you got your problems solved already. I've been rather busy lately.
_________________
Command-line ACCEPT_KEYWORDS is considered harmful, use the package.* files.

The Stage 1 on 3 Install
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on AMD64 All times are GMT
Goto page Previous  1, 2, 3  Next
Page 2 of 3

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum