Jung-uk Kim wrote:

On Monday 22 August 2005 02:49 pm, Adam K Kirchhoff wrote:
Vladimir Dergachev wrote:
And so on, through /dev/dri/card254

Mind you, /dev/dri/card0 exists:

[ [EMAIL PROTECTED] - ~ ]: ls -la /dev/dri
total 1
dr-xr-xr-x  2 root  wheel       512 Aug 21 18:37 .
dr-xr-xr-x  5 root  wheel       512 Dec 31  1969 ..
crw-rw-rw-  1 root  wheel    0, 162 Aug 21 18:35 card0

Any ideas?
Is the major ok ? On my (linux) system I get:

crw-rw-rw-  1 root root 226, 0 Aug 21 19:07 card0

I would expect a difference, but, it might have changed..

Also, check that the DRM driver knows your PCI id.

                 best

                    Vladimir Dergachev
It's listed:

shared/drm_pciids.txt:0x1002 0x4153 CHIP_RV350 "ATI Radeon AS 9600
AS"


Would the kernel driver even attach to the device (as it appears to
be doing) if it didn't know my PCI ID?

Correct. AFAIK, if you built r300_dri.so from Mesa CVS, you need libGL.so and its friends from the Mesa CVS also.


It's all from Mesa CVS.

If you did it already, please set:

        sysctl hw.dri.0.debug=1

Start Xorg and do:

        grep drm /var/log/messages > drm_debug.txt

Please send us drm_debug.txt.

Attached.  Thanks!

