Bug 16892

Summary: Ati Mobility Radeon 3650
Product: xorg Reporter: BogDan Vatra <bogdan>
Component: Driver/radeonhdAssignee: Egbert Eich <eich>
Status: RESOLVED FIXED QA Contact: Xorg Project Team <xorg-team>
Severity: normal    
Priority: medium CC: bogdan, freedesktop, jarkko, Johannes.Nohl, samtygier, tball, zajec5
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:
Attachments:
Description Flags
xorg.conf
none
Xorg.0.log
none
rom bios dump
none
xorg.conf for atombios based radeonhd
none
Xorg.0.log atombios radeonhd
none
With "NoRandr" "yes" option and no hdmi connected.
none
With "NoRandr" "yes" option and hdmi connected.
none
Without "NoRandr" "yes" option and no hdmi connected.
none
Without "NoRandr" "yes" option and hdmi connected.
none
dpi problem xorg.conf
none
dump for comment #23 and comment #24
none
Ati Mobility Radeon 3650 RandR turned ON causing blooming
none
Ati Mobility Radeon 3650 RandR turned OFF and working display none

Description BogDan Vatra 2008-07-29 11:27:39 UTC
Hi,

I try to use this card with debian sid/experimental but I get only o black screen. 

My laptop is a asus M70Sa
(http://www.asus.com/products.aspx?l1=5&l2=23&l3=524&l4=42&model=2196&modelmenu=2)

With fglrx is working but is slow on kde4. 

Thanks.
Comment 1 BogDan Vatra 2008-07-29 11:28:19 UTC
Created attachment 17971 [details]
xorg.conf
Comment 2 BogDan Vatra 2008-07-29 11:28:51 UTC
Created attachment 17972 [details]
Xorg.0.log
Comment 3 BogDan Vatra 2008-07-29 11:29:18 UTC
I use sources from git
Comment 4 Egbert Eich 2008-07-29 13:45:57 UTC
BogDan: Could you please dump me your BIOS using rhd_conntest <pci_id> -d and attach it here?
Comment 5 BogDan Vatra 2008-07-30 03:52:04 UTC
Created attachment 17995 [details]
rom bios dump
Comment 6 Thomas 2008-07-30 09:51:45 UTC
I can confirm this bug, on an asus m50sa, with a Radeon hd3650 mobility card.

It doesn't recognise my card, with radeonhd git version 29/7-08
Comment 7 Egbert Eich 2008-07-30 10:27:04 UTC
(In reply to comment #6)
> I can confirm this bug, on an asus m50sa, with a Radeon hd3650 mobility card.
> 
> It doesn't recognise my card, with radeonhd git version 29/7-08
> 

Thomas, your card is definitely in the list. BogDan's got the same PCI Id: 0x9591 and it's recognized for him.
That it's not working atm is a different issue. To find out why will require some experiments.
Comment 8 BogDan Vatra 2008-07-30 11:21:20 UTC
> (In reply to comment #6)
[..]
> That it's not working atm is a different issue. To find out why will require
> some experiments.
> 

If you need any additional information please don't hesitate to ask me !
I'll do anything you ask.
Comment 9 Egbert Eich 2008-07-31 11:05:20 UTC
*** Bug 16919 has been marked as a duplicate of this bug. ***
Comment 10 Egbert Eich 2008-08-04 05:50:02 UTC
BogDan: could you please try with the option
Option "NoRandr" "yes"
and see if the problem goes away then?
Comment 11 Egbert Eich 2008-08-13 00:33:15 UTC
Does any one of the reporters have more than 2 GB installed on the machine? If so please try to reduce it to 2GB and see if the problems go away.
Comment 12 BogDan Vatra 2008-08-13 01:18:42 UTC
(In reply to comment #10)
> BogDan: could you please try with the option
> Option "NoRandr" "yes"
> and see if the problem goes away then?
> 

No and yes ;)

No: Is not working on old radeonhd drivers.
Yes: Is working on atombios based radeonhd driver (compiled from git today) WITH  the option
Option     "UseAtomBIOS" "yes"

Now I can see something on my screen. But, so far, I found 3 problems:
1. switching from X to console gives me only a black screen.
2. I have no 2D acceleration or is very slow
3. Colors are a bit strange. It looks like I have only 32k or 65k colors.

Sorry for the delayed answer (but I was gone),
Comment 13 BogDan Vatra 2008-08-13 01:21:09 UTC
(In reply to comment #11)
> Does any one of the reporters have more than 2 GB installed on the machine? If
> so please try to reduce it to 2GB and see if the problems go away.
> 
I test the latest driver with 2GB and with 4GB and is working.
Comment 14 BogDan Vatra 2008-08-13 01:23:50 UTC
Created attachment 18253 [details]
xorg.conf for atombios based radeonhd
Comment 15 BogDan Vatra 2008-08-13 01:25:01 UTC
Created attachment 18254 [details]
Xorg.0.log atombios radeonhd
Comment 16 BogDan Vatra 2008-08-15 06:23:18 UTC
Hi,

After commit 14031d56f41b2c93f80ba5db58a1e2c235c5cd21 I compile the radeonhd driver again and I want to report the status:

After this commit I can use the driver without option "UseAtomBIOS" "yes" and the problem 3 and (partially) 1,  which I reported on comment #12, disappear. 
Problem 1 is partially done because after I switch form X to console only letters are shown ok, the rest (numbers, and other characters (!,@#$%...) look strange).
Problem 2 persist !

With option "UseAtomBIOS" "yes" all problems reported comment #12 persist.

I don't use Option "NoRandr" "yes" (with or without option "UseAtomBIOS" "yes") my screen goes black.

Thanks.
Comment 17 Thomas 2008-08-20 01:45:59 UTC
Hi again.

I just want to tell you, I've got it working too after BogDan's description on comment #16 (Using the norandr option). But also I noticed something when not using xrandr. If I plug my TV to the hdmi output, I am able to light up a screen, if restarting X. It happens with / without the randr option. Although when not using the norandr options, I can't change the resolution. When not using the norandr option (with xrandr), I get a picture on my TV (with wrong resolution) but my panel blooms. When changing resolution with xrandr, I might end up with a display in my panel insted and nothing on my TV :S

I have attached 4 Xorg.0.log files:

1. With "NoRandr" "yes" option and no hdmi connected.
2. With "NoRandr" "yes" option with hdmi connected.
3. Without "NoRandr" "yes" option and no hdmi connected.
4. Without "NoRandr" "yes" option with hdmi connected.
Comment 18 Thomas 2008-08-20 01:47:38 UTC
Created attachment 18399 [details]
With "NoRandr" "yes" option and no hdmi connected.
Comment 19 Thomas 2008-08-20 01:48:24 UTC
Created attachment 18400 [details]
With "NoRandr" "yes" option and hdmi connected.
Comment 20 Thomas 2008-08-20 01:48:59 UTC
Created attachment 18401 [details]
Without "NoRandr" "yes" option and no hdmi connected.
Comment 21 Thomas 2008-08-20 01:49:44 UTC
Created attachment 18402 [details]
Without "NoRandr" "yes" option and hdmi connected.
Comment 22 BogDan Vatra 2008-08-20 04:15:36 UTC
Created attachment 18408 [details]
dpi problem xorg.conf

Hi I think found another problem, I don't know is only form my card or is for all.
I can't set the dpi (I want to increase the dpi, my fonts are too small) . I try with:
DisplaySize       406   254     #  1920x1200 100 dpi
in my monitor section but this option seems to be ignored by the driver.
Is this a driver problem or I'm to stupid to set this option correctly ?
Comment 23 Egbert Eich 2008-09-01 23:03:43 UTC
BogDan: About problem 2: there is no 2D accel for your chipset (yet).
About problem 3: you say that it happens with 'Option "AtomBIOS" "on"' but not without the option, right?
Chould you please do the following: run
rhd_dump <pci_id> -r0x6710,0x6714
rhd_dump <pci_id> -r0x6f10,0x6f14
and provide me the output?
Comment 24 Egbert Eich 2008-09-01 23:23:43 UTC
BogDan:
Also:
rhd_dump <pci_id> -r0x75bc,0x75a0
rhd_dump <pci_id> -r0x79bc,0x79a0
rhd_dump <pci_id> -r0x7f04,0x7f08
Thanks!
Comment 25 BogDan Vatra 2008-09-02 03:04:20 UTC
(In reply to comment #23)
> BogDan: About problem 2: there is no 2D accel for your chipset (yet).
> About problem 3: you say that it happens with 'Option "AtomBIOS" "on"' but not
> without the option, right?
Yes.
Comment 26 BogDan Vatra 2008-09-02 03:05:16 UTC
Created attachment 18636 [details]
dump for comment #23 and comment #24

dump for comment #23 and comment #24
Comment 27 BogDan Vatra 2008-09-02 04:16:23 UTC
zamolxis:~/work/radeon/xf86-video-radeonhd/utils/conntest# ./rhd_dump 01:00.0 -r 0x79a0,0x79bc
rhd_dump: v1.2.1, git branch master, commit 0f8fd807
0x79A0: 0x00001110
0x79A4: 0x00000100
0x79A8: 0x00000000
0x79AC: 0x00000063
0x79B0: 0x00000060
0x79B4: 0x00222222
0x79B8: 0x00000000
0x79BC: 0x00000000
zamolxis:~/work/radeon/xf86-video-radeonhd/utils/conntest# ./rhd_dump 01:00.0 -r 0x75a0,0x75bc
rhd_dump: v1.2.1, git branch master, commit 0f8fd807
0x75A0: 0x00000000
0x75A4: 0x00000100
0x75A8: 0x00000000
0x75AC: 0x00000063
0x75B0: 0x00000060
0x75B4: 0x00222222
0x75B8: 0x00000000
0x75BC: 0x00000000
zamolxis:~/work/radeon/xf86-video-radeonhd/utils/conntest#
Comment 28 jarkko lietolahti 2008-09-11 14:04:10 UTC
Created attachment 18828 [details]
Ati Mobility Radeon 3650 RandR turned ON causing blooming

Hello,
 I've the same card (Ati Mobility 3650) and the same problem. With latest radeonhd from git I need to setup Option "NoRandr" in xorg.conf to get other than weird colors=blooming in the display. 

Radeon from gif doesn't work at all because it doesn't allow to turn Randr off.

This attachment is Xorg.0.log without NoRandr in xorg.log when the driver is failing.
Comment 29 jarkko lietolahti 2008-09-11 14:07:56 UTC
Created attachment 18829 [details]
Ati Mobility Radeon 3650 RandR turned OFF and working display 

This is Xorg.0.log with Option "NoRandr" in xorg.conf where the display is working ok.
Comment 30 Egbert Eich 2008-11-01 11:54:13 UTC
*** Bug 16929 has been marked as a duplicate of this bug. ***
Comment 31 Egbert Eich 2008-11-01 11:55:31 UTC
*** Bug 18016 has been marked as a duplicate of this bug. ***
Comment 32 Egbert Eich 2008-11-01 11:55:58 UTC
*** Bug 18047 has been marked as a duplicate of this bug. ***
Comment 33 Egbert Eich 2008-11-01 11:57:03 UTC
Should be fixed with: commit
f29a3d2f6bb4c7140cfe4021ad3b0b1111dcf0f4

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.