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
VinzC
Watchman
Watchman


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

PostPosted: Fri Aug 05, 2005 5:46 pm    Post subject: Reply with quote

Oak wrote:
Thank you very very much VinzC! I can now watch my Simpsons episodes using xine without poor performace. :D

Glad I could help. May I suggest you posted the rates you got before and after?
_________________
Gentoo addict: tomorrow I quit, I promise!... Just one more emerge...
1739!
Back to top
View user's profile Send private message
shadowtoo
n00b
n00b


Joined: 03 Aug 2005
Posts: 8
Location: Tuscaloosa Alabama

PostPosted: Fri Aug 05, 2005 6:52 pm    Post subject: Reply with quote

iam useing vesa-tng yes and bootsplash but i have done it with and with out boot splash
Back to top
View user's profile Send private message
VinzC
Watchman
Watchman


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

PostPosted: Fri Aug 05, 2005 9:29 pm    Post subject: Reply with quote

shadowtoo wrote:
iam useing vesa-tng yes and bootsplash but i have done it with and with out boot splash

The cause is vesa-tng not bootsplash. Use vesafb instead and you will get a clear screen. In turn you'll probably have to cope with 4/3 screen ratio. I haven't found yet the corresponding video (vga) mode to 1680x1050.
_________________
Gentoo addict: tomorrow I quit, I promise!... Just one more emerge...
1739!
Back to top
View user's profile Send private message
allex87
Apprentice
Apprentice


Joined: 02 Aug 2003
Posts: 154
Location: Ontario, Canada

PostPosted: Sat Aug 06, 2005 4:57 am    Post subject: Reply with quote

Hmm... I get framerates of only ~830 fps...

Code:
centrino xorg-x11 # lspci
0000:00:00.0 Host bridge: Intel Corporation Mobile 915GM/PM/GMS/910GML Express Processor to DRAM Controller (rev 03)
0000:00:02.0 VGA compatible controller: Intel Corporation Mobile 915GM/GMS/910GML Express Graphics Controller (rev 03)
0000:00:02.1 Display controller: Intel Corporation Mobile 915GM/GMS/910GML Express Graphics Controller (rev 03)
0000:00:1c.0 PCI bridge: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) PCI Express Port 1 (rev 04)
0000:00:1c.1 PCI bridge: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) PCI Express Port 2 (rev 04)
0000:00:1d.0 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #1 (rev 04)
0000:00:1d.1 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #2 (rev 04)
0000:00:1d.2 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #3 (rev 04)
0000:00:1d.3 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #4 (rev 04)
0000:00:1d.7 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB2 EHCI Controller (rev 04)
0000:00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev d4)
0000:00:1e.2 Multimedia audio controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) AC'97 Audio Controller (rev 04)
0000:00:1e.3 Modem: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) AC'97 Modem Controller (rev 04)
0000:00:1f.0 ISA bridge: Intel Corporation 82801FBM (ICH6M) LPC Interface Bridge (rev 04)
0000:00:1f.2 IDE interface: Intel Corporation 82801FBM (ICH6M) SATA Controller (rev 04)
0000:01:00.0 Ethernet controller: Marvell Technology Group Ltd. 88E8036 Fast Ethernet Controller (rev 10)
0000:05:04.0 Network controller: Intel Corporation PRO/Wireless 2915ABG MiniPCI Adapter (rev 05)
0000:05:06.0 CardBus bridge: Texas Instruments Texas Instruments PCIxx21/x515 Cardbus Controller
0000:05:06.2 FireWire (IEEE 1394): Texas Instruments Texas Instruments OHCI Compliant IEEE 1394 Host Controller
0000:05:06.3 Unknown mass storage controller: Texas Instruments Texas Instruments PCIxx21 Integrated FlashMedia Controller
0000:05:06.4 Class 0805: Texas Instruments Texas Instruments PCI6411, PCI6421, PCI6611, PCI6621, PCI7411, PCI7421, PCI7611, PCI7621 Secure Digital (SD)


Code:
centrino xorg-x11 # cat /usr/src/linux/.config | grep I915
CONFIG_DRM_I915=m


Not sure how to go about debugging this.

However, here is something interesting in the X log:

Code:
(WW) I810: No matching Device section for instance (BusID PCI:0:2:1) found



Any ideas?

VinzC, could you please post your xorg.conf?


Thanks,
Alex.
Back to top
View user's profile Send private message
VinzC
Watchman
Watchman


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

