On Sun, Jun 11, 2006 at 01:34:52PM +0200, Michel Dänzer wrote: > On Sun, 2006-06-11 at 00:54 +0200, Wolfgang Pfeiffer wrote: > > > > On Sat, Jun 10, 2006 at 10:57:52AM +1000, Benjamin Herrenschmidt wrote: > > > On Thu, 2006-06-08 at 11:48 +0200, Michel Dänzer wrote: > > > > > > (II) RADEON(0): [dri] Found DRI library version 1.2.0 and kernel module > > > > version 1.25.0 > > > > > > > > Ben, any idea how this can result in the DRM using the old memory map, > > > > as seen above? Do you agree that the breakage might be related to this? > > > > > > I don't know about the breakage cause but yeah.. I would have expected > > > this to be the new memory map, maybe it's a bug with UseFBDev ? > > > > Yes. It looks like switching off 'UseFBDev' in xorg.conf helps getting > > DRI running: I restarted the system, restarted the xserver from the > > KDM login menu, a few times: No crashes so far with DRI being enabled: > > Does the attached patch help with Option "UseFBDev"?
Yes. :))) ... Thanks a lot, Michel ... :) After getting on the road all the changes with your patch as described below, I logged out of X (KDE/KDM), restarted successfully the X-server a few times from the KDM login menu with no crash, then rebooted the system/machine: No changes: Everything seems fine now with dri and "UseFBDev" enabled ... A hero you are, Michel :) ... Thanks a lot to you Ben, too, who obviously had the right idea at the right time of what could be wrong .. :) [shorty@ 19:46:09]$ glxinfo | grep -i render *********************************WARN_ONCE********************************* File r300_state.c function r300Enable line 456 TODO - double side stencil ! *************************************************************************** No ctx->FragmentProgram._Current!! direct rendering: Yes OpenGL renderer string: Mesa DRI R300 20040924 AGP 4x TCL [shorty@ 19:53:42]$ Latest xorg.log for a recent successful Xsession, after having done the changes described below: http://wolfgangpfeiffer.com/Xorg.0.log.txt Here are the details for the whole procedure, just to make sure I didn't overlook anything: $ apt-get source xserver-xorg-video-ati $ cd xserver-xorg-video-ati-6.5.8.0/ $ patch -p0 < ../radeon-memmap-fbdev.diff patching file src/radeon_driver.c Hunk #1 succeeded at 2485 (offset -6 lines). Hunk #2 succeeded at 2499 (offset -6 lines). $ pwd /home/shorty/downloads/radeon/xserver-xorg-video-ati-6.5.8.0 $ MAKEFLAGS="CC=gcc-4.1" dpkg-buildpackage -rfakeroot The End of the compile: [ ... ] dh_install: debian/tmp/usr/lib/xorg/modules/multimedia/theatre_drv.la exists in debian/tmp but is not installed to anywhere dh_link dh_strip dh_compress dh_fixperms dh_installdeb dh_shlibdeps dh_gencontrol dpkg-gencontrol: warning: unknown substitution variable ${misc:Depends} dh_md5sums dh_builddeb dpkg-deb: building package `xserver-xorg-video-ati' in `../xserver-xorg-video-ati_6.5.8.0-1_powerpc.deb'. signfile xserver-xorg-video-ati_6.5.8.0-1.dsc gpg: skipped "David Nusinow <[EMAIL PROTECTED]>": secret key not available gpg: [stdin]: clearsign failed: secret key not available dpkg-genchanges dpkg-genchanges: including full source code in upload dpkg-buildpackage: full upload (original source is included) (WARNING: Failed to sign .dsc and .changes file) As root: # dpkg -i /home/shorty/downloads/radeon/xserver-xorg-video-ati_6.5.8.0-1_powerpc.deb (Reading database ... 108089 files and directories currently installed.) Preparing to replace xserver-xorg-video-ati 1:6.5.8.0-1 (using .../xserver-xorg-video-ati_6.5.8.0-1_powerpc.deb) ... Unpacking replacement xserver-xorg-video-ati ... Setting up xserver-xorg-video-ati (6.5.8.0-1) ... Changing then xorg.conf: Looks now like this [in excerpts]: ------------------------- Section "Module" Load "bitmap" Load "dbe" Load "ddc" Load "dri" Load "extmod" Load "freetype" Load "glx" Load "int10" Load "record" Load "type1" Load "v4l" Load "vbe" Load "evdev" EndSection Section "Device" Identifier "ATI Technologies, Inc. Radeon R250 Lf [FireGL 9000]" Driver "ati" BusID "PCI:0:16:0" Option "UseFBDev" "true" Option "AGPSize" "16" Option "AGPMode" "4" Option "EnablePageFlip" Option "DRIReinit" "true" Option "BackingStore" "True" EndSection ------------------- Best Regards Wolfgang -- Wolfgang Pfeiffer: /ICQ: 286585973/ + + + /AIM: crashinglinux/ http://profiles.yahoo.com/wolfgangpfeiffer Key ID: E3037113 http://keyserver.mine.nu/pks/lookup?search=0xE3037113&fingerprint=on -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]