Bug#1140338: libpciaccess0 0.17-3+b3: NULL pci_sys segfault 0x28/0x30 on Intel G31
euu ghost <[email protected]> Thu, 18 Jun 2026 14:47:12 +0000
| Newsgroups | gmane.linux.debian.devel.x |
|---|---|
| Message-ID | <BYAPR15MB3269A1FFAD1AAF3253D908FDDEE32__2845.8936418005$1781794183$gmane$org@BYAPR15MB3269.namprd15.prod.outlook.com> |
Package: libpciaccess0
Version: 0.17-3+b3
Severity: important
Tags: upstream patch
Dear Debian X Strike Force,
## Environment
- Distribution: Debian Trixie 13.5
- Kernel: 6.12.90+deb13.1-amd64
- Motherboard: Wistron JIG31B3 (Fujitsu OEM, Intel G31 chipset)
- BIOS: Fujitsu / Phoenix Technologies 3.06 (02/22/2010)
- CPU: Intel Core 2 Duo E6320 @ 1.86GHz
- GPU: Intel 82G31 integrated graphics, PCI ID 8086:29c2, kernel driver i915
- xserver-xorg-core: 2:21.1.16-1.3+deb13u2
- xserver-xorg-video-intel: 2:2.99.917+git20210115-1
- libpciaccess0: 0.17-3+b3
Kernel-side VGA arbiter works correctly: `vgaarb` module is loaded, the Intel G31 GPU is properly registered as the boot VGA device, and the i915 DRM driver initializes without errors (confirmed in dmesg). All hardware and kernel layers are functional; the crash originates purely from userspace libpciaccess logic.
## Reproduction Steps
1. Boot into LightDM Xorg session with the intel video driver loaded
2. Run command over SSH or local terminal:
`sudo -E DISPLAY=:0 XAUTHORITY=/var/run/lightdm/root/:0 xset dpms force off`
3. Xorg crashes immediately with SIGSEGV, drops back to LightDM login manager, all desktop applications terminate.
## Crash Backtrace (intel driver runtime DPMS crash, /var/log/Xorg.0.log)
[ 4975.118] (EE) Backtrace:
[ 4975.118] (EE) 0: /usr/lib/xorg/Xorg (OsSigHandler+0x2d)
[ 4975.121] (EE) 2: /lib/x86_64-linux-gnu/libpciaccess.so.0 (pci_device_vgaarb_set_target+0x113)
[ 4975.122] (EE) 3: /usr/lib/xorg/Xorg (xf86VGAarbiterLock+0x20)
[ 4975.122] (EE) 4: /usr/lib/xorg/Xorg (xf86DPMS+0x38)
[ 4975.123] (EE) 5: /usr/lib/xorg/Xorg (DPMSSet+0x66)
[ 4975.127] (EE) Segmentation fault at address 0x30
## Live GDB Debug Result (attached to running Xorg process)
#0 0x00007f35d71049b3 in pci_device_vgaarb_set_target (dev=0x55b4da995fd0)
at ../../src/common_vgaarb.c:235
(gdb) print pci_sys
$1 = (struct pci_system *) 0x0
(gdb) print dev
$2 = (struct pci_device *) 0x55b4da995fd0
The `dev` pointer is fully valid and its members are readable; only the global `pci_sys` pointer is NULL when entering the function.
## Additional modesetting-only driver test result
After purging `xserver-xorg-video-intel` to remove the intel DDX driver, Xorg loads only the generic modesetting driver. However, X still crashes during early output initialization with a different segfault, proving the bug affects all VGA arbiter functions in libpciaccess, not only `pci_device_vgaarb_set_target`:
(EE) Backtrace:
(EE) 0: /usr/lib/xorg/Xorg (OsSigHandler+0x2d)
(EE) 2: /lib/x86_64-linux-gnu/libpciaccess.so.0 (pci_device_vgaarb_unlock+0x25)
(EE) 3: /usr/lib/xorg/Xorg (InitOutput+0x9a1)
(EE) Segmentation fault at address 0x28
GDB confirms the identical root cause: global `pci_sys` remains NULL inside `pci_device_vgaarb_unlock`.
## Root Cause
All VGA arbiter helper functions in `src/common_vgaarb.c` fail to validate the global `pci_sys` pointer before dereferencing its members.
For `pci_device_vgaarb_set_target`:
1. DPMS state change triggers xf86DPMS → xf86VGAarbiterLock → pci_device_vgaarb_set_target
2. The input `dev` pointer is non-NULL, so the existing `if (!dev)` check is skipped entirely
3. The code directly accesses `pci_sys->vgaarb_fd`, `pci_sys->vga_count`, and `pci_sys->vga_target` without any NULL guard
4. On this vintage G31 hardware, userspace PCI initialization does not populate `pci_sys`, leaving it NULL. Dereferencing memory offset 0x30 triggers the SIGSEGV.
This is an independent userspace logic flaw inside libpciaccess; any kernel-level vgaarb configuration cannot resolve the NULL pointer dereference.
## Proposed Fix
Add a NULL check for `pci_sys` at the entry of every vgaarb helper function. The minimal patch for `pci_device_vgaarb_set_target` is shown below:
int
pci_device_vgaarb_set_target(struct pci_device *dev)
{
int len;
char buf[BUFSIZE + 1];
int ret;
/* Fix: avoid NULL dereference when PCI system is uninitialized */
if (!pci_sys)
return -1;
if (!dev)
dev = pci_sys->vga_default_dev;
if (!dev)
return -1;
/* rest of original code unchanged */
}
The same `if (!pci_sys)` guard should be added to `pci_device_vgaarb_lock`, `pci_device_vgaarb_unlock` and so on to fix the modesetting initialization crash.
## Verified Workarounds
1. Permanent stable workaround: Disable DPMS X extension via xorg.conf
Create /etc/X11/xorg.conf.d/90-nodpms.conf:
Section "ServerFlags"
Option "DPMS" "false"
EndSection
Section "Device"
Identifier "IntelGPU"
Driver "intel"
Option "DPMS" "off"
EndSection
Restart LightDM/Xorg. The DPMS extension is fully removed from the X server, so no vgaarb libpciaccess functions are invoked at any stage, eliminating all segfaults.
Important note: Running `xset -dpms` on a live running X session instantly crashes the server and cannot be used as a temporary runtime fix. Simple `xset s off` only modifies screensaver timeout and does not block DPMS code paths.
2. Partial incomplete workaround: Remove xserver-xorg-video-intel to use modesetting driver
This avoids runtime DPMS-triggered crashes but still hits a segfault during X initialization via pci_device_vgaarb_unlock. Not recommended for stable daily use.
## Ineffective Attempts (no crash mitigation at all)
1. Xorg ServerFlags: Option "NoVGAARB" "true"
2. Intel driver device option: Option "VGAARB" "off"
3. Kernel boot parameter vgaarb.disabled=1 + blacklist vgaarb module
All three options only modify kernel VGA arbiter behavior and do not touch the userspace NULL pointer logic in libpciaccess. The segmentation fault still reproduces reliably.
## Attached Files List
1. hardware_report.txt: Full hardware DMI, PCI, kernel module, dmesg and package version report
2. Xorg-intel-dpms-crash.log: Xorg crash log with backtrace for intel driver DPMS trigger
3. Xorg-modesetting-init-crash.log: Xorg early initialization segfault log with pure modesetting driver
4. common_vgaarb.c: Unmodified source file from libpciaccess 0.17-3+b3 containing all faulty vgaarb functions
Please let me know if core dumps, additional GDB traces or test builds are required for further debugging.
Regards,
euughost
hardware_report.txt
(text/plain, 23.6 KB)
=== System Basic Info === Linux oldpc 6.12.90+deb13.1-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.12.90-2 (2026-05-27) x86_64 GNU/Linux 13.5 === Kernel Boot Cmdline === BOOT_IMAGE=/boot/vmlinuz-6.12.90+deb13.1-amd64 root=UUID=b2f6c005-9b76-441c-a88e-b3a206de2b12 ro quiet === Full PCI Device List (with IDs & drivers) === 00:00.0 Host bridge [0600]: Intel Corporation 82G33/G31/P35/P31 Express DRAM Controller [8086:29c0] (rev 0a) Subsystem: Fujitsu Limited. Device [10cf:1478] 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: 0 Capabilities: [e0] Vendor Specific Information: Len=0b <?> 00:02.0 VGA compatible controller [0300]: Intel Corporation 82G33/G31 Express Integrated Graphics Controller [8086:29c2] (rev 0a) (prog-if 00 [VGA controller]) Subsystem: Fujitsu Limited. Device [10cf:1477] 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: 0 Interrupt: pin A routed to IRQ 16 Region 0: Memory at f0200000 (32-bit, non-prefetchable) [size=512K] Region 1: I/O ports at 18e0 [size=8] Region 2: Memory at e0000000 (32-bit, prefetchable) [size=256M] Region 3: Memory at f0000000 (32-bit, non-prefetchable) [size=1M] Expansion ROM at 000c0000 [virtual] [disabled] [size=128K] Capabilities: [90] MSI: Enable- Count=1/1 Maskable- 64bit- Address: 00000000 Data: 0000 Capabilities: [d0] 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- Kernel driver in use: i915 Kernel modules: i915 00:1b.0 Audio device [0403]: Intel Corporation NM10/ICH7 Family High Definition Audio Controller [8086:27d8] (rev 01) (prog-if 00 [HDA compatible]) Subsystem: Fujitsu Limited. Device [10cf:13c2] 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: 0, Cache Line Size: 32 bytes Interrupt: pin A routed to IRQ 25 Region 0: Memory at f0280000 (64-bit, non-prefetchable) [size=16K] Capabilities: [50] Power Management version 2 Flags: PMEClk- DSI- D1- D2- AuxCurrent=55mA PME(D0+,D1-,D2-,D3hot+,D3cold+) Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=0 PME- Capabilities: [60] MSI: Enable+ Count=1/1 Maskable- 64bit+ Address: 00000000fee00000 Data: 0025 Capabilities: [70] Express (v1) Root Complex Integrated Endpoint, IntMsgNum 0 DevCap: MaxPayload 128 bytes, PhantFunc 0 ExtTag- RBE- FLReset- TEE-IO- DevCtl: CorrErr- NonFatalErr- FatalErr- UnsupReq- RlxdOrd- ExtTag- PhantFunc- AuxPwr- NoSnoop+ MaxPayload 128 bytes, MaxReadReq 128 bytes DevSta: CorrErr- NonFatalErr- FatalErr- UnsupReq- AuxPwr+ TransPend- Capabilities: [100 v1] Virtual Channel Caps: LPEVC=0 RefClk=100ns PATEntryBits=1 Arb: Fixed- WRR32- WRR64- WRR128- Ctrl: ArbSelect=Fixed Status: InProgress- VC0: Caps: PATOffset=00 MaxTimeSlots=1 RejSnoopTrans- Arb: Fixed- WRR32- WRR64- WRR128- TWRR128- WRR256- Ctrl: Enable+ ID=0 ArbSelect=Fixed TC/VC=01 Status: NegoPending- InProgress- VC1: Caps: PATOffset=00 MaxTimeSlots=1 RejSnoopTrans- Arb: Fixed- WRR32- WRR64- WRR128- TWRR128- WRR256- Ctrl: Enable+ ID=1 ArbSelect=Fixed TC/VC=80 Status: NegoPending- InProgress- Capabilities: [130 v1] Root Complex Link Desc: PortNumber=0f ComponentID=02 EltType=Config Link0: Desc: TargetPort=00 TargetComponent=02 AssocRCRB- LinkType=MemMapped LinkValid+ Addr: 00000000fed1c000 Kernel driver in use: snd_hda_intel Kernel modules: snd_hda_intel 00:1c.0 PCI bridge [0604]: Intel Corporation NM10/ICH7 Family PCI Express Port 1 [8086:27d0] (rev 01) (prog-if 00 [Normal decode]) Subsystem: Fujitsu Limited. Device [10cf:1478] 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: 0, Cache Line Size: 32 bytes Interrupt: pin A routed to IRQ 17 Bus: primary=00, secondary=05, subordinate=05, sec-latency=0 I/O behind bridge: 2000-2fff [size=4K] [16-bit] Memory behind bridge: f0100000-f01fffff [size=1M] [32-bit] Prefetchable memory behind bridge: f0500000-f06fffff [size=2M] [32-bit] Secondary status: 66MHz- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- <SERR- <PERR- BridgeCtl: Parity- SERR+ NoISA+ VGA- VGA16- MAbort- >Reset- FastB2B- PriDiscTmr- SecDiscTmr- DiscTmrStat- DiscTmrSERREn- Capabilities: [40] Express (v1) Root Port (Slot+), IntMsgNum 0 DevCap: MaxPayload 128 bytes, PhantFunc 0 ExtTag- RBE- TEE-IO- DevCtl: CorrErr- NonFatalErr- FatalErr+ UnsupReq- RlxdOrd- ExtTag- PhantFunc- AuxPwr- NoSnoop- MaxPayload 128 bytes, MaxReadReq 128 bytes DevSta: CorrErr- NonFatalErr- FatalErr- UnsupReq- AuxPwr+ TransPend- LnkCap: Port #1, Speed 2.5GT/s, Width x1, ASPM not supported ClockPM- Surprise- LLActRep+ BwNot- ASPMOptComp- LnkCtl: ASPM Disabled; RCB 64 bytes, LnkDisable- CommClk+ ExtSynch- ClockPM- AutWidDis- BWInt- AutBWInt- LnkSta: Speed 2.5GT/s, Width x1 TrErr- Train- SlotClk+ DLActive+ BWMgmt- ABWMgmt- SltCap: AttnBtn- PwrCtrl- MRL- AttnInd- PwrInd- HotPlug+ Surprise+ Slot #1, PowerLimit 10W; Interlock- NoCompl- SltCtl: Enable: AttnBtn- PwrFlt- MRL- PresDet- CmdCplt- HPIrq- LinkChg- Control: AttnInd Unknown, PwrInd Unknown, Power- Interlock- SltSta: Status: AttnBtn- PowerFlt- MRL- CmdCplt- PresDet+ Interlock- Changed: MRL- PresDet+ LinkState+ RootCap: CRSVisible- RootCtl: ErrCorrectable- ErrNon-Fatal- ErrFatal+ PMEIntEna- CRSVisible- RootSta: PME ReqID 0000, PMEStatus- PMEPending- Capabilities: [80] MSI: Enable- Count=1/1 Maskable- 64bit- Address: 00000000 Data: 0000 Capabilities: [90] Subsystem: Fujitsu Limited. Device [10cf:1478] Capabilities: [a0] 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: [100 v1] Virtual Channel Caps: LPEVC=0 RefClk=100ns PATEntryBits=1 Arb: Fixed+ WRR32- WRR64- WRR128- Ctrl: ArbSelect=Fixed Status: InProgress- VC0: Caps: PATOffset=00 MaxTimeSlots=1 RejSnoopTrans- Arb: Fixed+ WRR32- WRR64- WRR128- TWRR128- WRR256- Ctrl: Enable+ ID=0 ArbSelect=Fixed TC/VC=01 Status: NegoPending- InProgress- VC1: Caps: PATOffset=00 MaxTimeSlots=1 RejSnoopTrans- Arb: Fixed+ WRR32- WRR64- WRR128- TWRR128- WRR256- Ctrl: Enable- ID=0 ArbSelect=Fixed TC/VC=00 Status: NegoPending- InProgress- Capabilities: [180 v1] Root Complex Link Desc: PortNumber=01 ComponentID=02 EltType=Config Link0: Desc: TargetPort=00 TargetComponent=02 AssocRCRB- LinkType=MemMapped LinkValid+ Addr: 00000000fed1c001 Kernel driver in use: pcieport 00:1d.0 USB controller [0c03]: Intel Corporation NM10/ICH7 Family USB UHCI Controller #1 [8086:27c8] (rev 01) (prog-if 00 [UHCI]) Subsystem: Fujitsu Limited. Device [10cf:1478] Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx- Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx- Latency: 0 Interrupt: pin A routed to IRQ 23 Region 4: I/O ports at 1820 [size=32] Kernel driver in use: uhci_hcd Kernel modules: uhci_hcd 00:1d.1 USB controller [0c03]: Intel Corporation NM10/ICH7 Family USB UHCI Controller #2 [8086:27c9] (rev 01) (prog-if 00 [UHCI]) Subsystem: Fujitsu Limited. Device [10cf:1478] Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx- Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx- Latency: 0 Interrupt: pin B routed to IRQ 19 Region 4: I/O ports at 1840 [size=32] Kernel driver in use: uhci_hcd Kernel modules: uhci_hcd 00:1d.2 USB controller [0c03]: Intel Corporation NM10/ICH7 Family USB UHCI Controller #3 [8086:27ca] (rev 01) (prog-if 00 [UHCI]) Subsystem: Fujitsu Limited. Device [10cf:1478] Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx- Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx- Latency: 0 Interrupt: pin C routed to IRQ 18 Region 4: I/O ports at 1860 [size=32] Kernel driver in use: uhci_hcd Kernel modules: uhci_hcd 00:1d.3 USB controller [0c03]: Intel Corporation NM10/ICH7 Family USB UHCI Controller #4 [8086:27cb] (rev 01) (prog-if 00 [UHCI]) Subsystem: Fujitsu Limited. Device [10cf:1478] Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx- Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx- Latency: 0 Interrupt: pin D routed to IRQ 16 Region 4: I/O ports at 1880 [size=32] Kernel driver in use: uhci_hcd Kernel modules: uhci_hcd 00:1d.7 USB controller [0c03]: Intel Corporation NM10/ICH7 Family USB2 EHCI Controller [8086:27cc] (rev 01) (prog-if 20 [EHCI]) Subsystem: Fujitsu Limited. Device [10cf:1478] Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx- Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx- Latency: 0 Interrupt: pin A routed to IRQ 23 Region 0: Memory at f0484000 (32-bit, non-prefetchable) [size=1K] Capabilities: [50] Power Management version 2 Flags: PMEClk- DSI- D1- D2- AuxCurrent=375mA PME(D0+,D1-,D2-,D3hot+,D3cold+) Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=0 PME- Capabilities: [58] Debug port: BAR=1 offset=00a0 Kernel driver in use: ehci-pci Kernel modules: ehci_pci 00:1e.0 PCI bridge [0604]: Intel Corporation 82801 PCI Bridge [8086:244e] (rev e1) (prog-if 01 [Subtractive decode]) Subsystem: Fujitsu Limited. Device [10cf:1478] 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: 0 Bus: primary=00, secondary=11, subordinate=11, sec-latency=32 I/O behind bridge: [disabled] [16-bit] Memory behind bridge: [disabled] [32-bit] Prefetchable memory behind bridge: [disabled] [64-bit] Secondary status: 66MHz- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort+ <SERR- <PERR- BridgeCtl: Parity- SERR+ NoISA+ VGA- VGA16- MAbort- >Reset- FastB2B- PriDiscTmr- SecDiscTmr- DiscTmrStat- DiscTmrSERREn- Capabilities: [50] Subsystem: Fujitsu Limited. Device [10cf:1478] 00:1f.0 ISA bridge [0601]: Intel Corporation 82801GB/GR (ICH7 Family) LPC Interface Bridge [8086:27b8] (rev 01) Subsystem: Fujitsu Limited. Device [10cf:1478] Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx- Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx- Latency: 0 Capabilities: [e0] Vendor Specific Information: Len=0c <?> Kernel driver in use: lpc_ich Kernel modules: leds_ss4200, intel_rng, lpc_ich 00:1f.1 IDE interface [0101]: Intel Corporation 82801G (ICH7 Family) IDE Controller [8086:27df] (rev 01) (prog-if 8a [ISA Compatibility mode controller, supports both channels switched to PCI native mode, supports bus mastering]) Subsystem: Fujitsu Limited. Device [10cf:1478] Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx- Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx+ Latency: 0 Interrupt: pin A routed to IRQ 18 Region 0: I/O ports at 01f0 [size=8] Region 1: I/O ports at 03f4 Region 2: I/O ports at 0170 [size=8] Region 3: I/O ports at 0374 Region 4: I/O ports at 18c0 [size=16] Kernel driver in use: ata_piix Kernel modules: ata_piix, ata_generic 00:1f.2 IDE interface [0101]: Intel Corporation NM10/ICH7 Family SATA Controller [IDE mode] [8086:27c0] (rev 01) (prog-if 8f [PCI native mode controller, supports both channels switched to ISA compatibility mode, supports bus mastering]) Subsystem: Fujitsu Limited. Device [10cf:1478] Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx- Status: Cap+ 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx- Latency: 0 Interrupt: pin B routed to IRQ 19 Region 0: I/O ports at 1c10 [size=8] Region 1: I/O ports at 1c04 [size=4] Region 2: I/O ports at 1c08 [size=8] Region 3: I/O ports at 1c00 [size=4] Region 4: I/O ports at 18d0 [size=16] Capabilities: [70] 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- Kernel driver in use: ata_piix Kernel modules: ata_piix, ata_generic 00:1f.3 SMBus [0c05]: Intel Corporation NM10/ICH7 Family SMBus Controller [8086:27da] (rev 01) Subsystem: Fujitsu Limited. Device [10cf:1478] Control: I/O+ Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx- Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx- Interrupt: pin B routed to IRQ 19 Region 4: I/O ports at 18a0 [size=32] Kernel driver in use: i801_smbus Kernel modules: i2c_i801 05:00.0 Ethernet controller [0200]: Broadcom Inc. and subsidiaries NetLink BCM5786 Gigabit Ethernet PCI Express [14e4:169a] (rev 02) Subsystem: Fujitsu Limited. Device [10cf:13ee] 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: 0, Cache Line Size: 32 bytes Interrupt: pin A routed to IRQ 24 Region 0: Memory at f0100000 (64-bit, non-prefetchable) [size=64K] Expansion ROM at <ignored> [disabled] Capabilities: [48] Power Management version 3 Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot+,D3cold+) Status: D0 NoSoftRst+ PME-Enable- DSel=0 DScale=1 PME- Capabilities: [50] Vital Product Data Product Name: Broadcom NetXtreme Gigabit Ethernet Controller Read-only fields: [PN] Part number: BCM95786 [EC] Engineering changes: 106679-15 [SN] Serial number: 0123456789 [MN] Manufacture ID: 14e4 [RV] Reserved: checksum good, 28 byte(s) reserved Read/write fields: [YA] Asset tag: XYZ01234567 [RW] Read-write area: 107 byte(s) free End Capabilities: [58] Vendor Specific Information: Len=78 <?> Capabilities: [e8] MSI: Enable+ Count=1/1 Maskable- 64bit+ Address: 00000000fee01000 Data: 0025 Capabilities: [d0] Express (v1) Endpoint, IntMsgNum 0 DevCap: MaxPayload 128 bytes, PhantFunc 0, Latency L0s <4us, L1 unlimited ExtTag+ AttnBtn- AttnInd- PwrInd- RBE+ FLReset- SlotPowerLimit 10W TEE-IO- DevCtl: CorrErr- NonFatalErr- FatalErr- UnsupReq- RlxdOrd- ExtTag+ PhantFunc- AuxPwr- NoSnoop- MaxPayload 128 bytes, MaxReadReq 512 bytes DevSta: CorrErr- NonFatalErr- FatalErr- UnsupReq- AuxPwr+ TransPend- LnkCap: Port #0, Speed 2.5GT/s, Width x1, ASPM L0s, Exit Latency L0s <4us ClockPM- Surprise- LLActRep- BwNot- ASPMOptComp- LnkCtl: ASPM Disabled; RCB 64 bytes, LnkDisable- CommClk+ ExtSynch- ClockPM- AutWidDis- BWInt- AutBWInt- LnkSta: Speed 2.5GT/s, Width x1 TrErr- Train- SlotClk+ DLActive- BWMgmt- ABWMgmt- Capabilities: [100 v1] Advanced Error Reporting UESta: DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt- UnxCmplt- RxOF- MalfTLP- ECRC- UnsupReq- ACSViol- UncorrIntErr- BlockedTLP- AtomicOpBlocked- TLPBlockedErr- PoisonTLPBlocked- DMWrReqBlocked- IDECheck- MisIDETLP- PCRC_CHECK- TLPXlatBlocked- UEMsk: DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt- UnxCmplt- RxOF- MalfTLP- ECRC- UnsupReq- ACSViol- UncorrIntErr- BlockedTLP- AtomicOpBlocked- TLPBlockedErr- PoisonTLPBlocked- DMWrReqBlocked- IDECheck- MisIDETLP- PCRC_CHECK- TLPXlatBlocked- UESvrt: DLP+ SDES- TLP- FCP+ CmpltTO- CmpltAbrt- UnxCmplt- RxOF+ MalfTLP+ ECRC- UnsupReq- ACSViol- UncorrIntErr- BlockedTLP- AtomicOpBlocked- TLPBlockedErr- PoisonTLPBlocked- DMWrReqBlocked- IDECheck- MisIDETLP- PCRC_CHECK- TLPXlatBlocked- CESta: RxErr- BadTLP- BadDLLP- Rollover- Timeout- AdvNonFatalErr+ CorrIntErr- HeaderOF- CEMsk: RxErr- BadTLP- BadDLLP- Rollover- Timeout- AdvNonFatalErr+ CorrIntErr- HeaderOF- AERCap: First Error Pointer: 00, ECRCGenCap+ ECRCGenEn- ECRCChkCap+ ECRCChkEn- MultHdrRecCap- MultHdrRecEn- TLPPfxPres- HdrLogCap- HeaderLog: 00000000 00000000 00000000 00000000 Capabilities: [13c v1] Virtual Channel Caps: LPEVC=0 RefClk=100ns PATEntryBits=1 Arb: Fixed- WRR32- WRR64- WRR128- Ctrl: ArbSelect=Fixed Status: InProgress- VC0: Caps: PATOffset=00 MaxTimeSlots=1 RejSnoopTrans- Arb: Fixed- WRR32- WRR64- WRR128- TWRR128- WRR256- Ctrl: Enable+ ID=0 ArbSelect=Fixed TC/VC=01 Status: NegoPending- InProgress- Capabilities: [160 v1] Device Serial Number f8-0f-41-ff-fe-07-cd-bf Kernel driver in use: tg3 Kernel modules: tg3 === Motherboard & BIOS Info (DMI) === # dmidecode 3.6 Getting SMBIOS data from sysfs. SMBIOS 2.4 present. Handle 0x0002, DMI type 2, 10 bytes Base Board Information Manufacturer: Wistron Corporation Product Name: JIG31B3 Version: Serial Number: Asset Tag: Features: Board is a hosting board Board is replaceable # dmidecode 3.6 Getting SMBIOS data from sysfs. SMBIOS 2.4 present. Handle 0x0000, DMI type 0, 24 bytes BIOS Information Vendor: FUJITSU // Phoenix Technologies Ltd. Version: 3.06 Release Date: 02/22/2010 Address: 0xE5830 Runtime Size: 108496 bytes ROM Size: 1 MB Characteristics: PCI is supported PNP is supported BIOS is upgradeable BIOS shadowing is allowed Boot from CD is supported Selectable boot is supported EDD is supported 3.5"/720 kB floppy services are supported (int 13h) Print screen service is supported (int 5h) 8042 keyboard services are supported (int 9h) Serial services are supported (int 14h) Printer services are supported (int 17h) CGA/mono video services are supported (int 10h) ACPI is supported USB legacy is supported BIOS boot specification is supported Targeted content distribution is supported BIOS Revision: 3.6 Handle 0x0E1B, DMI type 0, 17 bytes BIOS Information === CPU Info === Architecture: x86_64 CPU op-mode(s): 32-bit, 64-bit Address sizes: 36 bits physical, 48 bits virtual Byte Order: Little Endian CPU(s): 2 On-line CPU(s) list: 0,1 Vendor ID: GenuineIntel Model name: Intel(R) Core(TM)2 CPU 6320 @ 1.86GHz CPU family: 6 Model: 15 Thread(s) per core: 1 Core(s) per socket: 2 Socket(s): 1 Stepping: 6 CPU(s) scaling MHz: 98% CPU max MHz: 1867.0000 CPU min MHz: 1600.0000 BogoMIPS: 3724.42 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ht tm pbe syscall nx lm constant_tsc arch_perfmon pebs bts rep_good nopl cpuid aperfmperf pni dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm lahf_lm pti tpr_shadow dtherm Virtualization: VT-x L1d cache: 64 KiB (2 instances) L1i cache: 64 KiB (2 instances) L2 cache: 4 MiB (1 instance) NUMA node(s): 1 NUMA node0 CPU(s): 0,1 Vulnerability Gather data sampling: Not affected Vulnerability Indirect target selection: Not affected Vulnerability Itlb multihit: KVM: Mitigation: Split huge pages Vulnerability L1tf: Mitigation; PTE Inversion; VMX EPT disabled Vulnerability Mds: Vulnerable: Clear CPU buffers attempted, no microcode; SMT disabled Vulnerability Meltdown: Mitigation; PTI Vulnerability Mmio stale data: Unknown: No mitigations Vulnerability Reg file data sampling: Not affected Vulnerability Retbleed: Not affected Vulnerability Spec rstack overflow: Not affected Vulnerability Spec store bypass: Vulnerable Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization Vulnerability Spectre v2: Mitigation; Retpolines; STIBP disabled; RSB filling; PBRSB-eIBRS Not affected; BHI Not affected Vulnerability Srbds: Not affected Vulnerability Tsa: Not affected Vulnerability Tsx async abort: Not affected Vulnerability Vmscape: Not affected === Kernel Modules (GPU/VGA/DRM) === i915 4382720 3 drm_buddy 28672 1 i915 i2c_algo_bit 16384 1 i915 drm_display_helper 274432 1 i915 cec 69632 2 drm_display_helper,i915 ttm 106496 1 i915 drm_kms_helper 253952 2 drm_display_helper,i915 drm 774144 7 drm_kms_helper,drm_display_helper,drm_buddy,i915,ttm video 81920 2 fujitsu_laptop,i915 === Key Package Versions === 期望状态=未知(u)/安装(i)/删除(r)/清除(p)/保持(h) | 状态=未安装(n)/已安装(i)/仅存配置(c)/仅解压缩(U)/配置失败(F)/不完全安装(H)/触发器等待(W)/触发器未决(T) |/ 错误?=(无)/须重装(R) (状态,错误:大写=故障) ||/ 名称 版本 体系结构 描述 +++-=================================-========================-============-================================================= ii libpciaccess0:amd64 0.17-3+b3 amd64 Generic PCI access library for X ii linux-image-6.12.90+deb13.1-amd64 6.12.90-2 amd64 Linux 6.12 for 64-bit PCs (signed) ii xserver-xorg-core 2:21.1.16-1.3+deb13u2 amd64 Xorg X server - core server ii xserver-xorg-video-intel 2:2.99.917+git20210115-1 amd64 X.Org X server -- Intel i8xx, i9xx display driver === i915/DRM/VGA Kernel Log === [ 0.221807] Console: colour VGA+ 80x25 [ 0.490935] pci 0000:00:02.0: vgaarb: setting as boot VGA device [ 0.490935] pci 0000:00:02.0: vgaarb: bridge control possible [ 0.490935] pci 0000:00:02.0: vgaarb: VGA device added: decodes=io+mem,owns=io+mem,locks=none [ 0.490935] vgaarb: loaded [ 2.254660] ACPI: bus type drm_connector registered [ 4.331699] i915 0000:00:02.0: [drm] Found G33 (device ID 29c2) display version 3.00 stepping N/A [ 4.332628] i915 0000:00:02.0: vgaarb: deactivate vga console [ 4.334884] i915 0000:00:02.0: vgaarb: VGA decodes changed: olddecodes=io+mem,decodes=io+mem:owns=io+mem [ 4.350097] i915 0000:00:02.0: [drm] Initialized overlay support. [ 4.350718] [drm] Initialized i915 1.6.0 for 0000:00:02.0 on minor 0 [ 4.380813] fbcon: i915drmfb (fb0) is primary device [ 4.454898] i915 0000:00:02.0: [drm] fb0: i915drmfb frame buffer device [ 6.149513] systemd[1]: Starting [email protected] - Load Kernel Module drm... [ 6.311697] systemd[1]: [email protected]: Deactivated successfully. [ 6.312126] systemd[1]: Finished [email protected] - Load Kernel Module drm. === Xorg Current Driver & DPMS Status === [ 612.066] (II) LoadModule: "intel" [ 612.067] (II) LoadModule: "modesetting" [ 612.074] (==) intel(0): DPMS enabled
Xorg-intel-dpms-crash.log
(application/octet-stream, 26.8 KB)
[ 4388.689] X.Org X Server 1.21.1.16 X Protocol Version 11, Revision 0 [ 4388.689] Current Operating System: Linux oldpc 6.12.90+deb13.1-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.12.90-2 (2026-05-27) x86_64 [ 4388.689] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-6.12.90+deb13.1-amd64 root=UUID=b2f6c005-9b76-441c-a88e-b3a206de2b12 ro quiet [ 4388.690] xorg-server 2:21.1.16-1.3+deb13u2 (https://www.debian.org/support) [ 4388.690] Current version of pixman: 0.44.0 [ 4388.690] Before reporting problems, check http://wiki.x.org to make sure that you have the latest version. [ 4388.690] Markers: (--) probed, (**) from config file, (==) default setting, (++) from command line, (!!) notice, (II) informational, (WW) warning, (EE) error, (NI) not implemented, (??) unknown. [ 4388.690] (==) Log file: "/var/log/Xorg.0.log", Time: Thu Jun 18 21:33:02 2026 [ 4388.690] (==) Using system config directory "/usr/share/X11/xorg.conf.d" [ 4388.690] (==) No Layout section. Using the first Screen section. [ 4388.690] (==) No screen section available. Using defaults. [ 4388.690] (**) |-->Screen "Default Screen Section" (0) [ 4388.690] (**) | |-->Monitor "<default monitor>" [ 4388.691] (==) No monitor specified for screen "Default Screen Section". Using a default monitor configuration. [ 4388.691] (**) Allowing byte-swapped clients [ 4388.691] (==) Automatically adding devices [ 4388.691] (==) Automatically enabling devices [ 4388.691] (==) Automatically adding GPU devices [ 4388.691] (==) Automatically binding GPU devices [ 4388.691] (==) Max clients allowed: 256, resource mask: 0x1fffff [ 4388.691] (WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist. [ 4388.691] Entry deleted from font path. [ 4388.691] (==) FontPath set to: /usr/share/fonts/X11/misc, /usr/share/fonts/X11/100dpi/:unscaled, /usr/share/fonts/X11/75dpi/:unscaled, /usr/share/fonts/X11/Type1, /usr/share/fonts/X11/100dpi, /usr/share/fonts/X11/75dpi, built-ins [ 4388.691] (==) ModulePath set to "/usr/lib/xorg/modules" [ 4388.691] (II) The server relies on udev to provide the list of input devices. If no devices become available, reconfigure udev or disable AutoAddDevices. [ 4388.691] (II) Loader magic: 0x55b4d377df00 [ 4388.691] (II) Module ABI versions: [ 4388.691] X.Org ANSI C Emulation: 0.4 [ 4388.691] X.Org Video Driver: 25.2 [ 4388.691] X.Org XInput driver : 24.4 [ 4388.691] X.Org Server Extension : 10.0 [ 4388.692] (--) using VT number 3 [ 4388.695] (II) systemd-logind: took control of session /org/freedesktop/login1/session/_314 [ 4388.697] (II) xfree86: Adding drm device (/dev/dri/card0) [ 4388.697] (II) Platform probe for /sys/devices/pci0000:00/0000:00:02.0/drm/card0 [ 4388.697] (EE) systemd-logind: failed to take device /dev/dri/card0: Operation not permitted [ 4388.702] (--) PCI:*(0@0:2:0) 8086:29c2:10cf:1477 rev 10, Mem @ 0xf0200000/524288, 0xe0000000/268435456, 0xf0000000/1048576, I/O @ 0x000018e0/8, BIOS @ 0x????????/131072 [ 4388.703] (II) LoadModule: "glx" [ 4388.703] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so [ 4388.705] (II) Module glx: vendor="X.Org Foundation" [ 4388.705] compiled for 1.21.1.16, module version = 1.0.0 [ 4388.705] ABI class: X.Org Server Extension, version 10.0 [ 4388.705] (==) Matched intel as autoconfigured driver 0 [ 4388.705] (==) Matched modesetting as autoconfigured driver 1 [ 4388.705] (==) Matched fbdev as autoconfigured driver 2 [ 4388.705] (==) Matched vesa as autoconfigured driver 3 [ 4388.705] (==) Assigned the driver to the xf86ConfigLayout [ 4388.705] (II) LoadModule: "intel" [ 4388.705] (II) Loading /usr/lib/xorg/modules/drivers/intel_drv.so [ 4388.706] (II) Module intel: vendor="X.Org Foundation" [ 4388.706] compiled for 1.21.1.3, module version = 2.99.917 [ 4388.706] Module class: X.Org Video Driver [ 4388.706] ABI class: X.Org Video Driver, version 25.2 [ 4388.706] (II) LoadModule: "modesetting" [ 4388.706] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so [ 4388.706] (II) Module modesetting: vendor="X.Org Foundation" [ 4388.706] compiled for 1.21.1.16, module version = 1.21.1 [ 4388.706] Module class: X.Org Video Driver [ 4388.706] ABI class: X.Org Video Driver, version 25.2 [ 4388.706] (II) LoadModule: "fbdev" [ 4388.706] (II) Loading /usr/lib/xorg/modules/drivers/fbdev_drv.so [ 4388.707] (II) Module fbdev: vendor="X.Org Foundation" [ 4388.707] compiled for 1.21.1.3, module version = 0.5.0 [ 4388.707] Module class: X.Org Video Driver [ 4388.707] ABI class: X.Org Video Driver, version 25.2 [ 4388.707] (II) LoadModule: "vesa" [ 4388.707] (II) Loading /usr/lib/xorg/modules/drivers/vesa_drv.so [ 4388.707] (II) Module vesa: vendor="X.Org Foundation" [ 4388.707] compiled for 1.21.1.15, module version = 2.6.0 [ 4388.707] Module class: X.Org Video Driver [ 4388.707] ABI class: X.Org Video Driver, version 25.2 [ 4388.707] (II) intel: Driver for Intel(R) Integrated Graphics Chipsets: i810, i810-dc100, i810e, i815, i830M, 845G, 854, 852GM/855GM, 865G, 915G, E7221 (i915), 915GM, 945G, 945GM, 945GME, Pineview GM, Pineview G, 965G, G35, 965Q, 946GZ, 965GM, 965GME/GLE, G33, Q35, Q33, GM45, 4 Series, G45/G43, Q45/Q43, G41, B43 [ 4388.708] (II) intel: Driver for Intel(R) HD Graphics [ 4388.708] (II) intel: Driver for Intel(R) Iris(TM) Graphics [ 4388.708] (II) intel: Driver for Intel(R) Iris(TM) Pro Graphics [ 4388.708] (II) modesetting: Driver for Modesetting Kernel Drivers: kms [ 4388.708] (II) FBDEV: driver for framebuffer: fbdev [ 4388.708] (II) VESA: driver for VESA chipsets: vesa [ 4388.709] (II) intel(0): Using Kernel Mode Setting driver: i915, version 1.6.0 0 [ 4388.709] (II) intel(0): SNA compiled: xserver-xorg-video-intel 2:2.99.917+git20210115-1 (Timo Aaltonen <[email protected]>) [ 4388.709] (II) intel(0): SNA compiled for use with valgrind [ 4388.709] (WW) Falling back to old probe method for modesetting [ 4388.709] (WW) Falling back to old probe method for fbdev [ 4388.709] (II) Loading sub module "fbdevhw" [ 4388.709] (II) LoadModule: "fbdevhw" [ 4388.710] (II) Loading /usr/lib/xorg/modules/libfbdevhw.so [ 4388.710] (II) Module fbdevhw: vendor="X.Org Foundation" [ 4388.710] compiled for 1.21.1.16, module version = 0.0.2 [ 4388.710] ABI class: X.Org Video Driver, version 25.2 [ 4388.710] (--) intel(0): Integrated Graphics Chipset: Intel(R) G33 [ 4388.710] (--) intel(0): CPU: x86-64, sse2, sse3, ssse3; using a maximum of 2 threads [ 4388.710] (II) intel(0): Creating default Display subsection in Screen section "Default Screen Section" for depth/fbbpp 24/32 [ 4388.710] (==) intel(0): Depth 24, (--) framebuffer bpp 32 [ 4388.710] (==) intel(0): RGB weight 888 [ 4388.710] (==) intel(0): Default visual is TrueColor [ 4388.711] (II) intel(0): Output VGA1 has no monitor section [ 4388.711] (II) intel(0): Enabled output VGA1 [ 4388.712] (--) intel(0): Using a maximum size of 256x256 for hardware cursors [ 4388.712] (II) intel(0): Output VIRTUAL1 has no monitor section [ 4388.712] (II) intel(0): Enabled output VIRTUAL1 [ 4388.712] (--) intel(0): Output VGA1 using initial mode 1024x768 on pipe 0 [ 4388.712] (==) intel(0): TearFree disabled [ 4388.712] (==) intel(0): Using gamma correction (1.0, 1.0, 1.0) [ 4388.712] (==) intel(0): DPI set to (96, 96) [ 4388.712] (II) Loading sub module "dri3" [ 4388.712] (II) LoadModule: "dri3" [ 4388.712] (II) Module "dri3" already built-in [ 4388.712] (II) Loading sub module "dri2" [ 4388.712] (II) LoadModule: "dri2" [ 4388.712] (II) Module "dri2" already built-in [ 4388.712] (II) Loading sub module "present" [ 4388.712] (II) LoadModule: "present" [ 4388.712] (II) Module "present" already built-in [ 4388.712] (II) UnloadModule: "modesetting" [ 4388.712] (II) Unloading modesetting [ 4388.713] (II) UnloadModule: "fbdev" [ 4388.713] (II) Unloading fbdev [ 4388.713] (II) UnloadSubModule: "fbdevhw" [ 4388.713] (II) Unloading fbdevhw [ 4388.713] (II) UnloadModule: "vesa" [ 4388.713] (II) Unloading vesa [ 4388.713] (II) intel(0): SNA initialized with Alviso (gen3) backend [ 4388.713] (==) intel(0): Backing store enabled [ 4388.713] (==) intel(0): Silken mouse enabled [ 4388.713] (II) intel(0): HW Cursor enabled [ 4388.713] (==) intel(0): DPMS enabled [ 4388.713] (==) intel(0): Display hotplug detection enabled [ 4388.714] (II) intel(0): [XvMC] i915_xvmc driver initialized. [ 4388.714] (II) intel(0): [DRI2] Setup complete [ 4388.714] (II) intel(0): [DRI2] DRI driver: i915 [ 4388.714] (II) intel(0): [DRI2] VDPAU driver: va_gl [ 4388.714] (II) intel(0): direct rendering: DRI2 enabled [ 4388.714] (II) intel(0): hardware support for Present enabled [ 4388.714] (II) Initializing extension Generic Event Extension [ 4388.714] (II) Initializing extension SHAPE [ 4388.714] (II) Initializing extension MIT-SHM [ 4388.715] (II) Initializing extension XInputExtension [ 4388.715] (II) Initializing extension XTEST [ 4388.715] (II) Initializing extension BIG-REQUESTS [ 4388.715] (II) Initializing extension SYNC [ 4388.716] (II) Initializing extension XKEYBOARD [ 4388.716] (II) Initializing extension XC-MISC [ 4388.716] (II) Initializing extension SECURITY [ 4388.716] (II) Initializing extension XFIXES [ 4388.717] (II) Initializing extension RENDER [ 4388.717] (II) Initializing extension RANDR [ 4388.717] (II) Initializing extension COMPOSITE [ 4388.718] (II) Initializing extension DAMAGE [ 4388.718] (II) Initializing extension MIT-SCREEN-SAVER [ 4388.718] (II) Initializing extension DOUBLE-BUFFER [ 4388.718] (II) Initializing extension RECORD [ 4388.719] (II) Initializing extension DPMS [ 4388.719] (II) Initializing extension Present [ 4388.719] (II) Initializing extension DRI3 [ 4388.719] (II) Initializing extension X-Resource [ 4388.719] (II) Initializing extension XVideo [ 4388.720] (II) Initializing extension XVideo-MotionCompensation [ 4388.720] (II) Initializing extension SELinux [ 4388.720] (II) SELinux: Disabled on system [ 4388.720] (II) Initializing extension GLX [ 4388.789] (II) AIGLX: Loaded and initialized i915 [ 4388.790] (II) GLX: Initialized DRI2 GL provider for screen 0 [ 4388.790] (II) Initializing extension XFree86-VidModeExtension [ 4388.790] (II) Initializing extension XFree86-DGA [ 4388.790] (II) Initializing extension XFree86-DRI [ 4388.790] (II) Initializing extension DRI2 [ 4388.795] (II) intel(0): switch to mode [email protected] on VGA1 using pipe 0, position (0, 0), rotation normal, reflection none [ 4388.798] (II) intel(0): Setting screen physical size to 270 x 203 [ 4388.902] (II) config/udev: Adding input device Power Button (/dev/input/event1) [ 4388.902] (**) Power Button: Applying InputClass "libinput keyboard catchall" [ 4388.902] (II) LoadModule: "libinput" [ 4388.903] (II) Loading /usr/lib/xorg/modules/input/libinput_drv.so [ 4388.905] (II) Module libinput: vendor="X.Org Foundation" [ 4388.905] compiled for 1.21.1.15, module version = 1.5.0 [ 4388.905] Module class: X.Org XInput Driver [ 4388.905] ABI class: X.Org XInput driver, version 24.4 [ 4388.906] (II) Using input driver 'libinput' for 'Power Button' [ 4388.906] (EE) systemd-logind: failed to take device /dev/input/event1: Operation not permitted [ 4388.906] (**) Power Button: always reports core events [ 4388.906] (**) Option "Device" "/dev/input/event1" [ 4388.912] (II) event1 - Power Button: is tagged by udev as: Keyboard [ 4388.912] (II) event1 - Power Button: device is a keyboard [ 4388.912] (II) event1 - Power Button: device removed [ 4388.936] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXPWRBN:00/input/input2/event1" [ 4388.936] (II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD, id 6) [ 4388.936] (**) Option "xkb_model" "pc105" [ 4388.936] (**) Option "xkb_layout" "us" [ 4388.938] (II) event1 - Power Button: is tagged by udev as: Keyboard [ 4388.938] (II) event1 - Power Button: device is a keyboard [ 4388.939] (II) config/udev: Adding input device Fujitsu FUJ02E3 (/dev/input/event7) [ 4388.939] (**) Fujitsu FUJ02E3: Applying InputClass "libinput keyboard catchall" [ 4388.940] (II) Using input driver 'libinput' for 'Fujitsu FUJ02E3' [ 4388.940] (EE) systemd-logind: failed to take device /dev/input/event7: Operation not permitted [ 4388.940] (**) Fujitsu FUJ02E3: always reports core events [ 4388.940] (**) Option "Device" "/dev/input/event7" [ 4388.942] (II) event7 - Fujitsu FUJ02E3: is tagged by udev as: Keyboard [ 4388.942] (II) event7 - Fujitsu FUJ02E3: device is a keyboard [ 4388.943] (II) event7 - Fujitsu FUJ02E3: device removed [ 4388.964] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXSYBUS:00/FUJ02E3:00/input/input8/event7" [ 4388.964] (II) XINPUT: Adding extended input device "Fujitsu FUJ02E3" (type: KEYBOARD, id 7) [ 4388.964] (**) Option "xkb_model" "pc105" [ 4388.964] (**) Option "xkb_layout" "us" [ 4388.966] (II) event7 - Fujitsu FUJ02E3: is tagged by udev as: Keyboard [ 4388.966] (II) event7 - Fujitsu FUJ02E3: device is a keyboard [ 4388.968] (II) config/udev: Adding input device Video Bus (/dev/input/event6) [ 4388.968] (**) Video Bus: Applying InputClass "libinput keyboard catchall" [ 4388.968] (II) Using input driver 'libinput' for 'Video Bus' [ 4388.968] (EE) systemd-logind: failed to take device /dev/input/event6: Operation not permitted [ 4388.968] (**) Video Bus: always reports core events [ 4388.968] (**) Option "Device" "/dev/input/event6" [ 4388.970] (II) event6 - Video Bus: is tagged by udev as: Keyboard [ 4388.971] (II) event6 - Video Bus: device is a keyboard [ 4388.971] (II) event6 - Video Bus: device removed [ 4388.984] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A03:00/LNXVIDEO:00/input/input7/event6" [ 4388.984] (II) XINPUT: Adding extended input device "Video Bus" (type: KEYBOARD, id 8) [ 4388.984] (**) Option "xkb_model" "pc105" [ 4388.984] (**) Option "xkb_layout" "us" [ 4388.986] (II) event6 - Video Bus: is tagged by udev as: Keyboard [ 4388.987] (II) event6 - Video Bus: device is a keyboard [ 4388.988] (II) config/udev: Adding input device Power Button (/dev/input/event0) [ 4388.988] (**) Power Button: Applying InputClass "libinput keyboard catchall" [ 4388.988] (II) Using input driver 'libinput' for 'Power Button' [ 4388.989] (EE) systemd-logind: failed to take device /dev/input/event0: Operation not permitted [ 4388.989] (**) Power Button: always reports core events [ 4388.989] (**) Option "Device" "/dev/input/event0" [ 4388.992] (II) event0 - Power Button: is tagged by udev as: Keyboard [ 4388.992] (II) event0 - Power Button: device is a keyboard [ 4388.992] (II) event0 - Power Button: device removed [ 4389.028] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A03:00/PNP0C0C:00/input/input1/event0" [ 4389.028] (II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD, id 9) [ 4389.028] (**) Option "xkb_model" "pc105" [ 4389.028] (**) Option "xkb_layout" "us" [ 4389.030] (II) event0 - Power Button: is tagged by udev as: Keyboard [ 4389.031] (II) event0 - Power Button: device is a keyboard [ 4389.033] (II) config/udev: Adding input device HDA Digital PCBeep (/dev/input/event9) [ 4389.033] (II) No input driver specified, ignoring this device. [ 4389.033] (II) This device may have been added with another device file. [ 4389.034] (II) config/udev: Adding input device HDA Intel Mic (/dev/input/event10) [ 4389.034] (II) No input driver specified, ignoring this device. [ 4389.034] (II) This device may have been added with another device file. [ 4389.035] (II) config/udev: Adding input device HDA Intel Line (/dev/input/event11) [ 4389.035] (II) No input driver specified, ignoring this device. [ 4389.035] (II) This device may have been added with another device file. [ 4389.036] (II) config/udev: Adding input device HDA Intel Line Out (/dev/input/event12) [ 4389.036] (II) No input driver specified, ignoring this device. [ 4389.036] (II) This device may have been added with another device file. [ 4389.037] (II) config/udev: Adding input device HDA Intel Front Headphone (/dev/input/event13) [ 4389.037] (II) No input driver specified, ignoring this device. [ 4389.037] (II) This device may have been added with another device file. [ 4389.040] (II) config/udev: Adding input device Usb KeyBoard Usb KeyBoard (/dev/input/event2) [ 4389.040] (**) Usb KeyBoard Usb KeyBoard: Applying InputClass "libinput keyboard catchall" [ 4389.040] (II) Using input driver 'libinput' for 'Usb KeyBoard Usb KeyBoard' [ 4389.040] (EE) systemd-logind: failed to take device /dev/input/event2: Operation not permitted [ 4389.040] (**) Usb KeyBoard Usb KeyBoard: always reports core events [ 4389.041] (**) Option "Device" "/dev/input/event2" [ 4389.044] (II) event2 - Usb KeyBoard Usb KeyBoard: is tagged by udev as: Keyboard [ 4389.045] (II) event2 - Usb KeyBoard Usb KeyBoard: device is a keyboard [ 4389.045] (II) event2 - Usb KeyBoard Usb KeyBoard: device removed [ 4389.072] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:1d.1/usb3/3-1/3-1:1.0/0003:C0F4:01F5.0006/input/input18/event2" [ 4389.072] (II) XINPUT: Adding extended input device "Usb KeyBoard Usb KeyBoard" (type: KEYBOARD, id 10) [ 4389.072] (**) Option "xkb_model" "pc105" [ 4389.072] (**) Option "xkb_layout" "us" [ 4389.076] (II) event2 - Usb KeyBoard Usb KeyBoard: is tagged by udev as: Keyboard [ 4389.076] (II) event2 - Usb KeyBoard Usb KeyBoard: device is a keyboard [ 4389.079] (II) config/udev: Adding input device Usb KeyBoard Usb KeyBoard Consumer Control (/dev/input/event3) [ 4389.079] (**) Usb KeyBoard Usb KeyBoard Consumer Control: Applying InputClass "libinput keyboard catchall" [ 4389.079] (II) Using input driver 'libinput' for 'Usb KeyBoard Usb KeyBoard Consumer Control' [ 4389.079] (EE) systemd-logind: failed to take device /dev/input/event3: Operation not permitted [ 4389.080] (**) Usb KeyBoard Usb KeyBoard Consumer Control: always reports core events [ 4389.080] (**) Option "Device" "/dev/input/event3" [ 4389.083] (II) event3 - Usb KeyBoard Usb KeyBoard Consumer Control: is tagged by udev as: Keyboard [ 4389.084] (II) event3 - Usb KeyBoard Usb KeyBoard Consumer Control: device is a keyboard [ 4389.084] (II) event3 - Usb KeyBoard Usb KeyBoard Consumer Control: device removed [ 4389.112] (II) libinput: Usb KeyBoard Usb KeyBoard Consumer Control: needs a virtual subdevice [ 4389.112] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:1d.1/usb3/3-1/3-1:1.1/0003:C0F4:01F5.0007/input/input19/event3" [ 4389.112] (II) XINPUT: Adding extended input device "Usb KeyBoard Usb KeyBoard Consumer Control" (type: MOUSE, id 11) [ 4389.112] (**) Option "AccelerationScheme" "none" [ 4389.112] (**) Usb KeyBoard Usb KeyBoard Consumer Control: (accel) selected scheme none/0 [ 4389.112] (**) Usb KeyBoard Usb KeyBoard Consumer Control: (accel) acceleration factor: 2.000 [ 4389.112] (**) Usb KeyBoard Usb KeyBoard Consumer Control: (accel) acceleration threshold: 4 [ 4389.116] (II) event3 - Usb KeyBoard Usb KeyBoard Consumer Control: is tagged by udev as: Keyboard [ 4389.116] (II) event3 - Usb KeyBoard Usb KeyBoard Consumer Control: device is a keyboard [ 4389.119] (II) config/udev: Adding input device Usb KeyBoard Usb KeyBoard System Control (/dev/input/event4) [ 4389.119] (**) Usb KeyBoard Usb KeyBoard System Control: Applying InputClass "libinput keyboard catchall" [ 4389.119] (II) Using input driver 'libinput' for 'Usb KeyBoard Usb KeyBoard System Control' [ 4389.120] (EE) systemd-logind: failed to take device /dev/input/event4: Operation not permitted [ 4389.120] (**) Usb KeyBoard Usb KeyBoard System Control: always reports core events [ 4389.120] (**) Option "Device" "/dev/input/event4" [ 4389.123] (II) event4 - Usb KeyBoard Usb KeyBoard System Control: is tagged by udev as: Keyboard [ 4389.124] (II) event4 - Usb KeyBoard Usb KeyBoard System Control: device is a keyboard [ 4389.124] (II) event4 - Usb KeyBoard Usb KeyBoard System Control: device removed [ 4389.152] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:1d.1/usb3/3-1/3-1:1.1/0003:C0F4:01F5.0007/input/input20/event4" [ 4389.152] (II) XINPUT: Adding extended input device "Usb KeyBoard Usb KeyBoard System Control" (type: KEYBOARD, id 12) [ 4389.152] (**) Option "xkb_model" "pc105" [ 4389.152] (**) Option "xkb_layout" "us" [ 4389.156] (II) event4 - Usb KeyBoard Usb KeyBoard System Control: is tagged by udev as: Keyboard [ 4389.156] (II) event4 - Usb KeyBoard Usb KeyBoard System Control: device is a keyboard [ 4389.159] (II) config/udev: Adding input device SIGMACHIP Usb Mouse (/dev/input/event5) [ 4389.159] (**) SIGMACHIP Usb Mouse: Applying InputClass "libinput pointer catchall" [ 4389.159] (II) Using input driver 'libinput' for 'SIGMACHIP Usb Mouse' [ 4389.159] (EE) systemd-logind: failed to take device /dev/input/event5: Operation not permitted [ 4389.159] (**) SIGMACHIP Usb Mouse: always reports core events [ 4389.159] (**) Option "Device" "/dev/input/event5" [ 4389.219] (II) event5 - SIGMACHIP Usb Mouse: is tagged by udev as: Mouse [ 4389.219] (II) event5 - SIGMACHIP Usb Mouse: device is a pointer [ 4389.220] (II) event5 - SIGMACHIP Usb Mouse: device removed [ 4389.264] (II) libinput: SIGMACHIP Usb Mouse: Step value 0 was provided, libinput Fallback acceleration function is used. [ 4389.264] (II) libinput: SIGMACHIP Usb Mouse: Step value 0 was provided, libinput Fallback acceleration function is used. [ 4389.264] (II) libinput: SIGMACHIP Usb Mouse: Step value 0 was provided, libinput Fallback acceleration function is used. [ 4389.264] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:1d.2/usb4/4-2/4-2:1.0/0003:1C4F:0034.0003/input/input6/event5" [ 4389.264] (II) XINPUT: Adding extended input device "SIGMACHIP Usb Mouse" (type: MOUSE, id 13) [ 4389.264] (**) Option "AccelerationScheme" "none" [ 4389.264] (**) SIGMACHIP Usb Mouse: (accel) selected scheme none/0 [ 4389.264] (**) SIGMACHIP Usb Mouse: (accel) acceleration factor: 2.000 [ 4389.264] (**) SIGMACHIP Usb Mouse: (accel) acceleration threshold: 4 [ 4389.323] (II) event5 - SIGMACHIP Usb Mouse: is tagged by udev as: Mouse [ 4389.323] (II) event5 - SIGMACHIP Usb Mouse: device is a pointer [ 4389.326] (II) config/udev: Adding input device SIGMACHIP Usb Mouse (/dev/input/mouse0) [ 4389.326] (II) No input driver specified, ignoring this device. [ 4389.326] (II) This device may have been added with another device file. [ 4389.327] (II) config/udev: Adding input device PC Speaker (/dev/input/event8) [ 4389.327] (II) No input driver specified, ignoring this device. [ 4389.327] (II) This device may have been added with another device file. [ 4389.350] (**) Usb KeyBoard Usb KeyBoard Consumer Control: Applying InputClass "libinput keyboard catchall" [ 4389.350] (II) Using input driver 'libinput' for 'Usb KeyBoard Usb KeyBoard Consumer Control' [ 4389.350] (EE) systemd-logind: failed to take device /dev/input/event3: Operation not permitted [ 4389.351] (**) Usb KeyBoard Usb KeyBoard Consumer Control: always reports core events [ 4389.351] (**) Option "Device" "/dev/input/event3" [ 4389.351] (II) libinput: Usb KeyBoard Usb KeyBoard Consumer Control: is a virtual subdevice [ 4389.351] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:1d.1/usb3/3-1/3-1:1.1/0003:C0F4:01F5.0007/input/input19/event3" [ 4389.351] (II) XINPUT: Adding extended input device "Usb KeyBoard Usb KeyBoard Consumer Control" (type: KEYBOARD, id 14) [ 4389.351] (**) Option "xkb_model" "pc105" [ 4389.351] (**) Option "xkb_layout" "us" [ 4390.735] (II) intel(0): EDID vendor "HWP", prod id 9819 [ 4390.735] (II) intel(0): Using EDID range info for horizontal sync [ 4390.736] (II) intel(0): Using EDID range info for vertical refresh [ 4390.736] (II) intel(0): Printing DDC gathered Modelines: [ 4390.736] (II) intel(0): Modeline "1024x768"x0.0 65.00 1024 1048 1184 1344 768 771 777 806 -hsync -vsync (48.4 kHz eP) [ 4390.736] (II) intel(0): Modeline "800x600"x0.0 40.00 800 840 968 1056 600 601 605 628 +hsync +vsync (37.9 kHz e) [ 4390.736] (II) intel(0): Modeline "640x480"x0.0 31.50 640 656 720 840 480 481 484 500 -hsync -vsync (37.5 kHz e) [ 4390.736] (II) intel(0): Modeline "640x480"x0.0 31.50 640 664 704 832 480 489 492 520 -hsync -vsync (37.9 kHz e) [ 4390.736] (II) intel(0): Modeline "640x480"x0.0 25.18 640 656 752 800 480 490 492 525 -hsync -vsync (31.5 kHz e) [ 4390.736] (II) intel(0): Modeline "720x400"x0.0 28.32 720 738 846 900 400 412 414 449 -hsync +vsync (31.5 kHz e) [ 4390.736] (II) intel(0): Modeline "1024x768"x0.0 78.75 1024 1040 1136 1312 768 769 772 800 +hsync +vsync (60.0 kHz e) [ 4390.736] (II) intel(0): Modeline "1024x768"x0.0 75.00 1024 1048 1184 1328 768 771 777 806 -hsync -vsync (56.5 kHz e) [ 4390.736] (II) intel(0): Modeline "832x624"x0.0 57.28 832 864 928 1152 624 625 628 667 -hsync -vsync (49.7 kHz e) [ 4390.736] (II) intel(0): Modeline "800x600"x0.0 49.50 800 816 896 1056 600 601 604 625 +hsync +vsync (46.9 kHz e) [ 4390.737] (II) intel(0): Modeline "800x600"x0.0 50.00 800 856 976 1040 600 637 643 666 +hsync +vsync (48.1 kHz e) [ 4452.092] (II) event1 - Power Button: device removed [ 4452.108] (II) event7 - Fujitsu FUJ02E3: device removed [ 4452.120] (II) event6 - Video Bus: device removed [ 4452.140] (II) event0 - Power Button: device removed [ 4452.164] (II) event2 - Usb KeyBoard Usb KeyBoard: device removed [ 4452.180] (II) event4 - Usb KeyBoard Usb KeyBoard System Control: device removed [ 4452.196] (II) event5 - SIGMACHIP Usb Mouse: device removed [ 4452.236] (II) event3 - Usb KeyBoard Usb KeyBoard Consumer Control: device removed [ 4975.117] (EE) [ 4975.118] (EE) Backtrace: [ 4975.118] (EE) 0: /usr/lib/xorg/Xorg (OsSigHandler+0x2d) [0x55b4d36e8eed] [ 4975.119] (EE) unw_get_proc_name failed: no unwind info found [-10] [ 4975.120] (EE) 1: /lib/x86_64-linux-gnu/libc.so.6 (?+0x0) [0x7f35d6c03df0] [ 4975.121] (EE) 2: /lib/x86_64-linux-gnu/libpciaccess.so.0 (pci_device_vgaarb_set_target+0x113) [0x7f35d71049b3] [ 4975.121] (EE) 3: /usr/lib/xorg/Xorg (xf86VGAarbiterLock+0x20) [0x55b4d35c8a80] [ 4975.122] (EE) 4: /usr/lib/xorg/Xorg (xf86DPMS+0x38) [0x55b4d35abbd8] [ 4975.122] (EE) 5: /usr/lib/xorg/Xorg (DPMSSet+0x66) [0x55b4d3621616] [ 4975.123] (EE) 6: /usr/lib/xorg/Xorg (CloseDownExtensions+0x41) [0x55b4d3580b61] [ 4975.124] (EE) 7: /usr/lib/xorg/Xorg (dix_main+0x3c8) [0x55b4d356fd08] [ 4975.125] (EE) unw_get_proc_name failed: no unwind info found [-10] [ 4975.125] (EE) 8: /lib/x86_64-linux-gnu/libc.so.6 (?+0x0) [0x7f35d6bedca8] [ 4975.126] (EE) 9: /lib/x86_64-linux-gnu/libc.so.6 (__libc_start_main+0x85) [0x7f35d6bedd65] [ 4975.127] (EE) 10: /usr/lib/xorg/Xorg (_start+0x21) [0x55b4d3558641] [ 4975.127] (EE) [ 4975.127] (EE) Segmentation fault at address 0x30 [ 4975.127] (EE) Fatal server error: [ 4975.127] (EE) Caught signal 11 (Segmentation fault). Server aborting [ 4975.128] (EE) [ 4975.128] (EE) Please consult the The X.Org Foundation support at http://wiki.x.org for help. [ 4975.128] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information. [ 4975.128] (EE)
Xorg-modesetting-init-crash.log
(application/octet-stream, 11.9 KB)
[ 2944.470] X.Org X Server 1.21.1.16 X Protocol Version 11, Revision 0 [ 2944.470] Current Operating System: Linux oldpc 6.12.90+deb13.1-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.12.90-2 (2026-05-27) x86_64 [ 2944.470] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-6.12.90+deb13.1-amd64 root=UUID=b2f6c005-9b76-441c-a88e-b3a206de2b12 ro quiet [ 2944.470] xorg-server 2:21.1.16-1.3+deb13u2 (https://www.debian.org/support) [ 2944.470] Current version of pixman: 0.44.0 [ 2944.470] Before reporting problems, check http://wiki.x.org to make sure that you have the latest version. [ 2944.470] Markers: (--) probed, (**) from config file, (==) default setting, (++) from command line, (!!) notice, (II) informational, (WW) warning, (EE) error, (NI) not implemented, (??) unknown. [ 2944.470] (==) Log file: "/var/log/Xorg.0.log", Time: Thu Jun 18 22:32:28 2026 [ 2944.471] (==) Using system config directory "/usr/share/X11/xorg.conf.d" [ 2944.471] (==) No Layout section. Using the first Screen section. [ 2944.471] (==) No screen section available. Using defaults. [ 2944.471] (**) |-->Screen "Default Screen Section" (0) [ 2944.471] (**) | |-->Monitor "<default monitor>" [ 2944.471] (==) No monitor specified for screen "Default Screen Section". Using a default monitor configuration. [ 2944.471] (**) Allowing byte-swapped clients [ 2944.471] (==) Automatically adding devices [ 2944.471] (==) Automatically enabling devices [ 2944.471] (==) Automatically adding GPU devices [ 2944.471] (==) Automatically binding GPU devices [ 2944.471] (==) Max clients allowed: 256, resource mask: 0x1fffff [ 2944.471] (WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist. [ 2944.472] Entry deleted from font path. [ 2944.472] (==) FontPath set to: /usr/share/fonts/X11/misc, /usr/share/fonts/X11/100dpi/:unscaled, /usr/share/fonts/X11/75dpi/:unscaled, /usr/share/fonts/X11/Type1, /usr/share/fonts/X11/100dpi, /usr/share/fonts/X11/75dpi, built-ins [ 2944.472] (==) ModulePath set to "/usr/lib/xorg/modules" [ 2944.472] (II) The server relies on udev to provide the list of input devices. If no devices become available, reconfigure udev or disable AutoAddDevices. [ 2944.472] (II) Loader magic: 0x55c8c3b68f00 [ 2944.472] (II) Module ABI versions: [ 2944.472] X.Org ANSI C Emulation: 0.4 [ 2944.472] X.Org Video Driver: 25.2 [ 2944.472] X.Org XInput driver : 24.4 [ 2944.472] X.Org Server Extension : 10.0 [ 2944.473] (--) using VT number 2 [ 2944.476] (II) systemd-logind: took control of session /org/freedesktop/login1/session/_314 [ 2944.477] (II) xfree86: Adding drm device (/dev/dri/card0) [ 2944.478] (II) Platform probe for /sys/devices/pci0000:00/0000:00:02.0/drm/card0 [ 2944.478] (EE) systemd-logind: failed to take device /dev/dri/card0: Operation not permitted [ 2944.500] (--) PCI:*(0@0:2:0) 8086:29c2:10cf:1477 rev 10, Mem @ 0xf0200000/524288, 0xe0000000/268435456, 0xf0000000/1048576, I/O @ 0x000018e0/8, BIOS @ 0x????????/131072 [ 2944.500] (II) LoadModule: "glx" [ 2944.500] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so [ 2944.502] (II) Module glx: vendor="X.Org Foundation" [ 2944.502] compiled for 1.21.1.16, module version = 1.0.0 [ 2944.502] ABI class: X.Org Server Extension, version 10.0 [ 2944.502] (==) Matched intel as autoconfigured driver 0 [ 2944.502] (==) Matched modesetting as autoconfigured driver 1 [ 2944.502] (==) Matched fbdev as autoconfigured driver 2 [ 2944.502] (==) Matched vesa as autoconfigured driver 3 [ 2944.502] (==) Assigned the driver to the xf86ConfigLayout [ 2944.502] (II) LoadModule: "intel" [ 2944.503] (WW) Warning, couldn't open module intel [ 2944.503] (EE) Failed to load module "intel" (module does not exist, 0) [ 2944.503] (II) LoadModule: "modesetting" [ 2944.503] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so [ 2944.503] (II) Module modesetting: vendor="X.Org Foundation" [ 2944.503] compiled for 1.21.1.16, module version = 1.21.1 [ 2944.503] Module class: X.Org Video Driver [ 2944.503] ABI class: X.Org Video Driver, version 25.2 [ 2944.503] (II) LoadModule: "fbdev" [ 2944.503] (II) Loading /usr/lib/xorg/modules/drivers/fbdev_drv.so [ 2944.504] (II) Module fbdev: vendor="X.Org Foundation" [ 2944.504] compiled for 1.21.1.3, module version = 0.5.0 [ 2944.504] Module class: X.Org Video Driver [ 2944.504] ABI class: X.Org Video Driver, version 25.2 [ 2944.504] (II) LoadModule: "vesa" [ 2944.504] (II) Loading /usr/lib/xorg/modules/drivers/vesa_drv.so [ 2944.504] (II) Module vesa: vendor="X.Org Foundation" [ 2944.504] compiled for 1.21.1.15, module version = 2.6.0 [ 2944.504] Module class: X.Org Video Driver [ 2944.504] ABI class: X.Org Video Driver, version 25.2 [ 2944.504] (II) modesetting: Driver for Modesetting Kernel Drivers: kms [ 2944.504] (II) FBDEV: driver for framebuffer: fbdev [ 2944.504] (II) VESA: driver for VESA chipsets: vesa [ 2944.528] (II) modeset(0): using drv /dev/dri/card0 [ 2944.528] (WW) Falling back to old probe method for fbdev [ 2944.528] (II) Loading sub module "fbdevhw" [ 2944.528] (II) LoadModule: "fbdevhw" [ 2944.529] (II) Loading /usr/lib/xorg/modules/libfbdevhw.so [ 2944.529] (II) Module fbdevhw: vendor="X.Org Foundation" [ 2944.529] compiled for 1.21.1.16, module version = 0.0.2 [ 2944.529] ABI class: X.Org Video Driver, version 25.2 [ 2944.529] (II) modeset(0): Creating default Display subsection in Screen section "Default Screen Section" for depth/fbbpp 24/32 [ 2944.529] (==) modeset(0): Depth 24, (==) framebuffer bpp 32 [ 2944.529] (==) modeset(0): RGB weight 888 [ 2944.529] (==) modeset(0): Default visual is TrueColor [ 2944.529] (II) Loading sub module "glamoregl" [ 2944.529] (II) LoadModule: "glamoregl" [ 2944.529] (II) Loading /usr/lib/xorg/modules/libglamoregl.so [ 2944.535] (II) Module glamoregl: vendor="X.Org Foundation" [ 2944.535] compiled for 1.21.1.16, module version = 1.0.1 [ 2944.535] ABI class: X.Org ANSI C Emulation, version 0.4 [ 2944.610] (II) modeset(0): glamor X acceleration enabled on i915 (chipset: G33) [ 2944.610] (II) modeset(0): glamor initialized [ 2944.610] (==) modeset(0): VariableRefresh: disabled [ 2944.610] (==) modeset(0): AsyncFlipSecondaries: disabled [ 2944.627] (II) modeset(0): Output VGA-1 has no monitor section [ 2944.643] (II) modeset(0): EDID for output VGA-1 [ 2944.643] (II) modeset(0): Manufacturer: HWP Model: 265b Serial#: 16843009 [ 2944.643] (II) modeset(0): Year: 2006 Week: 17 [ 2944.643] (II) modeset(0): EDID Version: 1.3 [ 2944.643] (II) modeset(0): Analog Display Input, Input Voltage Level: 0.700/0.700 V [ 2944.643] (II) modeset(0): Sync: Separate [ 2944.643] (II) modeset(0): Max Image Size [cm]: horiz.: 30 vert.: 22 [ 2944.643] (II) modeset(0): Gamma: 2.40 [ 2944.643] (II) modeset(0): DPMS capabilities: StandBy Suspend Off; RGB/Color Display [ 2944.643] (II) modeset(0): Default color space is primary color space [ 2944.643] (II) modeset(0): First detailed timing is preferred mode [ 2944.643] (II) modeset(0): redX: 0.631 redY: 0.347 greenX: 0.306 greenY: 0.590 [ 2944.643] (II) modeset(0): blueX: 0.149 blueY: 0.088 whiteX: 0.312 whiteY: 0.328 [ 2944.643] (II) modeset(0): Supported established timings: [ 2944.643] (II) modeset(0): 720x400@70Hz [ 2944.643] (II) modeset(0): 640x480@60Hz [ 2944.643] (II) modeset(0): 640x480@72Hz [ 2944.643] (II) modeset(0): 640x480@75Hz [ 2944.643] (II) modeset(0): 800x600@60Hz [ 2944.643] (II) modeset(0): 800x600@72Hz [ 2944.643] (II) modeset(0): 800x600@75Hz [ 2944.643] (II) modeset(0): 832x624@75Hz [ 2944.643] (II) modeset(0): 1024x768@60Hz [ 2944.643] (II) modeset(0): 1024x768@70Hz [ 2944.643] (II) modeset(0): 1024x768@75Hz [ 2944.643] (II) modeset(0): Manufacturer's mask: 0 [ 2944.643] (II) modeset(0): Supported detailed timing: [ 2944.644] (II) modeset(0): clock: 65.0 MHz Image Size: 300 x 220 mm [ 2944.644] (II) modeset(0): h_active: 1024 h_sync: 1048 h_sync_end 1184 h_blank_end 1344 h_border: 0 [ 2944.644] (II) modeset(0): v_active: 768 v_sync: 771 v_sync_end 777 v_blanking: 806 v_border: 0 [ 2944.644] (II) modeset(0): Ranges: V min: 50 V max: 76 Hz, H min: 30 H max: 63 kHz, PixClock max 85 MHz [ 2944.644] (II) modeset(0): Monitor name: HP L1506 [ 2944.644] (II) modeset(0): Serial No: CNC61710RJ [ 2944.644] (II) modeset(0): EDID (in hex): [ 2944.644] (II) modeset(0): 00ffffffffffff0022f05b2601010101 [ 2944.644] (II) modeset(0): 11100103681e168ceeb460a1584e9726 [ 2944.644] (II) modeset(0): 165054adee0001010101010101010101 [ 2944.644] (II) modeset(0): 01010101010164190040410026301888 [ 2944.644] (II) modeset(0): 36002cdc10000018000000fd00324c1e [ 2944.644] (II) modeset(0): 3f08000a202020202020000000fc0048 [ 2944.644] (II) modeset(0): 50204c313530360a20202020000000ff [ 2944.644] (II) modeset(0): 00434e433631373130524a0a202000a5 [ 2944.644] (II) modeset(0): Printing probed modes for output VGA-1 [ 2944.644] (II) modeset(0): Modeline "1024x768"x60.0 65.00 1024 1048 1184 1344 768 771 777 806 -hsync -vsync (48.4 kHz eP) [ 2944.644] (II) modeset(0): Modeline "1024x768"x75.0 78.75 1024 1040 1136 1312 768 769 772 800 +hsync +vsync (60.0 kHz e) [ 2944.644] (II) modeset(0): Modeline "1024x768"x70.1 75.00 1024 1048 1184 1328 768 771 777 806 -hsync -vsync (56.5 kHz e) [ 2944.644] (II) modeset(0): Modeline "832x624"x74.6 57.28 832 864 928 1152 624 625 628 667 -hsync -vsync (49.7 kHz e) [ 2944.644] (II) modeset(0): Modeline "800x600"x72.2 50.00 800 856 976 1040 600 637 643 666 +hsync +vsync (48.1 kHz e) [ 2944.644] (II) modeset(0): Modeline "800x600"x75.0 49.50 800 816 896 1056 600 601 604 625 +hsync +vsync (46.9 kHz e) [ 2944.644] (II) modeset(0): Modeline "800x600"x60.3 40.00 800 840 968 1056 600 601 605 628 +hsync +vsync (37.9 kHz e) [ 2944.644] (II) modeset(0): Modeline "640x480"x75.0 31.50 640 656 720 840 480 481 484 500 -hsync -vsync (37.5 kHz e) [ 2944.644] (II) modeset(0): Modeline "640x480"x72.8 31.50 640 664 704 832 480 489 492 520 -hsync -vsync (37.9 kHz e) [ 2944.644] (II) modeset(0): Modeline "640x480"x59.9 25.18 640 656 752 800 480 490 492 525 -hsync -vsync (31.5 kHz e) [ 2944.644] (II) modeset(0): Modeline "720x400"x70.1 28.32 720 738 846 900 400 412 414 449 -hsync +vsync (31.5 kHz e) [ 2944.644] (II) modeset(0): Output VGA-1 connected [ 2944.644] (II) modeset(0): Using exact sizes for initial modes [ 2944.644] (II) modeset(0): Output VGA-1 using initial mode 1024x768 +0+0 [ 2944.644] (==) modeset(0): Using gamma correction (1.0, 1.0, 1.0) [ 2944.644] (==) modeset(0): DPI set to (96, 96) [ 2944.644] (II) Loading sub module "fb" [ 2944.644] (II) LoadModule: "fb" [ 2944.644] (II) Module "fb" already built-in [ 2944.644] (EE) [ 2944.644] (EE) Backtrace: [ 2944.645] (EE) 0: /usr/lib/xorg/Xorg (OsSigHandler+0x2d) [0x55c8c3ad3eed] [ 2944.646] (EE) unw_get_proc_name failed: no unwind info found [-10] [ 2944.646] (EE) 1: /lib/x86_64-linux-gnu/libc.so.6 (?+0x0) [0x7fe0a7a0fdf0] [ 2944.647] (EE) 2: /lib/x86_64-linux-gnu/libpciaccess.so.0 (pci_device_vgaarb_unlock+0x25) [0x7fe0a7f10d45] [ 2944.647] (EE) 3: /usr/lib/xorg/Xorg (InitOutput+0x9a1) [0x55c8c399b0b1] [ 2944.648] (EE) 4: /usr/lib/xorg/Xorg (dix_main+0x18e) [0x55c8c395aace] [ 2944.648] (EE) unw_get_proc_name failed: no unwind info found [-10] [ 2944.649] (EE) 5: /lib/x86_64-linux-gnu/libc.so.6 (?+0x0) [0x7fe0a79f9ca8] [ 2944.649] (EE) 6: /lib/x86_64-linux-gnu/libc.so.6 (__libc_start_main+0x85) [0x7fe0a79f9d65] [ 2944.650] (EE) 7: /usr/lib/xorg/Xorg (_start+0x21) [0x55c8c3943641] [ 2944.650] (EE) [ 2944.650] (EE) Segmentation fault at address 0x28 [ 2944.650] (EE) Fatal server error: [ 2944.650] (EE) Caught signal 11 (Segmentation fault). Server aborting [ 2944.650] (EE) [ 2944.650] (EE) Please consult the The X.Org Foundation support at http://wiki.x.org for help. [ 2944.650] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information. [ 2944.650] (EE) [ 2944.665] (EE) Server terminated with error (1). Closing log file.
common_vgaarb.c
(text/plain, 8.2 KB)
/*
* Copyright (c) 2007 Paulo R. Zanoni, Tiago Vignatti
* 2009 Tiago Vignatti
*
* Permission is hereby granted, free of charge, to any person
* obtaining a copy of this software and associated documentation
* files (the "Software"), to deal in the Software without
* restriction, including without limitation the rights to use,
* copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the
* Software is furnished to do so, subject to the following
* conditions:
*
* The above copyright notice and this permission notice shall be
* included in all copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
* OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
* NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
* HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
* WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
* OTHER DEALINGS IN THE SOFTWARE.
*
*/
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include <stdio.h>
#include <string.h>
#include <unistd.h>
#include <fcntl.h>
#include <errno.h>
#include <stdlib.h>
#include <limits.h>
#include "pciaccess.h"
#include "pciaccess_private.h"
#define BUFSIZE 64
static int
parse_string_to_decodes_rsrc(char *input, int *vga_count, struct pci_slot_match *match)
{
char *tok;
char *input_sp = NULL, *count_sp, *pci_sp;
char tmp[32];
tok = strtok_r(input,",",&input_sp);
if (!tok)
goto fail;
strncpy(tmp, input, 15);
tmp[15] = 0;
tok = strtok_r(tmp,":",&count_sp);
if (!tok)
goto fail;
tok = strtok_r(NULL, ":",&count_sp);
if (!tok)
goto fail;
*vga_count = strtoul(tok, NULL, 10);
if (*vga_count == LONG_MAX)
goto fail;
#ifdef DEBUG
fprintf(stderr,"vga count is %d\n", *vga_count);
#endif
tok = strtok_r(NULL, ",",&input_sp);
if (!tok)
goto fail;
if (match) {
strncpy(tmp, tok, 32);
tmp[31] = 0;
tok = strtok_r(tmp, ":", &pci_sp);
if (!tok)
goto fail;
tok = strtok_r(NULL, ":", &pci_sp);
if (!tok)
goto fail;
match->domain = strtoul(tok, NULL, 16);
tok = strtok_r(NULL, ":", &pci_sp);
if (!tok)
goto fail;
match->bus = strtoul(tok, NULL, 16);
tok = strtok_r(NULL, ".", &pci_sp);
if (!tok)
goto fail;
match->dev = strtoul(tok, NULL, 16);
tok = strtok_r(NULL, ".", &pci_sp);
if (!tok)
goto fail;
match->func = strtoul(tok, NULL, 16);
}
tok = strtok_r(NULL, ",",&input_sp);
if (!tok)
goto fail;
tok = strtok_r(tok, "=", &input_sp);
if (!tok)
goto fail;
tok = strtok_r(NULL, "=", &input_sp);
if (!tok)
goto fail;
if (!strncmp(tok, "io+mem", 6))
return VGA_ARB_RSRC_LEGACY_IO | VGA_ARB_RSRC_LEGACY_MEM;
if (!strncmp(tok, "io", 2))
return VGA_ARB_RSRC_LEGACY_IO;
if (!strncmp(tok, "mem", 3))
return VGA_ARB_RSRC_LEGACY_MEM;
fail:
return VGA_ARB_RSRC_NONE;
}
int
pci_device_vgaarb_init(void)
{
struct pci_slot_match match;
char buf[BUFSIZE + 1]; /* reading BUFSIZE characters, + 1 for NULL */
int ret, rsrc;
if (!pci_sys)
return -1;
if ((pci_sys->vgaarb_fd = open ("/dev/vga_arbiter", O_RDWR | O_CLOEXEC)) < 0) {
return errno;
}
ret = read(pci_sys->vgaarb_fd, buf, BUFSIZE);
if (ret <= 0)
return -1;
buf[ret] = 0; /* ret will never be greater than BUFSIZE */
memset(&match, 0xff, sizeof(match));
/* need to find the device to go back to and what it was decoding */
rsrc = parse_string_to_decodes_rsrc(buf, &pci_sys->vga_count, &match);
pci_sys->vga_default_dev = pci_device_find_by_slot(match.domain, match.bus, match.dev, match.func);
if (pci_sys->vga_default_dev)
pci_sys->vga_default_dev->vgaarb_rsrc = rsrc;
return 0;
}
void
pci_device_vgaarb_fini(void)
{
if (!pci_sys)
return;
close(pci_sys->vgaarb_fd);
}
/**
* Writes message on vga device. The messages are defined by the kernel
* implementation.
*
* \param fd vga arbiter device.
* \param buf message itself.
* \param len message length.
*
* \return
* Zero on success, 1 if something gets wrong and 2 if fd is busy (only for
* 'trylock')
*/
static int
vgaarb_write(int fd, char *buf, int len)
{
int ret;
buf[len] = '\0';
ret = write(fd, buf, len);
if (ret == -1) {
/* the user may have called "trylock" and didn't get the lock */
if (errno == EBUSY)
return 2;
#ifdef DEBUG
fprintf(stderr, "write error");
#endif
return 1;
}
else if (ret != len) {
/* it's need to receive the exactly amount required. */
#ifdef DEBUG
fprintf(stderr, "write error: wrote different than expected\n");
#endif
return 1;
}
#ifdef DEBUG
fprintf(stderr, "%s: successfully wrote: '%s'\n", __FUNCTION__, buf);
#endif
return 0;
}
static const char *
rsrc_to_str(int iostate)
{
switch (iostate) {
case VGA_ARB_RSRC_LEGACY_IO | VGA_ARB_RSRC_LEGACY_MEM:
return "io+mem";
case VGA_ARB_RSRC_LEGACY_IO:
return "io";
case VGA_ARB_RSRC_LEGACY_MEM:
return "mem";
}
return "none";
}
int
pci_device_vgaarb_set_target(struct pci_device *dev)
{
int len;
char buf[BUFSIZE + 1]; /* reading BUFSIZE characters, + 1 for NULL */
int ret;
if (!dev)
dev = pci_sys->vga_default_dev;
if (!dev)
return -1;
len = snprintf(buf, BUFSIZE, "target PCI:%04x:%02x:%02x.%x",
dev->domain, dev->bus, dev->dev, dev->func);
ret = vgaarb_write(pci_sys->vgaarb_fd, buf, len);
if (ret)
return ret;
ret = read(pci_sys->vgaarb_fd, buf, BUFSIZE);
if (ret <= 0)
return -1;
buf[ret] = 0; /* ret will never be greater than BUFSIZE */
dev->vgaarb_rsrc = parse_string_to_decodes_rsrc(buf, &pci_sys->vga_count, NULL);
pci_sys->vga_target = dev;
return 0;
}
int
pci_device_vgaarb_decodes(int new_vgaarb_rsrc)
{
int len;
char buf[BUFSIZE + 1]; /* reading BUFSIZE characters, + 1 for NULL */
int ret;
struct pci_device *dev = pci_sys->vga_target;
if (!dev)
return -1;
if (dev->vgaarb_rsrc == new_vgaarb_rsrc)
return 0;
len = snprintf(buf, BUFSIZE, "decodes %s", rsrc_to_str(new_vgaarb_rsrc));
ret = vgaarb_write(pci_sys->vgaarb_fd, buf, len);
if (ret == 0)
dev->vgaarb_rsrc = new_vgaarb_rsrc;
ret = read(pci_sys->vgaarb_fd, buf, BUFSIZE);
if (ret <= 0)
return -1;
buf[ret] = 0; /* ret will never be greater than BUFSIZE */
parse_string_to_decodes_rsrc(buf, &pci_sys->vga_count, NULL);
return ret;
}
int
pci_device_vgaarb_lock(void)
{
int len;
char buf[BUFSIZE];
struct pci_device *dev = pci_sys->vga_target;
if (!dev)
return -1;
if (dev->vgaarb_rsrc == 0 || pci_sys->vga_count == 1)
return 0;
len = snprintf(buf, BUFSIZE, "lock %s", rsrc_to_str(dev->vgaarb_rsrc));
return vgaarb_write(pci_sys->vgaarb_fd, buf, len);
}
int
pci_device_vgaarb_trylock(void)
{
int len;
char buf[BUFSIZE];
struct pci_device *dev = pci_sys->vga_target;
if (!dev)
return -1;
if (dev->vgaarb_rsrc == 0 || pci_sys->vga_count == 1)
return 0;
len = snprintf(buf, BUFSIZE, "trylock %s", rsrc_to_str(dev->vgaarb_rsrc));
return vgaarb_write(pci_sys->vgaarb_fd, buf, len);
}
int
pci_device_vgaarb_unlock(void)
{
int len;
char buf[BUFSIZE];
struct pci_device *dev = pci_sys->vga_target;
if (!dev)
return -1;
if (dev->vgaarb_rsrc == 0 || pci_sys->vga_count == 1)
return 0;
len = snprintf(buf, BUFSIZE, "unlock %s", rsrc_to_str(dev->vgaarb_rsrc));
return vgaarb_write(pci_sys->vgaarb_fd, buf, len);
}
int pci_device_vgaarb_get_info(struct pci_device *dev, int *vga_count, int *rsrc_decodes)
{
*vga_count = pci_sys->vga_count;
if (!dev)
return 0;
*rsrc_decodes = dev->vgaarb_rsrc;
return 0;
}