PostPosted: Sat Aug 06, 2005 12:43 pm    Post subject: Reply with quote

allex87 wrote:
Hmm... I get framerates of only ~830 fps...

What did you have before?

allex87 wrote:
Code:
centrino xorg-x11 # lspci
0000:00:00.0 Host bridge: Intel Corporation Mobile 915GM/PM/GMS/910GML Express Processor to DRAM Controller (rev 03)
0000:00:02.0 VGA compatible controller: Intel Corporation Mobile 915GM/GMS/910GML Express Graphics Controller (rev 03)
0000:00:02.1 Display controller: Intel Corporation Mobile 915GM/GMS/910GML Express Graphics Controller (rev 03)
0000:00:1c.0 PCI bridge: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) PCI Express Port 1 (rev 04)
0000:00:1c.1 PCI bridge: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) PCI Express Port 2 (rev 04)
0000:00:1d.0 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #1 (rev 04)
0000:00:1d.1 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #2 (rev 04)
0000:00:1d.2 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #3 (rev 04)
0000:00:1d.3 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #4 (rev 04)
0000:00:1d.7 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB2 EHCI Controller (rev 04)
0000:00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev d4)
0000:00:1e.2 Multimedia audio controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) AC'97 Audio Controller (rev 04)
0000:00:1e.3 Modem: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) AC'97 Modem Controller (rev 04)
0000:00:1f.0 ISA bridge: Intel Corporation 82801FBM (ICH6M) LPC Interface Bridge (rev 04)
0000:00:1f.2 IDE interface: Intel Corporation 82801FBM (ICH6M) SATA Controller (rev 04)
0000:01:00.0 Ethernet controller: Marvell Technology Group Ltd. 88E8036 Fast Ethernet Controller (rev 10)
0000:05:04.0 Network controller: Intel Corporation PRO/Wireless 2915ABG MiniPCI Adapter (rev 05)
0000:05:06.0 CardBus bridge: Texas Instruments Texas Instruments PCIxx21/x515 Cardbus Controller
0000:05:06.2 FireWire (IEEE 1394): Texas Instruments Texas Instruments OHCI Compliant IEEE 1394 Host Controller
0000:05:06.3 Unknown mass storage controller: Texas Instruments Texas Instruments PCIxx21 Integrated FlashMedia Controller
0000:05:06.4 Class 0805: Texas Instruments Texas Instruments PCI6411, PCI6421, PCI6611, PCI6621, PCI7411, PCI7421, PCI7611, PCI7621 Secure Digital (SD)

...

What kind/brand of computer do you have? What is the result of egrep -i 'dr[i|m] /var/log/Xorg.0.log?

allex87 wrote:
However, here is something interesting in the X log:

Code:
(WW) I810: No matching Device section for instance (BusID PCI:0:2:1) found

As long as the warning doesn't come with something like
Code:
No devices detected.

that's quite normal. See my post about i915. This one also helps.

allex87 wrote:
VinzC, could you please post your xorg.conf?

You'll find it in Dell Inspiron 6000 thread in this forum, a couple of posts below. You'll also find my kernel config, in cases you need it. Please also read the Dell Inspiron 6000 and i915 and Xorg - how? forums as both contain quite useful information on i915 chipset. They also answer the frequently asked questions about that chipset.
_________________
Gentoo addict: tomorrow I quit, I promise!... Just one more emerge...
1739!
Back to top
View user's profile Send private message
allex87
Apprentice
Apprentice


Joined: 02 Aug 2003
Posts: 154
Location: Ontario, Canada

PostPosted: Sat Aug 06, 2005 2:47 pm    Post subject: Reply with quote

VinzC wrote:
allex87 wrote:
Hmm... I get framerates of only ~830 fps...

What did you have before?

Nothing, this is a fresh setup :)
VinzC wrote:

