Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Getting DRI working with Intel Sonoma (i915GM) chipset
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2, 3, 4, 5, 6, 7, 8  Next  
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks
View previous topic :: View next topic  
Author Message
kottlettstanze
Tux's lil' helper
Tux's lil' helper


Joined: 20 Apr 2004
Posts: 113

PostPosted: Tue Sep 06, 2005 6:29 pm    Post subject: Reply with quote

meulie wrote:
But the problem I do still have is that I get a max of around 550 with glxgears. Shouldn't I be able to get a bit more...?

Is DRI enabled? Which kernel / xorg version are you using?
glxinfo | grep -i dri ?
Back to top
View user's profile Send private message
meulie
l33t
l33t


Joined: 17 Jun 2003
Posts: 845
Location: a Dutchman living in Norway

PostPosted: Wed Sep 07, 2005 7:00 am    Post subject: Reply with quote

Hmm, I thought it was enabled, but it seems it's not!
Code:
  cat /var/log/Xorg.0.log | grep DRI

(II) Loading extension XFree86-DRI
        enable tiling mode for DRI.
(II) I810(0): 4584 kBytes additional video memory is required to enable DRI.
(II) I810(0): Disabling DRI.


How do I enable more video memory? I already have the VideoRam set to 131072
_________________
Greetz,
Evert Meulie
Back to top
View user's profile Send private message
kottlettstanze
Tux's lil' helper
Tux's lil' helper


Joined: 20 Apr 2004
Posts: 113

PostPosted: Wed Sep 07, 2005 7:13 am    Post subject: Reply with quote

meulie wrote:
Hmm, I thought it was enabled, but it seems it's not!
Code:
  cat /var/log/Xorg.0.log | grep DRI

(II) Loading extension XFree86-DRI
        enable tiling mode for DRI.
(II) I810(0): 4584 kBytes additional video memory is required to enable DRI.
(II) I810(0): Disabling DRI.


How do I enable more video memory? I already have the VideoRam set to 131072

Actually: The patch why this thread was started, is a workaround for exactly this problem! Which xorg and kernel versions are you using?
Back to top
View user's profile Send private message
meulie
l33t
l33t


Joined: 17 Jun 2003
Posts: 845
Location: a Dutchman living in Norway

PostPosted: Wed Sep 07, 2005 7:18 am    Post subject: Reply with quote

xorg version: 6.8.99.15
kernel version: 2.6.12-suspend2-r6
Back to top
View user's profile Send private message
syagin
n00b
n00b


Joined: 07 Aug 2004
Posts: 9

PostPosted: Wed Sep 07, 2005 9:33 pm    Post subject: tabs instead of space Reply with quote

hi after doing: patch -p0 -F3 < ~/xorg-ebuild.diff

i get:

(Patch is indented 1 space.)
patching file xorg-x11-6.8.99.15.ebuild
Hunk #1 FAILED at 33.
Hunk #2 succeeded at 491 with fuzz 3.
1 out of 2 hunks FAILED -- saving rejects to file xorg-x11-6.8.99.15.ebuild.rej

if i got it right it's due to a space where a tab should be. i looked at the original but couldn't figure out where the error is
any hint u could give me?
Back to top
View user's profile Send private message
VinzC
Watchman
Watchman


Joined: 17 Apr 2004
Posts: 5028
Location: Dark side of the mood

PostPosted: Thu Sep 08, 2005 6:02 am    Post subject: Reply with quote

Code:
# nano ~/xorg-ebuild.diff
# cat ~/xorg-ebuild.diff
--- xorg-x11-6.8.99.15.ebuild       2005-07-21 22:05:58.000000000 +0200
+++ xorg-x11-6.8.99.15.ebuild~   2005-07-28 22:35:41.000000000 +0200
@@ -33,7 +33,8 @@

 # IUSE="gatos" disabled because gatos is broken on ~4.4 now (31 Jan 2004)
 IUSE="3dfx bitmap-fonts cjk debug doc font-server insecure-drivers ipv6 minimal
-       nls nocxx opengl pam sdk static truetype-fonts type1-fonts uclibc xprint xv"
+       nls nocxx opengl pam sdk static truetype-fonts type1-fonts uclibc xprint xv
+       dri-patch"
 # IUSE_INPUT_DEVICES="synaptics wacom"

 FILES_VER="0.1"
