Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
x4500 very poor 2D/3D performance
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
naelq
Tux's lil' helper
Tux's lil' helper


Joined: 18 May 2006
Posts: 146

PostPosted: Sat Jan 03, 2009 3:17 pm    Post subject: x4500 very poor 2D/3D performance Reply with quote

hello all, once again i need your help :)

i've just upgraded to E8400/P5Q-EM system, this is the 1st time ever i use a non-nvidia VGA card.. i went for the intel x4500 since it's "should' be good enough for my needs (programming, music & movies)
right now i have 2 major problems:
1. poor performance in 2D, while watching videos. i use VLC with the XVideo Extension, in window mode it's fine (i think) but if it's full-screen then there are too much lag! using the X11 output i have less lag (but still there are some) but the result is acceptable.. all this using the xf86-video-intel driver with all versions found in portage
2. when using the xf86-video-intel driver i can't use the DVI output at all, only DSUB. while it works fine with the vesa driver!
3. glxgears give me 57 to 59 FPS!! isn't it low? 8O

xorg.conf:
Code:

##                                       
#       xorg.conf - NaeLQ - 1/1/2009   
##                                       

Section "Files"
#    RgbPath         "/usr/share/X11/rgb"
    FontPath        "/usr/share/fonts/local"
    FontPath        "/usr/share/fonts/misc"
    FontPath        "/usr/share/fonts/Type1"
    FontPath        "/usr/share/fonts/TTF" 
    FontPath        "/usr/share/fonts/75dpi"
    FontPath        "/usr/share/fonts/100dpi"
EndSection                                   

Section "Module"

    Load           "dbe"
    SubSection     "extmod"
        Option         "omit xfree86-dga"
    EndSubSection                       
#    Load           "type1"             
    Load           "freetype"                                                   
    Load           "glx"                                                       
    Load           "dri"                                                       
EndSection                                                                     
                                                                               
Section "DRI"                                                                   
        Mode    0666                                                           
EndSection                                                                     
                                                               
#Section "Extensions"                                                           
#    Option         "Composite" "Enable"                                       
#EndSection                                                                     
                                                                               
Section "ServerLayout"                                                         
    Identifier     "VP2030B on GF6200TC"                                       
    Screen         "Screen1" 0 0                                               
EndSection                                                                     

Section "Monitor"
    Identifier     "VP2030B"
    HorizSync       24.0 - 92.0
    VertRefresh     50.0 - 85.0
#    ModeLine       "640x480" 25.175 640 664 760 800 480 491 493 525
    Modeline "1600x1200"  160.96  1600 1704 1880 2160  1200 1201 1204 1242  -HSync +Vsync
    Option      "DPMS" "True"
    Option         "Enable" "True"
EndSection

Section "Device"
   Identifier     "x4500"
#    Driver         "vesa"
    Driver         "intel"
    Option      "xvmc"  "true"
        Option "TripleBuffer" "true"
        Option "AccelMethod" "exa"
EndSection

Section "Screen"
    Identifier     "Screen1"
    Device         "x4500"
    Monitor        "VP2030B"
    DefaultDepth    24
    Option         "RenderAccel" "True"
    Option         "AllowGLXWithComposite" "True"
    Option         "AddARGBGLXVisuals" "True"
    Option         "DamageEvents" "True"
    SubSection     "Display"
        Depth       24
        Modes      "1600x1200"
    EndSubSection
EndSection


packages installed:
Code:
x11-base/xorg-server-1.5.3
x11-drivers/xf86-video-intel-2.4.2-r3
media-libs/mesa-7.2
x11-libs/libdrm-2.3.1


on:
Code:
Linux N-MACHINE 2.6.27-gentoo-r7 #3 SMP Thu Jan 1 19:08:13 IST 2009 x86_64 Intel(R) Core(TM)2 Duo CPU E8400 @ 3.00GHz GenuineIntel GNU/Linux


if there is any other info you need, just ask. any ideas?