allex87 wrote:
Code:
centrino xorg-x11 # lspci
0000:00:00.0 Host bridge: Intel Corporation Mobile 915GM/PM/GMS/910GML Express Processor to DRAM Controller (rev 03)
0000:00:02.0 VGA compatible controller: Intel Corporation Mobile 915GM/GMS/910GML Express Graphics Controller (rev 03)
0000:00:02.1 Display controller: Intel Corporation Mobile 915GM/GMS/910GML Express Graphics Controller (rev 03)
0000:00:1c.0 PCI bridge: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) PCI Express Port 1 (rev 04)
0000:00:1c.1 PCI bridge: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) PCI Express Port 2 (rev 04)
0000:00:1d.0 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #1 (rev 04)
0000:00:1d.1 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #2 (rev 04)
0000:00:1d.2 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #3 (rev 04)
0000:00:1d.3 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #4 (rev 04)
0000:00:1d.7 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB2 EHCI Controller (rev 04)
0000:00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev d4)
0000:00:1e.2 Multimedia audio controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) AC'97 Audio Controller (rev 04)
0000:00:1e.3 Modem: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) AC'97 Modem Controller (rev 04)
0000:00:1f.0 ISA bridge: Intel Corporation 82801FBM (ICH6M) LPC Interface Bridge (rev 04)
0000:00:1f.2 IDE interface: Intel Corporation 82801FBM (ICH6M) SATA Controller (rev 04)
0000:01:00.0 Ethernet controller: Marvell Technology Group Ltd. 88E8036 Fast Ethernet Controller (rev 10)
0000:05:04.0 Network controller: Intel Corporation PRO/Wireless 2915ABG MiniPCI Adapter (rev 05)
0000:05:06.0 CardBus bridge: Texas Instruments Texas Instruments PCIxx21/x515 Cardbus Controller
0000:05:06.2 FireWire (IEEE 1394): Texas Instruments Texas Instruments OHCI Compliant IEEE 1394 Host Controller
0000:05:06.3 Unknown mass storage controller: Texas Instruments Texas Instruments PCIxx21 Integrated FlashMedia Controller
0000:05:06.4 Class 0805: Texas Instruments Texas Instruments PCI6411, PCI6421, PCI6611, PCI6621, PCI7411, PCI7421, PCI7611, PCI7621 Secure Digital (SD)

...

What kind/brand of computer do you have? What is the result of egrep -i 'dr[i|m] /var/log/Xorg.0.log?

I have a Toshiba M40-JM8 - a beauty IMO :). Here is the result of grepping for drm or dri:
Code:
centrino ~ # grep -i -E "dr[mi]" /var/log/Xorg.0.log
        X.Org Video Driver: 0.7
        X.Org XInput driver : 0.4
        ABI class: X.Org Video Driver, version 0.7
(II) LoadModule: "dri"
(II) Loading /usr/lib/modules/extensions/libdri.so
(II) Module dri: vendor="X.Org Foundation"
(II) Loading sub module "drm"
(II) LoadModule: "drm"
(II) Loading /usr/lib/modules/linux/libdrm.so
(II) Module drm: vendor="X.Org Foundation"
(II) Loading extension XFree86-DRI
(II) Loading /usr/lib/modules/drivers/i810_drv.so
        Module class: X.Org Video Driver
        ABI class: X.Org Video Driver, version 0.7
        Module class: X.Org XInput Driver
        ABI class: X.Org XInput driver, version 0.4
        Module class: XFree86 XInput Driver
        ABI class: XFree86 XInput driver, version 0.3
        Module class: X.Org XInput Driver
        ABI class: X.Org XInput driver, version 0.4
(II) I810: Driver for Intel Integrated Graphics Chipsets: i810, i810-dc100,
        ABI class: X.Org Video Driver, version 0.7
        ABI class: X.Org Video Driver, version 0.7
        ABI class: X.Org Video Driver, version 0.7
        ABI class: X.Org Video Driver, version 0.7
        ABI class: X.Org Video Driver, version 0.7
        ABI class: X.Org Video Driver, version 0.7
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 7, (OK)
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 7, (OK)
drmOpenByBusid: Searching for BusID pci:0000:00:02.0
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 7, (OK)
drmOpenByBusid: drmOpenMinor returns 7
drmOpenByBusid: drmGetBusid reports pci:0000:00:02.0
(II) I810(0): [drm] DRM interface version 1.2
(II) I810(0): [drm] created "i915" driver at busid "pci:0000:00:02.0"
(II) I810(0): [drm] added 8192 byte SAREA at 0xe07fb000
(II) I810(0): [drm] mapped SAREA 0xe07fb000 to 0xb78f4000
(II) I810(0): [drm] framebuffer handle = 0xa0020000
(II) I810(0): [drm] added 1 reserved context for kernel
(II) I810(0): [drm] Registers = 0xd0000000
(II) I810(0): [drm] Back Buffer = 0xaf000000
(II) I810(0): [drm] Depth Buffer = 0xae800000
(II) I810(0): [drm] ring buffer = 0xa0000000
(II) I810(0): [drm] textures = 0xabcf8000
(II) I810(0): [drm] dma control initialized, using IRQ 11
(II) I810(0): [drm] Initialized kernel agp heap manager, 45088768
(II) I810(0): [dri] visual configs initialized
(II) I810(0): [drm] installed DRM signal handler
(II) I810(0): [DRI] installation complete
(II) Synaptics touchpad driver version 0.14.2


