Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 14 Nov 2020 02:40:29 +0000
From:      bugzilla-noreply@freebsd.org
To:        x11@FreeBSD.org
Subject:   [Bug 251114] x11/xorg: /usr/local/bin/Xorg Segmentation Fault When Switch Virtual TTY
Message-ID:  <bug-251114-7141-hePfo465XG@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-251114-7141@https.bugs.freebsd.org/bugzilla/>
References:  <bug-251114-7141@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D251114

--- Comment #7 from Jan Beich <jbeich@FreeBSD.org> ---
(In reply to John from comment #5)
> 1) I have no xorg.conf.  That is good as far as I can tell.

Good. If necessary just configure desired sections. Since the adoption of K=
MS
by various vendors DDX drivers like xf86-video-intel are deprecated.

> 2) The user is part of wheel group, but not the video group.
> Is this fine?  the above suggests yes.

No. "video" group is required for DRI3, VAAPI, OpenCL, etc.

See also https://dri.freedesktop.org/docs/drm/gpu/drm-uapi.html#render-nodes

> 3) Do I need to add kern.vty=3Dvt to /boot/loader.conf?

Default since FreeBSD 11.0, see base r268158.

> Do you want me to attach the /usr/local/etc/X11/xorg.conf.d/xorg.conf bef=
ore I try the ""AccelMethod" to "SNA""

Find which one specifies "Driver" "intel" and adjust "AccelMethod" there e.=
g.,

  Section "Device"
          Identifier "integrated_card"
          Driver     "intel"
          Option     "AccelMethod" "SNA"
  #       Option     "TearFree" "true" # uncomment if *not* using compositor
(e.g., picom)
          Option     "DRI" "3"
  #       BusID      "pci:0:2:0" # uncomment if multi-GPU
  EndSection

> Do I need to attach the /usr/local/etc/X11/xorg.conf.d/driver-intel.conf,
> change it or delete it to implement the "Try modesetting...

Find which one specifies Section "Device" then "Driver" "modesetting".
Alternatively, remove all configs and xf86-video-intel.

> 6) Do I need to do a "Xorg -configure" and
> "Xorg -retro -config /root/xorg.conf.new"?

Auto-configuration is known to be broken. Try with empty xorg.conf(5) then =
fill
in whatever you miss. modesetting(4x) usually works fine without any
configurion.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-251114-7141-hePfo465XG>