DaemonForums  

Go Back   DaemonForums > OpenBSD > OpenBSD General

OpenBSD General Other questions regarding OpenBSD which do not fit in any of the categories below.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 3rd May 2012
bamdad's Avatar
bamdad bamdad is offline
Port Guard
 
Join Date: Sep 2010
Location: budapest
Posts: 17
Thanked 0 Times in 0 Posts
Default openbsd 5.1 radeon dri/drm

greetings,

my laptop has a radeon mobility 4200 gpu, which is (afaik) supported by the open source drivers. in openbsd 5.0 it worked flawlessly on first boot (tested with glxgears and etracer).

i installed openbsd 5.1 the other day, and while everything works fine, xorg seems to run without any acceleration whatsoever. i tried to stop xdm and do an Xorg -configure, but that failed. i noticed that it didn't ask whether to install non-free firmware on first boot (during install). i did it manually (with fw_update -v), but apparently the video firmware was up to date.

i'm really stumped and suspect that i'm missing something painfully obvious here. could someone point me in the right direction?

thanks,
bamdad
Reply With Quote
  #2   (View Single Post)  
Old 3rd May 2012
jggimi's Avatar
jggimi jggimi is online now
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 3,891
Thanked 214 Times in 189 Posts
Default

Perhaps this 15 January update applies to your situation?

http://www.openbsd.org/faq/current.html#20120125
Reply With Quote
  #3   (View Single Post)  
Old 3rd May 2012
adamk adamk is offline
Spam Deminer
 
Join Date: May 2008
Posts: 250
Thanked 5 Times in 8 Posts
Default

The radeon Xorg driver should still be giving him acceleration.

bamdad, show us your /var/log/Xorg.0.log file.
Reply With Quote
  #4   (View Single Post)  
Old 3rd May 2012
bamdad's Avatar
bamdad bamdad is offline
Port Guard
 
Join Date: Sep 2010
Location: budapest
Posts: 17
Thanked 0 Times in 0 Posts
Default

it should, however removing the xorg.conf produces the same results.

here's my generated xorg.conf (Xorg sait configuration failed, but still spat it out): http://pastebin.com/kqZ2MHKF
here's the log file: http://pastebin.com/RVUrzMLv
here's the xorg.conf after i tried making some sense of it and editing it: http://pastebin.com/nk0mgDBW

sadly, if i use the latter xorg.conf file, all i get is a blank screen instead of xdm. i suspect the problem is elsewhere, since it should work fine even without a config file.
Reply With Quote
  #5   (View Single Post)  
Old 3rd May 2012
adamk adamk is offline
Spam Deminer
 
Join Date: May 2008
Posts: 250
Thanked 5 Times in 8 Posts
Default

Try using this xorg.conf file: http://pastebin.com/VLx7nQNB

Run 'startx' and, if it doesn't work, grab the /var/log/Xorg.0.log file that is generated and show us that.

Adam
Reply With Quote
  #6   (View Single Post)  
Old 3rd May 2012
bamdad's Avatar
bamdad bamdad is offline
Port Guard
 
Join Date: Sep 2010
Location: budapest
Posts: 17
Thanked 0 Times in 0 Posts
Default

thanks, i did, and X starts as it should, but everything is still just as choppy as it was without a config file.

here's the log: http://pastebin.com/XX5NkJJx

interesting, it says it's loading the aperture driver, glx extensions, the radeon module and still it's as slow as vesa.
Reply With Quote
  #7   (View Single Post)  
Old 3rd May 2012
adamk adamk is offline
Spam Deminer
 
Join Date: May 2008
Posts: 250
Thanked 5 Times in 8 Posts
Default

Hmmm, direct rendering is not getting enabled. What's your 'dmesg' look like?
Reply With Quote
  #8   (View Single Post)  
Old 3rd May 2012
bamdad's Avatar
bamdad bamdad is offline
Port Guard
 
Join Date: Sep 2010
Location: budapest
Posts: 17
Thanked 0 Times in 0 Posts
Default

here it is: http://pastebin.com/61AZXxMa
Reply With Quote
  #9   (View Single Post)  
Old 3rd May 2012
adamk adamk is offline
Spam Deminer
 
Join Date: May 2008
Posts: 250
Thanked 5 Times in 8 Posts
Default

Well the kernel is certainly enabling direct rendering. Have you tried using this xorg.conf from a clean reboot?

Adam
Reply With Quote
Old 3rd May 2012
bamdad's Avatar
bamdad bamdad is offline
Port Guard
 
Join Date: Sep 2010
Location: budapest
Posts: 17
Thanked 0 Times in 0 Posts
Default

