@usebsd

Страница 94 из 112
Newnix
05.12.2017
00:28:00
This is probably going to be an easy fix, depending on what's in egrep '(WW|EE)' /var/log/Xorg.0.log

Nomid
05.12.2017
00:30:29


I'm not sure, but should I try Xorg -configure ?

Newnix
05.12.2017
00:32:37
It may have already tried that, but go for it

Google
Newnix
05.12.2017
00:33:07
Then move it to /usr/local/etc/X11

Nomid
05.12.2017
00:33:09


it failed but the driver seems to be correctly loaded at least.

Newnix
05.12.2017
00:33:48
Maybe kldload nvidia?

/me has no idea what to do with an nvidia gpu

Nomid
05.12.2017
00:34:19
Maybe kldload nvidia?
I wrote nvidia_enable="YES" in the loader.conf



And kldstat confirms it

Newnix
05.12.2017
00:34:49
I wrote nvidia_enable="YES" in the loader.conf
That only loads it before the kernel gets booted

Nomid
05.12.2017
00:35:16
That only loads it before the kernel gets booted
Kldstat shows a nvidia.ko in the list

Newnix
05.12.2017
00:35:52
Welp. I don't know what to do then. Might be worth jumping in the ghostbsd forums or irc

Nomid
05.12.2017
00:36:16
;_;

Any chance to get the old Xorg conf back?

Google
Newnix
05.12.2017
00:37:04
From what I've seen it wasn't overwritten

Just generated a .new file in /root/

Nomid
05.12.2017
00:37:23
So if I copy that .new replacing the current .conf should work

Also, no .conf in root's home dir

Newnix
05.12.2017
00:38:31
Maybe

Nomid
05.12.2017
00:39:08
Wait

Newnix
05.12.2017
00:39:10
Also, no .conf in root's home dir
Right, should be in /usr/local/etc/X11, not /etc/X11 like nvidia seems to think

Nomid
05.12.2017
00:39:18
There are couples of .conf in X11 folder



I think the .orig is what I'm looking for

Newnix
05.12.2017
00:40:03
That's the new way, nvidia just generates a single xorg.conf because reasons I guess.

Well that shouldn't be there... but I guess it'll work just the same

Nomid
05.12.2017
00:41:21
Well that shouldn't be there... but I guess it'll work just the same
I had the same issue on linux but it was just a matter of nvidia writing a file where it shouldn't



This is interesting

https://thelinuxexperiment.com/getting-freebsd-up-and-running-with-x-org-and-nvidia-drivers/

Looks like my same issue

...and it wants me to compile the driver T_T

Changing driver from nv to nvidia seems to have changed something

Google
Nomid
05.12.2017
01:01:36


Looks like this time the nvidia driver was called by xorg but X failed to start for some reason



Newnix
05.12.2017
01:08:19
Huh, try kldunload drm2 and starting X again, I remember fixing a problem like that a while back.

Nomid
05.12.2017
01:08:34
Ok

Device busy

I don't know how but now Xorg works after changing driver of the second Card from "modeset" to "intel"

It's downheartening how nvidia-conf is dangerous

Newnix
05.12.2017
01:26:57
Weird.

/me is just going to keep using AMD cards

Nomid
05.12.2017
01:27:35


What has happened to my xfce o.o

Newnix
05.12.2017
01:30:15
You didn't startx as root did you?

Nomid
05.12.2017
01:31:03
I just rebooted

So can't understand why

Looks like the xorg.conf automagically resetted its driver to nvidia overriding my setting to vesa

...I guess I'll be better building the driver on my own.

Newnix
05.12.2017
01:41:39
Yeah.. no idea what's going on there, maybe @ericbsd can shed some light on the situation when he's free

Nomid
05.12.2017
01:42:20
I sincerly just think nvidia-xconfig should never be used

Also the lack of documentation about nvidia config does not help

Google
Nomid
05.12.2017
01:43:14
I hoped the warnings after pkg install would have just fixed the issue

Oh well. Proprietery drivers coming

Also the problem seems to be related to freebsd too, there are lots of threads in their forums about X issues with nvidia.

Newnix
05.12.2017
01:48:28
The same is true with pretty much every linux distro though, GPU's just aren't always easy to work with.

