debcrafters-packages team mailing list archive
-
debcrafters-packages team
-
Mailing list archive
-
Message #07134
[Bug 2012832] Re: Xorg crashes on second and next unbind operations of Arc GPU
hello,
I'm seeing something somewhat similar: xorg "Segmentation fault" related to i915 driver. Replicated on both 6.8.0.51 and 6.8.0.79 kernel.
My use case is much simpler though: it is a fresh linux mint 22.1 xfce on eee pc 1011PX
After I login to the X session with my user, about 10s-15s into the session, the X session crashes and i'm logged out.
Xorg.0.log.old:
```
[ 29.556] (II) intel(0): Modeline "1024x600"x0.0 54.20 1024 1048 1184 1344 600 603 609 670 -hsync -vsync (40.3 kHz eP)
[ 71.550] (EE)
[ 71.551] (EE) Backtrace:
[ 71.554] (EE) 0: /usr/lib/xorg/Xorg (OsLookupColor+0x14c) [0x5b3b9ef940bc]
[ 71.558] (EE) 1: /lib/x86_64-linux-gnu/libc.so.6 (__sigaction+0x50) [0x73edd3c45330]
[ 71.564] (EE) 2: /lib/x86_64-linux-gnu/libpciaccess.so.0 (pci_device_vgaarb_set_target+0x117) [0x73edd41fb4b7]
[ 71.566] (EE) 3: /usr/lib/xorg/Xorg (DRICreatePCIBusID+0x39a0) [0x5b3b9ee73190]
[ 71.568] (EE) 4: /usr/lib/xorg/Xorg (xf86SetDGAMode+0x838) [0x5b3b9ee55f08]
[ 71.569] (EE) 5: /usr/lib/xorg/Xorg (XaceIsLocal+0x5c8e) [0x5b3b9eecd56e]
[ 71.571] (EE) 6: /usr/lib/xorg/Xorg (XaceIsLocal+0x5e02) [0x5b3b9eecd6e2]
[ 71.573] (EE) 7: /usr/lib/xorg/Xorg (SendErrorToClient+0x370) [0x5b3b9ee14ac0]
[ 71.575] (EE) 8: /usr/lib/xorg/Xorg (InitFonts+0x3ca) [0x5b3b9ee18eda]
[ 71.578] (EE) 9: /lib/x86_64-linux-gnu/libc.so.6 (__libc_init_first+0x8a) [0x73edd3c2a1ca]
[ 71.581] (EE) 10: /lib/x86_64-linux-gnu/libc.so.6 (__libc_start_main+0x8b) [0x73edd3c2a28b]
[ 71.582] (EE) 11: /usr/lib/xorg/Xorg (_start+0x25) [0x5b3b9ee01395]
[ 71.583] (EE)
[ 71.583] (EE) Segmentation fault at address 0x30
[ 71.583] (EE)
Fatal server error:
[ 71.583] (EE) Caught signal 11 (Segmentation fault). Server aborting
```
I've noticed that when I start the session from the recovery mode it doesn't happen.
In the end i've found that adding the "nomodeset" parameter in the grub loading also fixes the issue
`lshw -c video` output is different in both cases
- When it works (nomodeset or from recovery), both displays appear with status "unclaimed" (VGA compatible controller and Display controller) and no driver is attached ("Configuration" line)
- In normal boot where X fails, the "VGA compatible controller" is bound to i915 driver:
```
configuration: depth=32 driver=i915 latency=9 resolution=1024*600
```
Not sure how linux can work with apparently no display driver, but it
works :D
--
You received this bug notification because you are a member of
Debcrafters packages, which is subscribed to xorg-server in Ubuntu.
https://bugs.launchpad.net/bugs/2012832
Title:
Xorg crashes on second and next unbind operations of Arc GPU
Status in linux package in Ubuntu:
Expired
Status in xorg-server package in Ubuntu:
Expired
Bug description:
Hello folks,
Experimenting with new Lenovo Yoga i7 with Intel Arc on board and
found that even if it's possible to disable the GPU to save power,
Xorg session crashes the session after the second attempt (the first
after reboot works just fine).
This works like that - after poweroff/poweron of the system I execute the next commands:
1. First attempt:
* DRI_PRIME=1 glxinfo | grep 'OpenGL renderer' # Shows: "OpenGL renderer string: Mesa Intel(R) Arc(tm) A370M Graphics (DG2)"
* echo -n "0000:04:00.0" | sudo tee /sys/bus/pci/drivers/i915/unbind # Works great
* DRI_PRIME=1 glxinfo | grep 'OpenGL renderer' # Shows: "OpenGL renderer string: Mesa Intel(R) Graphics (ADL GT2)", it's embedded graphics
* echo -n "0000:04:00.0" | sudo tee /sys/bus/pci/drivers/i915/bind
* DRI_PRIME=1 glxinfo | grep 'OpenGL renderer' # Shows: "OpenGL renderer string: Mesa Intel(R) Arc(tm) A370M Graphics (DG2)"
2. Second attempt:
* echo -n "0000:04:00.0" | sudo tee /sys/bus/pci/drivers/i915/unbind # Here the Xorg crashes, but I can login again
* DRI_PRIME=1 glxinfo | grep 'OpenGL renderer' # Shows: "OpenGL renderer string: Mesa Intel(R) Graphics (ADL GT2)", it's embedded graphics
* echo -n "0000:04:00.0" | sudo tee /sys/bus/pci/drivers/i915/bind
* DRI_PRIME=1 glxinfo | grep 'OpenGL renderer' # Shows: "OpenGL renderer string: Mesa Intel(R) Arc(tm) A370M Graphics (DG2)"
3. This and the next attempts are just the same as second one
I collected the info and can reproduce this state after each reboot,
so hopefully it will help you to find what's going wrong during second
and next unbind operations. I can always help with additional
information if you will need some.
Thank you
ProblemType: Bug
DistroRelease: Ubuntu 22.04
Package: xorg 1:7.7+23ubuntu2
Uname: Linux 6.2.8-060208-generic x86_64
ApportVersion: 2.20.11-0ubuntu82.3
Architecture: amd64
BootLog: Error: [Errno 13] Permission denied: '/var/log/boot.log'
CasperMD5CheckResult: pass
CompositorRunning: None
CurrentDesktop: XFCE
Date: Sun Mar 26 12:25:03 2023
DistUpgraded: Fresh install
DistroCodename: jammy
DistroVariant: ubuntu
ExtraDebuggingInterest: Yes, including running git bisection searches
GraphicsCard:
Intel Corporation Alder Lake-P Integrated Graphics Controller [8086:46a6] (rev 0c) (prog-if 00 [VGA controller])
Subsystem: Lenovo Device [17aa:3ae3]
Subsystem: Lenovo Device [17aa:3ae3]
InstallationDate: Installed on 2023-02-21 (33 days ago)
InstallationMedia: Xubuntu 22.04.1 LTS "Jammy Jellyfish" - Release amd64 (20220809.1)
MachineType: LENOVO 82UF
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-6.2.8-060208-generic root=UUID=52e0f674-3384-4128-973b-d049407f961a ro quiet splash vt.handoff=7
SourcePackage: xorg
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 11/16/2022
dmi.bios.release: 1.35
dmi.bios.vendor: LENOVO
dmi.bios.version: J1CN35WW
dmi.board.asset.tag: NO Asset Tag
dmi.board.name: LNVNB161216
dmi.board.vendor: LENOVO
dmi.board.version: SDK0T76461 WIN
dmi.chassis.asset.tag: NO Asset Tag
dmi.chassis.type: 31
dmi.chassis.vendor: LENOVO
dmi.chassis.version: Yoga 7 16IAH7
dmi.ec.firmware.release: 1.35
dmi.modalias: dmi:bvnLENOVO:bvrJ1CN35WW:bd11/16/2022:br1.35:efr1.35:svnLENOVO:pn82UF:pvrYoga716IAH7:rvnLENOVO:rnLNVNB161216:rvrSDK0T76461WIN:cvnLENOVO:ct31:cvrYoga716IAH7:skuLENOVO_MT_82UF_BU_idea_FM_Yoga716IAH7:
dmi.product.family: Yoga 7 16IAH7
dmi.product.name: 82UF
dmi.product.sku: LENOVO_MT_82UF_BU_idea_FM_Yoga 7 16IAH7
dmi.product.version: Yoga 7 16IAH7
dmi.sys.vendor: LENOVO
version.compiz: compiz N/A
version.libdrm2: libdrm2 2.4.113-2~ubuntu0.22.04.1
version.libgl1-mesa-dri: libgl1-mesa-dri 23.0.0.20221126.1+2050~u22.04
version.libgl1-mesa-glx: libgl1-mesa-glx N/A
version.xserver-xorg-core: xserver-xorg-core 2:21.1.3-2ubuntu2.8
version.xserver-xorg-input-evdev: xserver-xorg-input-evdev N/A
version.xserver-xorg-video-ati: xserver-xorg-video-ati 1:19.1.0-2ubuntu1
version.xserver-xorg-video-intel: xserver-xorg-video-intel 2:2.99.917+git20210115-1
version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau 1:1.0.17-2build1
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2012832/+subscriptions