Startx can not run in framebuffer mode please specify busIDs and X server error

This is what error I got after I run startx
Code:
(EE)
Fatal server error:
(EE) Cannot run in freamebuffer mode. Please specify busIDs      for all framebuffer 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 additional information.
(EE)
(EE) Server terminated with error (1). Closing log file.
xinit: giving up
xinit: unable to connect to X server: connection refused
xinit: server error

within log file: 
                        ***
(EE) failed to load module "intel " (module does not exist, 0)
(EE) open /dev/dri/card0: No such file or directory
                          ....
scfb trace: probe start
(II)scfb(1): using default device
scfb trace: probe done
(WW) VGA arbiter: cannot open kernel arbiter, no multi-card support
(EE) Screen 0 deleted because of no mathing config section
(II) UnloadModule: "modesetting"

I guess some drivers are missing or not supported by the hardware. How to deal with it?
 
What's your GPU (graphic card/chip)?

Are you running startx as root? Are you part of the video group?
Code:
vendor = 'Intel Corporation'
deice = 'UHD Graphics 605'
class = display
subclass = vga
I am running startx as a root and no I am not part of video group

I am working on it, Sevendogsbsd. Thank you for guiding me.
 
Do not run startx as root. Create an unprivileged user to run X sessions. Add the unprivileged user to the video group as Elazar suggested
 
I did it
Back to problem I did what was said in the handbook https://www.freebsd.org/doc/handbook/x-config.html
It seems like it does not want to obey the rules.
It keeps breaking
I did:
pkg install graphics/drm-kmod
and added to /usr/local/etc/X11/xorg.conf.d/driver-intel.conf this:
Code:
Section "Device"
    Identifier "Card0"
    Driver     "intel"
    # BusID    "PCI:1:0:0"
EndSection
*****I created that file**** The files was not created by system
It keeps missing the driver. What to do next?
 
I did it
Back to problem I did what was said in the handbook https://www.freebsd.org/doc/handbook/x-config.html
It seems like it does not want to obey the rules.
It keeps breaking
I did:
pkg install graphics/drm-kmod
and added to /usr/local/etc/X11/xorg.conf.d/driver-intel.conf this:
Code:
Section "Device"
    Identifier "Card0"
    Driver     "intel"
    # BusID    "PCI:1:0:0"
EndSection
*****I created that file**** The files was not created by system
It keeps missing the driver. What to do next?

You do not (normally) need an xorg.conf and that is not how the driver is loaded. The driver gets loaded in /etc/rc.conf.

Read the section SirDice posted a link to - it tells you exactly what you need to do.
 
Please help me I am confused. In the Xorg error it is specified that intel module is missing, and it is really missing from /boot/modules
How can I download it if It is not set up automatically via pkg install drm-kmod
 
OK, nothing is set up automatically - you have to do it yourself. The install of drm-kmod will add the appropriate driver to the system, you just have to load the driver from /etc/rc.conf. Rename or move the xorg.conf file you made. Add this to /etc/rc.conf:
Code:
kld_list="/boot/modules/i915kms.ko"
. Also create an unprivileged user and add that user to the "video" group. Login as the unprivileged user and use that user to run startx.

I think that should be all your have to do - someone else may correct me or add something I have missed.
 
Does not help with startx error
(EE) No drivers available
(EE)
Fatal server error:
(EE) no screen found(EE)
(EE)
please consult......
***
(EE) server terminated with error(1). Closing log file


But the module is loaded perfectly
I think I have to switch to scfb
 
Interesting - maybe add your /usr/local/etc/X11/xorg.conf.d/driver-intel.conf back? My system works perfectly with graphics/drm-kmod installed and only the entry in /etc/rc.conf.

Perhaps someone else has another suggestion.
 
YAAAAYYY I changed in /usr/local/etc/X11/xorg.conf.d/driver-intel.conf from
Section "Device"
Identifier "Card0"
Driver "intel"
# BusID "PCI:1:0:0"
EndSection

to
Section "Device"
Identifier "Card0"
Driver "scfb"
EndSection

and it started to work.
not sure why does it work even when I load scfb driver from a file which name is driver-intel.conf not driver-scfb.conf but I am happy with it.
 
Nice idea!! thanks! the modules has been installed perfectly, but the error is still popping up.
As times goes on my subconsciousness tells me that I should find another way of testing drivers than just installing and trying drivers.
Side note: it is x11-drivers/xf86-video-intel that I downloaded
Sorry, your link does not contain useful information
 
Back
Top