thanks,
nael[/code]
_________________
main: Intel Xeon x3440 / Intel S3420GPLC / 6x 2GB DDR3 ECC REG / nVIDIA G210 / 3x 250GB AAKS || 2x 1TB FALS / Audigy 2 ZS / PCP&C 610w
laptop: Apple MacBook White T7200 / 2GB / 30GB Vertix
Back to top
View user's profile Send private message
d2_racing
Bodhisattva
Bodhisattva


Joined: 25 Apr 2005
Posts: 13047
Location: Ste-Foy,Canada

PostPosted: Sat Jan 03, 2009 3:19 pm    Post subject: Reply with quote

Hi, maybe you should try the version xf86-video-intel-2.5.0 or higher.
Back to top
View user's profile Send private message
naelq
Tux's lil' helper
Tux's lil' helper


Joined: 18 May 2006
Posts: 146

PostPosted: Sat Jan 03, 2009 3:35 pm    Post subject: Reply with quote

thank you for your replay d2_racing, but as i've said, i've tried ALL versions in portage including the 9999 one from the overlay! same result :(
_________________
main: Intel Xeon x3440 / Intel S3420GPLC / 6x 2GB DDR3 ECC REG / nVIDIA G210 / 3x 250GB AAKS || 2x 1TB FALS / Audigy 2 ZS / PCP&C 610w
laptop: Apple MacBook White T7200 / 2GB / 30GB Vertix
Back to top
View user's profile Send private message
naelq
Tux's lil' helper
Tux's lil' helper


Joined: 18 May 2006
Posts: 146

PostPosted: Sat Jan 03, 2009 10:59 pm    Post subject: Reply with quote

any gentoo'ers with the same mainboard? (P5Q-EM) or at least with the same G45 chipset? could you please post your xorg.conf & both kernel/xorg/driver versions?



thanks in advance,
nael
_________________
main: Intel Xeon x3440 / Intel S3420GPLC / 6x 2GB DDR3 ECC REG / nVIDIA G210 / 3x 250GB AAKS || 2x 1TB FALS / Audigy 2 ZS / PCP&C 610w
laptop: Apple MacBook White T7200 / 2GB / 30GB Vertix
Back to top
View user's profile Send private message
naelq
Tux's lil' helper
Tux's lil' helper


Joined: 18 May 2006
Posts: 146

PostPosted: Sun Jan 04, 2009 6:58 am    Post subject: Reply with quote

a small update, i've just emerged kmplayer, set the output to xvmc & voila, no lag in full screen! now that's interesting! personally i'm not a fan of VLC, but since kaffeine isn't KDE4 ready yet, i rushed to use VLC..
but still, how can i be sure that i'm getting the max of my system?


thanks,
nael
_________________
main: Intel Xeon x3440 / Intel S3420GPLC / 6x 2GB DDR3 ECC REG / nVIDIA G210 / 3x 250GB AAKS || 2x 1TB FALS / Audigy 2 ZS / PCP&C 610w
laptop: Apple MacBook White T7200 / 2GB / 30GB Vertix
Back to top
View user's profile Send private message
naelq
Tux's lil' helper
Tux's lil' helper


Joined: 18 May 2006
Posts: 146

PostPosted: Sun Jan 11, 2009 9:31 pm    Post subject: Reply with quote

update--
after a week of reading & testing the system, i'm 100% sure that i have a problem!!
yesterday, i've tried to downgrade Xorg server to 1.5.2 in hope it will improve something, but unfortunately, i'm still poor 2D/3D performance!
video playback is so laggy, especially in fullscreen, the glitches are so noticeable. glxgears still give 57-59 FPS no matter what i set KDE desktop effects to. (enabled/disabled)

anyone with similar intel based setup could share his input?


thanks,
nael
_________________
main: Intel Xeon x3440 / Intel S3420GPLC / 6x 2GB DDR3 ECC REG / nVIDIA G210 / 3x 250GB AAKS || 2x 1TB FALS / Audigy 2 ZS / PCP&C 610w
laptop: Apple MacBook White T7200 / 2GB / 30GB Vertix
Back to top
View user's profile Send private message
pappy_mcfae
Watchman
Watchman


Joined: 27 Dec 2007
Posts: 5999
Location: Pomona, California.

PostPosted: Mon Jan 12, 2009 8:40 am    Post subject: Reply with quote

I am running a G45 video chip. It's on a 64 bit system. It is running really well, to the point where I can watch a DVD without wanting to throw the computer out the window with the next video tear. Here is it's /etc/X11/xorg.conf:
Code:
Section "ServerLayout"
   Option "AIGLX" "true"
   Identifier     "X.org Configured"
   Screen      0  "Screen0" 0 0
   InputDevice    "Mouse0" "CorePointer"
   InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
   ModulePath   "/usr/lib64/xorg/modules"
   FontPath   "/usr/share/fonts/100dpi/:unscaled"
   FontPath   "/usr/share/fonts/75dpi/:unscaled"
   FontPath   "/usr/share/fonts/corefonts/"
   FontPath   "/usr/share/fonts/cyrillic/"
   FontPath   "/usr/share/fonts/default/ghostscript/"
   FontPath   "/usr/share/fonts/misc/"
   FontPath   "/usr/share/fonts/OTF/"
   FontPath   "/usr/share/fonts/Speedo/"
   FontPath   "/usr/share/fonts/TTF/"
   FontPath   "/usr/share/fonts/ttf-bitstream-vera/"
   FontPath   "/usr/share/fonts/misc/"
   FontPath   "/usr/share/fonts/Type1/"
   FontPath     "built-ins"
EndSection

Section "Module"
   Load  "glx"
   Load  "extmod"
   Load  "xtrap"
   Load  "record"
   Load  "dbe"
   Load  "dri"
   Load  "v4l"

EndSection

Section "InputDevice"
   Identifier  "Keyboard0"
   Driver      "kbd"
EndSection

Section "InputDevice"
   Identifier  "Mouse0"
   Driver      "mouse"
   Option       "Protocol" "auto"
   Option       "Device" "/dev/input/mice"
   Option       "ZAxisMapping" "4 5 6 7"
EndSection

Section "Monitor"
   Identifier   "Monitor0"
   VendorName   "Monitor Vendor"
   ModelName    "Monitor Model"
   DisplaySize 470 290 # mm

   VertRefresh 59.9-60.1
   Mode "1680x1050"
   DotClock 147.14
   HTimings 1680 1784 1968 2256
   VTimings 1050 1051 1054 1087
   EndMode
   Option "ReducedBlanking" "true"

EndSection

Section "Device"
        ### Available Driver options are:-
        ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
        ### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
        ### [arg]: arg optional
        #Option     "NoAccel"               # [<bool>]
        #Option     "SWcursor"              # [<bool>]
        #Option     "ColorKey"              # <i>
        #Option     "CacheLines"            # <i>
        #Option     "Dac6Bit"               # [<bool>]
        #Option     "DRI"                   # [<bool>]
        #Option     "NoDDC"                 # [<bool>]
        #Option     "ShowCache"             # [<bool>]
        #Option     "XvMCSurfaces"          # <i>
        #Option     "PageFlip"              # [<bool>]
   VideoRam    262144
   Option "TripleBuffer" "true"
   Option "AccelMethod" "exa"
   Identifier  "Card0"
   Driver      "intel"
   VendorName  "Intel Corporation"
   BoardName   "82945G/GZ Integrated Graphics Controller"
   BusID       "PCI:0:2:0"
EndSection

Section "Screen"
   Identifier "Screen0"
   Device     "Card0"
   Monitor    "Monitor0"
   DefaultDepth 24
#   SubSection "Display"
#      Viewport   0 0
#      Depth     1
#   EndSubSection
#   SubSection "Display"
#      Viewport   0 0
#      Depth     4
#   EndSubSection
#   SubSection "Display"
#      Viewport   0 0
#      Depth     8
#   EndSubSection
#   SubSection "Display"
#      Viewport   0 0
#   EndSubSection
#   SubSection "Display"
#      Viewport   0 0
#      Depth     16
#   EndSubSection
   SubSection "Display"
      Viewport   0 0
      Depth     24
      Modes "1680x1050"
   EndSubSection
EndSection
And you can get the .config by clicking here. If you need an x86 (32 bit) .config, let me know. I'll post one for you. While the above .config isn't the latest or greatest I have, it's been running this machine for a little while.

Blessed be!
Pappy
_________________
This space left intentionally blank, except for these ASCII symbols.
Back to top
View user's profile Send private message
pappy_mcfae
Watchman
Watchman


Joined: 27 Dec 2007
Posts: 5999
Location: Pomona, California.

PostPosted: Mon Jan 12, 2009 9:02 am    Post subject: Reply with quote

I forgot, you want glxgears to show as close to 60 fps as possible. Anything else means that the video isn't working efficiently. It also means you'll have lots of video tearing, and your openGL screen savers will be painful to view.

Blessed be!
Pappy
_________________
This space left intentionally blank, except for these ASCII symbols.
Back to top
View user's profile Send private message
naelq
Tux's lil' helper
Tux's lil' helper


Joined: 18 May 2006
Posts: 146

PostPosted: Mon Jan 12, 2009 10:15 am    Post subject: Reply with quote

thank you pappy_mcfae for your replay, would you please give the xorg-server/xf86-video-intel/mesa/libdrm.. versions of those you have installed in your system? :)


nael
_________________
main: Intel Xeon x3440 / Intel S3420GPLC / 6x 2GB DDR3 ECC REG / nVIDIA G210 / 3x 250GB AAKS || 2x 1TB FALS / Audigy 2 ZS / PCP&C 610w
laptop: Apple MacBook White T7200 / 2GB / 30GB Vertix
Back to top
View user's profile Send private message
pappy_mcfae
Watchman
Watchman


Joined: 27 Dec 2007
Posts: 5999
Location: Pomona, California.

PostPosted: Mon Jan 12, 2009 8:15 pm    Post subject: Reply with quote

x11-base/xorg-server-1.5.3
media-libs/mesa-7.2
x11-libs/libdrm-2.4.3
x11-drivers/xf86-video-intel-2.5.1-r1

Note that when openGL starts, it starts with classic TTM, which fails (always), so I don't think I've gone into GEM territory yet. On this machine, though, this is the most stable video setup I've had to date. I almost hate the thought of the hell that will be coming my way when it's time to go GEM all the way.

Blessed be!
Pappy
_________________
This space left intentionally blank, except for these ASCII symbols.
Back to top
View user's profile Send private message
psych
n00b
n00b


Joined: 02 Sep 2006
Posts: 29

PostPosted: Tue Jan 13, 2009 9:22 pm    Post subject: Reply with quote

