Solved Failed Startx after PKG install xorg

I was install Xorg on x11/xorg to make install clean, but it was take times and more 2 hours , so I cancel it and run pkg install xorg
Then trying to rename or remove the xorg.conf as handbook FreeBSD said and then startx
The error message
Code:
Open dev/drive/card0 : no such file or directory
Falling back to old probe method for vesa
No device detected
No screen found

And for the start of builtin configuration
Code:
Section device
Identifier : builtin default modesstint device 0
Driver : modesetting

Section screen
Identifier : builtin default modesetting screen 0
Device : Built-in default modesetting device 0

Section device
Ideebtier : builtin default scfb screen 0
Endsection

Section screen
Identifier : builin default vesa screen 0
Device : default device 0


I did run X -configure and doesn't work as well
 
Yess I did , and then trying to run configure because startx was failed , and after x - configure
I run X -config /root/Xorg.conf.new , it doesn't work

Anyway, I just tried run startx on my another laptop Acer , it works well

And on this allienware which has Optimus , not working for startx ,
Is that something wrong for this computer ?
Allienware
Intel i7-2xxx
Nvidia Optimus
Legacy
20gb for freebsd on my external HDD
 
Quoted text from handbook:

Hybrid Combination Graphics

Some notebook computers add additional graphics processing units to those built into the chipset or processor. Optimus combines Intel® and NVIDIA hardware. Switchable Graphics or Hybrid Graphics are a combination of an Intel® or AMD® processor and an AMD® Radeon GPU.

Implementations of these hybrid graphics systems vary, and Xorg on FreeBSD is not able to drive all versions of them.

Some computers provide a BIOS option to disable one of the graphics adapters or select a discrete mode which can be used with one of the standard video card drivers. For example, it is sometimes possible to disable the NVIDIA GPU in an Optimus system. The Intel® video can then be used with an Intel® driver.

BIOS settings depend on the model of computer. In some situations, both GPUs can be left enabled, but creating a configuration file that only uses the main GPU in the Device section is enough to make such a system functional.
 
Yes I got it about it ,

But what should I do to fix the problem ? So I could have dekstopn on freebsd
Thank that you help me about this
😬
What do you use on your laptop now ?
I hope you don't mind
I am very first on bsd
 
Yes I got it about it ,

But what should I do to fix the problem ? So I could have dekstopn on freebsd
Thank that you help me about this
😬
What do you use on your laptop now ?
I hope you don't mind
I am very first on bsd
Can you give me more idea for method fix this? Please
 
What is the output of dmesg | grep -i intel?

Bash:
[    0.000000] Reserving Intel graphics memory at 0x000000009da00000-
0x000000009f9fffff
[    0.012108] smpboot: CPU0: Intel(R) Core(TM) i7-2617M CPU @ 1.50GHz
(family: 0x6, model: 0x2a, stepping: 0x7)
[    0.012216] Performance Events: PEBS fmt1+, SandyBridge events, 16-
deep LBR, full-width counters, Intel PMU driver.
[    1.224972] intel_idle: MWAIT substates: 0x21120
[    1.224974] intel_idle: v0.4.1 model 0x2A
[    1.225210] intel_idle: lapic_timer_reliable_states 0xffffffff
[    1.634828] intel_pstate: Intel P-state driver initializing
[    3.010953] fbcon: inteldrmfb (fb0) is primary device
[    3.793230] i915 0000:00:02.0: fb0: inteldrmfb frame buffer device
[    6.385914] iTCO_wdt: Intel TCO WatchDog Timer Driver v1.11
[    6.427117] Intel(R) Wireless WiFi driver for Linux
[    6.427119] Copyright(c) 2003- 2015 Intel Corporation
[    6.428004] snd_hda_intel 0000:00:1b.0: bound 0000:00:02.0 (ops
i915_audio_component_bind_ops [i915])
[    6.518285] input: HDA Intel PCH Mic as
/devices/pci0000:00/0000:00:1b.0/sound/card0/input9
[    6.518374] input: HDA Intel PCH Headphone as
/devices/pci0000:00/0000:00:1b.0/sound/card0/input10
[    6.518453] input: HDA Intel PCH Headphone as
/devices/pci0000:00/0000:00:1b.0/sound/card0/input11
[    6.602666] iwlwifi 0000:0d:00.0: Detected Intel(R) Centrino(R)
Ultimate-N 6300 AGN, REV=0x74
[    6.631045] intel_rapl: Found RAPL domain package
[    6.631047] intel_rapl: Found RAPL domain core
[    6.631048] intel_rapl: Found RAPL domain uncore
[    6.631054] intel_rapl: RAPL package 0 domain package locked by BIOS
 
your laptop was Optimus as well, right ?
Yes my laptop has Optimus technology but unfortunately my integrated Intel GPU card doesn't work in FreeBSD 11 so turning off NVIDIA GPU is not a solution neither is to use both GPU. However in your case I think it could be done because it seems that the Intel graphics card that you have, which is Intel HD Graphics 3000, works since FreeBSD 9.1.
My suggestion is to execute pciconf -lv | grep -B3 display and find the BusID of the Intel graphics card. Then you edit /usr/local/etc/X11/xorg.conf.d/driver-intel.conf with the following content:
Code:
Section "Device"
    Identifier "Card0"
    Driver     "intel"
    BusID    "PCI: A:B:C"
EndSection
and replace A, B and C with the corresponding numbers.
Suppose that the output of pciconf -lv | grep -B3 display for Intel graphics card is something like
Code:
vgapci1@pci0:0:2:0:     class=0x030000 card=0x14571043 chip=0x01668086 rev=0x09 hdr=0x00
    vendor     = 'Intel Corporation'
    class      = display
    subclass   = VGA
In this output, the busID is 0:2:0.
 
Yes my laptop has Optimus technology but unfortunately my integrated Intel GPU card doesn't work in FreeBSD 11 so turning off NVIDIA GPU is not a solution neither is to use both GPU. However in your case I think it could be done because it seems that the Intel graphics card that you have, which is Intel HD Graphics 3000, works since FreeBSD 9.1.
My suggestion is to execute pciconf -lv | grep -B3 display and find the BusID of the Intel graphics card. Then you edit /usr/local/etc/X11/xorg.conf.d/driver-intel.conf with the following content:
Code:
Section "Device"
    Identifier "Card0"
    Driver     "intel"
    BusID    "PCI: A:B:C"
EndSection
and replace A, B and C with the corresponding numbers.
Suppose that the output of pciconf -lv | grep -B3 display for Intel graphics card is something like
Code:
vgapci1@pci0:0:2:0:     class=0x030000 card=0x14571043 chip=0x01668086 rev=0x09 hdr=0x00
    vendor     = 'Intel Corporation'
    class      = display
    subclass   = VGA
In this output, the busID is what I have marked in bold.

Should I remove Xorg and re install??
I think when I install Xorg, thhe directory , Xorg.conf.d was empty and intel-driver as well, is that mean I must create new director for them?
 
Should I remove Xorg and re install??
I think when I install Xorg, thhe directory , Xorg.conf.d was empty and intel-driver as well, is that mean I must create new director for them?
There is no need to remove and reinstall x11/xorg. Create driver-intel.conf file inside the empty xorg.conf.d directory with the content that I posted.
 
The general recommendation to a beginner in FreeBSD is to manage third party software with pkg(8), so use pkg install nvidia-driver.
 
Back
Top