Re: Radeon r6/7xx support merged to -STABLE
On Sun, 15 Mar 2009, Robert Noland wrote: I went ahead and merged the Radeon R6/7xx code to -STABLE a while ago. The current xorg drivers will not enable it by default on R600+ chips. You will need to be using xf86-video-ati-6.12.0, xf86-video-radeonhd-devel or possibly even better git master of either. You will need to add the following to the Device section of your xorg.conf to enable it. If you are experiencing issues, commenting these two options out, will prevent Xorg from auto-loading the kernel module. Options DRI Options AccelMethod EXA robert. I know it's been a few weeks, but thanks for this work! I'm using a Radeon HD 4350 and tracking -STABLE. Ever since the big xorg update, my system has been crippled. I like to use startx, restart X, and switch consoles with the function keys. The only driver I could find that didn't completely lock up the system when I did these things was the vesa driver, so I've been using it. Even now vesa throws failed to set mtrr: Invalid argument on startup and the screen gets corrupted when I change consoles with the function keys, but it doesn't freeze my system, so I've been using it. Today I finally got around to trying out the radeon changes listed above, and now my system is crippled no more! Plus I have graphics acceleration! Thanks! ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org
Re: Radeon r6/7xx support merged to -STABLE
On Sun, 15 Mar 2009 19:49:12 +0100, Robert Noland rnol...@freebsd.org wrote: I went ahead and merged the Radeon R6/7xx code to -STABLE a while ago. The current xorg drivers will not enable it by default on R600+ chips. You will need to be using xf86-video-ati-6.12.0, xf86-video-radeonhd-devel or possibly even better git master of either. You will need to add the following to the Device section of your xorg.conf to enable it. If you are experiencing issues, commenting these two options out, will prevent Xorg from auto-loading the kernel module. Options DRI Options AccelMethod EXA robert. Thanks. I currently have EXA accel on my system with xf86-video-ati-6.12.0, which makes KDE 4 a lot better already. drm0: Radeon HD 2400 XT on vgapci0 vgapci0: child drm0 requested pci_enable_busmaster info: [drm] Initialized radeon 1.29.0 20080528 info: [drm] Setting GART location based on new memory map info: [drm] Loading RV610 CP Microcode info: [drm] Loading RV610 PFP Microcode info: [drm] Resetting GPU info: [drm] writeback test succeeded in 1 usecs drm0: [ITHREAD] Cheers, Ronald. ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org
Re: Radeon r6/7xx support merged to -STABLE
On Sun, Mar 15, 2009 at 10:27:53PM -0500, Robert Noland wrote: On Sun, 2009-03-15 at 23:33 +0200, Kostik Belousov wrote: On Sun, Mar 15, 2009 at 01:49:12PM -0500, Robert Noland wrote: I went ahead and merged the Radeon R6/7xx code to -STABLE a while ago. The current xorg drivers will not enable it by default on R600+ chips. You will need to be using xf86-video-ati-6.12.0, xf86-video-radeonhd-devel or possibly even better git master of either. You will need to add the following to the Device section of your xorg.conf to enable it. If you are experiencing issues, commenting these two options out, will prevent Xorg from auto-loading the kernel module. Options DRI Options AccelMethod EXA With this code and ati 6.12.0, I get the awful performance. Kernel says drm0: ATI Radeon HD 2600 XT on vgapci0 vgapci0: Reserved 0x1 bytes for rid 0x18 type 3 at 0xd002 vgapci0: child drm0 requested pci_enable_busmaster info: [drm] Initialized radeon 1.29.0 20080528 vgapci0: Reserved 0x1000 bytes for rid 0x10 type 3 at 0xc000 info: [drm] Setting GART location based on new memory map error: [drm:pid1494:r600_do_init_cp] *ERROR* Need gart offset from userspace Your card was agp right? No, this is PCIe card. It is reported correctly as Radeon HD 2600 XT. Motherboard chipset is Intel P43, if this makes any useful information. What happens if you force pci mode? Options BusType PCI robert. Then, the Xorg.0.log ... (II) RADEON(0): [drm] register handle = 0xd002 (II) RADEON(0): [dri] Visual configs initialized (II) RADEON(0): RADEONRestoreMemMapRegisters() : (II) RADEON(0): MC_FB_LOCATION : 0x00df00c0 0x00df00c0 (II) RADEON(0): MC_AGP_LOCATION : 0x003f (==) RADEON(0): Backing store disabled (II) RADEON(0): [DRI] installation complete (II) RADEON(0): [drm] removed 1 reserved context for kernel (II) RADEON(0): [drm] unmapping 8192 bytes of SAREA 0xc731d000 at 0x286fd000 (II) RADEON(0): [drm] Closed DRM master. (WW) RADEON(0): Direct rendering disabled (EE) RADEON(0): Acceleration initialization failed ... -- Robert Noland rnol...@freebsd.org FreeBSD pgpZo5J5wp1gX.pgp Description: PGP signature
Re: Radeon r6/7xx support merged to -STABLE
On Mon, 2009-03-16 at 11:43 +0200, Kostik Belousov wrote: On Sun, Mar 15, 2009 at 10:27:53PM -0500, Robert Noland wrote: On Sun, 2009-03-15 at 23:33 +0200, Kostik Belousov wrote: On Sun, Mar 15, 2009 at 01:49:12PM -0500, Robert Noland wrote: I went ahead and merged the Radeon R6/7xx code to -STABLE a while ago. The current xorg drivers will not enable it by default on R600+ chips. You will need to be using xf86-video-ati-6.12.0, xf86-video-radeonhd-devel or possibly even better git master of either. You will need to add the following to the Device section of your xorg.conf to enable it. If you are experiencing issues, commenting these two options out, will prevent Xorg from auto-loading the kernel module. Options DRI Options AccelMethod EXA With this code and ati 6.12.0, I get the awful performance. Kernel says drm0: ATI Radeon HD 2600 XT on vgapci0 vgapci0: Reserved 0x1 bytes for rid 0x18 type 3 at 0xd002 vgapci0: child drm0 requested pci_enable_busmaster info: [drm] Initialized radeon 1.29.0 20080528 vgapci0: Reserved 0x1000 bytes for rid 0x10 type 3 at 0xc000 info: [drm] Setting GART location based on new memory map error: [drm:pid1494:r600_do_init_cp] *ERROR* Need gart offset from userspace Your card was agp right? No, this is PCIe card. It is reported correctly as Radeon HD 2600 XT. Motherboard chipset is Intel P43, if this makes any useful information. Ok, let me look over the code again and figure out how we get into this state. I may need more details, let me figure out what I need. robert. What happens if you force pci mode? Options BusType PCI robert. Then, the Xorg.0.log ... (II) RADEON(0): [drm] register handle = 0xd002 (II) RADEON(0): [dri] Visual configs initialized (II) RADEON(0): RADEONRestoreMemMapRegisters() : (II) RADEON(0): MC_FB_LOCATION : 0x00df00c0 0x00df00c0 (II) RADEON(0): MC_AGP_LOCATION : 0x003f (==) RADEON(0): Backing store disabled (II) RADEON(0): [DRI] installation complete (II) RADEON(0): [drm] removed 1 reserved context for kernel (II) RADEON(0): [drm] unmapping 8192 bytes of SAREA 0xc731d000 at 0x286fd000 (II) RADEON(0): [drm] Closed DRM master. (WW) RADEON(0): Direct rendering disabled (EE) RADEON(0): Acceleration initialization failed ... -- Robert Noland rnol...@freebsd.org FreeBSD -- Robert Noland rnol...@freebsd.org FreeBSD signature.asc Description: This is a digitally signed message part
Re: Radeon r6/7xx support merged to -STABLE
On Mon, Mar 16, 2009 at 12:33:26PM -0500, Robert Noland wrote: On Mon, 2009-03-16 at 11:43 +0200, Kostik Belousov wrote: On Sun, Mar 15, 2009 at 10:27:53PM -0500, Robert Noland wrote: On Sun, 2009-03-15 at 23:33 +0200, Kostik Belousov wrote: On Sun, Mar 15, 2009 at 01:49:12PM -0500, Robert Noland wrote: I went ahead and merged the Radeon R6/7xx code to -STABLE a while ago. The current xorg drivers will not enable it by default on R600+ chips. You will need to be using xf86-video-ati-6.12.0, xf86-video-radeonhd-devel or possibly even better git master of either. You will need to add the following to the Device section of your xorg.conf to enable it. If you are experiencing issues, commenting these two options out, will prevent Xorg from auto-loading the kernel module. Options DRI Options AccelMethod EXA With this code and ati 6.12.0, I get the awful performance. Kernel says drm0: ATI Radeon HD 2600 XT on vgapci0 vgapci0: Reserved 0x1 bytes for rid 0x18 type 3 at 0xd002 vgapci0: child drm0 requested pci_enable_busmaster info: [drm] Initialized radeon 1.29.0 20080528 vgapci0: Reserved 0x1000 bytes for rid 0x10 type 3 at 0xc000 info: [drm] Setting GART location based on new memory map error: [drm:pid1494:r600_do_init_cp] *ERROR* Need gart offset from userspace Your card was agp right? No, this is PCIe card. It is reported correctly as Radeon HD 2600 XT. Motherboard chipset is Intel P43, if this makes any useful information. Ok, let me look over the code again and figure out how we get into this state. I may need more details, let me figure out what I need. robert. What happens if you force pci mode? Options BusType PCI For the record. It appeared that I already had this option in the xorg.conf, and it was the cause of the problem. DRI works after removing this line. robert. Then, the Xorg.0.log ... (II) RADEON(0): [drm] register handle = 0xd002 (II) RADEON(0): [dri] Visual configs initialized (II) RADEON(0): RADEONRestoreMemMapRegisters() : (II) RADEON(0): MC_FB_LOCATION : 0x00df00c0 0x00df00c0 (II) RADEON(0): MC_AGP_LOCATION : 0x003f (==) RADEON(0): Backing store disabled (II) RADEON(0): [DRI] installation complete (II) RADEON(0): [drm] removed 1 reserved context for kernel (II) RADEON(0): [drm] unmapping 8192 bytes of SAREA 0xc731d000 at 0x286fd000 (II) RADEON(0): [drm] Closed DRM master. (WW) RADEON(0): Direct rendering disabled (EE) RADEON(0): Acceleration initialization failed ... -- Robert Noland rnol...@freebsd.org FreeBSD -- Robert Noland rnol...@freebsd.org FreeBSD pgp1Gg6IhRzUt.pgp Description: PGP signature
Radeon r6/7xx support merged to -STABLE
I went ahead and merged the Radeon R6/7xx code to -STABLE a while ago. The current xorg drivers will not enable it by default on R600+ chips. You will need to be using xf86-video-ati-6.12.0, xf86-video-radeonhd-devel or possibly even better git master of either. You will need to add the following to the Device section of your xorg.conf to enable it. If you are experiencing issues, commenting these two options out, will prevent Xorg from auto-loading the kernel module. Options DRI Options AccelMethod EXA robert. -- Robert Noland rnol...@freebsd.org FreeBSD signature.asc Description: This is a digitally signed message part
Re: Radeon r6/7xx support merged to -STABLE
On Sun, Mar 15, 2009 at 01:49:12PM -0500, Robert Noland wrote: I went ahead and merged the Radeon R6/7xx code to -STABLE a while ago. The current xorg drivers will not enable it by default on R600+ chips. You will need to be using xf86-video-ati-6.12.0, xf86-video-radeonhd-devel or possibly even better git master of either. You will need to add the following to the Device section of your xorg.conf to enable it. If you are experiencing issues, commenting these two options out, will prevent Xorg from auto-loading the kernel module. Options DRI Options AccelMethod EXA With this code and ati 6.12.0, I get the awful performance. Kernel says drm0: ATI Radeon HD 2600 XT on vgapci0 vgapci0: Reserved 0x1 bytes for rid 0x18 type 3 at 0xd002 vgapci0: child drm0 requested pci_enable_busmaster info: [drm] Initialized radeon 1.29.0 20080528 vgapci0: Reserved 0x1000 bytes for rid 0x10 type 3 at 0xc000 info: [drm] Setting GART location based on new memory map error: [drm:pid1494:r600_do_init_cp] *ERROR* Need gart offset from userspace Then, the Xorg.0.log ... (II) RADEON(0): [drm] register handle = 0xd002 (II) RADEON(0): [dri] Visual configs initialized (II) RADEON(0): RADEONRestoreMemMapRegisters() : (II) RADEON(0): MC_FB_LOCATION : 0x00df00c0 0x00df00c0 (II) RADEON(0): MC_AGP_LOCATION : 0x003f (==) RADEON(0): Backing store disabled (II) RADEON(0): [DRI] installation complete (II) RADEON(0): [drm] removed 1 reserved context for kernel (II) RADEON(0): [drm] unmapping 8192 bytes of SAREA 0xc731d000 at 0x286fd000 (II) RADEON(0): [drm] Closed DRM master. (WW) RADEON(0): Direct rendering disabled (EE) RADEON(0): Acceleration initialization failed ... pgpnZSxNMQ7aR.pgp Description: PGP signature
Re: Radeon r6/7xx support merged to -STABLE
On Sun, 2009-03-15 at 23:33 +0200, Kostik Belousov wrote: On Sun, Mar 15, 2009 at 01:49:12PM -0500, Robert Noland wrote: I went ahead and merged the Radeon R6/7xx code to -STABLE a while ago. The current xorg drivers will not enable it by default on R600+ chips. You will need to be using xf86-video-ati-6.12.0, xf86-video-radeonhd-devel or possibly even better git master of either. You will need to add the following to the Device section of your xorg.conf to enable it. If you are experiencing issues, commenting these two options out, will prevent Xorg from auto-loading the kernel module. Options DRI Options AccelMethod EXA With this code and ati 6.12.0, I get the awful performance. Kernel says drm0: ATI Radeon HD 2600 XT on vgapci0 vgapci0: Reserved 0x1 bytes for rid 0x18 type 3 at 0xd002 vgapci0: child drm0 requested pci_enable_busmaster info: [drm] Initialized radeon 1.29.0 20080528 vgapci0: Reserved 0x1000 bytes for rid 0x10 type 3 at 0xc000 info: [drm] Setting GART location based on new memory map error: [drm:pid1494:r600_do_init_cp] *ERROR* Need gart offset from userspace Your card was agp right? What happens if you force pci mode? Options BusType PCI robert. Then, the Xorg.0.log ... (II) RADEON(0): [drm] register handle = 0xd002 (II) RADEON(0): [dri] Visual configs initialized (II) RADEON(0): RADEONRestoreMemMapRegisters() : (II) RADEON(0): MC_FB_LOCATION : 0x00df00c0 0x00df00c0 (II) RADEON(0): MC_AGP_LOCATION : 0x003f (==) RADEON(0): Backing store disabled (II) RADEON(0): [DRI] installation complete (II) RADEON(0): [drm] removed 1 reserved context for kernel (II) RADEON(0): [drm] unmapping 8192 bytes of SAREA 0xc731d000 at 0x286fd000 (II) RADEON(0): [drm] Closed DRM master. (WW) RADEON(0): Direct rendering disabled (EE) RADEON(0): Acceleration initialization failed ... -- Robert Noland rnol...@freebsd.org FreeBSD signature.asc Description: This is a digitally signed message part