@@ -490,6 +491,11 @@
        cd ${WORKDIR}
        EPATCH_SUFFIX="patch" \
        epatch ${PATCHDIR}
+
+       # Patch using DRI workaround
+       if use dri-patch; then
+               epatch ${FILESDIR}/dri-lnx_agp.patch
+       fi
        cd ${S}
 }

should be saved as
Code:
# nano ~/xorg-ebuild.diff
# cat ~/xorg-ebuild.diff
--- xorg-x11-6.8.99.15.ebuild       2005-07-21 22:05:58.000000000 +0200
+++ xorg-x11-6.8.99.15.ebuild~   2005-07-28 22:35:41.000000000 +0200
@@ -33,7 +33,8 @@

 # IUSE="gatos" disabled because gatos is broken on ~4.4 now (31 Jan 2004)
 IUSE="3dfx bitmap-fonts cjk debug doc font-server insecure-drivers ipv6 minimal
-[tab]nls nocxx opengl pam sdk static truetype-fonts type1-fonts uclibc xprint xv"
+[tab]nls nocxx opengl pam sdk static truetype-fonts type1-fonts uclibc xprint xv
+[tab]dri-patch"
[s]# IUSE_INPUT_DEVICES="synaptics wacom"

[s]FILES_VER="0.1"
@@ -490,6 +491,11 @@
[s][tab]cd ${WORKDIR}
[s][tab]EPATCH_SUFFIX="patch" \
[s][tab]epatch ${PATCHDIR}
+
+[tab]# Patch using DRI workaround
+[tab]if use dri-patch; then
+[tab][tab]epatch ${FILESDIR}/dri-lnx_agp.patch
+[tab]fi
[s][tab]cd ${S}
[s]}

[tab] should be replaced with a TABulation, [s] with a single space. The first column in the patch is a single character, i.e. a plus sign, a minus sign or a space.
_________________
Gentoo addict: tomorrow I quit, I promise!... Just one more emerge...
1739!
Back to top
View user's profile Send private message
syagin
n00b
n00b


Joined: 07 Aug 2004
Posts: 9

PostPosted: Thu Sep 08, 2005 9:01 am    Post subject: thx Reply with quote

thanx for the reply patching xorg no works still complains bout not got format but doesn't stop or gives an error.
but as i want to emerge xorg it complains about this:
QA Notice: USE Flag 'dri-patch' not in IUSE for x11-base/xorg-x11-6.8.99.15-r1
* Applying dri-lnx_agp.patch ...

* Failed Patch: dri-lnx_agp.patch !
* ( /usr/local/portage/x11-base/xorg-x11/files/dri-lnx_agp.patch )
*
* Include in your bugreport the contents of:
*
* /var/tmp/portage/xorg-x11-6.8.99.15-r1/temp/dri-lnx_agp.patch-11821.out


!!! ERROR: x11-base/xorg-x11-6.8.99.15-r1 failed.
!!! Function epatch, Line 361, Exitcode 0
!!! Failed Patch: dri-lnx_agp.patch!
!!! If you need support, post the topmost build error, NOT this status message.

and in the log it says:

***** dri-lnx_agp.patch *****

=============================

PATCH COMMAND: patch -p0 -g0 --no-backup-if-mismatch < /usr/local/portage/x11-base/xorg-x11/files/dri-lnx_agp.patch

=============================
(Patch is indented 1 space.)
can't find file to patch at input line 6
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|Note: This patch has been tweaked by VinzC to be applied using portage
| Source: http://www.gentoo-wiki.com/HARDWARE_Samsung_X20#DRI.2C_Xvideo_and_co.
| --- xc/programs/Xserver/hw/xfree86/os-support/linux/lnx_agp.c 2005-07-03 09:01:32.000000000 +0200
| +++ xc/programs/Xserver/hw/xfree86/os-support/linux/lnx_agp.c
|2005-07-28 13:26:41.000000000 +0200
--------------------------
No file to patch. Skipping patch.
1 out of 1 hunk ignored
=============================

PATCH COMMAND: patch -p1 -g0 --no-backup-if-mismatch < /usr/local/portage/x11-base/xorg-x11/files/dri-lnx_agp.patch

