Solved Gnome 3 Black Screen On FreeBSD

WantBSD

Member


Messages: 32

Hello,
My PC has a Nvidia graphic card with Intel CPU.

/etc/fstab :
See image
6068

rc.conf :
See image
6065

/root/.xinitrc :
See image
6066

startx, gnome-session :
both not work.
6067

I installed nvidia-driver and nvidia-xconfig.

Logs :
[URL="http://www.sprunge.us/1ASmBb[/URL]"]www.sprunge.us/1ASmBb[/URL]
[URL="http://www.sprunge.us/[/URL]"]www.sprunge.us/[/URL]
 

SirDice

Administrator
Staff member
Administrator
Moderator

Reaction score: 10,739
Messages: 36,540

My PC has a Nvidia graphic card with Intel CPU.
What model/type NVidia card?

/root/.xinitrc :
See image
Don't startx as root, use a regular user account.

Remove /etc/X11/xorg.conf and/or /usr/local/etc/X11/xorg.conf. Create a /usr/local/etc/X11/xorg.conf.d/driver-nvidia.conf with:
Code:
Section "Device"
        Identifier "Card0"
        Driver     "nvidia"
EndSection
No other configuration of Xorg is required.

Add to /etc/rc.conf:
Code:
kld_list="nvidia-modeset"

Run startx (as a regular user!). If it still fails, install misc/pastebinit and use it to post your /var/log/Xorg.0.log; cat /var/log/Xorg.0.log | pastebinit.
 

SirDice

Administrator
Staff member
Administrator
Moderator

Reaction score: 10,739
Messages: 36,540

Don't try to run before you're able to walk. Gnome fails because Xorg fails. Fix Xorg first, then you can focus on Gnome.
 

SirDice

Administrator
Staff member
Administrator
Moderator

Reaction score: 10,739
Messages: 36,540

Display not detect.
Xorg isn't running. Fix that first. Everything you've tried to do so far requires a configured and working Xorg. Until you've done that nothing that uses Xorg will work.

When you build a house do you start building the roof or the foundation first?
 
OP
W

WantBSD

Member


Messages: 32

Start your session as regular user not as root!
What model/type NVidia card?


Don't startx as root, use a regular user account.

Remove /etc/X11/xorg.conf and/or /usr/local/etc/X11/xorg.conf. Create a /usr/local/etc/X11/xorg.conf.d/driver-nvidia.conf with:
Code:
Section "Device"
        Identifier "Card0"
        Driver     "nvidia"
EndSection
No other configuration of Xorg is required.

Add to /etc/rc.conf:
Code:
kld_list="nvidia-modeset"

Run startx (as a regular user!). If it still fails, install misc/pastebinit and use it to post your /var/log/Xorg.0.log; cat /var/log/Xorg.0.log | pastebinit.


/etc/X11/xorg.conf removed.

/usr/local/etc/X11/xorg.conf.d/driver-nvidia.conf created.

kld_list="nvidia-modeset" append to rc.conf

6077
6076


Startx :

6070

Require reboot?

After reboot :

6071
Gnome-session :
6078
 
OP
W

WantBSD

Member


Messages: 32

Xorg isn't running. Fix that first. Everything you've tried to do so far requires a configured and working Xorg.
What model/type NVidia card?


Don't startx as root, use a regular user account.

Remove /etc/X11/xorg.conf and/or /usr/local/etc/X11/xorg.conf. Create a /usr/local/etc/X11/xorg.conf.d/driver-nvidia.conf with:
Code:
Section "Device"
        Identifier "Card0"
        Driver     "nvidia"
EndSection
No other configuration of Xorg is required.

Add to /etc/rc.conf:
Code:
kld_list="nvidia-modeset"

Run startx (as a regular user!). If it still fails, install misc/pastebinit and use it to post your /var/log/Xorg.0.log; cat /var/log/Xorg.0.log | pastebinit.

Fixed.
I saw the gnome desktop now.
 
Top