This seems pretty normal to me I would say...

VinzC wrote:

allex87 wrote:
However, here is something interesting in the X log:

Code:
(WW) I810: No matching Device section for instance (BusID PCI:0:2:1) found

As long as the warning doesn't come with something like
Code:
No devices detected.

that's quite normal. See my post about i915. This one also helps.

allex87 wrote:
VinzC, could you please post your xorg.conf?

You'll find it in Dell Inspiron 6000 thread in this forum, a couple of posts below. You'll also find my kernel config, in cases you need it. Please also read the Dell Inspiron 6000 and i915 and Xorg - how? forums as both contain quite useful information on i915 chipset. They also answer the frequently asked questions about that chipset.


Thanks for the interest showed :)

Also (if your laptop has a synaptics touchpad), have you gotten it to work? I got mine to recognize buttons/scrolling but no mouse movement, which is weird...

Alex.
Back to top
View user's profile Send private message
allex87
Apprentice
Apprentice


Joined: 02 Aug 2003
Posts: 154
Location: Ontario, Canada

PostPosted: Sat Aug 06, 2005 2:52 pm    Post subject: Reply with quote

Disregard the synaptics thing :) the Dell 6000 thread helped :) https://forums.gentoo.org/viewtopic-t-306856-highlight-synaptics.html
Back to top
View user's profile Send private message
seppelrockt
Guru
Guru


Joined: 14 May 2004
Posts: 423

PostPosted: Sun Aug 07, 2005 11:15 am    Post subject: Reply with quote

Testing the HowTo atm (just writing this to be informed about new posts in this threat).
Back to top
View user's profile Send private message
seppelrockt
Guru
Guru


Joined: 14 May 2004
Posts: 423

PostPosted: Sun Aug 07, 2005 12:54 pm    Post subject: Reply with quote

allex87 wrote:
Disregard the synaptics thing :) the Dell 6000 thread helped :) https://forums.gentoo.org/viewtopic-t-306856-highlight-synaptics.html


Does this mean you have improved performance over ~ 830 fps with the patch? If yes please give me a pointer what you have changed, cause I have ~ 850 fps with the patch, too - no 1300 fps, no chance to play Neverwinter Nights.

I had xorg-8.99.13 working with the same performance and working DRI (without patch). Then in 8.99.15 DRI didn't work anymore and performance was ~ 600 fps - the patch made DRI work again but the performance boost is not that great.

I have a Dell I6000 with Pentium-M 1.6Ghz, 512MB RAM and i915GM chipset + Intel Onboard Graphic.

Code:
$ less /var/log/Xorg.0.log |grep -i dr[im]
        X.Org Video Driver: 0.7
        X.Org XInput driver : 0.4
        ABI class: X.Org Video Driver, version 0.7
(II) LoadModule: "dri"
(II) Loading /usr/lib/modules/extensions/libdri.so
(II) Module dri: vendor="X.Org Foundation"
(II) Loading sub module "drm"
(II) LoadModule: "drm"
(II) Loading /usr/lib/modules/linux/libdrm.so
(II) Module drm: vendor="X.Org Foundation"
(II) Loading extension XFree86-DRI
        Module class: XFree86 XInput Driver
        ABI class: XFree86 XInput driver, version 0.3
        ABI class: X.Org Video Driver, version 0.7
(II) Loading /usr/lib/modules/drivers/i810_drv.so
        Module class: X.Org Video Driver
        ABI class: X.Org Video Driver, version 0.7
        Module class: X.Org XInput Driver
        ABI class: X.Org XInput driver, version 0.4
(II) I810: Driver for Intel Integrated Graphics Chipsets: i810, i810-dc100,
        ABI class: X.Org Video Driver, version 0.7
        ABI class: X.Org Video Driver, version 0.7
        ABI class: X.Org Video Driver, version 0.7
