Author Topic: Help needed getting X11 working right on FreeBSD  (Read 1229 times)

0 Members and 1 Guest are viewing this topic.

Offline AmperaTopic starter

  • Super Contributor
  • ***
  • Posts: 2578
  • Country: us
    • Ampera's Forums
Help needed getting X11 working right on FreeBSD
« on: April 25, 2018, 05:34:15 am »
I am currently having trouble getting X11 to work right on FreeBSD. I am not a complete noob at this, but I am not as seasoned as other might be, so I am obviously missing some stuff.

First off, I need to use the nVidia driver for my GTX 970. Various sources say to get it from different places, but pkg offers the nvidia-driver package, so I am assuming this is the best modern option. I have noticed this isn't loading the right kernel module, so this might not be working right, or I could have just done things out of order.

Second off, X11 doesn't work right no matter what I do. I try to generate a config using Xorg -configure, but it comes up with a cryptic error, something to do with a segmentation fault, error 11, whatever it's doing. This is on FreeBSD 11.1, by the way. This does generate a file, but seemingly without any option for video drivers or anything.

Trying to run startx generates various issues from, no screens present (usually when I try to use an automatically generated config) to cannot run in framebuffer mode (when I have no driver or generated config file that I know of).

What I am looking for is either someone to help me real time get this working, just for me to know how to do it in the future, or to point me to a modern, up to date, watertight guide for getting the XWS working on FreeBSD. Thanks in advance.
« Last Edit: April 25, 2018, 06:08:35 am by TwoOfFive »
I forget who I am sometimes, but then I remember that it's probably not worth remembering.
EEVBlog IRC Admin - Join us on irc.austnet.org #eevblog
 

Offline AmperaTopic starter

  • Super Contributor
  • ***
  • Posts: 2578
  • Country: us
    • Ampera's Forums
Re: Help needed getting X11 working right on FreeBSD
« Reply #1 on: April 25, 2018, 06:32:30 am »
Currently trying FreeBSD 12 as I recall it working a bit better.
I forget who I am sometimes, but then I remember that it's probably not worth remembering.
EEVBlog IRC Admin - Join us on irc.austnet.org #eevblog
 

Offline AmperaTopic starter

  • Super Contributor
  • ***
  • Posts: 2578
  • Country: us
    • Ampera's Forums
Re: Help needed getting X11 working right on FreeBSD
« Reply #2 on: April 25, 2018, 07:27:51 am »
Solved! I spend days upon days on this, and the moment I ask for help, I fix it on my own.

Anyways, the issue was multi-faceted. I ended up using FreeBSD 12.0. I'm not sure exactly what I did, but through a combination of things, I managed. I ended up compiling the driver from the ports tree as the pkg version was presumably for the 11.1 kernel. Either way, mate is running.
I forget who I am sometimes, but then I remember that it's probably not worth remembering.
EEVBlog IRC Admin - Join us on irc.austnet.org #eevblog
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf