Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Direct rendering with ATI Radeon Mobility IGP 320M
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2, 3, 4, 5, 6, 7, 8, 9, 10  Next  
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
TriGuN
n00b
n00b


Joined: 18 Aug 2003
Posts: 71
Location: Boca Raton, FL

PostPosted: Sun Nov 30, 2003 1:48 am    Post subject: Reply with quote

mehhhh....how did you get it to work? :cry:
_________________
-Steve Bularca-
-NeoturbineNET IRC-
http://neoturbine.net:8000/irc
Back to top
View user's profile Send private message
pens
Tux's lil' helper
Tux's lil' helper


Joined: 01 Jan 2003
Posts: 121
Location: Irvine, CA

PostPosted: Sun Nov 30, 2003 3:05 am    Post subject: Reply with quote

I used uberlord's strategy. I've used that method from like 2.6.0-test1 or so. Everytime I recompile my kernel, I just rebuild the radeon.ko and copy it to my modules directory.
Back to top
View user's profile Send private message
TriGuN
n00b
n00b


Joined: 18 Aug 2003
Posts: 71
Location: Boca Raton, FL

PostPosted: Sun Nov 30, 2003 6:38 am    Post subject: Reply with quote

What laptop? Did you use the same patch that he used? :D
_________________
-Steve Bularca-
-NeoturbineNET IRC-
http://neoturbine.net:8000/irc
Back to top
View user's profile Send private message
Yuber
Tux's lil' helper
Tux's lil' helper


Joined: 08 Jan 2003
Posts: 139

PostPosted: Sun Nov 30, 2003 9:35 am    Post subject: Reply with quote

TriGuN wrote:
What laptop? Did you use the same patch that he used? :D



seriously, i can NOT get this to work
Back to top
View user's profile Send private message
Yuber
Tux's lil' helper
Tux's lil' helper


Joined: 08 Jan 2003
Posts: 139

PostPosted: Sun Nov 30, 2003 11:38 am    Post subject: Reply with quote

Yeah I just redid everything uber said to the god damn letter, and still no DRI. I dunno what's going on. glxgears even segfaults when i start it.

edit: maybe include more on what the kernel config should be and what all modules should be loaded, and i do mean all modules related to this
Back to top
View user's profile Send private message
Yuber
Tux's lil' helper
Tux's lil' helper


Joined: 08 Jan 2003
Posts: 139

PostPosted: Sun Nov 30, 2003 7:38 pm    Post subject: Reply with quote

[drm] Initialized radeon 1.9.0 20020828 on minor 0
[drm:radeon_cp_init] *ERROR* radeon_cp_init called without lock held
[drm:radeon_unlock] *ERROR* Process 4262 using kernel context 0

I think this is the problem...
Back to top
View user's profile Send private message
pens
Tux's lil' helper
Tux's lil' helper


Joined: 01 Jan 2003
Posts: 121
Location: Irvine, CA

PostPosted: Sun Nov 30, 2003 9:28 pm    Post subject: Reply with quote

For those wondering, I'm using the patch here. http://bugs.xfree86.org/attachment.cgi?id=541&action=view

Right now I'm actually recompiling 4.3.99-16 so I'll let you know if this patch still works.

EDIT: doesn't apply cleanly, so I'm looking for another solution
Back to top
View user's profile Send private message
TriGuN
n00b
n00b


Joined: 18 Aug 2003
Posts: 71
Location: Boca Raton, FL

PostPosted: Sun Nov 30, 2003 11:52 pm    Post subject: Reply with quote