Same problem here... on a Dell Latitude with intel G45....

Latest Xorg and intel driver...
Back to top
View user's profile Send private message
psych
n00b
n00b


Joined: 02 Sep 2006
Posts: 29

PostPosted: Wed Jan 14, 2009 10:53 am    Post subject: Reply with quote

Problem solved with switching to

x11-base/xorg-server-9999
media-libs/mesa-9999
x11-libs/libdrm-9999
x11-drivers/xf86-video-intel-9999
x11-drivers/xf86-input-synaptics-9999
x11-drivers/xf86-input-keyboard-9999

and addings uxa to xorg.conf...

Now ~900fps in glxgears and fine video and 3d performance!
Back to top
View user's profile Send private message
l3u
Advocate
Advocate


Joined: 26 Jan 2005
Posts: 2345
Location: Konradsreuth (Germany)

PostPosted: Tue Feb 03, 2009 5:03 pm    Post subject: Reply with quote

Could you please post your xorg.conf file? I can't get 3D to work with my X4500. I also tried the -9999 versions, where xf86-input-keyboard fails to build (but I can use xf86-input-evdev instead).

Either, no 3D is working at all, or the X server crashes here :-(
Back to top
View user's profile Send private message
naelq
Tux's lil' helper
Tux's lil' helper


Joined: 18 May 2006
Posts: 146

PostPosted: Tue Feb 03, 2009 5:35 pm    Post subject: Reply with quote

well, i gave up on finding a solution since i'm busy with exams.. maybe next week i'll play with it again, & will keep you posted! :)

