Segfault on X startup with VX900
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
openchrome |
Fix Released
|
Medium
|
|||
xserver-xorg-video-openchrome (Ubuntu) |
Fix Released
|
High
|
Dariusz Gadomski | ||
Trusty |
Fix Released
|
High
|
Unassigned | ||
Wily |
Fix Released
|
High
|
Unassigned |
Bug Description
[Impact]
* Prevents from using X at all with some VIA chipsets - a segfault occurs and is logged in Xorg.log
[Test Case]
* Start X on a affected hw (e.g. VX900).
* Examine Xorg.log after crash.
[Regression Potential]
* This is a bug fixed upstream (https:/
* The fix is a one-liner with minimal impact.
[Other Info]
* Original bug description:
There is a segfault in Xorg.log visible when starting X on Trusty 14.04 with the following hardware:
00:01.0 VGA compatible controller [0300]: VIA Technologies, Inc. VX900 Graphics [Chrome9 HD] [1106:7122] (prog-if 00 [VGA controller])
Subsystem: Gigabyte Technology Co., Ltd Device [1458:d000]
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 64
Interrupt: pin A routed to IRQ 10
Region 0: Memory at fb000000 (32-bit, non-prefetchable) [size=16M]
Region 1: Memory at fc000000 (32-bit, non-prefetchable) [size=16M]
Region 2: Memory at f0000000 (32-bit, prefetchable) [size=128M]
Expansion ROM at febf0000 [disabled] [size=64K]
Snip of the Xorg.log:
[ 549.260] (EE) Backtrace:
[ 549.260] (EE) 0: /usr/bin/X (xorg_backtrace
[ 549.261] (EE) 1: /usr/bin/X (0xb75ac000+
[ 549.261] (EE) 2: (vdso) (__kernel_
[ 549.261] (EE) 3: /usr/lib/
[ 549.261] (EE) 4: /usr/bin/X (InitOutput+0xb43) [0xb762f623]
[ 549.261] (EE) 5: /usr/bin/X (0xb75ac000+
[ 549.262] (EE) 6: /usr/bin/X (0xb75ac000+
[ 549.262] (EE) 7: /lib/i386-
[ 549.262] (EE) 8: /usr/bin/X (0xb75ac000+
[ 549.262] (EE)
[ 549.262] (EE) Segmentation fault at address 0x0
[ 549.262] (EE)
[ 549.263] (EE) Caught signal 11 (Segmentation fault). Server aborting
[ 549.263] (EE)
[ 549.263] (EE)
[ 549.263] (EE) Please also check the log file at "/var/log/
[ 549.263] (EE)
[ 549.269] (EE) Server terminated with error (1). Closing log file.
Changed in xserver-xorg-video-openchrome (Ubuntu): | |
status: | New → Confirmed |
Changed in openchrome: | |
importance: | Unknown → Medium |
status: | Unknown → Confirmed |
description: | updated |
description: | updated |
Changed in openchrome: | |
status: | Confirmed → Fix Released |
Changed in xserver-xorg-video-openchrome (Ubuntu): | |
importance: | Undecided → High |
Changed in xserver-xorg-video-openchrome (Ubuntu Trusty): | |
importance: | Undecided → High |
Changed in xserver-xorg-video-openchrome (Ubuntu Wily): | |
importance: | Undecided → High |
Changed in xserver-xorg-video-openchrome (Ubuntu Trusty): | |
status: | New → In Progress |
Changed in xserver-xorg-video-openchrome (Ubuntu Wily): | |
status: | New → In Progress |
tags: | added: sts sts-sru |
tags: | removed: sts-sru |
Created attachment 121841
Full Xorg log
I am experiencing a Xorg error while using the latest git version of the driver with the following device (with VendorId/ProductId present in src/via_id.c):
00:01.0 VGA compatible controller [0300]: VIA Technologies, Inc. VX900 Graphics [Chrome9 HD] [1106:7122] (prog-if 00 [VGA controller])
Capabilities: [60] Power Management version 2
Flags: PMEClk- DSI+ D1+ D2+ AuxCurrent=0mA PME(D0- ,D1-,D2- ,D3hot- ,D3cold- )
Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=0 PME-
Capabilities: [90] MSI: Enable- Count=1/1 Maskable- 64bit+
Address: 0000000000000000 Data: 0000
Subsystem: Gigabyte Technology Co., Ltd Device [1458:d000]
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 64
Interrupt: pin A routed to IRQ 10
Region 0: Memory at fb000000 (32-bit, non-prefetchable) [size=16M]
Region 1: Memory at fc000000 (32-bit, non-prefetchable) [size=16M]
Region 2: Memory at f0000000 (32-bit, prefetchable) [size=128M]
Expansion ROM at febf0000 [disabled] [size=64K]
And here's what I got in Xorg.log: xorg/modules/ drivers/ openchrome_ drv.so openchrome. org/" www.openchrome. org/. Options - Setting up default chipset options.
[ 549.070] (==) Matched openchrome as autoconfigured driver 0
[ 549.070] (II) LoadModule: "openchrome"
[ 549.071] (II) Loading /usr/lib/
[ 549.071] (II) Module openchrome: vendor="http://
[ 549.086] (II) OPENCHROME: Driver for VIA Chrome chipsets: CLE266, KM400/KN400,
[ 549.088] (!!) For support, please refer to http://
[ 549.089] (EE) open /dev/dri/card0: No such file or directory
[ 549.090] (EE) open /dev/fb0: No such file or directory
[ 549.090] (II) CHROME(0): VIAPreInit
[ 549.090] (II) CHROME(0): VIAGetRec
[ 549.090] (--) CHROME(0): Chipset: VX900
[ 549.091] (--) CHROME(0): Chipset revision: 0
[ 549.251] (EE) CHROME(0): [drm] Failed to open DRM device for pci:0000:00:01.0: No such file or directory
[ 549.253] (--) CHROME(0): Probed amount of VideoRAM = 131072 kB
[ 549.253] (II) CHROME(0): VIAMapMMIO
[ 549.253] (--) CHROME(0): mapping MMIO @ 0xfc000000 with size 0xd000
[ 549.253] (--) CHROME(0): mapping BitBlt MMIO @ 0xfc200000 with size 0x200000
[ 549.253] (II) CHROME(0): vgaHWGetIOBase: hwp->IOBase is 0x03d0
[ 549.253] (II) CHROME(0): VIAMapFB
[ 549.253] (--) CHROME(0): mapping framebuffer @ 0xf0000000 with size 0x8000000
[ 549.254] (--) CHROME(0): Frame buffer start: 0xaea5a000, free start: 0x0 end: 0x8000000
[ 549.254] (==) CHROME(0): Depth 24, (--) framebuffer bpp 32
[ 549.255] (==) CHROME(0): RGB weight 888
[ 549.255] (==) CHROME(0): Default visual is TrueColor
[ 549.255] (II) CHROME(0): VIASetupDefault
[ 549.255] (==) CHROME(0): Shadow framebuffer is disabled.
[ 549.255] (==) CHROME(0): Hardware acceleration is enabled.
[ 549.255] (==) CHROME(0): Using EXA acceleration architecture.
[ 549.255] (==) CHROME(0): EXA composite acceleration enabled.
[ 5...