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

[email protected]
Newsgroups gmane.os.freebsd.devel.x11
Message-ID <[email protected]/bugzilla/>
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=251114

--- Comment #7 from Jan Beich <[email protected]> ---
(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.
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-x11
To unsubscribe, send any mail to "[email protected]"
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.