All of lore.kernel.org
 help / color / mirror / Atom feed
* [nouveau-drm] failed to set mode on crtc
@ 2010-08-02 22:19 yaiba.kurogane-khu2bkKidpXVItvQsEIGlw
       [not found] ` <4C574463.3080201-khu2bkKidpXVItvQsEIGlw@public.gmane.org>
  0 siblings, 1 reply; 3+ messages in thread
From: yaiba.kurogane-khu2bkKidpXVItvQsEIGlw @ 2010-08-02 22:19 UTC (permalink / raw)
  To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW

  Hi. I have a problem with current kernel 2.6.35 and nouveau module 
compiled from git (today).From xorg.0.log I got information that no 
output was found.And here is some nasty kernel logs:

...
Aug  2 21:53:02 zilog kernel: Linux agpgart interface v0.103
Aug  2 21:53:02 zilog kernel: [drm] Initialized drm 1.1.0 20060810
Aug  2 21:53:02 zilog kernel: nouveau 0000:01:00.0: PCI INT A -> GSI 16 
(level, low) -> IRQ 16
Aug  2 21:53:02 zilog kernel: [drm] nouveau 0000:01:00.0: Detected an 
NV10 generation card (0x017100a3)
Aug  2 21:53:02 zilog kernel: [drm] nouveau 0000:01:00.0: Attempting to 
load BIOS image from PRAMIN
Aug  2 21:53:02 zilog kernel: [drm] nouveau 0000:01:00.0: ... appears to 
be valid
Aug  2 21:53:02 zilog kernel: [drm] nouveau 0000:01:00.0: BMP BIOS found
Aug  2 21:53:02 zilog kernel: [drm] nouveau 0000:01:00.0: BMP version 5.20
Aug  2 21:53:02 zilog kernel: [drm] nouveau 0000:01:00.0: Bios version 
04.17.00.18
Aug  2 21:53:02 zilog kernel: [drm] nouveau 0000:01:00.0: Found Display 
Configuration Block version 1.4
Aug  2 21:53:02 zilog kernel: [drm] nouveau 0000:01:00.0: No useful 
information in BIOS output table; adding all possible outputs
Aug  2 21:53:02 zilog kernel: [drm] nouveau 0000:01:00.0: Loading NV17 
power sequencing microcode
Aug  2 21:53:02 zilog kernel: [drm] nouveau 0000:01:00.0: Parsing VBIOS 
init table 0 at offset 0xC4D2
Aug  2 21:53:02 zilog kernel: [drm] nouveau 0000:01:00.0: Parsing VBIOS 
init table 1 at offset 0xC77E
Aug  2 21:53:02 zilog kernel: [drm] nouveau 0000:01:00.0: Parsing VBIOS 
init table 2 at offset 0xC5BC
Aug  2 21:53:02 zilog kernel: [drm] nouveau 0000:01:00.0: Parsing VBIOS 
init table 3 at offset 0xCC81
Aug  2 21:53:02 zilog kernel: [drm] nouveau 0000:01:00.0: Parsing VBIOS 
init table 4 at offset 0xC719
Aug  2 21:53:02 zilog kernel: [drm] nouveau 0000:01:00.0: Detected 64MiB 
VRAM
Aug  2 21:53:02 zilog kernel: [TTM] Zone  kernel: Available graphics 
memory: 320512 kiB.
Aug  2 21:53:02 zilog kernel: [TTM] Initializing pool allocator.
Aug  2 21:53:02 zilog kernel: [drm] nouveau 0000:01:00.0: 64 MiB GART 
(aperture)
Aug  2 21:53:02 zilog kernel: [drm] nouveau 0000:01:00.0: Saving VGA fonts
Aug  2 21:53:02 zilog kernel: [drm] nouveau 0000:01:00.0: Allocating 
FIFO number 0
Aug  2 21:53:02 zilog kernel: [drm] nouveau 0000:01:00.0: 
nouveau_channel_alloc: initialised FIFO 0
Aug  2 21:53:02 zilog kernel: [drm] nouveau 0000:01:00.0: Setting dpms 
mode 3 on vga encoder (output 0)
Aug  2 21:53:02 zilog kernel: [drm] nouveau 0000:01:00.0: Setting dpms 
mode 3 on tmds encoder (output 1)
Aug  2 21:53:02 zilog kernel: [drm] nouveau 0000:01:00.0: allocated 
1280x1024 fb: 0x48000, bo e6e43c00
Aug  2 21:53:02 zilog kernel: [drm:drm_crtc_helper_set_config] *ERROR* 
failed to set mode on crtc e72b1000
Aug  2 21:53:02 zilog kernel: fbcon_init: detected unhandled fb_set_par 
error, error code -22
Aug  2 21:53:02 zilog kernel: [drm:drm_crtc_helper_set_config] *ERROR* 
failed to set mode on crtc e72b1000
Aug  2 21:53:02 zilog kernel: Console: switching to colour frame buffer 
device 160x64
Aug  2 21:53:02 zilog kernel: [drm:drm_crtc_helper_set_config] *ERROR* 
failed to set mode on crtc e72b1000
Aug  2 21:53:02 zilog kernel: fb0: nouveaufb frame buffer device
Aug  2 21:53:02 zilog kernel: drm: registered panic notifier
Aug  2 21:53:02 zilog kernel: Slow work thread pool: Starting up
Aug  2 21:53:02 zilog kernel: Slow work thread pool: Ready
Aug  2 21:53:02 zilog kernel: [drm] Initialized nouveau 0.0.16 20090420 
for 0000:01:00.0 on minor 0
...

What is going on?

----------------------------------------------------------------------
Rozpocznij z nami zabawe ... czekamy na Ciebie w saloonie.
Sprawdz >> http://linkint.pl/f27ba

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

* Re: [nouveau-drm] failed to set mode on crtc
       [not found] ` <4C574463.3080201-khu2bkKidpXVItvQsEIGlw@public.gmane.org>