Yuber - yeah, I know...tell me about it. :(
_________________
-Steve Bularca-
-NeoturbineNET IRC-
http://neoturbine.net:8000/irc
Back to top
View user's profile Send private message
UberLord
Retired Dev
Retired Dev


Joined: 18 Sep 2003
Posts: 6835
Location: Blighty

PostPosted: Mon Dec 01, 2003 3:06 pm    Post subject: Reply with quote

Yuber wrote:
Well, there is no Makefile.linux in the directory you listed...

what the hell...

(edit: the PATCHDIR should be PATCH_DIR which is why the other guy was having permission problems)


Sorry about that - I've just followed my exact instructions (after changing PATCHDIR to PATCH_DIR) and was able to rebuild XF 4.3.99.16 with the patch for DRI on my IGP340M.

The Makefile.linux only appears in that directory after Xfree has been compiled (or configured - I didn't check). Plus I got the origonal directory wrong. My instructions have been updated accordingly :)
Back to top
View user's profile Send private message
Yuber
Tux's lil' helper
Tux's lil' helper


Joined: 08 Jan 2003
Posts: 139

PostPosted: Mon Dec 01, 2003 4:48 pm    Post subject: Reply with quote

UberLord wrote:
Yuber wrote:
Well, there is no Makefile.linux in the directory you listed...

what the hell...

(edit: the PATCHDIR should be PATCH_DIR which is why the other guy was having permission problems)


Sorry about that - I've just followed my exact instructions (after changing PATCHDIR to PATCH_DIR) and was able to rebuild XF 4.3.99.16 with the patch for DRI on my IGP340M.

The Makefile.linux only appears in that directory after Xfree has been compiled (or configured - I didn't check). Plus I got the origonal directory wrong. My instructions have been updated accordingly :)


This still doesn't solve my "lock held" problem when the radeon driver tries to interact with the DRM module in the kernel. I've tried patching several different ways. I've recompiled X at least 23 times over the holidays.
Back to top
View user's profile Send private message
TriGuN
n00b
n00b


Joined: 18 Aug 2003
Posts: 71
Location: Boca Raton, FL

PostPosted: Mon Dec 01, 2003 8:29 pm    Post subject: Reply with quote

Yuber wrote:
UberLord wrote:
Yuber wrote:
Well, there is no Makefile.linux in the directory you listed...

what the hell...

(edit: the PATCHDIR should be PATCH_DIR which is why the other guy was having permission problems)


Sorry about that - I've just followed my exact instructions (after changing PATCHDIR to PATCH_DIR) and was able to rebuild XF 4.3.99.16 with the patch for DRI on my IGP340M.

The Makefile.linux only appears in that directory after Xfree has been compiled (or configured - I didn't check). Plus I got the origonal directory wrong. My instructions have been updated accordingly :)


This still doesn't solve my "lock held" problem when the radeon driver tries to interact with the DRM module in the kernel. I've tried patching several different ways. I've recompiled X at least 23 times over the holidays.

I've probably compiled X more times than you :) now...there has to be some relation between our hardware, and why it's not working according to uberlord, or cptnjameskirk's instructions dude :?
_________________
-Steve Bularca-
-NeoturbineNET IRC-
http://neoturbine.net:8000/irc
Back to top
View user's profile Send private message
pens
Tux's lil' helper
Tux's lil' helper


Joined: 01 Jan 2003
Posts: 121
Location: Irvine, CA

PostPosted: Mon Dec 01, 2003 8:36 pm    Post subject: Reply with quote

Has everyone here read the giant thread http://bugs.xfree86.org/show_bug.cgi?id=314. It has some specific information that may help in debugging errors.
Back to top
View user's profile Send private message
pens
Tux's lil' helper
Tux's lil' helper


Joined: 01 Jan 2003
Posts: 121
Location: Irvine, CA

PostPosted: Mon Dec 01, 2003 9:28 pm    Post subject: Reply with quote

I followed the instructions above and now I have DRI working in 4.3.99-16
Back to top
View user's profile Send private message
UberLord
Retired Dev
Retired Dev


Joined: 18 Sep 2003
Posts: 6835
Location: Blighty

PostPosted: Tue Dec 02, 2003 11:47 am    Post subject: Reply with quote

I'm using ACPI if thats any help
Back to top
View user's profile Send private message
Yuber
Tux's lil' helper
Tux's lil' helper


Joined: 08 Jan 2003
Posts: 139

PostPosted: Wed Dec 03, 2003 2:27 am    Post subject: Reply with quote

Yuber wrote:
[drm] Initialized radeon 1.9.0 20020828 on minor 0
[drm:radeon_cp_init] *ERROR* radeon_cp_init called without lock held
[drm:radeon_unlock] *ERROR* Process 4262 using kernel context 0

I think this is the problem...
Back to top
View user's profile Send private message
TriGuN
n00b
n00b


Joined: 18 Aug 2003
Posts: 71
Location: Boca Raton, FL

PostPosted: Wed Dec 03, 2003 3:14 am    Post subject: Reply with quote

meh...my laptop has error messages like that too...not sure if they're exactly the same though :/

We need to get some developers to read this :?
_________________
-Steve Bularca-
-NeoturbineNET IRC-
http://neoturbine.net:8000/irc
Back to top
View user's profile Send private message
Yuber
Tux's lil' helper
Tux's lil' helper


Joined: 08 Jan 2003
Posts: 139

PostPosted: Wed Dec 03, 2003 3:31 am    Post subject: Reply with quote

TriGuN wrote:
meh...my laptop has error messages like that too...not sure if they're exactly the same though :/

We need to get some developers to read this :?


ive come to the conclusion a long time ago that nobody gives a shit enough about linux except people who aren't capable/are too overworked to get the work done. just like the ati-drivers made by ati have huge problems(they don't care at all, moreover they are overworked from repairing their disastrous windows drivers so they wont crash with 9700s running agpx8 http://forum.abit-usa.com/showthread.php?s=&threadid=21219 )

So, this is why I only have linux installed on my laptop. And it's exactly why it will be getting uninstalled this weekend.
Back to top
View user's profile Send private message
TriGuN
n00b
n00b


Joined: 18 Aug 2003
Posts: 71
Location: Boca Raton, FL

PostPosted: Wed Dec 03, 2003 4:01 am    Post subject: Reply with quote

Yuber wrote:
TriGuN wrote:
meh...my laptop has error messages like that too...not sure if they're exactly the same though :/

We need to get some developers to read this :?


ive come to the conclusion a long time ago that nobody gives a shit enough about linux except people who aren't capable/are too overworked to get the work done. just like the ati-drivers made by ati have huge problems(they don't care at all, moreover they are overworked from repairing their disastrous windows drivers so they wont crash with 9700s running agpx8 http://forum.abit-usa.com/showthread.php?s=&threadid=21219 )

So, this is why I only have linux installed on my laptop. And it's exactly why it will be getting uninstalled this weekend.


aww :( :cry:
_________________
-Steve Bularca-
-NeoturbineNET IRC-
http://neoturbine.net:8000/irc
Back to top
View user's profile Send private message
Yuber
Tux's lil' helper
Tux's lil' helper


Joined: 08 Jan 2003
Posts: 139

PostPosted: Wed Dec 03, 2003 4:18 am    Post subject: Reply with quote

TriGuN wrote:
Yuber wrote:
TriGuN wrote:
meh...my laptop has error messages like that too...not sure if they're exactly the same though :/

We need to get some developers to read this :?


ive come to the conclusion a long time ago that nobody gives a shit enough about linux except people who aren't capable/are too overworked to get the work done. just like the ati-drivers made by ati have huge problems(they don't care at all, moreover they are overworked from repairing their disastrous windows drivers so they wont crash with 9700s running agpx8 http://forum.abit-usa.com/showthread.php?s=&threadid=21219 )

So, this is why I only have linux installed on my laptop. And it's exactly why it will be getting uninstalled this weekend.


aww :( :cry:


I'm sure I'll reinstall it within a month or something because it's seriously like a drug.
Back to top
View user's profile Send private message
TriGuN
n00b
n00b


Joined: 18 Aug 2003
Posts: 71
Location: Boca Raton, FL

PostPosted: Thu Dec 04, 2003 12:47 am    Post subject: Reply with quote

Yuber wrote:
TriGuN wrote:
Yuber wrote:
TriGuN wrote:
meh...my laptop has error messages like that too...not sure if they're exactly the same though :/

We need to get some developers to read this :?


ive come to the conclusion a long time ago that nobody gives a shit enough about linux except people who aren't capable/are too overworked to get the work done. just like the ati-drivers made by ati have huge problems(they don't care at all, moreover they are overworked from repairing their disastrous windows drivers so they wont crash with 9700s running agpx8 http://forum.abit-usa.com/showthread.php?s=&threadid=21219 )

So, this is why I only have linux installed on my laptop. And it's exactly why it will be getting uninstalled this weekend.


aww :( :cry:


I'm sure I'll reinstall it within a month or something because it's seriously like a drug.


Yeah I know...hey maybe within a few months the xfree bug #314 may be fixed and we could all live happy lives :)
_________________
-Steve Bularca-
-NeoturbineNET IRC-
http://neoturbine.net:8000/irc
Back to top
View user's profile Send private message
steveforse
n00b
n00b


Joined: 26 Dec 2002
Posts: 21
Location: Wilmington, CA, USA

PostPosted: Fri Dec 05, 2003 12:54 am    Post subject: Compaq Presario 2105US Reply with quote

I got 3D working on my Compaq Presario 2105US (Athlon machine). I'm using gentoo-dev-sources-2.6.0_beta10 and 4.3.99.16. I patched the xfree sources and compiled the driver. It was fairly simple. I still haven't a clue how to get the radeon framebuffer working. Anyone know the line to pass to the kernel? Everything I try gives me a big fat blank screen, which makes me think I didn't type in the correct thing.
Back to top
View user's profile Send private message
TriGuN
n00b
n00b


Joined: 18 Aug 2003
Posts: 71
Location: Boca Raton, FL

PostPosted: Fri Dec 05, 2003 1:19 am    Post subject: Reply with quote

what card? :?
_________________
-Steve Bularca-
-NeoturbineNET IRC-
http://neoturbine.net:8000/irc
Back to top
View user's profile Send private message
ptitman
Apprentice
Apprentice


Joined: 12 Sep 2003
Posts: 242
Location: well!! I don't really know!Anywhere really!

PostPosted: Fri Dec 05, 2003 9:43 pm    Post subject: Reply with quote

i got my igp 320 to work, i'm currently using kernel 2.6test9 + xfree 4.3.99.16 patched .
i've got a presario 2118EA, athlon

got luck to u guys
Back to top
View user's profile Send private message
Yuber
Tux's lil' helper
Tux's lil' helper


Joined: 08 Jan 2003
Posts: 139

PostPosted: Sat Dec 06, 2003 1:46 am    Post subject: Reply with quote

well since exams are coming up I won't have much time to format this thing, so I might as well ride the DRI train out.

this is dmesg output for agpgart as well as some other thing that might be a problem:

Code:


Linux agpgart interface v0.100 (c) Dave Jones
agpgart: Unsupported Ati chipset (device id: cbb2)

ACPI: No IRQ known for interrupt pin A of device 0000:00:0f.0




lspci -v output:

Code:

00:00.0 Host bridge: ATI Technologies Inc: Unknown device cbb2 (rev 02)
        Flags: bus master, 66Mhz, medium devsel, latency 64
        Memory at e8000000 (32-bit, prefetchable) [size=128M]
        Memory at e0800000 (32-bit, prefetchable) [size=4K]
        Capabilities: [a0] AGP version 2.0

00:01.0 PCI bridge: ATI Technologies Inc PCI Bridge [IGP 340M] (prog-if 00 [Normal decode])
        Flags: bus master, 66Mhz, medium devsel, latency 99
        Bus: primary=00, secondary=01, subordinate=01, sec-latency=68
        I/O behind bridge: 0000a000-0000afff
        Memory behind bridge: e0500000-e05fffff
        Prefetchable memory behind bridge: f0000000-f7ffffff

00:03.0 Modem: ALi Corporation Intel 537 [M5457 AC-Link Modem] (prog-if 00 [Generic])
        Subsystem: Sony Corporation: Unknown device 8158
        Flags: medium devsel, IRQ 11
        Memory at e0400000 (32-bit, non-prefetchable) [size=4K]
        I/O ports at 8400 [size=256]
        Capabilities: [40] Power Management version 2

00:04.0 Multimedia audio controller: ALi Corporation M5451 PCI AC-Link Controller Audio Device (rev 02)
        Subsystem: Sony Corporation: Unknown device 8158
        Flags: bus master, medium devsel, latency 64, IRQ 11
        I/O ports at 8800 [size=256]
        Memory at e0401000 (32-bit, non-prefetchable) [size=4K]
        Capabilities: [dc] Power Management version 2

00:06.0 Bridge: ALi Corporation M7101 PMU
        Subsystem: Sony Corporation: Unknown device 8158
        Flags: medium devsel

00:07.0 ISA bridge: ALi Corporation M1533 PCI to ISA Bridge [Aladdin IV]
        Subsystem: Sony Corporation: Unknown device 8158
        Flags: bus master, medium devsel, latency 0
        Capabilities: [a0] Power Management version 1
00:0a.0 CardBus bridge: Ricoh Co Ltd RL5c476 II (rev aa)
        Subsystem: Sony Corporation: Unknown device 8158
        Flags: bus master, medium devsel, latency 64, IRQ 11
        Memory at e0402000 (32-bit, non-prefetchable) [size=4K]
        Bus: primary=00, secondary=02, subordinate=05, sec-latency=176
        Memory window 0: e0100000-e01ff000
        Memory window 1: e0000000-e00ff000
        I/O window 0: 00009000-000090ff
        I/O window 1: 00008c00-00008cff
        16-bit legacy interface ports at 0001

00:0a.1 CardBus bridge: Ricoh Co Ltd RL5c476 II (rev aa)
        Subsystem: Sony Corporation: Unknown device 8158
        Flags: bus master, medium devsel, latency 64, IRQ 10
        Memory at e0403000 (32-bit, non-prefetchable) [size=4K]
        Bus: primary=00, secondary=06, subordinate=09, sec-latency=176
        Memory window 0: e0300000-e03ff000
        Memory window 1: e0200000-e02ff000
        I/O window 0: 00009800-000098ff
        I/O window 1: 00009400-000094ff
        16-bit legacy interface ports at 0001

00:0a.2 FireWire (IEEE 1394): Ricoh Co Ltd R5C552 IEEE 1394 Controller (rev 02) (prog-if 10 [OHCI])
        Subsystem: Sony Corporation: Unknown device 8158
        Flags: bus master, medium devsel, latency 64, IRQ 11
        Memory at e0404000 (32-bit, non-prefetchable) [size=2K]
        Capabilities: [dc] Power Management version 2

00:0c.0 USB Controller: VIA Technologies, Inc. USB (rev 50) (prog-if 00 [UHCI])
        Subsystem: Sony Corporation: Unknown device 8158
        Flags: bus master, medium devsel, latency 64, IRQ 11
        I/O ports at 8080 [size=32]
        Capabilities: [80] Power Management version 2

00:0c.1 USB Controller: VIA Technologies, Inc. USB (rev 50) (prog-if 00 [UHCI])
        Subsystem: Sony Corporation: Unknown device 8158
        Flags: bus master, medium devsel, latency 64, IRQ 10
        I/O ports at 80a0 [size=32]
        Capabilities: [80] Power Management version 2

00:0c.2 USB Controller: VIA Technologies, Inc. USB 2.0 (rev 51) (prog-if 20 [EHCI])
        Subsystem: Sony Corporation: Unknown device 8158
        Flags: medium devsel, IRQ 11
        Memory at e0404800 (32-bit, non-prefetchable) [size=256]
        Capabilities: [80] Power Management version 2

00:0f.0 IDE interface: ALi Corporation M5229 IDE (rev c4) (prog-if fa)
        Subsystem: Sony Corporation: Unknown device 8158
        Flags: bus master, medium devsel, latency 64
        I/O ports at 80c0 [size=16]
        Capabilities: [60] Power Management version 2

00:12.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10)
        Subsystem: Sony Corporation: Unknown device 8158
        Flags: bus master, medium devsel, latency 64, IRQ 11
        I/O ports at 9c00 [size=256]
        Memory at e0404c00 (32-bit, non-prefetchable) [size=512]
        Capabilities: [50] Power Management version 2

01:05.0 VGA compatible controller: ATI Technologies Inc Radeon IGP 340M (prog-if 00 [VGA])
        Subsystem: Sony Corporation: Unknown device 8158
        Flags: bus master, stepping, fast Back2Back, 66Mhz, medium devsel, latency 66, IRQ 5
        Memory at f0000000 (32-bit, prefetchable) [size=128M]
        I/O ports at a000 [size=256]
        Memory at e0500000 (32-bit, non-prefetchable) [size=64K]
        Expansion ROM at <unassigned> [disabled] [size=128K]
        Capabilities: [58] AGP version 2.0
        Capabilities: [50] Power Management version 2


And, a snippet from XFree86.0.log:

Code:


(WW) RADEON(0): [agp] AGP not available



I invite you to try to solve this problem, as I cannot. good game.
Back to top
View user's profile Send private message
TriGuN
n00b
n00b


Joined: 18 Aug 2003
Posts: 71
Location: Boca Raton, FL

PostPosted: Sat Dec 06, 2003 5:25 pm    Post subject: Reply with quote

Yup...my hardware is nearly identical to yours, and I'm getting the same error messages. Once again, if you get it working, let me know. :)
_________________
-Steve Bularca-
-NeoturbineNET IRC-
http://neoturbine.net:8000/irc
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
Goto page Previous  1, 2, 3, 4, 5, 6, 7, 8, 9, 10  Next
Page 4 of 10

 
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