=============================
(Patch is indented 1 space.)
can't find file to patch at input line 6
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|Note: This patch has been tweaked by VinzC to be applied using portage
| Source: http://www.gentoo-wiki.com/HARDWARE_Samsung_X20#DRI.2C_Xvideo_and_co.
| --- xc/programs/Xserver/hw/xfree86/os-support/linux/lnx_agp.c 2005-07-03 09:01:32.000000000 +0200
| +++ xc/programs/Xserver/hw/xfree86/os-support/linux/lnx_agp.c
|2005-07-28 13:26:41.000000000 +0200
--------------------------
No file to patch. Skipping patch.
1 out of 1 hunk ignored
=============================

PATCH COMMAND: patch -p2 -g0 --no-backup-if-mismatch < /usr/local/portage/x11-base/xorg-x11/files/dri-lnx_agp.patch

=============================
(Patch is indented 1 space.)
can't find file to patch at input line 6
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|Note: This patch has been tweaked by VinzC to be applied using portage
| Source: http://www.gentoo-wiki.com/HARDWARE_Samsung_X20#DRI.2C_Xvideo_and_co.
| --- xc/programs/Xserver/hw/xfree86/os-support/linux/lnx_agp.c 2005-07-03 09:01:32.000000000 +0200
| +++ xc/programs/Xserver/hw/xfree86/os-support/linux/lnx_agp.c
|2005-07-28 13:26:41.000000000 +0200
--------------------------
No file to patch. Skipping patch.
1 out of 1 hunk ignored
=============================

PATCH COMMAND: patch -p3 -g0 --no-backup-if-mismatch < /usr/local/portage/x11-base/xorg-x11/files/dri-lnx_agp.patch

=============================
(Patch is indented 1 space.)
can't find file to patch at input line 6
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|Note: This patch has been tweaked by VinzC to be applied using portage
| Source: http://www.gentoo-wiki.com/HARDWARE_Samsung_X20#DRI.2C_Xvideo_and_co.
| --- xc/programs/Xserver/hw/xfree86/os-support/linux/lnx_agp.c 2005-07-03 09:01:32.000000000 +0200
| +++ xc/programs/Xserver/hw/xfree86/os-support/linux/lnx_agp.c
|2005-07-28 13:26:41.000000000 +0200
--------------------------
No file to patch. Skipping patch.
1 out of 1 hunk ignored
=============================

PATCH COMMAND: patch -p4 -g0 --no-backup-if-mismatch < /usr/local/portage/x11-base/xorg-x11/files/dri-lnx_agp.patch

=============================
(Patch is indented 1 space.)
can't find file to patch at input line 6
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|Note: This patch has been tweaked by VinzC to be applied using portage
| Source: http://www.gentoo-wiki.com/HARDWARE_Samsung_X20#DRI.2C_Xvideo_and_co.
| --- xc/programs/Xserver/hw/xfree86/os-support/linux/lnx_agp.c 2005-07-03 09:01:32.000000000 +0200
| +++ xc/programs/Xserver/hw/xfree86/os-support/linux/lnx_agp.c
|2005-07-28 13:26:41.000000000 +0200
--------------------------
No file to patch. Skipping patch.
1 out of 1 hunk ignored


sorry i know it's a bit long, but i need help can't even watch dvd. i've got 500 fps with glx gears and i'm going mad.
i've got two options:
1. putting windows on it
2. throwing it out of the window (wich would be the better option, compared working with windows)
so please help
Back to top
View user's profile Send private message
VinzC
Watchman
Watchman


Joined: 17 Apr 2004
Posts: 5028
Location: Dark side of the mood

PostPosted: Fri Sep 09, 2005 9:30 am    Post subject: Re: thx Reply with quote

syagin wrote:
thanx for the reply patching xorg no works still complains bout not got format but doesn't stop or gives an error.
[...]

Did you try seppelrockt's copies of the patches?
_________________
Gentoo addict: tomorrow I quit, I promise!... Just one more emerge...
1739!
Back to top
View user's profile Send private message
meulie
l33t
l33t


Joined: 17 Jun 2003
Posts: 845
Location: a Dutchman living in Norway

PostPosted: Fri Sep 09, 2005 11:44 am    Post subject: Reply with quote

meulie wrote:
xorg version: 6.8.99.15
kernel version: 2.6.12-suspend2-r6



Did the correct patching & rebuilding, and now I get 1250 from glxgears on my HP Compaq nx6110! :-)
_________________
Greetz,
Evert Meulie
Back to top
View user's profile Send private message
syagin
n00b
n00b


