* [Bug 25938] black screen on the iMac powerpc using nouveau
[not found] ` <bug-25938-8800-V0hAGp6uBxMKqLRl/0Ahz6D7qz1kEfGD2LY78lusg7I@public.gmane.org/>
@ 2010-01-13 10:45 ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2010-01-13 10:46 ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
` (8 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ @ 2010-01-13 10:45 UTC (permalink / raw)
To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW
http://bugs.freedesktop.org/show_bug.cgi?id=25938
--- Comment #1 from Andrea Tacconi <tacconet-VGgt2q2+T+FeoWH0uzbU5w@public.gmane.org> 2010-01-13 02:45:19 PST ---
Created an attachment (id=32608)
--> (http://bugs.freedesktop.org/attachment.cgi?id=32608)
dmesg TV-1 on
dmesg TV-1 on.
Wrong load detection and framebuffer console resolution switch to 720x576
--
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
^ permalink raw reply [flat|nested] 11+ messages in thread* [Bug 25938] black screen on the iMac powerpc using nouveau
[not found] ` <bug-25938-8800-V0hAGp6uBxMKqLRl/0Ahz6D7qz1kEfGD2LY78lusg7I@public.gmane.org/>
2010-01-13 10:45 ` [Bug 25938] " bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
@ 2010-01-13 10:46 ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2010-01-13 10:50 ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
` (7 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ @ 2010-01-13 10:46 UTC (permalink / raw)
To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW
http://bugs.freedesktop.org/show_bug.cgi?id=25938
--- Comment #2 from Andrea Tacconi <tacconet-VGgt2q2+T+FeoWH0uzbU5w@public.gmane.org> 2010-01-13 02:46:49 PST ---
the problem of black screen seems to be resolved adding the following patch:
Adding nv18 card identifier to Powerbook specific quirks
in nouveau kernel module:
diff nouveau_bios.c.old nouveau_bios.c
3199c3199
< if (script == LVDS_RESET && ((dev->pci_device & 0xffff) == 0x0179 ||
(dev->pci_device & 0xffff) == 0x0329))
---
> if (script == LVDS_RESET && ((dev->pci_device & 0xffff) == 0x0179 ||(dev->pci_device & 0xffff) == 0x0189 || (dev->pci_device & 0xffff) == 0x0329))
same as in xorg driver:
diff nv_bios.c.old nv_bios.c
2592c2592
< if (script == LVDS_RESET && ((pNv->Chipset & 0xffff) == 0x0179 ||
(pNv->Chipset & 0xffff) == 0x0329))
---
> if (script == LVDS_RESET && ((pNv->Chipset & 0xffff) == 0x0179 ||(pNv->Chipset & 0xffff) == 0x0189 || (pNv->Chipset & 0xffff) == 0x0329))
Now both framebuffer console and Xorg work.
But there is another problem with TV-out:
When turned on the TV output is in contrast with the LVDS output and set the
screen resolution of 720x576 on the console framebuffer.
--
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
^ permalink raw reply [flat|nested] 11+ messages in thread* [Bug 25938] black screen on the iMac powerpc using nouveau
[not found] ` <bug-25938-8800-V0hAGp6uBxMKqLRl/0Ahz6D7qz1kEfGD2LY78lusg7I@public.gmane.org/>
2010-01-13 10:45 ` [Bug 25938] " bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2010-01-13 10:46 ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
@ 2010-01-13 10:50 ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2010-01-13 11:05 ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
` (6 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ @ 2010-01-13 10:50 UTC (permalink / raw)
To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW
http://bugs.freedesktop.org/show_bug.cgi?id=25938
--- Comment #3 from Andrea Tacconi <tacconet-VGgt2q2+T+FeoWH0uzbU5w@public.gmane.org> 2010-01-13 02:50:54 PST ---
Created an attachment (id=32609)
--> (http://bugs.freedesktop.org/attachment.cgi?id=32609)
dmesg tv1 off
When TV-1 output was off, the screen resolution of framebuffer console was
1024x768 an the system works fine
--
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
^ permalink raw reply [flat|nested] 11+ messages in thread* [Bug 25938] black screen on the iMac powerpc using nouveau
[not found] ` <bug-25938-8800-V0hAGp6uBxMKqLRl/0Ahz6D7qz1kEfGD2LY78lusg7I@public.gmane.org/>
` (2 preceding siblings ...)
2010-01-13 10:50 ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
@ 2010-01-13 11:05 ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2010-01-13 14:50 ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
` (5 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ @ 2010-01-13 11:05 UTC (permalink / raw)
To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW
http://bugs.freedesktop.org/show_bug.cgi?id=25938
--- Comment #4 from Andrea Tacconi <tacconet@libero.it> 2010-01-13 03:05:55 PST ---
From apple documentation:
http://developer.apple.com/legacy/mac/library/documentation/Hardware/Developer_Notes/Macintosh_CPUs-G4/iMac_Sep03/03_Input-Output/q26bc_inout.html#//apple_ref/doc/uid/TP40000875-CH207-DontLinkElementID_14
Video Monitor Port
The iMac computer has a port for an external video monitor and supports video
mirroring mode. Video mirroring mode displays the same information on both
monitors, enabling the control of a presentation on one display, while allowing
an audience to watch the presentation on a second display or projector.
Due to display mirroring, the external monitor could have black borders during
mirroring, depending on the supported timings between the two displays and on
the monitor’s selection algotithm. Both displays show full-sized images only
when the display resolution for the second monitor is set to the first
display’s native resolution: 1440x900 on the 17-inch display and 1024x768 on
the 15-inch display.
The external monitor supports user-selectable display sizes up to 1600x1200 at
75 Hz.
Monitor Connector
The video display connector is a 14-pin rectangular connector, Hosiden TCX3143,
or compatible. The connector accepts either a VGA adapter or a composite
adapter. The system requires a composite adapter to use composite output over
this connector. The connector pins are identified in Table 3-3.
Figure 3-3 Video display connector
Video display connector
The pins and signals are listed in Table 3-8. An adapter is available for use
with monitors with VGA 15-pin miniature D-type connectors.
Table 3-8 Video signals for a VGA R-G-B display
Pin Signal name
1 Ground
2 VSync
3 Hsync
4 Red return
5 Red video
6 Green return
7 Green video
8 +5 volts
9 Blue video
10 DDC data
11 DDC clock
12 Ground
13 /Cable detect
14 Blue return
The cable detect function on pin 13 is implemented by connecting pin 13 to
ground in the display cable. The computer gathers the display's capabilities by
reading its EDID (Extended Display Identification Data) via DDC.
The video display connector is compliant with the VESA specification.
Video Display Adapter
The iMac computer detects the type of display adapter that is plugged in and
programs the graphics IC to route the appropriate video signals to the
connector. The signal assignments on the video connector when the composite
adapter is attached are shown in Table 3-9.
Table 3-9 Video signals for a TV display
Pin Signal name
1 Ground
2 n.c.
3 n.c.
4 Ground
5 S-video C
6 Ground
7 S-video Y
8 +5 volts
9 Composite video
10 DDC data
11 DDC clock
12 Ground
13 Ground (for /Cable Detect)
14 Ground
Composite video and S-video signals can be displayed on either an NTSC display
or a PAL display. When a display is connected by way of the composite adapter,
the computer detects this configuration and enables the composite and S-video
outputs. The settings for the resolutions and standards (NTSC or PAL) are then
selectable in System Preferences.
--
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Nouveau mailing list
Nouveau@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/nouveau
^ permalink raw reply [flat|nested] 11+ messages in thread* [Bug 25938] black screen on the iMac powerpc using nouveau
[not found] ` <bug-25938-8800-V0hAGp6uBxMKqLRl/0Ahz6D7qz1kEfGD2LY78lusg7I@public.gmane.org/>
` (3 preceding siblings ...)
2010-01-13 11:05 ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
@ 2010-01-13 14:50 ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2010-01-14 9:51 ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
` (4 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ @ 2010-01-13 14:50 UTC (permalink / raw)
To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW
http://bugs.freedesktop.org/show_bug.cgi?id=25938
--- Comment #5 from Francisco Jerez <currojerez-sGOZH3hwPm2sTnJN9+BGXg@public.gmane.org> 2010-01-13 06:50:31 PST ---
(In reply to comment #2)
> the problem of black screen seems to be resolved adding the following patch:
> Adding nv18 card identifier to Powerbook specific quirks
> in nouveau kernel module:
> diff nouveau_bios.c.old nouveau_bios.c
> 3199c3199
> < if (script == LVDS_RESET && ((dev->pci_device & 0xffff) == 0x0179 ||
> (dev->pci_device & 0xffff) == 0x0329))
> ---
> > if (script == LVDS_RESET && ((dev->pci_device & 0xffff) == 0x0179 ||(dev->pci_device & 0xffff) == 0x0189 || (dev->pci_device & 0xffff) == 0x0329))
>
Would you mind sending a properly formatted, Signed-off-by patch with this to
the ML? (You might want to read Documentation/SubmittingPatches in the kernel
tree first).
> same as in xorg driver:
>
> diff nv_bios.c.old nv_bios.c
> 2592c2592
> < if (script == LVDS_RESET && ((pNv->Chipset & 0xffff) == 0x0179 ||
> (pNv->Chipset & 0xffff) == 0x0329))
> ---
> > if (script == LVDS_RESET && ((pNv->Chipset & 0xffff) == 0x0179 ||(pNv->Chipset & 0xffff) == 0x0189 || (pNv->Chipset & 0xffff) == 0x0329))
>
No need to do this anymore, this code has just been nuked.
> Now both framebuffer console and Xorg work.
>
> But there is another problem with TV-out:
> When turned on the TV output is in contrast with the LVDS output and set the
> screen resolution of 720x576 on the console framebuffer.
>
These integrated apple connectors aren't really supported yet, an mmiotrace
from the blob would be useful (See [1] or the docs in the kernel tree for
instructions).
[1] http://nouveau.freedesktop.org/wiki/MmioTrace
--
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
^ permalink raw reply [flat|nested] 11+ messages in thread* [Bug 25938] black screen on the iMac powerpc using nouveau
[not found] ` <bug-25938-8800-V0hAGp6uBxMKqLRl/0Ahz6D7qz1kEfGD2LY78lusg7I@public.gmane.org/>
` (4 preceding siblings ...)
2010-01-13 14:50 ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
@ 2010-01-14 9:51 ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2010-01-14 14:13 ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
` (3 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ @ 2010-01-14 9:51 UTC (permalink / raw)
To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW
http://bugs.freedesktop.org/show_bug.cgi?id=25938
--- Comment #6 from Andrea Tacconi <tacconet-VGgt2q2+T+FeoWH0uzbU5w@public.gmane.org> 2010-01-14 01:51:42 PST ---
From: Andrea Tacconi <tacconet-VGgt2q2+T+FeoWH0uzbU5w@public.gmane.org>
Subject: [PATCH] drm/nouveau: add NV18 device id to
call_lvds_manufacturer_script
This fixes imac black screen (NV18 card)
Signed-off-by: Andrea Tacconi <tacconet-VGgt2q2+T+FeoWH0uzbU5w@public.gmane.org>
---
diff --git a/drivers/gpu/drm/nouveau/nouveau_bios.c
b/drivers/gpu/drm/nouveau/nouveau_bios.c
index ba14397..e24f2a8 100644
--- a/drivers/gpu/drm/nouveau/nouveau_bios.c
+++ b/drivers/gpu/drm/nouveau/nouveau_bios.c
@@ -3196,7 +3196,7 @@ static int call_lvds_manufacturer_script(struct
drm_device *dev, struct dcb_entr
}
#ifdef __powerpc__
/* Powerbook specific quirks */
- if (script == LVDS_RESET && ((dev->pci_device & 0xffff) == 0x0179 ||
(dev->pci_device & 0xffff) == 0x0329))
+ if (script == LVDS_RESET && ((dev->pci_device & 0xffff) == 0x0179 ||
(dev->pci_device & 0xffff) == 0x0189 || (dev->pci_device & 0xffff) == 0x0329))
nv_write_tmds(dev, dcbent->or, 0, 0x02, 0x72);
if ((dev->pci_device & 0xffff) == 0x0179 || (dev->pci_device & 0xffff)
== 0x0189 || (dev->pci_device & 0xffff) == 0x0329) {
if (script == LVDS_PANEL_ON) {
--
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
^ permalink raw reply related [flat|nested] 11+ messages in thread* [Bug 25938] black screen on the iMac powerpc using nouveau
[not found] ` <bug-25938-8800-V0hAGp6uBxMKqLRl/0Ahz6D7qz1kEfGD2LY78lusg7I@public.gmane.org/>
` (5 preceding siblings ...)
2010-01-14 9:51 ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
@ 2010-01-14 14:13 ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2010-01-15 8:55 ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
` (2 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ @ 2010-01-14 14:13 UTC (permalink / raw)
To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW
http://bugs.freedesktop.org/show_bug.cgi?id=25938
--- Comment #7 from Francisco Jerez <currojerez-sGOZH3hwPm2sTnJN9+BGXg@public.gmane.org> 2010-01-14 06:13:11 PST ---
(In reply to comment #6)
> From: Andrea Tacconi <tacconet-VGgt2q2+T+FeoWH0uzbU5w@public.gmane.org>
>
> Subject: [PATCH] drm/nouveau: add NV18 device id to
> call_lvds_manufacturer_script
>
> This fixes imac black screen (NV18 card)
>
> Signed-off-by: Andrea Tacconi <tacconet-VGgt2q2+T+FeoWH0uzbU5w@public.gmane.org>
> ---
> diff --git a/drivers/gpu/drm/nouveau/nouveau_bios.c
> b/drivers/gpu/drm/nouveau/nouveau_bios.c
> index ba14397..e24f2a8 100644
> --- a/drivers/gpu/drm/nouveau/nouveau_bios.c
> +++ b/drivers/gpu/drm/nouveau/nouveau_bios.c
> @@ -3196,7 +3196,7 @@ static int call_lvds_manufacturer_script(struct
> drm_device *dev, struct dcb_entr
> }
> #ifdef __powerpc__
> /* Powerbook specific quirks */
> - if (script == LVDS_RESET && ((dev->pci_device & 0xffff) == 0x0179 ||
> (dev->pci_device & 0xffff) == 0x0329))
> + if (script == LVDS_RESET && ((dev->pci_device & 0xffff) == 0x0179 ||
> (dev->pci_device & 0xffff) == 0x0189 || (dev->pci_device & 0xffff) == 0x0329))
> nv_write_tmds(dev, dcbent->or, 0, 0x02, 0x72);
> if ((dev->pci_device & 0xffff) == 0x0179 || (dev->pci_device & 0xffff)
> == 0x0189 || (dev->pci_device & 0xffff) == 0x0329) {
> if (script == LVDS_PANEL_ON) {
>
Thanks, pushed, but please, next time you send a patch use the mailing list,
bugzilla adds some gratuitous line breaks and I had to do it manually.
--
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
^ permalink raw reply [flat|nested] 11+ messages in thread* [Bug 25938] black screen on the iMac powerpc using nouveau
[not found] ` <bug-25938-8800-V0hAGp6uBxMKqLRl/0Ahz6D7qz1kEfGD2LY78lusg7I@public.gmane.org/>
` (6 preceding siblings ...)
2010-01-14 14:13 ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
@ 2010-01-15 8:55 ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2010-01-15 8:58 ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2011-03-07 18:48 ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
9 siblings, 0 replies; 11+ messages in thread
From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ @ 2010-01-15 8:55 UTC (permalink / raw)
To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW
http://bugs.freedesktop.org/show_bug.cgi?id=25938
--- Comment #8 from Andrea Tacconi <tacconet-VGgt2q2+T+FeoWH0uzbU5w@public.gmane.org> 2010-01-15 00:55:14 PST ---
Created an attachment (id=32652)
--> (http://bugs.freedesktop.org/attachment.cgi?id=32652)
patch bzip2
(In reply to comment #7)
>
> Thanks, pushed, but please, next time you send a patch use the mailing list,
> bugzilla adds some gratuitous line breaks and I had to do it manually.
>
I'm Sorry but I didn't know this.
--
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
^ permalink raw reply [flat|nested] 11+ messages in thread* [Bug 25938] black screen on the iMac powerpc using nouveau
[not found] ` <bug-25938-8800-V0hAGp6uBxMKqLRl/0Ahz6D7qz1kEfGD2LY78lusg7I@public.gmane.org/>
` (7 preceding siblings ...)
2010-01-15 8:55 ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
@ 2010-01-15 8:58 ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2011-03-07 18:48 ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
9 siblings, 0 replies; 11+ messages in thread
From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ @ 2010-01-15 8:58 UTC (permalink / raw)
To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW
http://bugs.freedesktop.org/show_bug.cgi?id=25938
Andrea Tacconi <tacconet-VGgt2q2+T+FeoWH0uzbU5w@public.gmane.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #32652|0 |1
is obsolete| |
--- Comment #9 from Andrea Tacconi <tacconet-VGgt2q2+T+FeoWH0uzbU5w@public.gmane.org> 2010-01-15 00:58:36 PST ---
Created an attachment (id=32653)
--> (http://bugs.freedesktop.org/attachment.cgi?id=32653)
patch bzip2
damn another mistake...
--
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
^ permalink raw reply [flat|nested] 11+ messages in thread* [Bug 25938] black screen on the iMac powerpc using nouveau
[not found] ` <bug-25938-8800-V0hAGp6uBxMKqLRl/0Ahz6D7qz1kEfGD2LY78lusg7I@public.gmane.org/>
` (8 preceding siblings ...)
2010-01-15 8:58 ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
@ 2011-03-07 18:48 ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
9 siblings, 0 replies; 11+ messages in thread
From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ @ 2011-03-07 18:48 UTC (permalink / raw)
To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW
https://bugs.freedesktop.org/show_bug.cgi?id=25938
Marcin Slusarz <marcin.slusarz-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
--- Comment #10 from Marcin Slusarz <marcin.slusarz-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> 2011-03-07 10:48:17 PST ---
Patch was commited, so I'm closing this bug report as FIXED.
--
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
^ permalink raw reply [flat|nested] 11+ messages in thread