Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
3d Acceleration with amd64/Xorg7/ATI X800 [SOLVED]
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
Auz
n00b
n00b


Joined: 01 Jul 2006
Posts: 18

PostPosted: Wed Jul 05, 2006 11:59 am    Post subject: 3d Acceleration with amd64/Xorg7/ATI X800 [SOLVED] Reply with quote

I've got my first Gentoo system up and running after a couple of false starts, but I'm getting a little stuck with getting direct rendering up and running. I've come to three possible conclusions.
  • my motherboard's AGP chipset isn't supported.
  • my Radeon card isn't supported by the Xorg drivers.
  • I should just suck it up and switch to the proprietry drivers.
The first option is suggested by the Dri Troubleshooting page where it says "make sure you included your chipset-specific AGP support when you configured the kernel", but I might be misunderstanding this. I have a VIA motherboard ("00:00.0 Host bridge: VIA Technologies, Inc. VT8385 [K8T800 AGP] Host Bridge (rev 01)") but I could only choose an Athlon agpgart option when compiling the kernel. When it talks about an "Intel motherboard", does it mean one with an Intel CPU or the actual MB made by Intel?

Second, this page says the X800 only does 2D under the Xorg drivers. In the Xorg log, I get the following errors:

Code:
(II) RADEON(0): Primary V_BIOS segment is: 0xc000
(--) RADEON(0): Chipset: "ATI Radeon X800XT (R420) JP (AGP)" (ChipID = 0x4a50)
(--) RADEON(0): Linear framebuffer at 0xc0000000
(--) RADEON(0): BIOS at 0xcfec0000
(II) RADEON(0): AGP card detected
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: Open failed
drmOpenByBusid: Searching for BusID pci:0000:01:00.0
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: Open failed
drmOpenByBusid: drmOpenMinor returns -1023
drmOpenDevice: node name is /dev/dri/card1
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: Open failed
drmOpenByBusid: drmOpenMinor returns -1023
drmOpenDevice: node name is /dev/dri/card2
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: Open failed
drmOpenByBusid: drmOpenMinor returns -1023
drmOpenDevice: node name is /dev/dri/card3
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: Open failed
drmOpenByBusid: drmOpenMinor returns -1023
drmOpenDevice: node name is /dev/dri/card4
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: Open failed
drmOpenByBusid: drmOpenMinor returns -1023
drmOpenDevice: node name is /dev/dri/card5
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: Open failed
drmOpenByBusid: drmOpenMinor returns -1023
drmOpenDevice: node name is /dev/dri/card6
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: Open failed
drmOpenByBusid: drmOpenMinor returns -1023
drmOpenDevice: node name is /dev/dri/card7
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: Open failed
drmOpenByBusid: drmOpenMinor returns -1023
drmOpenDevice: node name is /dev/dri/card8
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: Open failed
drmOpenByBusid: drmOpenMinor returns -1023
drmOpenDevice: node name is /dev/dri/card9
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: Open failed
drmOpenByBusid: drmOpenMinor returns -1023
drmOpenDevice: node name is /dev/dri/card10
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: Open failed
drmOpenByBusid: drmOpenMinor returns -1023
drmOpenDevice: node name is /dev/dri/card11
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: Open failed
drmOpenByBusid: drmOpenMinor returns -1023
drmOpenDevice: node name is /dev/dri/card12
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: Open failed
drmOpenByBusid: drmOpenMinor returns -1023
drmOpenDevice: node name is /dev/dri/card13
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: Open failed
drmOpenDevice: node name is /dev/dri/card9
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: Open failed
drmOpenDevice: node name is /dev/dri/card10
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: Open failed
drmOpenDevice: node name is /dev/dri/card11
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: Open failed
drmOpenDevice: node name is /dev/dri/card12
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: Open failed
drmOpenDevice: node name is /dev/dri/card13
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: Open failed
drmOpenDevice: node name is /dev/dri/card14
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: Open failed
(EE) RADEON(0): [dri] RADEONDRIGetVersion failed to open the DRM
[dri] Disabling DRI.

If I don't load the kernel's drm module, I just get the first card0 check followed by the "failed to open the DRM" error. This thread suggests I might get it to work if I compile a different version of the drivers, but I'd like a second opinion on that before I dive in :)

As for the third option, I'm loathe to try them because when I messed around on Ubuntu it turned out 3d acceleration and a dual-head system were somewhat incompatible.

Any advice?


Last edited by Auz on Thu Jul 06, 2006 12:03 pm; edited 1 time in total
Back to top
View user's profile Send private message
BRPXQZME
Apprentice
Apprentice


Joined: 23 Mar 2006
Posts: 163
Location: Centreville, VA

PostPosted: Wed Jul 05, 2006 12:27 pm    Post subject: Reply with quote

First off, this is probably what you want to set in your kernel (just on a hunch that your AGP chipset is the same as your mobo brand):

Code:
Loadable Module Support --->
 [*] Enable loadable module support
   [*]   Module unloading

Processor type and features  --->
 [*] MTRR (Memory Type Range Register) support

Device Drivers --->
 Character Devices --->
  <M> /dev/agpgart (AGP Support) 
    <M> VIA chipset support
  [ ] Direct Rendering Manager (XFree86 4.1.0 and higher DRI support)


Secondly, at the present open-source drivers for the X800 suck from what I've heard (I don't have any r300 or r400 cards, I wouldn't know how much) and you'll probably be better off with the binary drivers. However, there ARE open-source drivers, and if you want to use them, you'll probably want recent versions (look at the Xgl overlay and stuff).