Joined: 07 Aug 2004
Posts: 9

PostPosted: Fri Sep 09, 2005 1:48 pm    Post subject: seppelrockt's copies Reply with quote

i tried copy and paste from the post but how does it work with the linx given with the patched xorg and the agp patch looks wiered
Back to top
View user's profile Send private message
BigBaaadBob
Guru
Guru


Joined: 19 Apr 2003
Posts: 342
Location: Swampscott, MA USA

PostPosted: Fri Sep 09, 2005 2:06 pm    Post subject: Reply with quote

Why aren't people simply downloading and using the modified ebuild posted earlier in this thread here?
Back to top
View user's profile Send private message
gentood
Apprentice
Apprentice


Joined: 16 Mar 2004
Posts: 157
Location: Sweden

PostPosted: Fri Sep 09, 2005 4:27 pm    Post subject: Reply with quote

Questions:

Code:

estergon ~ # cat /var/log/Xorg.0.log | grep EE
Current Operating System: Linux estergon 2.6.13-mm1 #2 SMP PREEMPT Sat Sep 10 02:13:33 CEST 2005 i686
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(EE) Failed to load /usr/lib/modules/extensions/libGLcore.so
(EE) Failed to load module "GLcore" (loader failed, 7)
(II) Loading extension MIT-SCREEN-SAVER

estergon ~ # cat /var/log/Xorg.0.log | grep WW
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(WW) I810: No matching Device section for instance (BusID PCI:0:2:1) found
(WW) I810(0): Bad V_BIOS checksum
(WW) I810(0): Bad V_BIOS checksum
(WW) I810(0): config file hsync range 45.7143-50.5263kHz not within DDC hsync ranges.
(WW) I810(0): Bad V_BIOS checksum
(WW) I810(0): Extended BIOS function 0x5f05 failed.


how come it cant load libGLcore or GLcore?
What is DDC? is it neccessary?

I feel like it takes to long to start X. I have only fluxbox installed and I remember on my other laptop it justed swooshed into X..

this is my xorg.conf:
Code:

Section "ServerLayout"
   Identifier     "X.org Configured"
   Screen      0  "Widescreen"
   InputDevice    "Touchpad" "CorePointer"
   InputDevice    "USBMouse" "SendCoreEvents"
   InputDevice    "Keyboard" "CoreKeyboard"
EndSection

Section "Files"
   RgbPath      "/usr/lib/X11/rgb"
   ModulePath   "/usr/lib/modules"
   FontPath     "/usr/share/fonts/misc/"
   FontPath     "/usr/share/fonts/TTF/"
   FontPath     "/usr/share/fonts/Type1/"
#   FontPath     "/usr/share/fonts/CID/"
   FontPath     "/usr/share/fonts/75dpi/"
   FontPath     "/usr/share/fonts/100dpi/"
EndSection

Section "Module"
   Load  "ddc"
   Load  "GLcore"
   Load  "glx"
   Load  "extmod"
   Load  "xtrap"
   Load  "record"
   Load  "dbe"
   Load  "dri"
   Load  "freetype"
   Load  "type1"
EndSection

Section "InputDevice"
   Identifier  "Keyboard"
   Driver      "kbd"
   Option       "XkbLayout"   "se"
EndSection

Section "InputDevice"
   Identifier "Touchpad"
   Driver "synaptics"
   Option "Emulate3Buttons"          "true"
   Option "SendCoreEvents"             "yes"
   Option "Protocol"                   "auto-dev"
   Option "Device"                     "/dev/input/event2"
   Option "LeftEdge"                   "120"
   Option "RightEdge"                  "830"
   Option "TopEdge"                    "120"
   Option "BottomEdge"                 "650"
   Option "FingerLow"                  "14"
   Option "FingerHigh"                 "15"
   Option "MaxTapTime"                 "130"
   Option "MaxTapMove"                 "5"
   Option "EmulateMidButtonTime"       "75"
   Option "VertScrollDelta"            "20"
   Option "HorizScrollDelta"           "40"
   Option "MinSpeed"                   "0.4"
   Option "MaxSpeed"                   "0.85"
   Option "AccelFactor"                "0.035"
   Option "EdgeMotionMinSpeed"         "200"
   Option "EdgeMotionMaxSpeed"         "200"
   Option "UpDownScrolling"            "1"
   Option "CircularScrolling"          "1"
   Option "CircScrollDelta"            "0.1"
   Option "CircScrollTrigger"          "7"
   Option "TapButton1"                 "1"
   Option "TapButton2"                 "2"
   Option "TapButton3"                 "3"
   Option "LockedDrops"                "1"