Nomid
05.12.2017
01:50:16
I also suspect nvidia developers use some old linux environment for testing, not sure about bsd.

for example, Xorg.conf path hardcoded into the nvidia's makefile is wrong and should not be placed there (I had a discussion about this in the Manjaro forums)



I think I almost did it

I removed the old drivers, rebuilt the new with "make install clean" then added the modules following https://forums.freebsd.org/threads/58161/ the steps wrote by free-and-bsd, now I get a blank X screen because the driver does not detect my monitor. According to https://forums.freebsd.org/threads/55880/ , it appears that there are multiple xorg.conf around the system that spoil the detection process



Ok, now the monitor is detected but the driver sets "metamode" to null

Stupid try, but since I'm a linux user, I recall "bumblebee" solved this sort of things

Which obviously doesn't exist on freebsd, yay.

https://unix.stackexchange.com/questions/314951/pkg-upgrade-broke-x-server-on-freebsd-ii-nvidia0-validated-metamodes-nul

Looks like I didn't read this warning.

...no luck.

IT WORKS!

Ok, here what I have done so far: 1. Built & installed the driver with make install clean 2. Since version 385.something NVIDIA added the module "nvidia-modeset" as helper for the engine of the "nvidia.ko". If I get MetaMode set to NULL then I have to edit /boot/loader.conf replacing "nvidia_load" with "nvidia-modeset" and every other occurrences of "nvidia" with "nvidia-modeset". Edited rc.conf accordingly (allowing for the linux compatibility layers to be loaded) 3. I obviously also need to change the driver of my card in the Xorg.conf from "nvidia" to "nvidia-modeset" The current config seems to load the module but the GLX extesion doesn't work :( I'm posting a thread in the forums.

Check the thread at: http://forums.ghostbsd.org/viewtopic.php?f=65&t=946&p=5326 Sorry for spamming and thank you again for following me!

Raymond
05.12.2017
14:27:44
I usually just need to install Nvidia-xconfig, then run Nvidia-xconfig. Of course, this is after putting the nvidia_load in the loader.conf and kldload Nvidia. Starting the dbus service helps, sometimes.

Google
Jay
05.12.2017
16:05:10
Berkeley Software Distribution posted a new article: DragonFlyBSD Now Supports Up To 64TB Of RAM ( https://www.reddit.com/r/BSD/comments/7hl7ts/dragonflybsd_now_supports_up_to_64tb_of_ram/ )

Newnix
05.12.2017
16:58:05
Holy shit it takes forever for a Junos SRX to reboot.

strange
05.12.2017
19:47:59
https://pbs.twimg.com/media/DNqxAAYX0AETAli.jpg I have a jail with mysql inside, sometimes mysql stops responding from outside, though works from inside

maybe I'm missing something obvious?

Nomid
05.12.2017
19:57:46
http://forums.ghostbsd.org/viewtopic.php?f=65&t=946&p=5326

I love how issues can get even weirder

❤️

strange
05.12.2017
21:12:38
you can write a daemon in/for go language and then you must call it god daemon

Newnix
05.12.2017
21:13:43
Nah, just god-$service

Newnix
05.12.2017
21:30:53
https://pbs.twimg.com/media/DNqxAAYX0AETAli.jpg I have a jail with mysql inside, sometimes mysql stops responding from outside, though works from inside
No idea about mysql/mariadb, but I've set up postgresql10-server in a jail that seems to stop responding if I connect from the host, but is fine when I connect from another PC. Might be a tunable option in pf.conf(5)

strange
05.12.2017
21:31:23
thanks, maybe related

I'll check this out when I have time and report back

dangerous kekops in jail

Group Butler [beta]
06.12.2017
03:27:04
Welcome rapha to BSD , This group is about Berkeley Software Distributions BSD family operating systems. @usebsd

Jay
06.12.2017
15:52:48
https://www.reddit.com/r/openbsd/comments/7h18i3/obsd_w_xfce_running_current_viva_la_puffy/

Joseph
06.12.2017
16:28:21
Can anyone help me with bsd ppts because i am new to this i am thinking to talk a speech in this topic

Guys plzz help guys

Jay
06.12.2017
17:13:49
https://www.phoronix.com/scan.php?page=article&item=freebsd-12cur-epyc&num=1

Страница 94 из 112