@ 2010-08-04 19:04   ` Francisco Jerez
  0 siblings, 0 replies; 3+ messages in thread
From: Francisco Jerez @ 2010-08-04 19:04 UTC (permalink / raw)
  To: yaiba.kurogane-khu2bkKidpXVItvQsEIGlw
  Cc: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW


[-- Attachment #1.1.1: Type: text/plain, Size: 407 bytes --]

yaiba.kurogane-khu2bkKidpXVItvQsEIGlw@public.gmane.org writes:

>  Hi. I have a problem with current kernel 2.6.35 and nouveau module
> compiled from git (today).From xorg.0.log I got information that no
> output was found.And here is some nasty kernel logs:
>
> [...]
> What is going on?
>
Your BIOS lacks some information we need for modesetting. The attached
patch should fix it, can you give it a try?


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1.1.2: nouveau_nodcb_init_or.patch --]
[-- Type: text/x-diff, Size: 574 bytes --]

diff --git a/drivers/gpu/drm/nouveau/nouveau_bios.c b/drivers/gpu/drm/nouveau/nouveau_bios.c
index 23a7bec..fc35e9d 100644
--- a/drivers/gpu/drm/nouveau/nouveau_bios.c
+++ b/drivers/gpu/drm/nouveau/nouveau_bios.c
@@ -5855,7 +5855,7 @@ static void fabricate_vga_output(struct dcb_table *dcb, int i2c, int heads)
 	entry->i2c_index = i2c;
 	entry->heads = heads;
 	entry->location = DCB_LOC_ON_CHIP;
-	/* "or" mostly unused in early gen crt modesetting, 0 is fine */
+	entry->or = 1;
 }
 
 static void fabricate_dvi_i_output(struct dcb_table *dcb, bool twoHeads)

[-- Attachment #1.2: Type: application/pgp-signature, Size: 229 bytes --]

[-- Attachment #2: Type: text/plain, Size: 181 bytes --]

_______________________________________________
Nouveau mailing list
Nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org
http://lists.freedesktop.org/mailman/listinfo/nouveau

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

* Re: [nouveau-drm] failed to set mode on crtc
@ 2010-08-05 18:56 yaiba.kurogane-khu2bkKidpXVItvQsEIGlw
  0 siblings, 0 replies; 3+ messages in thread
From: yaiba.kurogane-khu2bkKidpXVItvQsEIGlw @ 2010-08-05 18:56 UTC (permalink / raw)
  To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW

  Yes, your patch works with current nouveau-drm very well. Thank you.

----------------------------------------------------------------------
Najlepsza wyszukiwarka tanich lotow!
Sprawdz >>> http://linkint.pl/f27c3

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

end of thread, other threads:[~2010-08-05 18:56 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-08-05 18:56 [nouveau-drm] failed to set mode on crtc yaiba.kurogane-khu2bkKidpXVItvQsEIGlw
  -- strict thread matches above, loose matches on Subject: below --
2010-08-02 22:19 yaiba.kurogane-khu2bkKidpXVItvQsEIGlw
     [not found] ` <4C574463.3080201-khu2bkKidpXVItvQsEIGlw@public.gmane.org>
2010-08-04 19:04   ` Francisco Jerez

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.