XOrg failing to start?

Hello!

I am new to FreeBSD and was trying to get DWM install and to do that I need to get xorg up and running.. I am getting this error every time I run startx; I have a Nvidia graphics card and believe i followed the FreeBSD xorg instructions correctly.. side note my monitor is actually randomly blinks too on and off. Any help? Cheers i’ll owe you a beer!

Code:
X.Org X Server 1.21.1.4
X Protocol Version 11, Revision 0
Current Operating System: FreeBSD FreeBSD 13.1-RELEASE FreeBSD 13.1-R
.1-250148-fc952ac2212 GENERIC amd64
Current version of pixman: 0,42.2
Before reporting problems, check http://wiki.×.org to make sure that you have the latest version.
| Markers:
(--) probed, (**) from config file, (==) default setting, (++) from command line, (!!) notice, (Il) informational,
(WW) warning,
(EE) error,
(NI) not implemented, (??> unknown.
(==) Log file:
Time: Sun Feb 19 21:50:59 2023
(==) Using system config directory
var/log/ Xore. .109. ust moes!/share/X1 1/ xorg. conf.a"
scfb trace: probe start sefb trace: probe done
(EE)
Fatal server error:
(EE) Cannot run in framebuffer mode. Please specify busIDs
for
こ
devices
(EE)
(EE)
Please consult the The X.Org Foundation support
at http: //wiki.x.org
for help.
(EE) Please also check the log file at "/var/log/Xorg,0, log" for additi
on.
(EE)
(E) Server terminated with error (1). Closing log file.
xinit: giving up
xinit: unable to connect to X server: Connection refused xinit: server error root@FreeBSD: /bin
 
I have a Nvidia graphics card
Which one? If it's a fairly recent model, install x11/nvidia-driver. And load the kernel module: sysrc kld_list+="nvidia-modeset"

Add a /usr/local/etc/X11/xorg.conf.d/nvidia-driver.conf:
Code:
Section "Device"
  Identifier "Nvidia"
  Driver "nvidia"
EndSection

Then run startx to test it. If it still doesn't work, upload your Xorg.0.log: cat /var/log/Xorg.0.log | nc termbin.com 9999
 
Hello the Graphics card is GeForce GTX 970, Intel i7-6700 @ 3.40GHZ, 16 ram. I did PKG install X11/nvidia-driver which I already had so it just updated. After doing that I followed your instructions and added the nvidia config file. This still gives me a different error “Caught signal 11 (Segmentation fault).


Thank you in advance for the help. I am new to this FreeBSD stuff I really appreciate it!
 
Not sure if this is the cause but you haven't installed any patches yet. Run freebsd-update fetch install to update the OS.

Code:
Current Operating System: FreeBSD FreeBSD 13.1-RELEASE FreeBSD 13.1-RELEASE releng/13.1-n250148-fc952ac2212 GENERIC amd64
 
append in your /usr/local/bin/startx
Code:
defaultserverargs="-ignoreABI"
No need for ignoreABI because his graphics/driver is not that old.

Anyway, scfb is not the driver you should be loading, can you post your xorg.conf? You can can use nvidia-xconfig for generating xorg config, never failed me before.
 
No need for ignoreABI because his graphics/driver is not that old.

Anyway, scfb is not the driver you should be loading, can you post your xorg.conf? You can can use nvidia-xconfig for generating xorg config, never failed me before.
yes nvidia-xconfig never fails
 
Hello Everyone,

I managed to figure out how to fix the problem, I just needed restart my machine after applying the advice from SirDice. Thank you everyone for replying to my thread adding suggestions!

- Kaleb
 
Back
Top