BTW l3u, i've just noticed that the 2.6.1 intel driver has made it to portage, & AFAIK this version should fix x4500 related issues, maybe you could try it & report back? :)


nael
_________________
main: Intel Xeon x3440 / Intel S3420GPLC / 6x 2GB DDR3 ECC REG / nVIDIA G210 / 3x 250GB AAKS || 2x 1TB FALS / Audigy 2 ZS / PCP&C 610w
laptop: Apple MacBook White T7200 / 2GB / 30GB Vertix
Back to top
View user's profile Send private message
l3u
Advocate
Advocate


Joined: 26 Jan 2005
Posts: 2345
Location: Konradsreuth (Germany)

PostPosted: Tue Feb 03, 2009 6:43 pm    Post subject: Reply with quote

I just tried 2.6.1 and it changes nothing. I can only start the X server with the NoAccell Option and there's no 3D.
Back to top
View user's profile Send private message
naelq
Tux's lil' helper
Tux's lil' helper


Joined: 18 May 2006
Posts: 146

PostPosted: Tue Feb 03, 2009 6:50 pm    Post subject: Reply with quote

would you please try X without any xorg.conf file? just move the xorg.conf to somewhere else, or simply rename it & try restarting X? besides, did you remerge xorg-server & libdrm along with the intel driver?



nael
_________________
main: Intel Xeon x3440 / Intel S3420GPLC / 6x 2GB DDR3 ECC REG / nVIDIA G210 / 3x 250GB AAKS || 2x 1TB FALS / Audigy 2 ZS / PCP&C 610w
laptop: Apple MacBook White T7200 / 2GB / 30GB Vertix
Back to top
View user's profile Send private message
l3u
Advocate
Advocate


Joined: 26 Jan 2005
Posts: 2345
Location: Konradsreuth (Germany)

PostPosted: Sat Feb 07, 2009 3:40 pm    Post subject: Reply with quote

I updated xorg-server, xf86-video-intel and all their dependencies to the latest non-9999 versions. When I start X without xorg.conf, I just get a black screen with a cursor in the upper left corner and no input devices work anymore, so that I have to login via ssh and kill X remotely. The same with the xorg.conf generated by X -configure.
Back to top
View user's profile Send private message
rufnut
Apprentice
Apprentice


Joined: 16 May 2005
Posts: 205

PostPosted: Sun Feb 08, 2009 8:08 am    Post subject: Reply with quote

l3u wrote:
I updated xorg-server, xf86-video-intel and all their dependencies to the latest non-9999 versions. When I start X without xorg.conf, I just get a black screen with a cursor in the upper left corner and no input devices work anymore, so that I have to login via ssh and kill X remotely. The same with the xorg.conf generated by X -configure.


I wonder if you have PAT enabled in your kernel ?
8)
Back to top
View user's profile Send private message
l3u
Advocate
Advocate


Joined: 26 Jan 2005
Posts: 2345
Location: Konradsreuth (Germany)

PostPosted: Sun Feb 08, 2009 12:32 pm    Post subject: Reply with quote

I think you mean this one?
Code:
[*] MTRR (Memory Type Range Register) support
[*]   MTRR cleanup support
(1)     MTRR cleanup enable value (0-1)
(1)     MTRR cleanup spare reg num (0-7)
[*]   x86 PAT support
Back to top
View user's profile Send private message
rufnut
Apprentice
Apprentice


Joined: 16 May 2005
Posts: 205

