Skip to contentSkip to conversation

New: [drm:drm_crtc_helper_set_config] *ERROR* failed to set mode on [CRTC:6]

Bug 31961 [email protected] 1 participant 19 messages Nov 28, 2010 – Dec 4, 2019 1 message not in the archive

lore
Share & tools
lore
#0 lore raw

https://bugs.freedesktop.org/show_bug.cgi?id=31961

Summary: [drm:drm_crtc_helper_set_config] *ERROR* failed to set
mode on [CRTC:6]
Product: xorg
Version: git
Platform: x86 (IA32)
OS/Version: Linux (All)
Status: NEW
Severity: normal
Priority: medium
Component: Driver/nouveau
AssignedTo: [email protected]
ReportedBy: [email protected]
QAContact: [email protected]

I'm running Arch Linux 2010.05 i686 with a Compaq Presario SR1923WM (Running a AMD 3500+ and 1GB Ram).

Here is the box specs;
http://h10025.www1.hp.com/ewfrf/wc/document?docname=c00683218&tmp_task=prodinfoCategory&lc=en&dlc=en&cc=us&site=null&key=null&product=3208974

Xorg versions:
---------------
xorg-server-1.9.2-2
xf86-video-nouveau-0.0.16_git20100819-1
nouveau-dri-7.9-1

I noticed in dmesg these lines;

[drm:drm_crtc_helper_set_config] *ERROR* failed to set mode on [CRTC:6]
fbcon_init: detected unhandled fb_set_par error, error code -22 [drm:drm_crtc_helper_set_config] *ERROR* failed to set mode on [CRTC:6]
Console: switching to colour frame buffer device 90x36 [drm:drm_crtc_helper_set_config] *ERROR* failed to set mode on [CRTC:6]
fb0: nouveaufb frame buffer device
drm: registered panic notifier

Here are my logs;
--------------

dmesg:
http://pastebin.com/B9g95YGT

Xorg.0.log:
http://pastebin.com/jTW5mhAV

THANKS

Signature · 3 lines
Configure bugmail: https://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-31961-8800-V0hAGp6uBxMKqLRl/[email protected]/

#2 lore raw

[Bug 31961] [drm:drm_crtc_helper_set_config] *ERROR* failed to set mode on [CRTC:6]

https://bugs.freedesktop.org/show_bug.cgi?id=31961

--- Comment #1 from DasFox <[email protected]> 2010-11-28 13:21:58 PST --- Forgot to mention I compiled kernel 2.36.1....

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#3 lore raw

[Bug 31961] [drm:drm_crtc_helper_set_config] *ERROR* failed to set mode on [CRTC:6]

In reply to a message not in the archive

https://bugs.freedesktop.org/show_bug.cgi?id=31961

--- Comment #2 from DasFox <[email protected]> 2010-11-28 13:22:32 PST --- I mean 2.6.36.1... :)

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#4 lore raw

[Bug 31961] [drm:drm_crtc_helper_set_config] *ERROR* failed to set mode on [CRTC:6]

In reply to a message not in the archive

https://bugs.freedesktop.org/show_bug.cgi?id=31961

--- Comment #3 from Francisco Jerez <[email protected]> 2010-11-29 04:54:05 PST --- (In reply to comment #0)

Quoted 10 lines

I noticed in dmesg these lines;

[drm:drm_crtc_helper_set_config] *ERROR* failed to set mode on [CRTC:6]
fbcon_init: detected unhandled fb_set_par error, error code -22 [drm:drm_crtc_helper_set_config] *ERROR* failed to set mode on [CRTC:6]
Console: switching to colour frame buffer device 90x36 [drm:drm_crtc_helper_set_config] *ERROR* failed to set mode on [CRTC:6]
fb0: nouveaufb frame buffer device
drm: registered panic notifier