Take a look at this wiki entry and this one, too. Perhaps all you need to do is follow the instructions in them. Your mileage may vary.
_________________
Firefox is spelled F-i-r-e-f-o-x - only the first letter capitalized (i.e. not FireFox, not Foxfire, FoxFire or whatever else a number of folk seem to think it to be called.) The preferred abbreviation is "Fx" or "fx".

FF = Final Fantasy.
Back to top
View user's profile Send private message
Auz
n00b
n00b


Joined: 01 Jul 2006
Posts: 18

PostPosted: Wed Jul 05, 2006 12:46 pm    Post subject: Reply with quote

The first two I have set, but for the device drivers my only options and settings are:

Code:
<M> /dev/agpgart (AGP Support)
 <M>   AMD Opteron/Athlon64 on-CPU GART support
 < >   Intel 440LX/BX/GX, I8xx and E7x05 chipset support

If I switch on
Code:
 [ ] K8 GART IOMMU support

in the Processor type and features section, I lose the AMD option.

BRPXQZME wrote:
First off, this is probably what you want to set in your kernel (just on a hunch that your AGP chipset is the same as your mobo brand):

Code:
Loadable Module Support --->
 [*] Enable loadable module support
   [*]   Module unloading

Processor type and features  --->
 [*] MTRR (Memory Type Range Register) support

Device Drivers --->
 Character Devices --->
  <M> /dev/agpgart (AGP Support) 
    <M> VIA chipset support
  [ ] Direct Rendering Manager (XFree86 4.1.0 and higher DRI support)
Back to top
View user's profile Send private message
tchak
Tux's lil' helper
Tux's lil' helper


Joined: 19 Aug 2003
Posts: 124
Location: France/Russia

PostPosted: Wed Jul 05, 2006 12:53 pm    Post subject: Reply with quote

Auz wrote:
The first two I have set, but for the device drivers my only options and settings are:

Code:
<M> /dev/agpgart (AGP Support)
 <M>   AMD Opteron/Athlon64 on-CPU GART support
 < >   Intel 440LX/BX/GX, I8xx and E7x05 chipset support

If I switch on
Code:
 [ ] K8 GART IOMMU support

in the Processor type and features section, I lose the AMD option.


You don't lose it. It is just mandatory enabled if you select "K8 GART IOMMU support"

You should look at this post.
_________________
maybe this world is another planet's hell...
Athlon64 | ATI Mobility Radeon 9700 | Netgear (Prism54) + ASUS (USB2 ZD1211)
Back to top
View user's profile Send private message
aguyfromearth
n00b
n00b


Joined: 18 Apr 2006
Posts: 53
Location: /earth/europe/...

PostPosted: Wed Jul 05, 2006 3:29 pm    Post subject: Reply with quote

maybe this faq can help u, it solved for me some problems with ati-drivers and a64

http://odin.prohosting.com/wedge01/gentoo-radeon-faq.html
Back to top
View user's profile Send private message
Gidzz0r
n00b
n00b


Joined: 30 Jan 2005
Posts: 3
Location: Lycksele

PostPosted: Wed Jul 05, 2006 3:45 pm    Post subject: Reply with quote

Code:
[ ] Direct Rendering Manager (XFree86 4.1.0 and higher DRI support)

Aint that D R I? why shouldnt you have that in your kernel? :Z
_________________
enter http://wootgnu.org or http://gidzz0r.se for crap.. :)
Back to top
View user's profile Send private message
gami
Apprentice
Apprentice


Joined: 02 Jun 2006
Posts: 297

PostPosted: Wed Jul 05, 2006 5:48 pm    Post subject: Reply with quote

See this topic about agpgart support for the VT8385. It isn't there at the moment, but a patch is being worked on. Without agpgart support you won't get 3D acceleration.
Back to top
View user's profile Send private message
Auz
n00b
n00b


Joined: 01 Jul 2006
Posts: 18

PostPosted: Wed Jul 05, 2006 7:31 pm    Post subject: Reply with quote

So, just to be clear: without a patch of that ilk, there's no way to enable 3d/drm on my system for any of the drivers, free or proprietry?
Back to top
View user's profile Send private message
gami
Apprentice
Apprentice


Joined: 02 Jun 2006
Posts: 297

PostPosted: Wed Jul 05, 2006 7:56 pm    Post subject: Reply with quote

Auz wrote:
So, just to be clear: without a patch of that ilk, there's no way to enable 3d/drm on my system for any of the drivers, free or proprietry?


No agpgart, no accelerated 3D. You need the kernel agpgart for the open source drivers. The ATI proprietary drivers can use their own agpgart, which is enabled through the "UseInternalAGPGART" option. Whether or not the proprietary ATI driver recognizes the chipset, I don't know.
Back to top
View user's profile Send private message
Auz
n00b
n00b


Joined: 01 Jul 2006
Posts: 18

PostPosted: Wed Jul 05, 2006 8:07 pm    Post subject: Reply with quote

Ah... that fits with that I had the proprietry drivers running under Ubuntu on this machine. Many thanks.
Back to top
View user's profile Send private message
Auz
n00b
n00b


Joined: 01 Jul 2006
Posts: 18

PostPosted: Thu Jul 06, 2006 12:03 pm    Post subject: Reply with quote

Got it all running with the ATI drivers, K8 GART IOMMU support switched on and the following aticonfig commands:

Code:
aticonfig --initial --input=/etc/X11/xorg.conf
aticonfig --dtop=horizontal --overlay-on=1
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
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