Dave Tyson | 17 Apr 2012 00:44
Picon
Favicon

NetBSD 6.0_BETA problems with X on ATI Mobility Radeon X1300

I seem to have a real problem with X in 6.0_BETA on a Lenovo/IBM T60 laptop.  
This worked fine under NetBSD 5 and KDE worked fairly well. I trashed and 
installed a very recent NetBSD 6.0_BETA and in the process of trying to get 
KDE working noticed that all was not well with X.

In particular wth the default xinitrc file, if I used startx under root (with 
no xorg.conf file)  then the  X display (3 xterms & the clock) didn't look 
quite right and entering 'exit' in the two background xterm screens didn't 
close them and the clock didn't come up properly. Cursor movement seemed to be 
OK and an 'exit' in the exec xterm window closed the session correctly. twm 
seemed to be a bit confused.

Re-installed a recent NetBSD 5 and everything worked as expected so its 
definately an issue with NetBSD 6.

NetBSD 5 dmesg shows:
vga1 at pci1 dev 0 function 0: vendor 0x1002 product 0x7149 (rev. 0x00)
wsdisplay0 at vga1 kbdmux 1: console (80x25, vt100 emulation), using wskbd0
drm at vga1 not configured

NetBSD 6 dmesg shows:
vga1 at pci1 dev 0 function 0: vendor 0x1002 product 0x7149 (rev. 0x00)
wsdisplay0 at vga1 kbdmux 1: console (80x25, vt100 emulation), using wskbd0
radeondrm0 at vga1: ATI Mobility Radeon X1300

Enclosed are Xorg.0.logs for both 5 & 6 respectively

Any clues as what to try to fix this issue? I guess I could knock out the drm 
and see if that fixes the problem, but it would be nice to have the 
acceleration...
(Continue reading)

matthew green | 17 Apr 2012 10:58
Picon
Favicon

re: NetBSD 6.0_BETA problems with X on ATI Mobility Radeon X1300


it seems that we have new? radeondrm issues.  can you please
try disabling radeondrm.  'boot -c' and 'disable radeondrm',
or build a kernel without it, or you can put
'userconf disable radeondrm' into /boot.cfg.

if this lets you run X, at least it should get you back to the
state you were in previously.

thanks.

.mrg.

Dave Tyson | 17 Apr 2012 11:26
Picon
Favicon

Re: NetBSD 6.0_BETA problems with X on ATI Mobility Radeon X1300

On Tuesday 17 April 2012 09:58:03 matthew green wrote:
> it seems that we have new? radeondrm issues.  can you please
> try disabling radeondrm.  'boot -c' and 'disable radeondrm',
> or build a kernel without it, or you can put
> 'userconf disable radeondrm' into /boot.cfg.
> 
> if this lets you run X, at least it should get you back to the
> state you were in previously.
> 
> thanks.
> 
> 
> .mrg.

I can confirm that disabling radeondrm fixes the problem. So at least I have 
an easy workaround

Cheers,
Dave

--

-- 
=====================================================================
Phone: 07805784357
Open Source O/S: www.netbsd.org
Caving: http://www.wirralcavinggroup.org.uk
=====================================================================

Phillip Spring | 18 Apr 2012 03:22
Picon
Favicon

RE: NetBSD 6.0_BETA problems with X on ATI Mobility Radeon X1300

Just a tip:)

To ensure which driver is the right one to use, try this:
1 - Find out the VENDOR and DEVICE id number of your device;
2 - Fetch the sources for the xorg video modules and cd into the sources
directory;
3 - Unpack and use `grep -r <VENDOR> * | grep <DEVICE>` to figure out which
driver is compatible;
4 - Doing the same on the kernel sources also may help you to know if the drm
modules are compatible.
example: grep -r 1002 * | grep 9505

Maybe this doesn't works as I imagined (sorry, right now I'm using Linux, not
FreeeBSD), but I just wanted to help...
I know how a person feels living without graphics accelaration :(

Phillip Spring.

> From: dtyson <at> wirralcavinggroup.org.uk
> To: mrg <at> eterna.com.au
> Subject: Re: NetBSD 6.0_BETA problems with X on ATI Mobility Radeon X1300
> Date: Tue, 17 Apr 2012 10:26:46 +0100
> CC: tech-x11 <at> netbsd.org
>
> On Tuesday 17 April 2012 09:58:03 matthew green wrote:
> > it seems that we have new? radeondrm issues.  can you please
> > try disabling radeondrm.  'boot -c' and 'disable radeondrm',
> > or build a kernel without it, or you can put
> > 'userconf disable radeondrm' into /boot.cfg.
> >
(Continue reading)

Pierre Pronchery | 17 Apr 2012 15:08
Gravatar

Re: NetBSD 6.0_BETA problems with X on ATI Mobility Radeon X1300

			Hi Dave,

On 17/04/2012 00:44, Dave Tyson wrote:
> I seem to have a real problem with X in 6.0_BETA on a Lenovo/IBM T60 laptop.  
> This worked fine under NetBSD 5 and KDE worked fairly well. I trashed and 
> installed a very recent NetBSD 6.0_BETA and in the process of trying to get 
> KDE working noticed that all was not well with X.

I have found the radeonhd driver to work much better than radeon on my
hardware (Lenovo/IBM T60 2007), even though it is not maintained anymore.

With this driver I can even suspend/resume semi-reliably.

HTH,
--

-- 
khorben


Gmane