(**) I810(0): Option "DRI" "true"
        ABI class: X.Org Video Driver, version 0.7
        ABI class: X.Org Video Driver, version 0.7
(II) Loading sub module "dri"
(II) LoadModule: "dri"
(II) Reloading /usr/lib/modules/extensions/libdri.so
(II) UnloadModule: "dri"
(II) I810: Failed to load module "dri" (already loaded, 0)
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 7, (OK)
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 7, (OK)
drmOpenByBusid: Searching for BusID pci:0000:00:02.0
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 7, (OK)
drmOpenByBusid: drmOpenMinor returns 7
drmOpenByBusid: drmGetBusid reports pci:0000:00:02.0
(II) I810(0): [drm] DRM interface version 1.2
(II) I810(0): [drm] created "i915" driver at busid "pci:0000:00:02.0"
(II) I810(0): [drm] added 8192 byte SAREA at 0xe11a0000
(II) I810(0): [drm] mapped SAREA 0xe11a0000 to 0xb78fb000
(II) I810(0): [drm] framebuffer handle = 0xc0020000
(II) I810(0): [drm] added 1 reserved context for kernel
(II) I810(0): [drm] Registers = 0xdff00000
(II) I810(0): [drm] Back Buffer = 0xcf000000
(II) I810(0): [drm] Depth Buffer = 0xce800000
(II) I810(0): [drm] ring buffer = 0xc0000000
(II) I810(0): [drm] textures = 0xc0860000
(II) I810(0): [drm] dma control initialized, using IRQ 16
(II) I810(0): [drm] Initialized kernel agp heap manager, 112197632
(II) I810(0): [dri] visual configs initialized
(II) I810(0): [drm] installed DRM signal handler
(II) I810(0): [DRI] installation complete


Looks quite OK, despite the line
Code:
(II) I810(0): [drm] added 8192 byte SAREA at 0xe11a0000


I have set VGA RAM to 128MB in xorg.conf
I will try to update my gentoo-sources-2.6.12 to -r6 from -r4 atm, maybe this helps.
Back to top
View user's profile Send private message
allex87
Apprentice
Apprentice


Joined: 02 Aug 2003
Posts: 154
Location: Ontario, Canada

PostPosted: Sun Aug 07, 2005 2:17 pm    Post subject: Reply with quote

Umm... "synaptics thing" isn't video... it's the touchpad. So, no, I don't have the video at higher framerate.
Back to top
View user's profile Send private message
dberkholz
Retired Dev
Retired Dev


Joined: 18 Mar 2003
Posts: 1008
Location: Minneapolis, MN, USA

PostPosted: Sun Aug 07, 2005 9:35 pm    Post subject: Re: Getting DRI working with Intel Sonoma (i915GM) chipset Reply with quote

VinzC wrote:
I've renamed the official ebuild from xorg-x11-6.8.99.15 to xorg-x11-6.8.99.15-r1 to update Xorg with emerge -av xorg-x11. However Gentoo developers might release an update with the same name. So I went a little step further and defined a use flag to apply the patch on the user's behalf: without the use flag the patch is not applied.

You might object this is a big overhead but if an new ebuild with the same name is released it won't conflict with this one. Finally since I'm working with the original sources I found it convenient to revert to the initial ebuild: just remove the use flag to emerge.


We aren't likely to push out a new revision, FYI. Most of our time is going into preparing the modularized 7.0 for release.

Great work on this!
Back to top
View user's profile Send private message
conte73
n00b
n00b


Joined: 20 Feb 2005
Posts: 14
Location: Rome - Italy

PostPosted: Mon Aug 08, 2005 3:37 pm    Post subject: Reply with quote

meulie wrote:
Just wondering: Has anyone gotten this to work with a HP Compaq nx6110? :?:


Yes, finally I just succeded in make it working on my HP Compaq nx6110.
I had to use vesafb instead of vesa-tng on console.

Thanks to all of you mates! :)
Back to top
View user's profile Send private message
seppelrockt
Guru
Guru


Joined: 14 May 2004
Posts: 423

PostPosted: Mon Aug 08, 2005 11:44 pm    Post subject: Reply with quote

conte73 wrote:
meulie wrote:
Just wondering: Has anyone gotten this to work with a HP Compaq nx6110? :?:


Yes, finally I just succeded in make it working on my HP Compaq nx6110.
I had to use vesafb instead of vesa-tng on console.

Thanks to all of you mates! :)


Interesting, what where your problems with *vesafb-tng? Was it just slower or didn't it work anyway? I'm asking because I have veasfb-tng and it works but with only ~950 fps.
Back to top
View user's profile Send private message
VinzC
Watchman
Watchman


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

PostPosted: Tue Aug 09, 2005 10:12 am    Post subject: Re: Getting DRI working with Intel Sonoma (i915GM) chipset Reply with quote

spyderous wrote:
VinzC wrote:
I've renamed the official ebuild from xorg-x11-6.8.99.15 to xorg-x11-6.8.99.15-r1 to update Xorg with emerge -av xorg-x11. However Gentoo developers might release an update with the same name. So I went a little step further and defined a use flag to apply the patch on the user's behalf: without the use flag the patch is not applied.

You might object this is a big overhead but if an new ebuild with the same name is released it won't conflict with this one. Finally since I'm working with the original sources I found it convenient to revert to the initial ebuild: just remove the use flag to emerge.


We aren't likely to push out a new revision, FYI. Most of our time is going into preparing the modularized 7.0 for release.

Great work on this!

Thanks and respect.
_________________
Gentoo addict: tomorrow I quit, I promise!... Just one more emerge...
1739!
Back to top
View user's profile Send private message
allex87
Apprentice
Apprentice


Joined: 02 Aug 2003
Posts: 154
Location: Ontario, Canada

PostPosted: Tue Aug 09, 2005 11:25 am    Post subject: Reply with quote

vesafb didn't change much. The only thing is that it allowed me to keep virtual consoles. Before, with vesafb-tng, X would manage to mangle the console's display.

However, I experimented with Composite and it works all right. If I could improve on my framerate, it would work even better.... :)
Back to top
View user's profile Send private message
VinzC
Watchman
Watchman


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

PostPosted: Tue Aug 09, 2005 11:51 am    Post subject: Reply with quote

allex87 wrote:
vesafb didn't change much. The only thing is that it allowed me to keep virtual consoles. Before, with vesafb-tng, X would manage to mangle the console's display.

However, I experimented with Composite and it works all right. If I could improve on my framerate, it would work even better.... :)

Note: do you use 16-bit or 32-bit colors in xorg? DRI only works with 16-bit, as per i810 man pages.
_________________
Gentoo addict: tomorrow I quit, I promise!... Just one more emerge...
1739!
Back to top
View user's profile Send private message
conte73
n00b
n00b


Joined: 20 Feb 2005
Posts: 14
Location: Rome - Italy

PostPosted: Tue Aug 09, 2005 4:44 pm    Post subject: Reply with quote

seppelrockt wrote:

Interesting, what where your problems with *vesafb-tng? Was it just slower or didn't it work anyway? I'm asking because I have veasfb-tng and it works but with only ~950 fps.

Only problem is that when returning to console after having initialized xorg (ex. by presing Ctrl-Alt-F1 in fluxbox) the console is completely messed up; shutting down xorg doesn't reset the situation, only reboot resolve. After changing vesa driver to vesafb it works fine.
I use 16 bit depth on console ( added vga=0x317 on cmd line of the kernel ) and 24 bit depth on xorg. Perhaps the xorg driver use always 32 bit?
In my xorg.log I read:
Code:

...
(**) I810(0): Depth 24, (--) framebuffer bpp 32
...
(==) Depth 24 pixmap format is 32 bpp
Back to top
View user's profile Send private message
seppelrockt
Guru
Guru


Joined: 14 May 2004
Posts: 423

PostPosted: Tue Aug 09, 2005 7:23 pm    Post subject: Reply with quote

VinzC wrote:
allex87 wrote:
vesafb didn't change much. The only thing is that it allowed me to keep virtual consoles. Before, with vesafb-tng, X would manage to mangle the console's display.

However, I experimented with Composite and it works all right. If I could improve on my framerate, it would work even better.... :)

Note: do you use 16-bit or 32-bit colors in xorg? DRI only works with 16-bit, as per i810 man pages.


Hmm, thanks for the info, now I have ~ 1300 fps in 16bit - I used 24 bit before. Nevertheless I think the i810 man is wrong / outdated here as I HAD DRI working in 24 bit. Don't you think it's a normal slowdown when performance is ~ 50% after switching from 24 bit to 16 bit - given the limited performance of our "graphic card" (exspecially on the RAM side)?

