All of lore.kernel.org
 help / color / mirror / Atom feed
* Radeon problems
@ 2003-07-19 14:55 Giuliano Pochini
  2003-07-19 16:20 ` Calum Selkirk
                   ` (2 more replies)
  0 siblings, 3 replies; 9+ messages in thread
From: Giuliano Pochini @ 2003-07-19 14:55 UTC (permalink / raw)
  To: linuxppc-dev


I have a dual G4-mdd with a r9000 and I'm using
Linux Jay 2.4.22-pre6 #4 SMP sab lug 19 08:29:11 UTC 2003 ppc unknown

Problem #1: Radeonfb sets a video mode that isn't supported by my LCD
monitor. I have to blindly type "/usr/sbin/fbset -a 1280x1024-60 -depth 16"
at the root console every time (*if* it boots, because I make the box crash
quite often :( ). Is there a boot option to set the right video mode ?

Problem #2: I've managed only to use X in fbdev mode at 16bits. No way to
use the radeon driver.  Any hint ?
[XFree86 Version 4.2.0 (echo Yellow Dog Linux release: 4.2.0-6.30e) / X Window System]



--
Bye.
   Giuliano.


** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 9+ messages in thread
* Re: Radeon problems
@ 2003-07-22 21:23 Giuliano Pochini
  2003-07-22 21:27 ` Benjamin Herrenschmidt
  0 siblings, 1 reply; 9+ messages in thread
From: Giuliano Pochini @ 2003-07-22 21:23 UTC (permalink / raw)
  To: Benjamin Herrenschmidt; +Cc: linuxppc-dev


>> Problem #1: Radeonfb sets a video mode that isn't supported by my LCD
>> monitor. I have to blindly type "/usr/sbin/fbset -a 1280x1024-60 -depth 16"
>> at the root console every time (*if* it boots, because I make the box
>> crash quite often :( ). Is there a boot option to set the right video mode ?
>
> Can you send me a dmesg dump (with the wrong video mode) and
> a dump of /proc/device-tree/pci@f0000000 ?

Yes, these are the relevant lines:

----
Kernel command line: ro video=radeonfb:1024x768-8@75
Console: colour dummy device 80x25
radeonfb: ref_clk=2700, ref_div=12, xclk=24975 from OF
Console: switching to colour frame buffer device 80x30
radeonfb: ATI Radeon 9000 If DDR SGRAM 64 MB
radeonfb: DVI port no monitor connected
radeonfb: CRT port CRT monitor connected
----

Hmm, I just noticed that it believes I connected a CRT monitor. It's wrong,
I have an non-Apple LCD display connected to the DVI port. 80x30 means the
resolution is still 640x480.

This a dir of /proc/device-tree/pci@f0000000, but I don't see how can it be
useful. Is there a tool to extract more info ?

[Giu@Jay pci@f0000000]$ dir
total 0
dr-xr-xr-x    4 root     root            0 lug 22 21:09 .
dr-xr-xr-x   21 root     root            0 lug 22 21:09 ..
lrwxrwxrwx    1 root     root           20 lug 22 21:13 @10 -> ATY,PheonixParent@10
-r--r--r--    1 root     root            4 lug 22 21:13 #address-cells
lrwxrwxrwx    1 root     root           20 lug 22 21:13 ATY,PheonixParent -> ATY,PheonixParent@10
dr-xr-xr-x    4 root     root            0 lug 22 21:13 ATY,PheonixParent@10
lrwxrwxrwx    1 root     root           15 lug 22 21:13 @b -> uni-north-agp@b
-r--r--r--    1 root     root           10 lug 22 21:13 built-in-names
-r--r--r--    1 root     root            8 lug 22 21:13 bus-range
-r--r--r--    1 root     root            4 lug 22 21:13 clock-frequency
-r--r--r--    1 root     root           10 lug 22 21:13 compatible
-r--r--r--    1 root     root            4 lug 22 21:13 device_type
-r--r--r--    1 root     root            4 lug 22 21:13 #interrupt-cells
-r--r--r--    1 root     root           28 lug 22 21:13 interrupt-map
-r--r--r--    1 root     root           16 lug 22 21:13 interrupt-map-mask
-r--r--r--    1 root     root            4 lug 22 21:13 interrupt-parent
-r--r--r--    1 root     root            8 lug 22 21:13 interrupts
-r--r--r--    1 root     root            4 lug 22 21:13 linux,phandle
-r--r--r--    1 root     root           14 lug 22 21:13 model
-r--r--r--    1 root     root            4 lug 22 21:13 name
-r--r--r--    1 root     root           72 lug 22 21:13 ranges
-r--r--r--    1 root     root            8 lug 22 21:13 reg
-r--r--r--    1 root     root            4 lug 22 21:13 #size-cells
-r--r--r--    1 root     root           11 lug 22 21:13 slot-names
lrwxrwxrwx    1 root     root           15 lug 22 21:13 uni-north-agp -> uni-north-agp@b
dr-xr-xr-x    2 root     root            0 lug 22 21:13 uni-north-agp@b
-r--r--r--    1 root     root            0 lug 22 21:13 write-combining


--
Bye.
   Giuliano.


** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2003-07-24  7:28 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-07-19 14:55 Radeon problems Giuliano Pochini
2003-07-19 16:20 ` Calum Selkirk
2003-07-20 15:54   ` Giuliano Pochini
2003-07-21 12:53 ` Paul Mackerras
2003-07-21 23:15   ` Michel Dänzer
2003-07-24  7:28   ` Giuliano Pochini
2003-07-21 18:54 ` Benjamin Herrenschmidt
2003-07-22 21:23 Giuliano Pochini
2003-07-22 21:27 ` Benjamin Herrenschmidt

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.