[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: radeon driver updates for mac laptops



Alex Deucher wrote:
On 9/21/07, Eugen Dedu <Eugen.Dedu@pu-pm.univ-fcomte.fr> wrote:
Alex Deucher wrote:
On 9/21/07, Eugen Dedu <Eugen.Dedu@pu-pm.univ-fcomte.fr> wrote:
Michel Dänzer wrote:
On Wed, 2007-09-05 at 16:25 +0200, Eugen Dedu wrote:
Michel Dänzer wrote:
On Wed, 2007-09-05 at 15:58 +0200, Eugen Dedu wrote:
VGA-0 disconnected (normal left inverted right x axis y axis)
If you specify

  Option  "MacModel" "powerbook"

or "powerbook-duallink", the above should say DVI-0 instead of VGA-0.
However, it prints VGA-0...
Does the log file acknowledge the option being in effect as intended?
Ah...:

((II) RADEON(0): RandR 1.2 enabled, ignore the following RandR disabled
message.
WW) RADEON(0): Option "MacModel" is not used
(--) RandR disabled

I attach the whole log and xorg.conf.  Maybe I should try
powerbook-duallink?!
The option value doesn't matter when the driver doesn't recognize the
identifier. Did you get the driver source from upstream GIT and build
it? The option isn't included in xserver-xorg-video-ati 1:6.7.192 yet.
Hi,

I have just tried xserver-xorg-video-ati 1:6.7.192-4.  Now it works on
my external monitor (Samsung).  I have a PowerBook5,2 (4 years old).

I put powerbook-duallink as MacModel.

A few comments:

an output is enabled if there is a * next to one of it's modes.
May I suggest you to write this info in the man page?

snoopy:~$ diff -Naur xrandr.1 xrandr.1-new
--- xrandr.1    2007-09-21 18:16:51.000000000 +0200
+++ xrandr.1-new        2007-09-21 18:23:52.000000000 +0200
@@ -83,7 +83,9 @@
  reported while executing the configuration changes.
  .IP \-q
  When this option is present, or when no configuration changes are
requested,
-xrandr will display the current state of the system.
+xrandr will display the current state of the system. A '*' near a mode
+precises the mode used.  A '+' near a mode precises that the corresponding
+output is enabled.
  .IP "\-screen \fIsnum\fP"
  This option selects which screen to manipulate. Note this refers to the X
  screen abstraction, not the monitor (or output).


I thought brice already submitted a patch to do that.  I guess not.
Please open a bug on https://bugs.freedesktop.org and attach your
patch.

Also, another comment:
- would it possible to use MacModel XYZ by default, i.e. without
explicitely putting it in xorg.conf?  Or is it planned for a future
version of ati driver?

I don't know of a way to get that info from the driver at the moment.
Also, I'm not sure which powerbooks use which configuration (internal
or external TMDS).  If someone more familiar with macs or ppc knows of
a good way, I'd be happy to implement it, I'm just not that well
versed in mac hardware and configuration.

May this option be removed for all cases but duallink?

May /proc/cpuinfo be used?
snoopy:~$ cat /proc/cpuinfo
processor       : 0
cpu             : 7447/7457, altivec supported
clock           : 612.000000MHz
revision        : 0.1 (pvr 8002 0101)
bogomips        : 36.73
timebase        : 18432000
platform        : PowerMac
machine         : PowerBook5,2
motherboard     : PowerBook5,2 MacRISC3 Power Macintosh
detected as     : 287 (PowerBook G4 15")
pmac flags      : 0000001b
L2 cache        : 512K unified
pmac-generation : NewWorld

This makes a difference between ibook and powerbook.

As for duallink or not, you may then consider ibook or powerbook by default. If the user wants to use duallink, it can explicitly write powerbook-duallink in xorg.conf. In a future version, when you find out this info from the driver, you can get rid of it completely.

All this because it's simpler to say to users: "The output works in all cases, except [for a few users] when you want to use duallink, in which case you must add the line Option ... in xorg.conf".

I am sorry if this mail seems offending, but it's not.

--
Eugen Dedu



Reply to: