Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
framebuffer and 3d acceleration with IGP 340M?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
mattheweast
Tux's lil' helper
Tux's lil' helper


Joined: 17 Sep 2004
Posts: 121
Location: London, UK

PostPosted: Fri Dec 24, 2004 4:43 pm    Post subject: framebuffer and 3d acceleration with IGP 340M? Reply with quote

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
View user's profile Send private message
yardbird
l33t
l33t


Joined: 20 Apr 2002
Posts: 689
Location: nl.leiden

PostPosted: Sat Dec 25, 2004 12:47 pm    Post subject: Re: framebuffer and 3d acceleration with IGP 340M? Reply with quote

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
View user's profile Send private message
mattheweast
Tux's lil' helper
Tux's lil' helper


Joined: 17 Sep 2004
Posts: 121
Location: London, UK

PostPosted: Tue Dec 28, 2004 7:47 pm    Post subject: Re: framebuffer and 3d acceleration with IGP 340M? Reply with quote

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
View user's profile Send private message
yardbird
l33t
l33t


Joined: 20 Apr 2002
Posts: 689
Location: nl.leiden

PostPosted: Tue Dec 28, 2004 7:54 pm    Post subject: Re: framebuffer and 3d acceleration with IGP 340M? Reply with quote

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
View user's profile Send private message
mattheweast
Tux's lil' helper
Tux's lil' helper


Joined: 17 Sep 2004
Posts: 121
Location: London, UK

PostPosted: Tue Dec 28, 2004 11:31 pm    Post subject: Reply with quote

yeah udev. I'll try as you suggest and report back again. M
Back to top
View user's profile Send private message
mattheweast
Tux's lil' helper
Tux's lil' helper


Joined: 17 Sep 2004
Posts: 121
Location: London, UK

PostPosted: Thu Dec 30, 2004 12:32 am    Post subject: Reply with quote

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
View user's profile Send private message
mattheweast
Tux's lil' helper
Tux's lil' helper


Joined: 17 Sep 2004
Posts: 121
Location: London, UK

PostPosted: Fri Dec 31, 2004 12:29 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware 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