However compared to Windows there is room for massive performance improvements for i915gm on linux. This will need some more time I think and maybe one day the "second pipe" thing will be properly implemented.

Thanks for all your help!

EDIT: For the vesafb-tng thing: I have it working here without much problems - see my xorg.conf for details.

Code:

# This xorg.conf is tweaked for the Dell Inspiron 6001 by seppel
# **********************************************************************
# Copyright 2004 The X.Org Foundation
# **********************************************************************
# Refer to the xorg.conf(5x) man page for details about the format of
# this file.
# **********************************************************************


Section "Files"

# Multiple FontPath entries are allowed, they will be concatenated
# According to gentoo wiki, higher entries will have higher priority

  FontPath      "/usr/share/fonts/misc:unscaled"
  FontPath      "/usr/share/fonts/Type1"
  FontPath      "/usr/share/fonts/TTF"
  FontPath      "/usr/share/fonts/100dpi:unscaled"
  FontPath      "/usr/share/fonts/75dpi:unscaled"
  FontPath      "/usr/share/fonts/corefonts"
  #FontPath "/usr/share/fonts/every_newly_installed_font"

# The location of the RGB database (file minus the extension)
# There is normally no need to change the default.

  #RgbPath      "/usr/X11R6/lib/X11/rgb"

# The module search path. The default path is shown here.
# The deprecated path is /usr/lib/X11R6/modules

  #ModulePath "/usr/lib/modules"

EndSection


Section "ServerFlags"

  Option "AllowMouseOpenFail"   "true"

EndSection


Section "Module"

  Load  "dbe"
  Load  "type1"
  Load  "freetype"
  Load  "glx"
  Load  "dri"
  Load  "synaptics"
  Load  "ddc"
  Load "extmod"
    SubSection "extmod"
        Option "omit xfree86-dga"
    EndSubSection

EndSection


Section "InputDevice"

  Identifier    "Keyboard"
  Driver        "kbd"
  Option        "XkbModel" "pc105"
  #Option       "XkbModel" "btc9000"
  Option        "XkbLayout" "de"
  #Option       "XkbVariant" "nodeadkeys"

EndSection

Section "InputDevice"

  Identifier    "Touchpad"
  Driver        "synaptics"
  Option        "Device" "/dev/psaux"
  Option        "Protocol" "auto-dev"
  Option        "LeftEdge" "120"
  Option        "RightEdge" "830"
  Option        "TopEdge" "120"
  Option        "BottomEdge" "650"
  Option        "FingerLow" "14"
  Option        "FingerHigh" "15"
  Option        "MaxTapTime" "180"
  Option        "MaxTapMove" "110"
  Option        "EmulateMidButtonTime" "75"
  Option        "VertScrollDelta" "20"
  Option        "HorizScrollDelta" "20"
  Option        "MinSpeed" "0.3"
  Option        "MaxSpeed" "0.75"
  Option        "AccelFactor" "0.015"
  Option        "EdgeMotionMinSpeed" "200"
  Option        "EdgeMotionMaxSpeed" "200"
  Option        "UpDownScrolling" "1"
  Option        "CircularScrolling" "1"
  Option        "CircScrollDelta" "0.1"
  Option        "CircScrollTrigger" "2"
  Option        "Buttons" "3"
  Option        "Emulate3Buttons"
  #Option       "ZAxisMapping" "4 5"
  #Option       "SHMConfig" "on"
EndSection

Section "InputDevice"

  Identifier    "USB Mouse"
  Driver        "mouse"
  Option        "Protocol" "IMPS/2"
  Option        "Device" "/dev/input/mice"
  Option        "ZAxisMapping" "4 5"

EndSection


Section "Device"

# See manual page of i810 for details

  Identifier    "i915GM"
  Driver        "i810"
  BusID         "0:2:0"
  #VideoRam     65536
  VideoRam      131072
  Option        "NoAccel" "false"
  Option        "DRI" "true"
  Option        "XVideo" "true"
  Option        "VBERestore" "true"

EndSection


Section "Monitor"

  Identifier    "WXGA Display"

EndSection


Section "Screen"

  Identifier    "DELL_TFT"
  Device        "i915GM"
  Monitor       "WXGA Display"
  DefaultDepth  16
  #Option       "NoMTRR"

  #Subsection "Display"
  #  Depth      24
  #  ViewPort   0 0
  #EndSubsection

EndSection


Section "DRI"

  Mode  0666

EndSection


