Re: xf86 driver won't compile
Brett wrote: I could not find any info on the openbsd site or mailing list on how to do this, except for radeon(4) man page, and this posting (for a different radeon card): It's not documented because it's not officially supported, it's replacing a shipped component with something that's newer.. 1) Do the lines above in the dmesg indicate this driver is already installed on my system? If so, is compiling a new driver likely to result in, for example, less frame dropping in mplayer fullscreen mode? The kernel support is for DRM/DRI support without KMS, modesetting and device initialization isn't done by the kernel. The driver mentioned in this thread is the userland Xorg driver, the verion shipped lacks features and stability on some newer cards.. in your case it will add Textured XVideo support. 2) Is this where I should get the code from?: http://cgit.freedesktop.org/xorg/driver/xf86-video-ati You could, however that is the main development repository.. the source there does not have any generated configure script. You'll probably want to get it from here instead: http://ftp.x.org/pub/individual/driver/xf86-video-ati-6.14.2.tar.gz 3) Once compiled (using the configure options at the top of this email), is there some other configuration changes I need to make to the system, so this driver will load when I boot computer or startx? No, the X server should just load the new module.. you don't even have to reboot your system. 4) Is there any sites that I missed where this is already explained? ... -Bryan.
Re: xf86 driver won't compile
In order to get applications like mplayer to work properly, I need to compile an ATI Radeon 4200 driver from x.org. This is what I use sh ./configure --prefix=/usr/X11R6 \ --sysconfdir=/etc \ --mandir=/usr/X11R6/man \ --with-xorg-module-dir=/usr/X11R6/lib/modules \ --disable-kms make sudo make install Works with 6.14.2 Regards Nigel Taylor Hi misc, I have a laptop with ATI chipset (from dmesg): vga1 at pci1 dev 5 function 0 ATI Mobility Radeon HD 4200 rev 0x00 wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) wsdisplay0: screen 1-5 added (80x25, vt100 emulation) radeondrm0 at vga1: apic 4 int 18 drm0 at radeondrm0 azalia0 at pci1 dev 5 function 1 ATI Radeon HD 4200 HD Audio rev 0x00: msi azalia0: no supported codecs From reading this thread I am led to believe that my graphics performance will be better if I compile install the xf86 driver. However, I could not find any info on the openbsd site or mailing list on how to do this, except for radeon(4) man page, and this posting (for a different radeon card): http://www.mail-archive.com/misc@openbsd.org/msg79746.html 1) Do the lines above in the dmesg indicate this driver is already installed on my system? If so, is compiling a new driver likely to result in, for example, less frame dropping in mplayer fullscreen mode? 2) Is this where I should get the code from?: http://cgit.freedesktop.org/xorg/driver/xf86-video-ati 3) Once compiled (using the configure options at the top of this email), is there some other configuration changes I need to make to the system, so this driver will load when I boot computer or startx? 4) Is there any sites that I missed where this is already explained? Thanks, Brett.
xf86 driver won't compile
I think I'm missing something obvious here, so a clue-stick beating would be appreciated. In order to get applications like mplayer to work properly, I need to compile an ATI Radeon 4200 driver from x.org. (Thanks to brynet for that tip.) That used to work fine, but around mid-May it stopped compiling (details below). The configure script output has this slight difference: $ diff configure.ok configure.failure 88c88 checking for LIBDRM_RADEON... no --- checking for LIBDRM_RADEON... yes 132c132 Kernel modesetting: no --- Kernel modesetting: yes so I think I'm missing something simple, but with my limited knowledge, I'm just not understanding it. The driver compiles just fine when LIBDRM_RADEON is _not_ found, but craps out when it is found. I don't get it. Any help would be appreciated. Make spits out this: $ sudo make make all-recursive Making all in src CC ati.lo CC atimodule.lo CCLD ati_drv.la CC radeon_accel.lo radeon_accel.c: In function 'RADEONHostDataBlit': radeon_accel.c:866: warning: '__expected' may be used uninitialized in this function CC radeon_cursor.lo CC radeon_legacy_memory.lo CC radeon_driver.lo In file included from radeon_atombios.h:151, from radeon_driver.c:77: ./AtomBios/includes/CD_Common_Types.h:82: warning: ignoring #pragma warning ./AtomBios/includes/CD_Common_Types.h:156: warning: ignoring #pragma warning CC radeon_video.lo CC radeon_bios.lo In file included from radeon_atombios.h:151, from radeon_bios.c:42: ./AtomBios/includes/CD_Common_Types.h:82: warning: ignoring #pragma warning ./AtomBios/includes/CD_Common_Types.h:156: warning: ignoring #pragma warning CC radeon_mm_i2c.lo CC radeon_vip.lo CC radeon_misc.lo CC radeon_probe.lo CC legacy_crtc.lo In file included from radeon_atombios.h:151, from legacy_crtc.c:48: ./AtomBios/includes/CD_Common_Types.h:82: warning: ignoring #pragma warning ./AtomBios/includes/CD_Common_Types.h:156: warning: ignoring #pragma warning CC legacy_output.lo In file included from radeon_atombios.h:151, from legacy_output.c:49: ./AtomBios/includes/CD_Common_Types.h:82: warning: ignoring #pragma warning ./AtomBios/includes/CD_Common_Types.h:156: warning: ignoring #pragma warning CC radeon_textured_video.lo CC radeon_pm.lo In file included from radeon_atombios.h:151, from radeon_pm.c:39: ./AtomBios/includes/CD_Common_Types.h:82: warning: ignoring #pragma warning ./AtomBios/includes/CD_Common_Types.h:156: warning: ignoring #pragma warning CC radeon_crtc.lo In file included from radeon_atombios.h:151, from radeon_crtc.c:703: ./AtomBios/includes/CD_Common_Types.h:82: warning: ignoring #pragma warning ./AtomBios/includes/CD_Common_Types.h:156: warning: ignoring #pragma warning CC radeon_output.lo In file included from radeon_atombios.h:151, from radeon_output.c:50: ./AtomBios/includes/CD_Common_Types.h:82: warning: ignoring #pragma warning ./AtomBios/includes/CD_Common_Types.h:156: warning: ignoring #pragma warning CC radeon_modes.lo In file included from radeon_atombios.h:151, from radeon_modes.c:51: ./AtomBios/includes/CD_Common_Types.h:82: warning: ignoring #pragma warning ./AtomBios/includes/CD_Common_Types.h:156: warning: ignoring #pragma warning CC radeon_tv.lo In file included from radeon_atombios.h:151, from radeon_tv.c:26: ./AtomBios/includes/CD_Common_Types.h:82: warning: ignoring #pragma warning ./AtomBios/includes/CD_Common_Types.h:156: warning: ignoring #pragma warning CC CD_Operations.lo In file included from ./AtomBios/includes/Decoder.h:52, from AtomBios/CD_Operations.c:47: ./AtomBios/includes/CD_Common_Types.h:82: warning: ignoring #pragma warning ./AtomBios/includes/CD_Common_Types.h:156: warning: ignoring #pragma warning CC Decoder.lo In file included from ./AtomBios/includes/Decoder.h:52, from AtomBios/Decoder.c:45: ./AtomBios/includes/CD_Common_Types.h:82: warning: ignoring #pragma warning ./AtomBios/includes/CD_Common_Types.h:156: warning: ignoring #pragma warning CC radeon_atombios.lo In file included from radeon_atombios.h:151, from radeon_atombios.c:34: ./AtomBios/includes/CD_Common_Types.h:82: warning: ignoring #pragma warning ./AtomBios/includes/CD_Common_Types.h:156: warning: ignoring #pragma warning radeon_atombios.c: In function 'rhdAtomParseI2CRecord': radeon_atombios.c:1608: warning: initialization from incompatible pointer type CC radeon_atomwrapper.lo In file included from radeon_atomwrapper.c:33: ./AtomBios/includes/CD_Common_Types.h:82: warning: ignoring #pragma warning ./AtomBios/includes/CD_Common_Types.h:156: warning: ignoring #pragma warning CC radeon_dri.lo CC radeon_exa.lo CC
Re: xf86 driver won't compile
On Wed, Jul 20, 2011 at 4:59 PM, Scott McEachern sc...@blackstaff.ca wrote: I think I'm missing something obvious here, so a clue-stick beating would be appreciated. In order to get applications like mplayer to work properly, I need to compile an ATI Radeon 4200 driver from x.org. (Thanks to brynet for that tip.) That used to work fine, but around mid-May it stopped compiling (details below). The configure script output has this slight difference: $ diff configure.ok configure.failure 88c88 checking for LIBDRM_RADEON... no --- checking for LIBDRM_RADEON... yes 132c132 Kernel modesetting: no --- Kernel modesetting: yes I think you need to pass --disable-kms to ./configure ciao, david
Re: xf86 driver won't compile
On 07/20/11 16:06, David Coppa wrote: On Wed, Jul 20, 2011 at 4:59 PM, Scott McEachernsc...@blackstaff.ca wrote: I think I'm missing something obvious here, so a clue-stick beating would be appreciated. In order to get applications like mplayer to work properly, I need to compile an ATI Radeon 4200 driver from x.org. (Thanks to brynet for that tip.) That used to work fine, but around mid-May it stopped compiling (details below). The configure script output has this slight difference: $ diff configure.ok configure.failure 88c88 checking for LIBDRM_RADEON... no --- checking for LIBDRM_RADEON... yes 132c132 Kernel modesetting: no --- Kernel modesetting: yes I think you need to pass --disable-kms to ./configure ciao, david This is what I use sh ./configure --prefix=/usr/X11R6 \ --sysconfdir=/etc \ --mandir=/usr/X11R6/man \ --with-xorg-module-dir=/usr/X11R6/lib/modules \ --disable-kms make sudo make install Works with 6.14.2 Regards Nigel Taylor
Re: xf86 driver won't compile
On 07/20/11 11:06, David Coppa wrote: I think you need to pass --disable-kms to ./configure Thank-you David and Nigel! That works perfectly, and I'm now (very happily) back to running -current. (I'm currently compiling a bunch of ports, and waited until thunderbird finished before replying.) I _knew_ I was overlooking something simple... When it came to the configure script diff, I was paying attention to LIBDRM_RADEON and trying to include this and that, while kernel modesetting was the problem. And to think, I _almost_ didn't paste those lines from the diff thinking they were irrelevant. Thanks again guys, - Scott
Re: xf86 driver won't compile
Sorry Scott, didn't see this, '--disable-kms' is needed now. oga@ committed DRI/DRM support for r600+ cards, all that work got the DDX driver all excited. http://marc.info/?l=openbsd-cvsm=130679235018645w=2 -Bryan.