EndSection

Section "InputDevice"
   Identifier  "USBMouse"
   Driver      "mouse"
   Option      "Protocol"              "ExplorerPS/2"
   Option      "Device"                "/dev/input/mouse2"
   Option      "Emulate3Buttons"       "false"
   Option      "ZAxisMapping"          "4 5"
EndSection

Section "Monitor"
   Identifier   "WXGA"
#   HorizSync   31.5-100
#   VertRefresh   30-90
   Option      "DPMS"
   UseModes   "16:10"
EndSection

Section "Modes"
   Identifier   "16:10"
   Modeline "1280x800_60.00"  83.46  1280 1344 1480 1680  800 801 804 828
EndSection

Section "Device"
   Identifier   "i915GM"
   Option      "VBERestore"   "true"
   Option      "XVideo"   "true"
        Option      "NoAccel"   "false"
        Option         "DRI"      "true"
   Driver      "i810"
   VideoRam   131072   
   VendorName   "Intel Corporation"
   BoardName   "Mobile 915GM/GMS/910GML Express Graphics Controller"
   BusID      "PCI:0:2:0"
EndSection

Section "Screen"
   Identifier "Widescreen"
   Device     "i915GM"
   Monitor    "WXGA"
   DefaultDepth 16
   SubSection "Display"
      Viewport   0 0
      Depth      16
      Modes      "1280x800"
   EndSubSection
EndSection

Section "DRI"
   Mode 0666
EndSection


Is it possible to implement this fix for dri for dri snapshots that are newer and would giv better performance?

my System info:
Code:

estergon log # emerge info
Portage 2.0.51.22-r2 (default-linux/x86/2005.1, gcc-3.4.4, glibc-2.3.4.20041102-r1, 2.6.13-mm1 i686)
=================================================================
System uname: 2.6.13-mm1 i686 Intel(R) Pentium(R) M processor 1.73GHz
Gentoo Base System version 1.6.12
dev-lang/python:     2.3.5
sys-apps/sandbox:    1.2.11
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5
sys-devel/binutils:  2.15.92.0.2-r10
sys-devel/libtool:   1.5.18-r1
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium-m -fomit-frame-pointer -falign-functions=64 -pipe -mmmx -msse -msse2"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=pentium-m -fomit-frame-pointer -falign-functions=64 -pipe -mmmx -msse -msse2 -fvisibility-inlines-hidden"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://ds.thn.htu.se/linux/gentoo/"
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X alsa apm arts avi berkdb bitmap-fonts cdr crypt cups dga dri dvd dvdr eds emboss encode fam feh foomaticdb fortran gdbm gif gnome gpm gstreamer gtk gtk2 imagemagick imlib ipv6 jpeg libg++ libwww mad mikmod mmx mmx2 motif mp3 mpeg ncurses nls ogg oggvorbis opengl oss pam pdflib perl png python qt quicktime readline sdl spell sse sse2 ssl svga tcpd tiff truetype truetype-fonts type1-fonts vorbis win32codecs xinerama xml2 xmms xv zlib video_cards_i810 video_cards_i915 userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LINGUAS
Back to top
View user's profile Send private message
kottlettstanze
Tux's lil' helper
Tux's lil' helper


Joined: 20 Apr 2004
Posts: 113

PostPosted: Fri Sep 09, 2005 4:35 pm    Post subject: Reply with quote

DDC is a standard for communication over your monitor cable, it is basically used for PnP. You don't need it as long you know the abilities of your monitor. Sometimes it even seems to be neccessary to switch it off (e.g. if it is buggy, some good modes will get disabled otherwise).

X actually doesnt need a long time to load, this is purely a thing of the i810 driver. If you look at the Xorg log, you might see that the initialization is somehow done twice (whyever). I hope this will get better in late kernel versions (the problem still persists in 2.6.13).

I wouldn't recommend the snapshots. There was no advantage for most people, and they can really cause some instability...
Back to top
View user's profile Send private message
syagin
n00b
n00b