PostPosted: Mon Feb 09, 2009 7:33 am    Post subject: Reply with quote

Yes that's the one , I hear you can boot with the command nopat on the kernel line to stop using pat.
There were some reports of it giving grief with Intel and GEM in new drivers.

One of the latest Intel drivers refers to it as well ;
2.6.1-0001-clean-up-man-page-generation-and-remove-all-traces-o.pat

maybe try the "nopat" command but I am sceptical, it is just a suggestion, I am having trouble with an Acer Aspire Atom 945gme as well :-(
Back to top
View user's profile Send private message
TemplarKnight
Guru
Guru


Joined: 14 Jun 2005
Posts: 311
Location: Greece/patras/

PostPosted: Fri Jul 10, 2009 7:33 am    Post subject: Anyone got 3D with X4500? Reply with quote

Is there actually any progress on this?
I just bought a motherboard with this GPU and used the latest ~amd64 versions of everything related (incl. kernel) but still I got no 3D acceleration.
I've setup UXA in xorg.conf. Same thing with no xorg.conf. Same thing with stable amd64 packages.
glxinfo reports "direct rendering: Yes" but glxgears draws only garbage to the window.
Also alt+ctrl+f1-f9 don't work -- they also garbage or lock up the screen. Enabling Compositing with KDE 4.2 gives also laggy performance and garbage with windows.

Anyone got 3D with X4500?
Back to top
View user's profile Send private message
pelelademadera
Veteran
Veteran


Joined: 14 Jul 2008
Posts: 1229
Location: La Plata, Argentina

PostPosted: Thu Mar 25, 2010 1:23 pm    Post subject: Reply with quote

yes I have
Quote:

Section "Module"
Load "glx"
Load "extmod"
Load "record"
Load "dri2"
Load "dbe"
Load "dri"
EndSection

Section "Device"
### Available Driver options are:-
### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
### [arg]: arg optional
#Option "NoAccel" # [<bool>]
#Option "SWcursor" # [<bool>]
#Option "ColorKey" # <i>
#Option "CacheLines" # <i>
#Option "Dac6Bit" # [<bool>]
# Option "DRI" # [<bool>]
#Option "XVideo" "true"
#Option "NoDDC" # [<bool>]
#Option "ShowCache" # [<bool>]
#Option "XvMCSurfaces" # <i>
#Option "VideoOverlay" "on"
#Option "OpenGLOverlay" "off"
#Option "PageFlip" # [<bool>]
Option "XAANoOffscreenPixmaps" "true"
Option "Tiling" "False"
Option "AccelMethod" "UXA"
Identifier "Card0"
Driver "intel"
# VideoRam 130560
VendorName "Intel Corporation"
BoardName "GMA X4500"
# BusID "PCI:0:2:0"
EndSection


git sources 2.6.33-r4
Quote:
#
# Graphics support
#
CONFIG_AGP=m
CONFIG_AGP_INTEL=m
CONFIG_VGA_ARB=y
CONFIG_DRM=m
CONFIG_DRM_I915=m
CONFIG_VIDEO_OUTPUT_CONTROL=y
CONFIG_FB=y
CONFIG_FIRMWARE_EDID=y
CONFIG_FB_BOOT_VESA_SUPPORT=y
CONFIG_FB_CFB_FILLRECT=y
CONFIG_FB_CFB_COPYAREA=y
CONFIG_FB_CFB_IMAGEBLIT=y
CONFIG_FB_FOREIGN_ENDIAN=y
CONFIG_FB_BOTH_ENDIAN=y
CONFIG_FB_MODE_HELPERS=y
CONFIG_FB_TILEBLITTING=y

the other options are commented in kernel

same kernel as for nvidia, but with agp intel, and drm for i915
_________________
el pelado de la gente
------
Los habitantes de las islas Malvinas lo llaman gentoo, nombre en el que se basa la distribución GNU/Linux Gentoo, cuyo objetivo es la optimización para conseguir más rendimiento y velocidad en la ejecución.
------
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