no, but will do now. :)
Reply With Quote
Old 3rd May 2012
bamdad's Avatar
bamdad bamdad is offline
Port Guard
 
Join Date: Sep 2010
Location: budapest
Posts: 17
Thanked 0 Times in 0 Posts
Default

sadly, it didn't make any difference, even though i did a cold reboot to allow the gpu to completely reset.
Reply With Quote
Old 3rd May 2012
adamk adamk is offline
Spam Deminer
 
Join Date: May 2008
Posts: 250
Thanked 5 Times in 8 Posts
Default

Does it make a difference if you change the 'radeon' driver to 'radeonold' in the xorg.conf file?
Reply With Quote
Old 3rd May 2012
bamdad's Avatar
bamdad bamdad is offline
Port Guard
 
Join Date: Sep 2010
Location: budapest
Posts: 17
Thanked 0 Times in 0 Posts
Default

no, neither does changing it to 'ati' or 'ati-3d-enable' (that used to work on freebsd).
Reply With Quote
Old 3rd May 2012
adamk adamk is offline
Spam Deminer
 
Join Date: May 2008
Posts: 250
Thanked 5 Times in 8 Posts
Default

Well I highly recommend you report this to the OpenBSD folks via the mailing lists. This is clearly a regression.

I just installed OpenBSD 5.1 last night and Xorg works properly with my x1900, acceleration and all. I'll have to try my HD4350 when I get home.

Adam
Reply With Quote
Old 3rd May 2012
bamdad's Avatar
bamdad bamdad is offline
Port Guard
 
Join Date: Sep 2010
Location: budapest
Posts: 17
Thanked 0 Times in 0 Posts
Default

i will, once i figure out how to properly do that. i'd like to avoid theo yelling at me, that's always painful. :D

thanks for all your help. i appreciate it.
Reply With Quote
Old 3rd May 2012
adamk adamk is offline
Spam Deminer
 
Join Date: May 2008
Posts: 250
Thanked 5 Times in 8 Posts
Default

Another option is to hang out in #radeon on the Freenode IRC network and look for oga. He's the OpenBSD DRM maintainer and pops in periodically.

Adam
Reply With Quote
Old 4th May 2012
bamdad's Avatar
bamdad bamdad is offline
Port Guard
 
Join Date: Sep 2010
Location: budapest
Posts: 17
Thanked 0 Times in 0 Posts
Default

did you notice the regression on your hd4350?

and.. do you reckon i should use sendbug, or should i post on the 'misc' mailing list?
Reply With Quote
Old 4th May 2012
jggimi's Avatar
jggimi jggimi is online now
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 3,891
Thanked 214 Times in 189 Posts
Default

The sendbug(1) utility provides a helpful fill-in-the-blanks form to ensure key information is captured, and it will automatically include some system information. You'll still need to add applicable Xorg logs.

Note that the bug tracking database is currently shut down. If you prepare a formal problem report with sendbug you will want to submit it to the bugs@ mailing list.

An informal problem report can be sent to misc@. There, you may find others with the same hardware who may be able to confirm your problem, or perhaps provide additional information.

Whichever route you choose, you will find both http://www.openbsd.org/mail.html and http://www.openbsd.org/report.html helpful.
Reply With Quote
Old 4th May 2012
adamk adamk is offline
Spam Deminer
 
Join Date: May 2008
Posts: 250
Thanked 5 Times in 8 Posts
Default

Unfortunately I did not get a chance to test my HD4350 last night. Hopefully this afternoon (about 8 hours).

To be fair, though, even if it works with my HD4350, that does't tell us much. Different models, even in the same generation, can have significant differences, especially when comparing mobile vs. desktop versions.

Adam
Reply With Quote
Old 4th May 2012
bamdad's Avatar
bamdad bamdad is offline
Port Guard
 
Join Date: Sep 2010
Location: budapest
Posts: 17
Thanked 0 Times in 0 Posts
Default

thanks for the clarification. i will send a bug report as soon as i get home.
Reply With Quote
Reply

Tags
openbsd 5.1 radeon xorg acceleration

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
macppc + radeon drm sigflup OpenBSD Installation and Upgrading 6 7th July 2010 10:12 PM
openbsd 4.5 macppc radeon drive still broken gosha OpenBSD Installation and Upgrading 13 28th June 2009 03:14 PM
ATI Radeon 4870X2 NetBSD NetBSD General 6 11th June 2009 08:17 PM
Radeon HD 4780 X2 NetBSD FreeBSD General 0 19th February 2009 12:15 AM
X Radeon driver sum FreeBSD Installation and Upgrading 5 28th September 2008 03:49 PM


All times are GMT. The time now is 03:32 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick