NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

xsrc/56934: modesetting driver fails to work after recent X.org update



>Number:         56934
>Category:       xsrc
>Synopsis:       modesetting driver fails to work after recent X.org update
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    xsrc-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Jul 19 01:20:00 +0000 2022
>Originator:     David H. Gutteridge
>Release:        HEAD as of July 16, 2022
>Organization:
TNF
>Environment:
NetBSD arcusxvi.nonus-porta.net 9.99.98 NetBSD 9.99.98 (GENERIC) #0: Sat Jul 16 06:27:24 UTC 2022  mkrepro%mkrepro.NetBSD.org@localhost:/usr/src/sys/arch/amd64/compile/GENERIC amd64
>Description:
After upgrading via the sets available from releng builds from
July 16th (http://releng.netbsd.org/builds/HEAD/202207160630Z) I'm not
able to start X on amd64 with i915 graphics, using the modesetting driver.

If I move my xorg.conf out of the way and let X choose its default
(intel instead of modesetting), then it does start and run without
issue. (I'd understood that modesetting was now recommended over
intel?)

It's possible that the "Unknown vendor-specific block 0" output has
some relevance here.

Full Xorg.log follows.

[   377.937] 
X.Org X Server 1.21.1.4
X Protocol Version 11, Revision 0
[   377.937] Current Operating System: NetBSD arcusxvi.nonus-porta.net 9.99.98 NetBSD 9.99.98 (GENERIC) #0: Sat Jul 16 06:27:24 UTC 2022  mkrepro%mkrepro.NetBSD.org@localhost:/usr/src/sys/arch/amd64/compile/GENERIC amd64
[   377.938]  
[   377.938] Current version of pixman: 0.38.4
[   377.938]    Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
[   377.938] Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[   377.941] (==) Log file: "/var/log/Xorg.0.log", Time: Sat Jul 16 22:09:11 2022
[   377.941] (==) Using config file: "/etc/X11/xorg.conf"
[   377.941] (==) No Layout section.  Using the first Screen section.
[   377.941] (==) No screen section available. Using defaults.
[   377.941] (**) |-->Screen "Default Screen Section" (0)
[   377.941] (**) |   |-->Monitor "<default monitor>"
[   377.942] (==) No device specified for screen "Default Screen Section".
        Using the first device section listed.
[   377.942] (**) |   |-->Device "Card0"
[   377.942] (==) No monitor specified for screen "Default Screen Section".
        Using a default monitor configuration.
[   377.942] (==) Automatically adding devices
[   377.942] (==) Automatically enabling devices
[   377.942] (==) Not automatically adding GPU devices
[   377.942] (==) Automatically binding GPU devices
[   377.942] (==) Max clients allowed: 256, resource mask: 0x1fffff
[   377.942] (WW) The directory "/usr/pkg/share/fonts/X11/misc/" does not exist.
[   377.942]    Entry deleted from font path.
[   377.943] (WW) The directory "/usr/pkg/share/fonts/X11/Type1/" does not exist.
[   377.943]    Entry deleted from font path.
[   377.943] (WW) The directory "/usr/pkg/share/fonts/X11/75dpi/" does not exist.
[   377.943]    Entry deleted from font path.
[   377.943] (WW) The directory "/usr/pkg/share/fonts/X11/100dpi/" does not exist.
[   377.943]    Entry deleted from font path.
[   377.943] (==) FontPath set to:
        /usr/X11R7/lib/X11/fonts/misc/,
        /usr/X11R7/lib/X11/fonts/TTF/,
        /usr/X11R7/lib/X11/fonts/Type1/,
        /usr/X11R7/lib/X11/fonts/75dpi/,
        /usr/X11R7/lib/X11/fonts/100dpi/,
        /usr/pkg/share/fonts/X11/TTF/
[   377.943] (==) ModulePath set to "/usr/X11R7/lib/modules"
[   377.943] (II) The server relies on wscons to provide the list of input devices.
        If no devices become available, reconfigure wscons or disable AutoAddDevices.
[   377.943] (II) Loader magic: 0x146a94c00
[   377.943] (II) Module ABI versions:
[   377.943]    X.Org ANSI C Emulation: 0.4
[   377.943]    X.Org Video Driver: 25.2
[   377.943]    X.Org XInput driver : 24.4
[   377.943]    X.Org Server Extension : 10.0
[   377.954] (--) PCI:*(0@0:2:0) 8086:0166:1028:0532 rev 9, Mem @ 0xf6400000/4194304, 0xe0000000/268435456, I/O @ 0x0000f000/64
[   377.954] (II) LoadModule: "glx"
[   377.955] (II) Loading /usr/X11R7/lib/modules/extensions/libglx.so
[   377.955] (II) Module glx: vendor="X.Org Foundation"
[   377.955]    compiled for 1.21.1.4, module version = 1.0.0
[   377.955]    ABI class: X.Org Server Extension, version 10.0
[   377.955] (II) LoadModule: "modesetting"
[   377.956] (II) Loading /usr/X11R7/lib/modules/drivers/modesetting_drv.so
[   377.956] (II) Module modesetting: vendor="X.Org Foundation"
[   377.956]    compiled for 1.21.1.4, module version = 1.21.1
[   377.956]    Module class: X.Org Video Driver
[   377.956]    ABI class: X.Org Video Driver, version 25.2
[   377.956] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[   377.957] (--) Using wscons driver on /dev/ttyE4 in pcvt compatibility mode (version 3.32)
[   377.957] (--) using VT number 5
[   377.965] (**) modeset(0): claimed PCI slot 0@0:2:0
[   377.965] (II) modeset(0): using default device
[   377.965] (WW) VGA arbiter: cannot open kernel arbiter, no multi-card support
[   377.965] (II) modeset(0): Creating default Display subsection in Screen section
        "Default Screen Section" for depth/fbbpp 24/32
[   377.965] (==) modeset(0): Depth 24, (==) framebuffer bpp 32
[   377.965] (==) modeset(0): RGB weight 888
[   377.965] (==) modeset(0): Default visual is TrueColor
[   377.965] (II) Loading sub module "glamoregl"
[   377.966] (II) LoadModule: "glamoregl"
[   377.967] (II) Loading /usr/X11R7/lib/modules/libglamoregl.so
[   377.967] (II) Module glamoregl: vendor="X.Org Foundation"
[   377.967]    compiled for 1.21.1.4, module version = 1.0.1
[   377.967]    ABI class: X.Org ANSI C Emulation, version 0.4
[   378.000] (II) modeset(0): glamor X acceleration enabled on Mesa DRI Intel(R) Ivybridge Mobile 
[   378.000] (II) modeset(0): glamor initialized
[   378.000] (==) modeset(0): VariableRefresh: disabled
[   378.000] (==) modeset(0): AsyncFlipSecondaries: disabled
[   378.000] (II) modeset(0): Output LVDS-1 has no monitor section
[   378.003] (II) modeset(0): Output VGA-1 has no monitor section
[   378.005] (II) modeset(0): Output HDMI-1 has no monitor section
[   378.006] (II) modeset(0): Output DP-1 has no monitor section
[   378.009] (II) modeset(0): Output HDMI-2 has no monitor section
[   378.011] (II) modeset(0): Output HDMI-3 has no monitor section
[   378.012] (II) modeset(0): Output DP-2 has no monitor section
[   378.012] (II) modeset(0): Output DP-3 has no monitor section
[   378.012] (II) modeset(0): EDID for output LVDS-1
[   378.012] (II) modeset(0): Manufacturer: LGD  Model: 36c  Serial#: 0
[   378.013] (II) modeset(0): Year: 2012  Week: 0
[   378.013] (II) modeset(0): EDID Version: 1.4
[   378.013] (II) modeset(0): Digital Display Input
[   378.013] (II) modeset(0): 6 bits per channel
[   378.013] (II) modeset(0): Digital interface is undefined
[   378.013] (II) modeset(0): Max Image Size [cm]: horiz.: 28  vert.: 16
[   378.013] (II) modeset(0): Gamma: 2.20
[   378.013] (II) modeset(0): No DPMS capabilities specified
[   378.013] (II) modeset(0): Supported color encodings: RGB 4:4:4 YCrCb 4:4:4 
[   378.013] (II) modeset(0): First detailed timing is preferred mode
[   378.013] (II) modeset(0): Preferred mode is native pixel format and refresh rate
[   378.013] (II) modeset(0): redX: 0.585 redY: 0.345   greenX: 0.333 greenY: 0.555
[   378.013] (II) modeset(0): blueX: 0.157 blueY: 0.123   whiteX: 0.313 whiteY: 0.329
[   378.013] (II) modeset(0): Manufacturer's mask: 0
[   378.013] (II) modeset(0): Supported detailed timing:
[   378.013] (II) modeset(0): clock: 69.6 MHz   Image Size:  277 x 156 mm
[   378.013] (II) modeset(0): h_active: 1366  h_sync: 1398  h_sync_end 1430 h_blank_end 1478 h_border: 0
[   378.013] (II) modeset(0): v_active: 768  v_sync: 770  v_sync_end 774 v_blanking: 782 v_border: 0
[   378.013] (II) modeset(0): Supported detailed timing:
[   378.013] (II) modeset(0): clock: 69.6 MHz   Image Size:  277 x 156 mm
[   378.013] (II) modeset(0): h_active: 1366  h_sync: 1414  h_sync_end 1462 h_blank_end 1796 h_border: 0
[   378.013] (II) modeset(0): v_active: 768  v_sync: 771  v_sync_end 776 v_blanking: 968 v_border: 0
[   378.013] (II) modeset(0):  8Y92T<80>125WH2
[   378.013] (II) modeset(0): Unknown vendor-specific block 0
[   378.013] (II) modeset(0): EDID (in hex):
[   378.013] (II) modeset(0):   00ffffffffffff0030e46c0300000000
[   378.013] (II) modeset(0):   00160104901c10780ad4659558558e28
[   378.013] (II) modeset(0):   1f505400000001010101010101010101
[   378.013] (II) modeset(0):   010101010101301b567050000e302020
[   378.013] (II) modeset(0):   2400159c1000001a301b56ae5100c830
[   378.013] (II) modeset(0):   30303500159c1000001a000000fe0038
[   378.013] (II) modeset(0):   59393254803132355748320a00000000
[   378.013] (II) modeset(0):   00004131940010000001010a2020009d
[   378.014] (II) modeset(0): Printing probed modes for output LVDS-1
[   378.014] (II) modeset(0): Modeline "1366x768"x60.2   69.60  1366 1398 1430 1478  768 770 774 782 +hsync -vsync (47.1 kHz eP)
[   378.014] (II) modeset(0): Modeline "1366x768"x40.0   69.60  1366 1414 1462 1796  768 771 776 968 +hsync -vsync (38.8 kHz e)
[   378.014] (II) modeset(0): Modeline "1280x720"x120.0  156.12  1280 1376 1512 1744  720 721 724 746 doublescan -hsync +vsync (89.5 kHz d)
[   378.014] (II) modeset(0): Modeline "1280x720"x120.0  120.75  1280 1304 1320 1360  720 721 724 740 doublescan +hsync -vsync (88.8 kHz d)
[   378.014] (II) modeset(0): Modeline "1280x720"x59.9   74.50  1280 1344 1472 1664  720 723 728 748 -hsync +vsync (44.8 kHz d)
[   378.014] (II) modeset(0): Modeline "1280x720"x59.7   63.75  1280 1328 1360 1440  720 723 728 741 +hsync -vsync (44.3 kHz d)
[   378.014] (II) modeset(0): Modeline "1024x768"x120.1  133.47  1024 1100 1212 1400  768 768 770 794 doublescan -hsync +vsync (95.3 kHz d)
[   378.014] (II) modeset(0): Modeline "1024x768"x60.0   65.00  1024 1048 1184 1344  768 771 777 806 -hsync -vsync (48.4 kHz d)
[   378.014] (II) modeset(0): Modeline "960x720"x120.0  117.00  960 1024 1128 1300  720 720 722 750 doublescan -hsync +vsync (90.0 kHz d)
[   378.014] (II) modeset(0): Modeline "928x696"x120.1  109.15  928 976 1088 1264  696 696 698 719 doublescan -hsync +vsync (86.4 kHz d)
[   378.014] (II) modeset(0): Modeline "896x672"x120.0  102.40  896 960 1060 1224  672 672 674 697 doublescan -hsync +vsync (83.7 kHz d)
[   378.014] (II) modeset(0): Modeline "1024x576"x119.9   98.50  1024 1092 1200 1376  576 577 580 597 doublescan -hsync +vsync (71.6 kHz d)
[   378.014] (II) modeset(0): Modeline "1024x576"x119.9   78.38  1024 1048 1064 1104  576 577 580 592 doublescan +hsync -vsync (71.0 kHz d)
[   378.014] (II) modeset(0): Modeline "1024x576"x59.9   46.50  1024 1064 1160 1296  576 579 584 599 -hsync +vsync (35.9 kHz d)
[   378.014] (II) modeset(0): Modeline "1024x576"x59.8   42.00  1024 1072 1104 1184  576 579 584 593 +hsync -vsync (35.5 kHz d)
[   378.014] (II) modeset(0): Modeline "960x600"x119.9   96.62  960 1028 1128 1296  600 601 604 622 doublescan -hsync +vsync (74.6 kHz d)
[   378.014] (II) modeset(0): Modeline "960x600"x120.0   77.00  960 984 1000 1040  600 601 604 617 doublescan +hsync -vsync (74.0 kHz d)
[   378.014] (II) modeset(0): Modeline "960x540"x119.9   86.50  960 1024 1124 1288  540 541 544 560 doublescan -hsync +vsync (67.2 kHz d)
[   378.015] (II) modeset(0): Modeline "960x540"x120.0   69.25  960 984 1000 1040  540 541 544 555 doublescan +hsync -vsync (66.6 kHz d)
[   378.015] (II) modeset(0): Modeline "960x540"x59.6   40.75  960 992 1088 1216  540 543 548 562 -hsync +vsync (33.5 kHz d)
[   378.015] (II) modeset(0): Modeline "960x540"x59.8   37.25  960 1008 1040 1120  540 543 548 556 +hsync -vsync (33.3 kHz d)
[   378.015] (II) modeset(0): Modeline "800x600"x120.0   81.00  800 832 928 1080  600 600 602 625 doublescan +hsync +vsync (75.0 kHz d)
[   378.015] (II) modeset(0): Modeline "800x600"x60.3   40.00  800 840 968 1056  600 601 605 628 +hsync +vsync (37.9 kHz d)
[   378.015] (II) modeset(0): Modeline "800x600"x56.2   36.00  800 824 896 1024  600 601 603 625 +hsync +vsync (35.2 kHz d)
[   378.015] (II) modeset(0): Modeline "840x525"x120.0   73.12  840 892 980 1120  525 526 529 544 doublescan -hsync +vsync (65.3 kHz d)
[   378.015] (II) modeset(0): Modeline "840x525"x119.8   59.50  840 864 880 920  525 526 529 540 doublescan +hsync -vsync (64.7 kHz d)
[   378.015] (II) modeset(0): Modeline "864x486"x59.9   32.50  864 888 968 1072  486 489 494 506 -hsync +vsync (30.3 kHz d)
[   378.015] (II) modeset(0): Modeline "864x486"x59.6   30.50  864 912 944 1024  486 489 494 500 +hsync -vsync (29.8 kHz d)
[   378.015] (II) modeset(0): Modeline "700x525"x120.0   61.00  700 744 820 940  525 526 532 541 doublescan +hsync +vsync (64.9 kHz d)
[   378.015] (II) modeset(0): Modeline "800x450"x119.9   59.12  800 848 928 1056  450 451 454 467 doublescan -hsync +vsync (56.0 kHz d)
[   378.015] (II) modeset(0): Modeline "800x450"x119.6   48.75  800 824 840 880  450 451 454 463 doublescan +hsync -vsync (55.4 kHz d)
[   378.015] (II) modeset(0): Modeline "640x512"x120.0   54.00  640 664 720 844  512 512 514 533 doublescan +hsync +vsync (64.0 kHz d)
[   378.015] (II) modeset(0): Modeline "700x450"x119.9   51.75  700 740 812 924  450 451 456 467 doublescan -hsync +vsync (56.0 kHz d)
[   378.015] (II) modeset(0): Modeline "700x450"x119.8   43.25  700 724 740 780  450 451 456 463 doublescan +hsync -vsync (55.4 kHz d)
[   378.015] (II) modeset(0): Modeline "640x480"x120.0   54.00  640 688 744 900  480 480 482 500 doublescan +hsync +vsync (60.0 kHz d)
[   378.015] (II) modeset(0): Modeline "640x480"x59.9   25.18  640 656 752 800  480 490 492 525 -hsync -vsync (31.5 kHz d)
[   378.015] (II) modeset(0): Modeline "720x405"x59.5   22.50  720 744 808 896  405 408 413 422 -hsync +vsync (25.1 kHz d)
[   378.015] (II) modeset(0): Modeline "720x405"x59.0   21.75  720 768 800 880  405 408 413 419 +hsync -vsync (24.7 kHz d)
[   378.015] (II) modeset(0): Modeline "684x384"x119.8   42.62  684 720 788 892  384 385 390 399 doublescan -hsync +vsync (47.8 kHz d)
[   378.015] (II) modeset(0): Modeline "684x384"x119.7   36.12  684 708 724 764  384 385 390 395 doublescan +hsync -vsync (47.3 kHz d)
[   378.015] (II) modeset(0): Modeline "640x400"x119.8   41.75  640 676 740 840  400 401 404 415 doublescan -hsync +vsync (49.7 kHz d)
[   378.015] (II) modeset(0): Modeline "640x400"x120.0   35.50  640 664 680 720  400 401 404 411 doublescan +hsync -vsync (49.3 kHz d)
[   378.015] (II) modeset(0): Modeline "640x360"x119.7   37.25  640 672 736 832  360 361 364 374 doublescan -hsync +vsync (44.8 kHz d)
[   378.015] (II) modeset(0): Modeline "640x360"x119.7   31.88  640 664 680 720  360 361 364 370 doublescan +hsync -vsync (44.3 kHz d)
[   378.015] (II) modeset(0): Modeline "640x360"x59.8   18.00  640 664 720 800  360 363 368 376 -hsync +vsync (22.5 kHz d)
[   378.015] (II) modeset(0): Modeline "640x360"x59.3   17.75  640 688 720 800  360 363 368 374 +hsync -vsync (22.2 kHz d)
[   378.015] (II) modeset(0): Modeline "512x384"x120.0   32.50  512 524 592 672  384 385 388 403 doublescan -hsync -vsync (48.4 kHz d)
[   378.015] (II) modeset(0): Modeline "512x288"x120.0   23.25  512 532 580 648  288 289 292 299 doublescan -hsync +vsync (35.9 kHz d)
[   378.016] (II) modeset(0): Modeline "512x288"x119.8   21.00  512 536 552 592  288 289 292 296 doublescan +hsync -vsync (35.5 kHz d)
[   378.016] (II) modeset(0): Modeline "480x270"x119.3   20.38  480 496 544 608  270 271 274 281 doublescan -hsync +vsync (33.5 kHz d)
[   378.016] (II) modeset(0): Modeline "480x270"x119.6   18.62  480 504 520 560  270 271 274 278 doublescan +hsync -vsync (33.3 kHz d)
[   378.016] (II) modeset(0): Modeline "400x300"x120.6   20.00  400 420 484 528  300 300 302 314 doublescan +hsync +vsync (37.9 kHz d)
[   378.016] (II) modeset(0): Modeline "400x300"x112.7   18.00  400 412 448 512  300 300 301 312 doublescan +hsync +vsync (35.2 kHz d)
[   378.016] (II) modeset(0): Modeline "432x243"x119.8   16.25  432 444 484 536  243 244 247 253 doublescan -hsync +vsync (30.3 kHz d)
[   378.016] (II) modeset(0): Modeline "432x243"x119.1   15.25  432 456 472 512  243 244 247 250 doublescan +hsync -vsync (29.8 kHz d)
[   378.016] (II) modeset(0): Modeline "320x240"x120.1   12.59  320 328 376 400  240 245 246 262 doublescan -hsync -vsync (31.5 kHz d)
[   378.016] (II) modeset(0): Modeline "360x202"x119.0   11.25  360 372 404 448  202 204 206 211 doublescan -hsync +vsync (25.1 kHz d)
[   378.016] (II) modeset(0): Modeline "360x202"x118.3   10.88  360 384 400 440  202 204 206 209 doublescan +hsync -vsync (24.7 kHz d)
[   378.016] (II) modeset(0): Modeline "320x180"x119.7    9.00  320 332 360 400  180 181 184 188 doublescan -hsync +vsync (22.5 kHz d)
[   378.016] (II) modeset(0): Modeline "320x180"x118.6    8.88  320 344 360 400  180 181 184 187 doublescan +hsync -vsync (22.2 kHz d)
[   378.018] (II) modeset(0): EDID for output VGA-1
[   378.021] (II) modeset(0): EDID for output HDMI-1
[   378.021] (II) modeset(0): EDID for output DP-1
[   378.024] (II) modeset(0): EDID for output HDMI-2
[   378.027] (II) modeset(0): EDID for output HDMI-3
[   378.027] (II) modeset(0): EDID for output DP-2
[   378.027] (II) modeset(0): EDID for output DP-3
[   378.027] (II) modeset(0): Output LVDS-1 connected
[   378.027] (II) modeset(0): Output VGA-1 disconnected
[   378.027] (II) modeset(0): Output HDMI-1 disconnected
[   378.027] (II) modeset(0): Output DP-1 disconnected
[   378.027] (II) modeset(0): Output HDMI-2 disconnected
[   378.027] (II) modeset(0): Output HDMI-3 disconnected
[   378.027] (II) modeset(0): Output DP-2 disconnected
[   378.027] (II) modeset(0): Output DP-3 disconnected
[   378.027] (II) modeset(0): Using exact sizes for initial modes
[   378.027] (II) modeset(0): Output LVDS-1 using initial mode 1366x768 +0+0
[   378.027] (==) modeset(0): Using gamma correction (1.0, 1.0, 1.0)
[   378.027] (==) modeset(0): DPI set to (96, 96)
[   378.027] (II) Loading sub module "fb"
[   378.027] (II) LoadModule: "fb"
[   378.027] (II) Module "fb" already built-in
[   378.027] (EE) 
[   378.027] (EE) Backtrace:
[   378.033] (EE) 0: /usr/X11R7/bin/X (xorg_backtrace+0x44) [0x1467d46d5]
[   378.033] (EE) 1: /usr/X11R7/bin/X (os_move_fd+0x79) [0x1467d0465]
[   378.033] (EE) 2: /usr/lib/libc.so.12 (__sigtramp_siginfo_2+0x0) [0x75b46379c930]
[   378.034] (EE) 
[   378.034] (EE) Segmentation fault at address 0x0
[   378.034] (EE) 
Fatal server error:
[   378.034] (EE) Caught signal 11 (Segmentation fault). Server aborting
[   378.034] (EE) 
[   378.034] (EE) 
Please consult the The X.Org Foundation support 
         at http://wiki.x.org
 for help. 
[   378.034] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[   378.034] (EE) 
[   378.053] (EE) Server terminated with error (1). Closing log file.

>How-To-Repeat:
As above.
>Fix:
Unknown.



Home | Main Index | Thread Index | Old Index