New: randr12 not working with nv25
http://bugs.freedesktop.org/show_bug.cgi?id=14991
Summary: randr12 not working with nv25
Product: xorg
Version: unspecified
Platform: x86 (IA32)
OS/Version: Linux (All)
Status: NEW
Severity: normal
Priority: medium
Component: Driver/nouveau
AssignedTo: [email protected]
ReportedBy: pl4nkton-gM/[email protected]
QAContact: [email protected]
Created an attachment (id=15091)
--> (http://bugs.freedesktop.org/attachment.cgi?id=15091)
xlog
if randr12 is enabled xserver hung with black screen. drm debug output is the same as without.
(II) NOUVEAU(0): EDID vendor "ENC", prod id 6022 (II) NOUVEAU(0): nv_analog_output_detect is called. -- black screen - nothing happen for some time (II) NOUVEAU(0): Setting owner: 0x0.
(II) NOUVEAU(0): Setting owner: 0x0.
-- still no image - stop x
(II) NOUVEAU(0): NVCloseScreen is called.
Signature · 3 lines
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
A message that is not in the archive (sent off-list or not yet received): bug-14991-8800-V0hAGp6uBxMKqLRl/[email protected]/
[Bug 14991] randr12 not working with nv25
http://bugs.freedesktop.org/show_bug.cgi?id=14991
--- Comment #1 from pl4nkton-gM/[email protected] 2008-03-13 10:05:22 PST --- Created an attachment (id=15094)
--> (http://bugs.freedesktop.org/attachment.cgi?id=15094)
xlog randr12 modeset_trace
Signature · 3 lines
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
[Bug 14991] randr12 not working with nv25
In reply to a message not in the archivehttp://bugs.freedesktop.org/show_bug.cgi?id=14991
Stuart Bennett <sb476-KWPb1pKIrIJaa/[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |sb476-KWPb1pKIrIJaa/[email protected]
--- Comment #2 from Stuart Bennett <sb476-KWPb1pKIrIJaa/[email protected]> 2008-03-13 16:21:00 PST --- I assume the monitor is correctly detected as being attached on DVI-D? Assuming
this is so, this is not expected to work currently on your particular card as a
separate TMDS chip needs programming up, so there's going to be some work in
getting it going.
Do the VGA and DVI-A connections work as expected?
Signature · 3 lines
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
[Bug 14991] randr12 not working with nv25
In reply to a message not in the archivehttp://bugs.freedesktop.org/show_bug.cgi?id=14991
--- Comment #3 from pl4nkton-gM/[email protected] 2008-03-18 13:59:10 PST --- Yes VGA and DVI-A works well. I tried only booting with the screen connected at boot, but no "hot plugging" and detection while xserver is runing.
Connected with DVI-D the screen stay on but shows only black. The driver
detects the right mode.
Signature · 3 lines
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
[Bug 14991] randr12 not working with nv25
In reply to a message not in the archivehttp://bugs.freedesktop.org/show_bug.cgi?id=14991
--- Comment #4 from Stuart Bennett <sb476-KWPb1pKIrIJaa/[email protected]> 2008-03-26 10:15:50 PST --- If only the DVI output is used at boot, does it work with nouveau in
non-randr12 mode or the nv driver? If it does:
git clone git://people.freedesktop.org/~airlied/radeontool
git checkout origin/nvidia
make
then run "./radeontool regs > logfile", both when in the working non-randr12 state, and (if possible) remotely over ssh when in the broken randr12 state, and attach the logs to this bug.
If nv / non-randr12 doesn't work, but console mode does, comparative working/non-working dumps would still be useful.
Signature · 3 lines
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
[Bug 14991] randr12 not working with nv25
In reply to a message not in the archivehttp://bugs.freedesktop.org/show_bug.cgi?id=14991
--- Comment #5 from pl4nkton-gM/[email protected] 2008-03-26 13:47:00 PST --- Created an attachment (id=15481)
--> (http://bugs.freedesktop.org/attachment.cgi?id=15481)
radeontool regs output - different configs
dvi-d works with nv and nouveau no randr12 when the screen is connected from boot.
this is the dvi-d chip on the card. I'm not sure if I2C is connected but in the datasheet is a description of registers.
http://www.siliconimage.com/docs/SiI-DS-0021-E-164.pdf
Signature · 3 lines
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
[Bug 14991] randr12 not working with nv25
In reply to a message not in the archivehttp://bugs.freedesktop.org/show_bug.cgi?id=14991
--- Comment #6 from Maarten Maathuis <[email protected]> 2008-03-26 14:00:02 PST --- I think something went wrong, that log is filled mostly with zeros and some
random stuff.
Signature · 3 lines
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
[Bug 14991] randr12 not working with nv25
In reply to a message not in the archivehttp://bugs.freedesktop.org/show_bug.cgi?id=14991
--- Comment #7 from Stuart Bennett <sb476-KWPb1pKIrIJaa/[email protected]> 2008-03-26 14:11:00 PST --- While bringing up the SIL may be eventually interesting, we first ought to be
able to bring up a display by not breaking the existing setup (as in the
non-randr12 case) -- radeontool dumps should let us do this.
Unfortunately the radeontool dumps you provided are broken, as you have many nvidia pci devices, and radeontool is somewhat stupid :)
To fix this, change radeontool.c line 501 from radeon_cntl_mem = map_devince_memory(base,0x700000);
to
radeon_cntl_mem = map_devince_memory(0xe4000000,0x700000);
recompile, and dump again (logfile_nouveau and log_nouv_r12 being the interesting ones)
Signature · 3 lines
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
[Bug 14991] randr12 not working with nv25
In reply to a message not in the archivehttp://bugs.freedesktop.org/show_bug.cgi?id=14991
pl4nkton-gM/[email protected] changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #15481|0 |1
is obsolete| |
--- Comment #8 from pl4nkton-gM/[email protected] 2008-03-26 14:47:12 PST --- Created an attachment (id=15482)
--> (http://bugs.freedesktop.org/attachment.cgi?id=15482)
radeontool regs output - different configs
Signature · 3 lines
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
[Bug 14991] randr12 not working with nv25
In reply to a message not in the archivehttp://bugs.freedesktop.org/show_bug.cgi?id=14991
--- Comment #9 from Stuart Bennett <sb476-KWPb1pKIrIJaa/[email protected]> 2008-03-26 14:56:30 PST --- Please make the with-randr12 dump again, with the following change tonv_output.c:
src/nv_output.c +1 -0
@@ -1113,6 +1113,7 @@ void NvSetupOutputs(ScrnInfoPtr pScrn)sprintf (outputname,"DVI-A-%d" , dvia_count++);break ;case OUTPUT_TMDS : + pNv->dcb_table.entry[i].heads =2 ;sprintf (outputname,"DVI-D-%d" , dvid_count++);break ;case OUTPUT_TV :
Signature · 3 lines
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
[Bug 14991] randr12 not working with nv25
In reply to a message not in the archivehttp://bugs.freedesktop.org/show_bug.cgi?id=14991
--- Comment #10 from Stuart Bennett <sb476-KWPb1pKIrIJaa/[email protected]> 2008-03-26 15:24:56 PST --- Created an attachment (id=15486)
--> (http://bugs.freedesktop.org/attachment.cgi?id=15486)
Possibility 1
A possible patch (given that the hack in the previous comment fixed it)
Signature · 3 lines
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
[Bug 14991] randr12 not working with nv25
In reply to a message not in the archivehttp://bugs.freedesktop.org/show_bug.cgi?id=14991
--- Comment #11 from Stuart Bennett <sb476-KWPb1pKIrIJaa/[email protected]> 2008-03-26 15:25:23 PST --- Created an attachment (id=15487)
--> (http://bugs.freedesktop.org/attachment.cgi?id=15487)
Possibility 2
A second option
Signature · 3 lines
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
[Bug 14991] randr12 not working with nv25
In reply to a message not in the archivehttp://bugs.freedesktop.org/show_bug.cgi?id=14991
--- Comment #12 from pl4nkton-gM/[email protected] 2008-03-26 15:38:17 PST --- Created an attachment (id=15488)
--> (http://bugs.freedesktop.org/attachment.cgi?id=15488)
xlog randr12, regs
hack from comment 9 make it working
Signature · 3 lines
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
[Bug 14991] randr12 not working with nv25
In reply to a message not in the archivehttp://bugs.freedesktop.org/show_bug.cgi?id=14991
--- Comment #13 from Stuart Bennett <sb476-KWPb1pKIrIJaa/[email protected]> 2008-04-03 15:23:46 PST --- If you feel like having a poke at some registers, I've a couple of candidates
-- CR59 and 0x6808c0. What this means in practice, is running *without* the
comment 9 hack, and trying (via ssh) all four combinations of:
./radeontool regset C0:59 M where M is 0 or 1
and
./radeontool regset 0x6808c0 N where N is 0 or 0x100
It may not do much, but at least we can discount them afterwards :-)
Signature · 3 lines
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
[Bug 14991] randr12 not working with nv25
In reply to a message not in the archivehttp://bugs.freedesktop.org/show_bug.cgi?id=14991
--- Comment #14 from pl4nkton-gM/[email protected] 2008-04-04 04:08:54 PST --- I can't see any difference. The regs was 1 / 0x100.
Signature · 3 lines
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
[Bug 14991] randr12 not working with nv25
In reply to a message not in the archivehttp://bugs.freedesktop.org/show_bug.cgi?id=14991
--- Comment #15 from Stuart Bennett <sb476-KWPb1pKIrIJaa/[email protected]> 2008-04-26 16:56:33 PST --- Please test whether it now works with an unmodified copy of the latest code in
git. If it does, testing whether changing between CRTC 0 and 1 with "xrandr
--output DVI-D-0 --mode something --crtc n" works would be a good additional
test.
Signature · 3 lines
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
[Bug 14991] randr12 not working with nv25
In reply to a message not in the archivehttp://bugs.freedesktop.org/show_bug.cgi?id=14991
Stuart Bennett <sb476-KWPb1pKIrIJaa/[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Blocks| |14405
Signature · 3 lines
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
[Bug 14991] randr12 not working with nv25
In reply to a message not in the archivehttp://bugs.freedesktop.org/show_bug.cgi?id=14991
pl4nkton-gM/[email protected] changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED--- Comment #16 from pl4nkton-gM/[email protected] 2008-04-27 15:52:53 PST --- Now it works :) Also switching the crtc. Thank you.
Signature · 3 lines
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.