Joined: 07 Aug 2004
Posts: 9

PostPosted: Sat Sep 10, 2005 9:26 am    Post subject: dri Reply with quote

i got it to work... dri is on
can watch dvd's no and the cpu runs @ lower rate now
thanx guys... the patched ebuild worx great
Back to top
View user's profile Send private message
VinzC
Watchman
Watchman


Joined: 17 Apr 2004
Posts: 5028
Location: Dark side of the mood

PostPosted: Sat Sep 10, 2005 9:39 am    Post subject: Reply with quote

BigBaaadBob wrote:
Why aren't people simply downloading and using the modified ebuild posted earlier in this thread here?

Someone who was not me wrote:
Give a man a fish and he will eat for the day. Teach him how to fish and he will eat for the rest of his life.

_________________
Gentoo addict: tomorrow I quit, I promise!... Just one more emerge...
1739!
Back to top
View user's profile Send private message
BigBaaadBob
Guru
Guru


Joined: 19 Apr 2003
Posts: 342
Location: Swampscott, MA USA

PostPosted: Sat Sep 10, 2005 2:13 pm    Post subject: Reply with quote

VinzC wrote:
BigBaaadBob wrote:
Why aren't people simply downloading and using the modified ebuild posted earlier in this thread here?

Someone who was not me wrote:
Give a man a fish and he will eat for the day. Teach him how to fish and he will eat for the rest of his life.

Riiight.... :roll:
Back to top
View user's profile Send private message
bdz
Apprentice
Apprentice


Joined: 15 Jul 2005
Posts: 237
Location: Montpellier (France)

PostPosted: Sun Sep 25, 2005 4:13 pm    Post subject: Reply with quote

I think I have the same problem as this thread is talking about:
Code:
(**) |   |-->Device "i810Drv"
# grep  -i i810 /var/log/Xorg.0.log
(II) LoadModule: "i810"
(II) Loading /usr/lib/modules/drivers/i810_drv.so
(II) Module i810: vendor="X.Org Foundation"
(II) I810: Driver for Intel Integrated Graphics Chipsets: i810, i810-dc100,
        i810e, i815, i830M, 845G, 852GM/855GM, 865G, 915G, E7221 (i915),
(WW) I810: No matching Device section for instance (BusID PCI:0:2:1) found
...
(II) I810(0): Integrated Graphics Chipset: Intel(R) 915GM
(--) I810(0): Chipset: "915GM"
...
(II) I810(0): I830CheckAvailableMemory: -545528352 kB available
...
(WW) I810(0): /dev/agpgart is either not available, or no memory is available
(II) I810(0): Monitoring connected displays enabled
(WW) I810(0): VideoRAM reduced to 32508 kByte (limited to available sysmem)
...


So I want to give a try to the patch procedure gven in the first post of the thread.
But I don't find the xorg-x11-6.8.99.15.ebuild file. Instead I have a "r2" ebuild: xorg-x11-6.8.99.15-r2.ebuild

Is it safe to apply the patch on this ebuild?
If yes, shoud I still use "r1" for the patched ebuild or shoud I use "r3"?

Edit:
Well I tried it, naming xorg-x11-6.8.99.15-r3.ebuild my patched ebuild and it is working.

Before I had no direct rendring and glxgears performing like this
Code:
$ glxgears
1569 frames in 5.0 seconds = 313.754 FPS
2257 frames in 5.0 seconds = 451.303 FPS
2931 frames in 5.0 seconds = 586.122 FPS
2906 frames in 5.0 seconds = 581.015 FPS

And with the patch I have this:
Code:
$ glxinfo | grep -i direct
direct rendering: Yes
$ glxgears
5756 frames in 5.0 seconds = 1151.184 FPS
5811 frames in 5.0 seconds = 1162.155 FPS
5651 frames in 5.0 seconds = 1130.108 FPS
5812 frames in 5.0 seconds = 1162.373 FPS

I am using 24 bits colors. I tried to switch to 16 bits to see if I can get more FPS but I had similar results. So I went back to 24 bits.
Thank you very much to all of you. :)

Edit 2:
The patch made direct rendering working but it caused a problem when switching back to text console mode. The display was completely messed up. I had to reboot.

I tried the VBERestore option, but it did not worked.
I also tried to replace vesafb_tng by the old vesafb. This one is working but only if I keep the ugly 640x380 default resolution.