Any chance you could run the nvidia binary driver in that box with no outputs connected and no output-related options in xorg.conf? (e.g. make sure you don't have "UseDisplayDevice" or "ConnectedMonitor" lines) Then can you ssh in from another machine and grab a register dump (running this program as root:
http://cgit.freedesktop.org/~currojerez/tvdump/) and your Xorg log?

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#5 lore raw

[Bug 31961] [drm:drm_crtc_helper_set_config] *ERROR* failed to set mode on [CRTC:6]

In reply to a message not in the archive

https://bugs.freedesktop.org/show_bug.cgi?id=31961

--- Comment #4 from DasFox <[email protected]> 2010-11-29 14:14:30 PST --- Sorry I only have time to just report this...

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#6 lore raw

[Bug 31961] [drm:drm_crtc_helper_set_config] *ERROR* failed to set mode on [CRTC:6]

In reply to a message not in the archive

https://bugs.freedesktop.org/show_bug.cgi?id=31961

--- Comment #5 from wordpress <[email protected]> 2011-01-06 11:11:06 PST --- i have the same problem with the same motherboard. is the dump still needed? if
yes, i might be able to find sometime to do that...

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#7 lore raw

[Bug 31961] [drm:drm_crtc_helper_set_config] *ERROR* failed to set mode on [CRTC:6]

In reply to a message not in the archive

https://bugs.freedesktop.org/show_bug.cgi?id=31961

--- Comment #6 from Lucas Stach <[email protected]> 2011-02-10 06:31:04 PST --- (In reply to comment #5)

Quoted 2 lines

i have the same problem with the same motherboard. is the dump still needed? if yes, i might be able to find sometime to do that...

If you still have this problem with recent code, a dump would be highly appreciated. Thanks.

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#8 lore raw

[Bug 31961] [drm:drm_crtc_helper_set_config] *ERROR* failed to set mode on [CRTC:6]

In reply to a message not in the archive

https://bugs.freedesktop.org/show_bug.cgi?id=31961

--- Comment #7 from [email protected] 2011-05-18 12:37:56 PDT --- On a fresh F15.RC1 install, I can't get past the login screen due to this bug.

My dmesg output is the same as previously posted.

My motherboard:

dmidecode | grep -i 'Base Board Information' -A4 -B1 Handle 0x0002, DMI type 2, 8 bytes
Base Board Information

    Manufacturer: Hewlett-Packard
    Product Name: 0844
    Version: 123
    Serial Number: [omitted]

My graphics card:

lspci | grep 'VGA'
01:00.0 VGA compatible controller: nVidia Corporation NV18GL [Quadro4 380 XGL] (rev a2)

I am considering trying to remove the nouveau driver and replacing it with the proprietary driver. Is there an alternative to this?

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#9 lore raw

[Bug 31961] [drm:drm_crtc_helper_set_config] *ERROR* failed to set mode on [CRTC:6]

In reply to a message not in the archive

https://bugs.freedesktop.org/show_bug.cgi?id=31961

--- Comment #8 from Lucas Stach <[email protected]> 2011-05-18 13:08:46 PDT --- (In reply to comment #7)

Quoted 3 lines

On a fresh F15.RC1 install, I can't get past the login screen due to this bug.

My dmesg output is the same as previously posted.

[...]

Quoted 2 lines

I am considering trying to remove the nouveau driver and replacing it with the proprietary driver. Is there an alternative to this?

Please upload dmesg with drm.debug=1 added to your kernel command line. This could help to narrow down the problem.

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#10 lore raw

[Bug 31961] [drm:drm_crtc_helper_set_config] *ERROR* failed to set mode on [CRTC:6]

In reply to a message not in the archive

https://bugs.freedesktop.org/show_bug.cgi?id=31961

--- Comment #9 from Alex <[email protected]> 2011-10-31 12:45:31 PDT --- Created attachment 52967
--> https://bugs.freedesktop.org/attachment.cgi?id=52967
dmesg with drm.debug=1 set

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#11 lore raw

[Bug 31961] [drm:drm_crtc_helper_set_config] *ERROR* failed to set mode on [CRTC:6]

In reply to a message not in the archive

https://bugs.freedesktop.org/show_bug.cgi?id=31961

--- Comment #10 from Alex <[email protected]> 2011-10-31 12:47:52 PDT --- I have an HP Pavilion s7700n with GeForce 6150 LE.

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#12 lore raw

[Bug 31961] [drm:drm_crtc_helper_set_config] *ERROR* failed to set mode on [CRTC:6]

In reply to a message not in the archive

https://bugs.freedesktop.org/show_bug.cgi?id=31961

--- Comment #11 from Salah Coronya <[email protected]> 2012-05-08 16:46:17 PDT --- I have a HP1730n, ALSO with a GeForce 6150 LE, which has the same problem.
However if I specify the resolution manually on the kernel command
(video=VGA-1:1280x1024) and X (Option "PreferredMode" "1280x1024"), this does
not occur.

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#13 lore raw

[Bug 31961] [drm:drm_crtc_helper_set_config] *ERROR* failed to set mode on [CRTC:6]

In reply to a message not in the archive

https://bugs.freedesktop.org/show_bug.cgi?id=31961

--- Comment #12 from Salah Coronya <[email protected]> 2012-06-02 00:45:57 PDT --- Created attachment 62407
--> https://bugs.freedesktop.org/attachment.cgi?id=62407
dmesg, kernel 3.4.0 drm.debug=0x06

Here's a better dmesg, however instead of being CTRC 5 and 6; they are 9 and 10 (and so the error is "*ERROR* failed to set mode on [CRTC:10]"). CRTC:9 is the VGA output, and CRTC:10 is the TV output. However, this card (an NV4E - GeForce 6150 LE - integrated onto the motherboard) HAS no TV output (or a DVI output either, which is also detected). So CRTC:10 is connected to a phantom output. Curiously enough, the framebuffer has a physical resolution of CRTC:9 (the VGA), but a virtual resolution of CRTC:10 (the phantom TV output) - so it only fills part of the screen.

Adding "video=VGA-1:1280x1024 video=TV-1:d video=DVI-D-1:d" works around the problem; xorg.conf needs a similar setup to disable the "phantom" output and specific a sane default resolution for the real one, like this:

Section "Monitor"
Identifier "TV-1"
Option "Ignore" "True"
EndSection

Section "Monitor"
Identifier "DVI-D-1"
Option "Ignore" "True"
EndSection

Section "Monitor"

    Identifier "VGA-1"
    Option "PreferredMode" "1280x1024"

EndSection

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#14 lore raw

[Bug 31961] [drm:drm_crtc_helper_set_config] *ERROR* failed to set mode on [CRTC:6]

In reply to a message not in the archive

https://bugs.freedesktop.org/show_bug.cgi?id=31961

--- Comment #13 from Salah Coronya <[email protected]> 2012-06-07 21:49:13 PDT --- Created attachment 62778
--> https://bugs.freedesktop.org/attachment.cgi?id=62778
video ROM BOIS

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#15 lore raw

[Bug 31961] [NV4E] [drm:drm_crtc_helper_set_config] *ERROR* failed to set mode on [CRTC:6]

In reply to a message not in the archive

https://bugs.freedesktop.org/show_bug.cgi?id=31961

Ilia Mirkin <imirkin-FrUbXkNCsVf2fBVCVOL8/[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

            Summary|[drm:drm_crtc_helper_set_co |[NV4E]
                   |nfig] *ERROR* failed to set |[drm:drm_crtc_helper_set_co
                   |mode on [CRTC:6]            |nfig] *ERROR* failed to set
                   |                            |mode on [CRTC:6]

--- Comment #14 from Ilia Mirkin <imirkin-FrUbXkNCsVf2fBVCVOL8/[email protected]> --- Could you retest this on the latest kernel? Also, after reading all the comments, it's still not really clear to me what the problem is? An annoying print in dmesg? What's the effect of the bug? nouveau will always detect phantom connectors, they're there, just not pinned out on your motherboard/whatever.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
Nouveau mailing list [email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau

#16 lore raw

[Bug 31961] [NV4E] [drm:drm_crtc_helper_set_config] *ERROR* failed to set mode on [CRTC:6]

In reply to a message not in the archive

https://bugs.freedesktop.org/show_bug.cgi?id=31961

--- Comment #15 from Salah Coronya <[email protected]> --- Yes, it still does (as of 3b56bba6abaa70d629fccdcf8490e087ea3a1ab4 in mouveau-master) it unles the workaround in Comment 12 (set the resolution an mnaully disable the phantom ports on the kernel command line) is applied.

There (at least) 2 symptoms - first, the syslog is spammed with "[drm:drm_crtc_helper_set_config] *ERROR* failed to set mode on [CRTC:10] message." Second, the framebuffer conole is set with a phyical resolution of 1280x1024 but a virtual resolution of 720x576 - so as a result is only fills part of the screen, and it can't be changed with fbset (ioctl
FBIOPUT_VSCREENINFO: Invalid argument) - and attempting to do so generated more syslog spam

X11 displays normally, however, (it picks a resolution 1024x768 and fills the screen) - though it still spams the syslog.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
Nouveau mailing list [email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau

#17 lore raw

[Bug 31961] [NV4E] [drm:drm_crtc_helper_set_config] *ERROR* failed to set mode on [CRTC:6]

In reply to a message not in the archive

https://bugs.freedesktop.org/show_bug.cgi?id=31961

--- Comment #16 from Salah Coronya <[email protected]> --- Created attachment 88024
--> https://bugs.freedesktop.org/attachment.cgi?id=88024&action=edit
EDID (retrieved from sysfs)

Passing drm_kms_helper.edid_firmware=edid/1280x1024.bin to the kernel command line seems to fix the problem as well.

Otput of parse-edid:

parse-edid: parse-edid version 2.0.0
parse-edid: EDID checksum passed.

# EDID version 1 revision 3
Section "Monitor"

    # Block type: 2:0 3:fd
    # Block type: 2:0 3:fc
    Identifier "KDS XF-70 "
    VendorName "STC"
    ModelName "KDS XF-70 "
    # Block type: 2:0 3:fd
    HorizSync 30-72
    VertRefresh 50-160
    # Max dot clock (video bandwidth) 110 MHz
    # Block type: 2:0 3:fc
    # Block type: 2:0 3:ff
    # DPMS capabilities: Active off:yes  Suspend:yes  Standby:yes

    Mode     "1024x768"    # vfreq 75.029Hz, hfreq 60.023kHz
        DotClock    78.750000
        HTimings    1024 1040 1136 1312
        VTimings    768 769 772 800
        Flags    "+HSync" "+VSync"
    EndMode
    # Block type: 2:0 3:fd
    # Block type: 2:0 3:fc
    # Block type: 2:0 3:ff

EndSection

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
Nouveau mailing list [email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau

#18 lore raw

[Bug 31961] [NV4E] [drm:drm_crtc_helper_set_config] *ERROR* failed to set mode on [CRTC:6]

In reply to a message not in the archive

https://bugs.freedesktop.org/show_bug.cgi?id=31961

Salah Coronya <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

  Attachment #88024|text/plain                  |application/octet-stream
          mime type|                            |
Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
Nouveau mailing list [email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau

#19 lore raw

[Bug 31961] [NV4E] [drm:drm_crtc_helper_set_config] *ERROR* failed to set mode on [CRTC:6]

In reply to a message not in the archive

https://bugs.freedesktop.org/show_bug.cgi?id=31961

Martin Peres <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

         Resolution|---                         |MOVED
             Status|NEW                         |RESOLVED

--- Comment #17 from Martin Peres <[email protected]> --- -- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance:
https://gitlab.freedesktop.org/xorg/driver/xf86-video-nouveau/issues/11.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
Nouveau mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/nouveau