r200 card, 9200 Pro. X.org 7.0rc0. GCC 3.4.4. Gentoo. No utterly crazy CFLAGS, only -O3 -pipe -march=athlon-xp. Got DRM CVS today, to use it with Linux 2.6.13-rc6-git8, and I got this: drmOpenDevice: node name is /dev/dri/card0 drmOpenDevice: open result is 5, (OK) drmOpenDevice: node name is /dev/dri/card0 drmOpenDevice: open result is 5, (OK) drmOpenByBusid: Searching for BusID pci:0000:01:00.0 drmOpenDevice: node name is /dev/dri/card0 drmOpenDevice: open result is 5, (OK) drmOpenByBusid: drmOpenMinor returns 5 drmOpenByBusid: drmGetBusid reports pci:0000:01:00.0 (II) RADEON(0): [drm] DRM interface version 1.2 (II) RADEON(0): [drm] created "radeon" driver at busid "pci:0000:01:00.0" (II) RADEON(0): [drm] drmAddMap failed (EE) RADEON(0): [dri] DRIScreenInit failed. Disabling DRI. And yes, it is normally working. Switched back to modules from my kernel version and got DRI back up. Full Xorg.0.log in http://hdr.unk.fi/~drac/drm.txt And don't get confused by errors by Multimedia -modules, I had to remove them cause with them, X kills whole machine (hardlockup). This didn't happen with 6. 9RC0 tarball. But they shouldn't effect DRI in anyway, since it is working now with DRM from Kernel version ?
Is that a 64-bit machine? what type of kernel / userspace are you running? Can you try changing the drm_handle_t in shared-core/drm.h to unsigned int and rebuilding the DRM and seeing if it works...
(In reply to comment #1) > Is that a 64-bit machine? what type of kernel / userspace are you running? No, it's same as my -march, Athlon-XP 2200+ 32bit. Vanilla kernel from www.kernel.org, no patches, no additional modules. http://hdr.unk.fi/~drac/config-2.6.13-rc6-git8 is my config. > > Can you try changing the drm_handle_t in shared-core/drm.h to unsigned int and > rebuilding the DRM and seeing if it works... > > If you meaned change it from long, to int.. and try again, i've done and nothing is changed. Still (II) RADEON(0): [drm] drmAddMap failed
ah I found it, I reverted part of another patch when I merged the 32/64 bit patch I was half asleep last night when I did it, please check latest CVS and close this if it works.
(In reply to comment #3) > ah I found it, I reverted part of another patch when I merged the 32/64 bit patch > > I was half asleep last night when I did it, please check latest CVS and close > this if it works. > > Indeed, you got it. It's fixed. I'm closing this one.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.