You are not logged in.

#1 2022-12-25 14:32:05

thmUNIX
Member
Registered: 2022-12-25
Posts: 4

X-Plane does not run

Recently I reinstalled Arch on my laptop. I have NVIDIA GeForce MX250 and Intel UHD 620 in my laptop. I installed NVIDIA drivers and some other NVIDIA-related packages. Then I installed `xf86-video-intel` because I need virtual displays. Firstly I tried to use `nvidia-xrun` because I used this script on previous install. It didn't work. Xorg just crashes with segfault. Then I tried prime-run and it worked great. X-Plane worked when I ran `prime-run ./X-Plane-x86_64`. Then I reinstalled `xf86-video-intel` and `mesa` because I had problems with virtual displays (found out that these packages were not the problem, I just made a typo when worked with xrandr and x11vnc). The next day X-Plane stopped working via `prime-run`, saying:
`Whoah -- no matter how hard I tried, I failed to get a GLX visual. Something's seriously wonky on your machine.` This message was showing up on previous install and I just used `nvidia-xrun` but now it's just segfaulting Xorg. I opened /usr/bin/nvidia-xrun to read what does it do and found out that it just modprobe's nvidia kernel modules and runs xinit, which I tried and it worked. But when I tried to run X-Plane (now without prime-run), I got the same message (Whoah ...).

P.S: prime-run glxgears -- works, so NVIDIA drivers are ok.

Please help me with this problem.

Offline

#2 2022-12-25 14:43:43

Slithery
Administrator
From: Norfolk, UK
Registered: 2013-12-01
Posts: 5,776

Re: X-Plane does not run


No, it didn't "fix" anything. It just shifted the brokeness one space to the right. - jasonwryan
Closing -- for deletion; Banning -- for muppetry. - jasonwryan

aur - dotfiles

Offline

#3 2022-12-25 14:45:43

thmUNIX
Member
Registered: 2022-12-25
Posts: 4

Re: X-Plane does not run

One moment, I'll post logs.

Last edited by thmUNIX (2022-12-25 14:49:16)

Offline

#4 2022-12-25 14:48:55

thmUNIX
Member
Registered: 2022-12-25
Posts: 4

Re: X-Plane does not run

/var/log/Xorg.1.log:
[   419.913]     ABI class: X.Org ANSI C Emulation, version 0.4
[   419.913] (II) NVIDIA: Reserving 24576.00 MB of virtual memory for indirect memory
[   419.913] (II) NVIDIA:     access.
[   419.916] (II) NVIDIA(0): ACPI: failed to connect to the ACPI event daemon; the daemon
[   419.916] (II) NVIDIA(0):     may not be running or the "AcpidSocketPath" X
[   419.916] (II) NVIDIA(0):     configuration option may not be set correctly.  When the
[   419.916] (II) NVIDIA(0):     ACPI event daemon is available, the NVIDIA X driver will
[   419.916] (II) NVIDIA(0):     try to use it to receive ACPI event notifications.  For
[   419.916] (II) NVIDIA(0):     details, please see the "ConnectToAcpid" and
[   419.916] (II) NVIDIA(0):     "AcpidSocketPath" X configuration options in Appendix B: X
[   419.916] (II) NVIDIA(0):     Config Options in the README.
[   419.929] (II) NVIDIA(0): Setting mode "NULL"
[   419.930] (==) NVIDIA(0): Disabling shared memory pixmaps
[   419.930] (==) NVIDIA(0): Backing store enabled
[   419.930] (==) NVIDIA(0): Silken mouse enabled
[   419.931] (==) NVIDIA(0): DPMS enabled
[   419.931] (II) Loading sub module "dri2"
[   419.931] (II) LoadModule: "dri2"
[   419.931] (II) Module "dri2" already built-in
[   419.931] (II) NVIDIA(0): [DRI2] Setup complete
[   419.931] (II) NVIDIA(0): [DRI2]   VDPAU driver: nvidia
[   419.931] (==) modeset(G0): Backing store enabled
[   419.931] (==) modeset(G0): Silken mouse enabled
[   420.010] (II) modeset(G0): Initializing kms color map for depth 24, 8 bpc.
[   420.010] (==) modeset(G0): DPMS enabled
[   420.010] (EE)
[   420.010] (EE) Backtrace:
[   420.010] (EE) 0: /usr/lib/Xorg (WriteToClient+0x3ed) [0x55c35ea4053d]
[   420.011] (EE) 1: /usr/lib/libc.so.6 (__sigaction+0x50) [0x7f1a73704a00]
[   420.011] (EE) 2: /usr/lib/Xorg (InitOutput+0x599) [0x55c35ea62149]
[   420.011] (EE) 3: /usr/lib/Xorg (SProcXkbDispatch+0x188c) [0x55c35e926eb3]
[   420.011] (EE) 4: /usr/lib/libc.so.6 (__libc_init_first+0x90) [0x7f1a736ef290]
[   420.012] (EE) 5: /usr/lib/libc.so.6 (__libc_start_main+0x8a) [0x7f1a736ef34a]
[   420.012] (EE) 6: /usr/lib/Xorg (_start+0x25) [0x55c35e9282d5]
[   420.012] (EE)
[   420.012] (EE) Segmentation fault at address 0x10
[   420.012] (EE)
Fatal server error:
[   420.012] (EE) Caught signal 11 (Segmentation fault). Server aborting
[   420.012] (EE)
[   420.012] (EE)
Please consult the The X.Org Foundation support
     at http://wiki.x.org
