On Sun, Sep 16, 2012 at 10:47:24PM +0300, Onat I. wrote: > I have Radeon HD 6520G card. I can only use it with vesa. > I don't care about acceleration but vesa doesn't support 16:9 aspect. > Everything looks fat. It's annoying. So I added appropriate lines to > /usr/src/sys/dev/pci/drm/radeon_drv.c and compiled the kernel. > When I rebooted, kernel recognized radeondrm. But Xorg still selects > vesa. If I create an /etc/X11/xorg.conf file. Screen freezes on running > startx. What other files do I need to edit? Or is it about the xorg driver?
The problem is that the radeon driver supports newer radeon chips only with kernel mode setting (KMS), which OpenBSD does not support. OpenBSD only supports traditional user mode setting right now. AFAIK only Linux supports KMS. It seems upstream is removing all user mode setting support with the next release of the radeon driver: http://cgit.freedesktop.org/xorg/driver/xf86-video-ati/commit/?id=50689ec8dbd4a68527b2ac16cecac298b8d441d0 I have a similar ATI card in a notebook ("ATI Radeon HD 6320"). The radeon driver comes up with the full display resolution. However, it's unaccelerated and once the X server exits the screen stays black. So it's not much better than vesa which is stuck at 1024x768. No xvideo or 3D either way. That's gonna be the situation until someone with the necessary skills, and time to spend, fixes it.