My flat panel resolution is 1280x800 and I failed to find a way to set this resolution with vesafb
Moreover If I use kernel boot parameters like "video=vesafb vga=788" or "video=vesafb vga=791" to have 800x600 or 1024x768 resolution then I have the "console display messed up" problem again.

Does anyone has an idea of how I could have a frame buffer display at 1280x800 resolution without any problem when switching back from xorg?
Back to top
View user's profile Send private message
VinzC
Watchman
Watchman


Joined: 17 Apr 2004
Posts: 5028
Location: Dark side of the mood

PostPosted: Mon Sep 26, 2005 4:53 pm    Post subject: Reply with quote

Happy to read it worked for you, bdz. Unfortunately the screen corruption with vesa-tng is well known and I'm afraid there is no fix yet for it but cope with 4/3 screen ratio and vesafb.
_________________
Gentoo addict: tomorrow I quit, I promise!... Just one more emerge...
1739!
Back to top
View user's profile Send private message
bdz
Apprentice
Apprentice


Joined: 15 Jul 2005
Posts: 237
Location: Montpellier (France)

PostPosted: Mon Sep 26, 2005 9:53 pm    Post subject: Reply with quote

Yes that is what I'm doing. I stay with the default 640x380 resolution on the console. Actually it is not a big problem. I do not use the console mode a lot, only at login and when my xorg is not working because I messed up the configuration ;-)

I have direct rendering working and I can now read DVD with my CPU almost idle and my fan that stay silent. I don't ask for more :)
And maybe a future release of vesafb-tng and/or xorg will fix the problem... then I will be able to put a nice bootsplash at 1280x800 :D

And thank you again fo the patch!!!
Back to top
View user's profile Send private message
soigres
l33t
l33t


Joined: 09 Dec 2004
Posts: 648
Location: Milano, Italy

PostPosted: Thu Oct 27, 2005 9:21 pm    Post subject: Reply with quote

hi
i'm using vesa driver and all works well... the only thing wrong is that when i play divx video with mplayer i can't use xv video output and so i have to use x11 video output... but i see videos in 480x576 aspect ratio... why? does it depend on the driver if i can't use xv video output?
Back to top
View user's profile Send private message
bdz
Apprentice
Apprentice


Joined: 15 Jul 2005
Posts: 237
Location: Montpellier (France)

PostPosted: Thu Oct 27, 2005 9:32 pm    Post subject: Reply with quote

I may be wrong but I think that the xv output does not work with the vesa driver.
Back to top
View user's profile Send private message
soigres
l33t
l33t


Joined: 09 Dec 2004
Posts: 648
Location: Milano, Italy

PostPosted: Thu Oct 27, 2005 9:45 pm    Post subject: Reply with quote

bdz wrote:
I may be wrong but I think that the xv output does not work with the vesa driver.
can i use another driver that is neither vesa nor i810?
hey... and what about the driver downloadable on www.intel.com?
Back to top
View user's profile Send private message
bdz
Apprentice
Apprentice


Joined: 15 Jul 2005
Posts: 237
Location: Montpellier (France)

PostPosted: Thu Oct 27, 2005 10:00 pm    Post subject: Reply with quote

I have not tried the driver from Intel. But why don't you want to use the i810 driver?
Back to top
View user's profile Send private message
VinzC
Watchman
Watchman


Joined: 17 Apr 2004
Posts: 5028
Location: Dark side of the mood

PostPosted: Fri Oct 28, 2005 8:38 am    Post subject: Reply with quote

If I remember correctly the driver from Intel is "incorporated" - i.e. used - in Xorg.
_________________
Gentoo addict: tomorrow I quit, I promise!... Just one more emerge...
1739!
Back to top
View user's profile Send private message
soigres
l33t
l33t


Joined: 09 Dec 2004
Posts: 648
Location: Milano, Italy

PostPosted: Fri Oct 28, 2005 9:28 am    Post subject: Reply with quote

VinzC wrote:
If I remember correctly the driver from Intel is "incorporated" - i.e. used - in Xorg.
i found many x.org config files on the internet with the relative .config kernel but in my case still doesn't work... no screens found error comes everytime i try... i'll try again another time
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks All times are GMT
Goto page Previous  1, 2, 3, 4, 5, 6, 7, 8  Next
Page 4 of 8

 
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