Re: I can not get xorg to start

Oleksandr Kryvulia <[email protected]>
Newsgroups gmane.os.freebsd.devel.x11
Message-ID <[email protected]>
28.01.21 03:52, Doug Denault пишет:
> At this point I think I am more looking for guidance than thinking
> there is any combination that is going to work with this system. Never
> the less, I have the following setup:
>
> vgapci1@pci0:0:2:0:     class=0x030000 card=0x380a17aa chip=0x191b8086
> rev=0x06 hdr=0x00
>     vendor     = 'Intel Corporation'
>     device     = 'HD Graphics 530'
>     class      = display
> -- 
> vgapci0@pci0:1:0:0:     class=0x030200 card=0x380b17aa chip=0x134710de
> rev=0xa2 hdr=0x00
>     vendor     = 'NVIDIA Corporation'
>     device     = 'GM108M [GeForce 940M]'
>     class      = display
>
> Packages
>    xf86-video-intel-2.99.917.914,1
>    xf86-video-scfb-0.0.5_2
>    xf86-video-vesa-2.5.
>    xorg-7.7_3
>    drm-fbsd11.2-kmod-4.11g20200420
>    drm-kmod-g20190710
>
> In /usr/local/etc/X11/xorg.conf.d
>    driver-intel.conf
>       Section "Device"
>         Identifier "Card0"
>         Driver     "intel"
>         BusID      "PCI:0:2:0"
>       EndSection
>
>    screen-resolution.conf
>       Section "Screen"
>         Identifier "Screen0"
>         Device     "Card0"
>         SubSection "Display"
>         Modes      "1920x1080"
>         EndSubSection
>    EndSection
>
> startx yields
>    [224.924] (==) Using system config directory
> "/usr/local/share/X11/xorg.conf.d"
>    [224.951] (==) No Layout section.  Using the first Screen section.
>    [224.951] (**) |-->Screen "Screen0" (0)
>    [224.952] (**) ||-->Monitor "<default monitor>"
>    [224.952] (**) ||-->Device "Card0"
>    [224.952] (==) No monitor specified for screen "Screen0".
>   Using a default monitor configuration.
>
> I take this to mean I did neither file correctly
>
>    [225.032] (--) PCI:*(0@0:2:0) 8086:191b:17aa:380a rev 6, Mem @
> 0xd0000000/16777216, 0xc0000000/268435456, I/O @ 0x0000e000/64, BIOS @
> 0x????????/65536
>    [225.032] (--) PCI: (1@0:0:0) 10de:1347:17aa:380b rev 162, Mem @
> 0xd1000000/16777216, 0xa0000000/268435456, 0xb0000000/33554432, I/O @
> 0x0000d000/128
>
>    [225.032] (II) LoadModule: "glx"
>    [225.033] (II) Loading
> /usr/local/lib/xorg/modules/extensions/libglx.so
>    [225.143] (II) Module glx: vendor="X.Org Foundation"
>    [225.143]    compiled for 1.20.9, module version = 1.0.0
>    [225.143]    ABI class: X.Org Server Extension, version 10.0
>    [225.143] (II) LoadModule: "intel"
>    [225.143] (II) Loading
> /usr/local/lib/xorg/modules/drivers/intel_drv.so
>    [225.233] (II) Module intel: vendor="X.Org Foundation"
>    [225.233]    compiled for 1.20.9, module version = 2.99.917
>    [225.233]    Module class: X.Org Video Driver
>    [225.233]    ABI class: X.Org Video Driver, version 24.1
>    [225.235] (II) intel: Driver for Intel(R) Integrated Graphics
> Chipsets:
>         i810, i810-dc100, i810e, i815, i830M, 845G, 854, 852GM/855GM,
> 865G,
>         915G, E7221 (i915), 915GM, 945G, 945GM, 945GME, Pineview GM,
>         Pineview G, 965G, G35, 965Q, 946GZ, 965GM, 965GME/GLE, G33,
> Q35, Q33,
>         GM45, 4 Series, G45/G43, Q45/Q43, G41, B43
>    [225.246] (II) intel: Driver for Intel(R) HD Graphics
>    [225.246] (II) intel: Driver for Intel(R) Iris(TM) Graphics
>    [225.246] (II) intel: Driver for Intel(R) Iris(TM) Pro Graphics
>    [225.246] (--) Using syscons driver with X support (version 2.0)
>    [225.246] (--) using VT number 9
>
>    [225.538] (EE) No devices detected.
>    [225.538] (EE)
>
> I also have tried just starting with no configuration and with 'Xorg
> -configure' as well as the above. All yield similar errors. I also
> installed nvidia-driver-440.100_1 and tried running in Linux mode. I
> would not think this would work as the 11.4/12.2 hardware notes do not
> list the GM108M [GeForce 940M] as being supported. I found a post on
> the forum that specifically said it was not.
>
> All the above is really background for my questions: (1) Hopefully I
> did the conf files incorrectly (2) I had to configure this system as a
> legacy BIOS boot. Does that matter? (3) Is my best course to wait for
> 7.7_4 or beyond. (4) I can use this system as a test server of course.
> But what have I missed (in general)?
>
> I am quite lost any thing else to try or another course of action
> would be greatly appreciated.

Try to disable nvidia card in bios, make sure /boot/modules/i915kms.ko
is loaded (kld_list="/boot/modules/i915kms.ko" in rc.conf) and remove
any configuration in xorg.conf.d.

_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-x11
To unsubscribe, send any mail to "[email protected]"
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.