[Bug 251114] x11/xorg: /usr/local/bin/Xorg Segmentation Fault When Switch Virtual TTY

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sat Nov 14 02:40:29 UTC 2020


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=251114

--- Comment #7 from Jan Beich <jbeich at 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 KMS
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=vt 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 before 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.

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


More information about the freebsd-x11 mailing list