Section "ServerLayout"

  Identifier    "Default Layout"
  Screen        "DELL_TFT"
  InputDevice   "Keyboard" "CoreKeyboard"
  InputDevice   "Touchpad" "CorePointer"
  #InputDevice  "USB Mouse" "AllwaysCore"

EndSection


Note the option VBERestore in the device section
Back to top
View user's profile Send private message
conte73
n00b
n00b


Joined: 20 Feb 2005
Posts: 14
Location: Rome - Italy

PostPosted: Wed Aug 10, 2005 7:45 am    Post subject: Reply with quote

seppelrockt wrote:

Note the option VBERestore in the device section

With this option now it works good also with vesafb-tng.
Thank you!!!
Back to top
View user's profile Send private message
seppelrockt
Guru
Guru


Joined: 14 May 2004
Posts: 423

PostPosted: Wed Aug 10, 2005 8:54 am    Post subject: Reply with quote

conte73 wrote:
seppelrockt wrote:

Note the option VBERestore in the device section

With this option now it works good also with vesafb-tng.
Thank you!!!


Hey, once in a while I can help other people instead of just asking silly questions - that's a good feeling ;)

Damn, now that I have 1300 fps in 16 bit I have to realize that Neverwinter Nights doesn't run in 16 bit (colors are completely messed up). Think I have to play in WinXP and wait for the things to come in future xorg...
Back to top
View user's profile Send private message
eis
Apprentice
Apprentice


Joined: 05 Aug 2005
Posts: 161
Location: Stuttgart, Germany

PostPosted: Fri Aug 19, 2005 8:21 pm    Post subject: Reply with quote

Hi!

I would try to use your xorg file, but I have a ATI Radeon card instead of onboard graphic. What would there be to change?
I am asking because I want to prevent from more struggeling. ;)


gr, boris
Back to top
View user's profile Send private message
allex87
Apprentice
Apprentice


Joined: 02 Aug 2003
Posts: 154
Location: Ontario, Canada

PostPosted: Fri Aug 19, 2005 8:47 pm    Post subject: Reply with quote

This post is not for you if you have an ATi card. Just install ati-drivers and ati-drivers-extra (optional). Then run fglrxconfig and follow the prompts. You should end up with a working xorg.conf.

Regards,
Alex.
Back to top
View user's profile Send private message
hoschi
Advocate
Advocate


Joined: 19 Jul 2003
Posts: 2517
Location: Ulm, Germany, Europe

PostPosted: Sun Aug 21, 2005 6:22 pm    Post subject: Reply with quote

@ Topicstarter:
Why you not just hosting the Patch and the new Ebuild?
I don't find the missing Tab or Space in your patch, and i don't want build an custom ebuild.

Why everyone must read your HowTo, if you have done allready the work for everyone.
Sorry, but i want just a solution, not ten unnecessary problems.
Put the Ebuild and Patch on the Web, say were to store them, or in den Overlay, and everybody is happy.

Thank you
This is an advice, no flame.

Now i merge 6.8.99.14 again, because i don't find the tab or space, and want just a runnig system.
_________________
Just you and me strogg!
Back to top
View user's profile Send private message
seppelrockt
Guru
Guru


Joined: 14 May 2004
Posts: 423

PostPosted: Sun Aug 21, 2005 6:49 pm    Post subject: Reply with quote

hoschi wrote:
Can anybody upload the new ebuild and the agp patch please, for downloading?

1. No more problems with spaces or tabs, or something other...
2. less work for everybody, no more "patch errors" (i don't find the missing tab, or space, or whatever?!?!)
3. it is simple an quick and clean: one person, do the work for everyone

also an allready applied patch, should do make the work easier for portage-people

SO PLEASE:
Put the Patch and the ready Ebuild on any Webserver you find, link them, and everything is ready.
Sorry, but i am going to fix the problem, nothing more. I think the will increase the "effect" of your work much.

Thank You


Here they are:

patched_xorg.ebuild
agp_patch

OT: It worked way better for me to copy and past the stuff from the forum into nano instead of my lovely vim.[/url]
Back to top
View user's profile Send private message
hoschi
Advocate
Advocate


Joined: 19 Jul 2003
Posts: 2517
Location: Ulm, Germany, Europe

PostPosted: Sun Aug 21, 2005 6:49 pm    Post subject: Reply with quote

Thanks :)
Fast service 8)
_________________
Just you and me strogg!
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 2 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