View previous topic :: View next topic |
Author |
Message |
mattheweast Tux's lil' helper
Joined: 17 Sep 2004 Posts: 121 Location: London, UK
|
Posted: Fri Dec 24, 2004 4:43 pm Post subject: framebuffer and 3d acceleration with IGP 340M? |
|
|
Hi there,
I have a radeon IGP 340M card, which uses dri to get 3d acceleration with xorg. I have set up gensplash and have configured the kernel framebuffer, but when I use the framebuffer, 3d acceleration does not work properly due to AGP being occupied.
I would really like to use framebuffer but will give it up if I can't get 3d acceleration with it.
Is it possible for me to get the best of both worlds?
Many thanks, Matt |
|
Back to top |
|
|
yardbird l33t
Joined: 20 Apr 2002 Posts: 689 Location: nl.leiden
|
Posted: Sat Dec 25, 2004 12:47 pm Post subject: Re: framebuffer and 3d acceleration with IGP 340M? |
|
|
mattheweast wrote: | I have a radeon IGP 340M card, which uses dri to get 3d acceleration with xorg. I have set up gensplash and have configured the kernel framebuffer, but when I use the framebuffer, 3d acceleration does not work properly due to AGP being occupied.
|
That's strange. I have the same board, but not the same problem. Which driver are you using for framebuffer? Have you tried with vesa-tng (which should be included in the lastest gentoo dev-sources)? What is the exact error message? Are you using dri and agp drivers compiled statically in the kernel or as modules? _________________
Albert Einstein wrote: | I consider it [...] urgently necessary for [...] workers to get together, both to protect their own economic status and [...] to secure their influence in the political field. |
http://www.bluescarni.info |
|
Back to top |
|
|
mattheweast Tux's lil' helper
Joined: 17 Sep 2004 Posts: 121 Location: London, UK
|
Posted: Tue Dec 28, 2004 7:47 pm Post subject: Re: framebuffer and 3d acceleration with IGP 340M? |
|
|
Thanks for your reply!
yardbird wrote: | That's strange. I have the same board, but not the same problem. Which driver are you using for framebuffer? Have you tried with vesa-tng (which should be included in the lastest gentoo dev-sources)? |
This is from my kernel (gentoo-dev-sources):
CONFIG_FB=y
# CONFIG_FB_CIRRUS is not set
# CONFIG_FB_PM2 is not set
# CONFIG_FB_CYBER2000 is not set
# CONFIG_FB_ASILIANT is not set
# CONFIG_FB_IMSTT is not set
# CONFIG_FB_VGA16 is not set
CONFIG_FB_VESA=y
# CONFIG_FB_VESA_STD is not set
CONFIG_FB_VESA_TNG=y
CONFIG_FB_VESA_DEFAULT_MODE="1024x768-16@60"
# CONFIG_FB_HGA is not set
# CONFIG_FB_RIVA is not set
# CONFIG_FB_I810 is not set
# CONFIG_FB_MATROX is not set
# CONFIG_FB_RADEON_OLD is not set
# CONFIG_FB_RADEON is not set
# CONFIG_FB_ATY128 is not set
# CONFIG_FB_ATY is not set
# CONFIG_FB_SIS is not set
# CONFIG_FB_NEOMAGIC is not set
# CONFIG_FB_KYRO is not set
# CONFIG_FB_3DFX is not set
# CONFIG_FB_VOODOO1 is not set
# CONFIG_FB_TRIDENT is not set
# CONFIG_FB_VIRTUAL is not set
CONFIG_FB_SPLASH=y
yardbird wrote: | What is the exact error message? |
My log says that direct rendering is enabled, but:
mdke@kallisto mdke $ glxinfo
name of display: :0.0
Segmentation fault
And this is from my log:
(WW) RADEON(0): Failed to set up write-combining range (0xd8000000,0x4000000)
yardbird wrote: | Are you using dri and agp drivers compiled statically in the kernel or as modules? |
Modules. I've added the AGP module to autoload.d/kernel2.6 but not radeon. Lsmod shows that the radeon module is enabled, but I will try adding it to the autoload list and report back.
Thanks again for your help. |
|
Back to top |
|
|
yardbird l33t
Joined: 20 Apr 2002 Posts: 689 Location: nl.leiden
|
Posted: Tue Dec 28, 2004 7:54 pm Post subject: Re: framebuffer and 3d acceleration with IGP 340M? |
|
|
mattheweast wrote: | yardbird wrote: | Are you using dri and agp drivers compiled statically in the kernel or as modules? |
Modules. I've added the AGP module to autoload.d/kernel2.6 but not radeon. Lsmod shows that the radeon module is enabled, but I will try adding it to the autoload list and report back. |
Are you using udev by chance? I've had problems with recent udev+radeon-dri modules. Try to compile AGP and DRI support directly into the kernel. _________________
Albert Einstein wrote: | I consider it [...] urgently necessary for [...] workers to get together, both to protect their own economic status and [...] to secure their influence in the political field. |
http://www.bluescarni.info |
|
Back to top |
|
|
mattheweast Tux's lil' helper
Joined: 17 Sep 2004 Posts: 121 Location: London, UK
|
Posted: Tue Dec 28, 2004 11:31 pm Post subject: |
|
|
yeah udev. I'll try as you suggest and report back again. M |
|
Back to top |
|
|
mattheweast Tux's lil' helper
Joined: 17 Sep 2004 Posts: 121 Location: London, UK
|
Posted: Thu Dec 30, 2004 12:32 am Post subject: |
|
|
Ok i've tried compiling the drm-radeon driver into the kernel, but still the same result with glxinfo: Segmentation Fault.
In fact I've now tried both with and without the framebuffer in the kernel with the same problem, so I suppose that this is not the issue. It's obviously a udev and drm-radeon issue. I'll scour the forum/bugzilla. In the meantime, any other ideas? |
|
Back to top |
|
|
mattheweast Tux's lil' helper
Joined: 17 Sep 2004 Posts: 121 Location: London, UK
|
Posted: Fri Dec 31, 2004 12:29 am Post subject: |
|
|
whoops. Solved this by putting:
Section "DRI"
Group 0
Mode 0666
EndSection
in /etc/X11/xorg.conf. Can't believe i didn't notice this earlier. Sorry all |
|
Back to top |
|
|
|