Adam
Aug 22 15:23:06 sorrow kernel: drm0: <ATI Radeon AS 9600 AS> port 0xa000-0xa0ff 
mem 0xc0000000-0xcfffffff,0xe9000000-0xe900ffff irq 10 at device 0.0 on pci1
Aug 22 15:23:06 sorrow kernel: info: [drm] AGP at 0xe0000000 128MB
Aug 22 15:23:06 sorrow kernel: info: [drm] Initialized radeon 1.17.0 20050720
Aug 22 15:50:24 sorrow kernel: [drm:pid897:drm_open] open_count = 0
Aug 22 15:50:24 sorrow kernel: [drm:pid897:drm_open_helper] pid = 897, minor = 0
Aug 22 15:50:24 sorrow kernel: [drm:pid897:radeon_driver_open] 
Aug 22 15:50:24 sorrow kernel: [drm:pid897:drm_addmap] offset = 0xe9000000, 
size = 0x00010000, type = 1
Aug 22 15:50:24 sorrow kernel: [drm:pid897:drm_addmap] Added map 1 
0xe9000000/0x10000
Aug 22 15:50:24 sorrow kernel: [drm:pid897:drm_addmap] offset = 0xc0000000, 
size = 0x10000000, type = 0
Aug 22 15:50:24 sorrow kernel: [drm:pid897:drm_addmap] Added map 0 
0xc0000000/0x10000000
Aug 22 15:50:24 sorrow kernel: [drm:pid897:drm_firstopen] 
Aug 22 15:50:24 sorrow kernel: [drm:pid897:drm_ioctl] pid=897, cmd=0xc0246400, 
nr=0x00, dev 0xc2358300, auth=1
Aug 22 15:50:24 sorrow kernel: [drm:pid897:drm_ioctl] pid=897, cmd=0xc0246400, 
nr=0x00, dev 0xc2358300, auth=1
Aug 22 15:50:24 sorrow kernel: [drm:pid897:drm_close] open_count = 1
Aug 22 15:50:24 sorrow kernel: [drm:pid897:drm_close] pid = 897, device = 
0xc2358300, open_count = 1
Aug 22 15:50:24 sorrow kernel: [drm:pid897:drm_lastclose] 
Aug 22 15:50:24 sorrow kernel: [drm:pid897:radeon_do_cleanup_cp] 
Aug 22 15:50:24 sorrow kernel: [drm:pid897:drm_rmmap] mtrr_del = 0
Aug 22 15:50:25 sorrow kernel: [drm:pid897:drm_open] open_count = 0
Aug 22 15:50:25 sorrow kernel: [drm:pid897:drm_open_helper] pid = 897, minor = 0
Aug 22 15:50:25 sorrow kernel: [drm:pid897:radeon_driver_open] 
Aug 22 15:50:25 sorrow kernel: [drm:pid897:drm_addmap] offset = 0xe9000000, 
size = 0x00010000, type = 1
Aug 22 15:50:25 sorrow kernel: [drm:pid897:drm_addmap] Added map 1 
0xe9000000/0x10000
Aug 22 15:50:25 sorrow kernel: [drm:pid897:drm_addmap] offset = 0xc0000000, 
size = 0x10000000, type = 0
Aug 22 15:50:25 sorrow kernel: [drm:pid897:drm_addmap] Added map 0 
0xc0000000/0x10000000
Aug 22 15:50:25 sorrow kernel: [drm:pid897:drm_firstopen] 
Aug 22 15:50:25 sorrow kernel: [drm:pid897:drm_ioctl] pid=897, cmd=0xc0246400, 
nr=0x00, dev 0xc2358300, auth=1
Aug 22 15:50:25 sorrow kernel: [drm:pid897:drm_ioctl] pid=897, cmd=0xc0246400, 
nr=0x00, dev 0xc2358300, auth=1
Aug 22 15:50:25 sorrow kernel: [drm:pid897:drm_close] open_count = 1
Aug 22 15:50:25 sorrow kernel: [drm:pid897:drm_close] pid = 897, device = 
0xc2358300, open_count = 1
Aug 22 15:50:25 sorrow kernel: [drm:pid897:drm_lastclose] 
Aug 22 15:50:25 sorrow kernel: [drm:pid897:radeon_do_cleanup_cp] 
Aug 22 15:50:25 sorrow kernel: [drm:pid897:drm_rmmap] mtrr_del = 0
Aug 22 15:50:26 sorrow kernel: [drm:pid897:drm_open] open_count = 0
Aug 22 15:50:26 sorrow kernel: [drm:pid897:drm_open_helper] pid = 897, minor = 0
Aug 22 15:50:26 sorrow kernel: [drm:pid897:radeon_driver_open] 
Aug 22 15:50:26 sorrow kernel: [drm:pid897:drm_addmap] offset = 0xe9000000, 
size = 0x00010000, type = 1
Aug 22 15:50:26 sorrow kernel: [drm:pid897:drm_addmap] Added map 1 
0xe9000000/0x10000
Aug 22 15:50:26 sorrow kernel: [drm:pid897:drm_addmap] offset = 0xc0000000, 
size = 0x10000000, type = 0
Aug 22 15:50:26 sorrow kernel: [drm:pid897:drm_addmap] Added map 0 
0xc0000000/0x10000000
Aug 22 15:50:26 sorrow kernel: [drm:pid897:drm_firstopen] 
Aug 22 15:50:26 sorrow kernel: [drm:pid897:drm_ioctl] pid=897, cmd=0xc0106407, 
nr=0x07, dev 0xc2358300, auth=1
Aug 22 15:50:26 sorrow kernel: [drm:pid897:drm_ioctl] pid=897, cmd=0xc0086401, 
nr=0x01, dev 0xc2358300, auth=1
Aug 22 15:50:26 sorrow kernel: [drm:pid897:drm_ioctl] pid=897, cmd=0xc0086401, 
nr=0x01, dev 0xc2358300, auth=1
Aug 22 15:50:27 sorrow kernel: [drm:pid897:drm_close] open_count = 1
Aug 22 15:50:27 sorrow kernel: [drm:pid897:drm_close] pid = 897, device = 
0xc2358300, open_count = 1
Aug 22 15:50:27 sorrow kernel: [drm:pid897:drm_lastclose] 
Aug 22 15:50:27 sorrow kernel: [drm:pid897:radeon_do_cleanup_cp] 
Aug 22 15:50:27 sorrow kernel: [drm:pid897:drm_rmmap] mtrr_del = 0
Aug 22 15:50:27 sorrow kernel: [drm:pid897:drm_open] open_count = 0
Aug 22 15:50:27 sorrow kernel: [drm:pid897:drm_open_helper] pid = 897, minor = 0
Aug 22 15:50:27 sorrow kernel: [drm:pid897:radeon_driver_open] 
Aug 22 15:50:27 sorrow kernel: [drm:pid897:drm_addmap] offset = 0xe9000000, 
size = 0x00010000, type = 1
Aug 22 15:50:27 sorrow kernel: [drm:pid897:drm_addmap] Added map 1 
0xe9000000/0x10000
Aug 22 15:50:27 sorrow kernel: [drm:pid897:drm_addmap] offset = 0xc0000000, 
size = 0x10000000, type = 0
Aug 22 15:50:27 sorrow kernel: [drm:pid897:drm_addmap] Added map 0 
0xc0000000/0x10000000
Aug 22 15:50:27 sorrow kernel: [drm:pid897:drm_firstopen] 
Aug 22 15:50:27 sorrow kernel: [drm:pid897:drm_ioctl] pid=897, cmd=0xc0246400, 
nr=0x00, dev 0xc2358300, auth=1
Aug 22 15:50:27 sorrow kernel: [drm:pid897:drm_ioctl] pid=897, cmd=0xc0246400, 
nr=0x00, dev 0xc2358300, auth=1
Aug 22 15:50:28 sorrow kernel: [drm:pid897:drm_close] open_count = 1
Aug 22 15:50:28 sorrow kernel: [drm:pid897:drm_close] pid = 897, device = 
0xc2358300, open_count = 1
Aug 22 15:50:28 sorrow kernel: [drm:pid897:drm_lastclose] 
Aug 22 15:50:28 sorrow kernel: [drm:pid897:radeon_do_cleanup_cp] 
Aug 22 15:50:28 sorrow kernel: [drm:pid897:drm_rmmap] mtrr_del = 0
Aug 22 15:50:28 sorrow kernel: [drm:pid897:drm_open] open_count = 0
Aug 22 15:50:28 sorrow kernel: [drm:pid897:drm_open_helper] pid = 897, minor = 0
Aug 22 15:50:28 sorrow kernel: [drm:pid897:radeon_driver_open] 
Aug 22 15:50:28 sorrow kernel: [drm:pid897:drm_addmap] offset = 0xe9000000, 
size = 0x00010000, type = 1
Aug 22 15:50:28 sorrow kernel: [drm:pid897:drm_addmap] Added map 1 
0xe9000000/0x10000
Aug 22 15:50:28 sorrow kernel: [drm:pid897:drm_addmap] offset = 0xc0000000, 
size = 0x10000000, type = 0
Aug 22 15:50:28 sorrow kernel: [drm:pid897:drm_addmap] Added map 0 
0xc0000000/0x10000000
Aug 22 15:50:28 sorrow kernel: [drm:pid897:drm_firstopen] 
Aug 22 15:50:28 sorrow kernel: [drm:pid897:drm_ioctl] pid=897, cmd=0xc0246400, 
nr=0x00, dev 0xc2358300, auth=1
Aug 22 15:50:28 sorrow kernel: [drm:pid897:drm_ioctl] pid=897, cmd=0xc0246400, 
nr=0x00, dev 0xc2358300, auth=1
Aug 22 15:50:28 sorrow kernel: [drm:pid897:drm_ioctl] pid=897, cmd=0xc0086401, 
nr=0x01, dev 0xc2358300, auth=1
Aug 22 15:50:28 sorrow kernel: [drm:pid897:drm_ioctl] pid=897, cmd=0xc0086401, 
nr=0x01, dev 0xc2358300, auth=1
Aug 22 15:50:29 sorrow kernel: [drm:pid897:drm_ioctl] pid=897, cmd=0xc0106407, 
nr=0x07, dev 0xc2358300, auth=1
Aug 22 15:50:29 sorrow kernel: [drm:pid897:drm_ioctl] pid=897, cmd=0x80086410, 
nr=0x10, dev 0xc2358300, auth=1
Aug 22 15:50:29 sorrow kernel: [drm:pid897:drm_close] open_count = 1
Aug 22 15:50:29 sorrow kernel: [drm:pid897:drm_close] pid = 897, device = 
0xc2358300, open_count = 1
Aug 22 15:50:29 sorrow kernel: [drm:pid897:drm_lastclose] 
Aug 22 15:50:29 sorrow kernel: [drm:pid897:radeon_do_cleanup_cp] 
Aug 22 15:50:29 sorrow kernel: [drm:pid897:drm_rmmap] mtrr_del = 0

Reply via email to