for help.
[   420.012] (EE) Please also check the log file at "/var/log/Xorg.1.log" for additional information.
[   420.012] (EE)
[   420.033] (EE) Server terminated with error (1). Closing log file.

journalctl -b: nothing new after `prime-run ./X-Plane-x86_64`

Offline

#5 2022-12-26 11:38:13

Lone_Wolf
Member
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 11,868

Re: X-Plane does not run

Intel UHD 620 in my laptop.

Intel processors with UHD 620 graphics were first released in Q3 2017 .

You DO NOT want xf86-video-intel on your laptop as that program works well with intel graphics before 2012 and creates problems with newer ones.

remove xf86-video-intel,
post the full xorg log as well as the outputs of

$ lspci -k
$ glxinfo -B    #comes with mesa-utils
$ prime-run glxinfo -B

Install mesa-utils if


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.


(A works at time B)  && (time C > time B ) ≠  (A works at time C)

Offline

#6 2022-12-27 14:16:19

thmUNIX
Member
Registered: 2022-12-25
Posts: 4

Re: X-Plane does not run

Lone_Wolf wrote:

Intel UHD 620 in my laptop.

Intel processors with UHD 620 graphics were first released in Q3 2017 .

You DO NOT want xf86-video-intel on your laptop as that program works well with intel graphics before 2012 and creates problems with newer ones.

remove xf86-video-intel,
post the full xorg log as well as the outputs of

$ lspci -k
$ glxinfo -B    #comes with mesa-utils
$ prime-run glxinfo -B

Install mesa-utils if

Hello.
1) I have Intel Core i7-10510U with UHD 620.
2) The problem is I have /usr/share/X11/xorg.conf.d/20-intel.conf which contains:
Section "Device"
  Identifier "intelgpu0"
  Driver "intel"
  Option "VirtualHeads" "2"
EndSection

Xorg won't start without xf86-video-intel with this config. And I need this config in order to have virtual displays (I use tablet as my second monitor with laptop). But I'd also like to point out that after deletion of xf86-video-intel and 20-intel.conf removal, nothing changes (maybe because xf86-video-intel has been installed earlier).

3) /var/log/Xorg.1.log (after nvidia-xrun openbox): https://pastebin.com/c0eirX4c
    lspci -k: https://pastebin.com/UdmLLcr9
    glxinfo -B (and also prime-run glxinfo -B): https://pastebin.com/SNXNJU1b

Last edited by thmUNIX (2022-12-27 14:21:54)

Offline

#7 2022-12-28 13:37:34

Lone_Wolf
Member
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 11,868

Re: X-Plane does not run

Xorg won't start without xf86-video-intel with this config. And I need this config in order to have virtual displays (I use tablet as my second monitor with laptop).

There are better ways to deal with multiple screens, usually randr / xrandr is the best choice as that works with 99% of all drivers.
https://wiki.archlinux.org/title/Multihead should help to determine how to achieve what you want without needing xf86-video-intel.

[  1317.441] (++) Using config file: "/etc/X11/nvidia-xorg.conf"
[  1317.441] (EE) Unable to locate/open config directory: "nvidia-xorg.conf.d"

The filename /etc/x11/nvidia-xorg.conf suggests it was autogenerated, probably by nvidia-xconfig .
Such files were useful when xorg didn't have autodectection (10+ years ago ..) , but nowadayas are useless at best and very often mess up systems.

get rid of it, then check https://wiki.archlinux.org/title/Nvidia-xrun , configuration section and create the 30-nvidia.conf file that mentions.

Last edited by Lone_Wolf (2022-12-28 13:38:07)


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.


(A works at time B)  && (time C > time B ) ≠  (A works at time C)

Offline

Board footer

Powered by FluxBB