Hello again To get more background, can you boot to linux and list pci devices with sth like 'lspci -vv -nn'? Also, do you get one or two drm devices in linux, ie what do you see with 'ls -l /dev/dri'. Can you get similar info for OpenBSD that you say works fine?
Cheers Peeter -- On Fri, Mar 16, 2018 at 12:44 PM, karu.pruun <[email protected]> wrote: > Hello > > When xorg starts it first loads the respective drm driver and then > starts xorg. Doing these steps manually show the sequence fails at > setting up the drm/i915 driver. > > Now when you have two gpus, then the situation may get problematic. If > there are two different devices, as in intel and nvidia, then one > problem I've seen is that although the driver attaches correctly, we > generally do not have the infrastructure to deal with this situation > 100% correctly. The intel driver is not aware of the other gpu, and it > will grab the output, leaving the screen frozen because the actual > output to the screen is rendered from the buffers of the first device, > the nvidia chip. In my case the solution was to flip a switch (on a > gmux device) so output comes from the intel device. The nvidia chip > was left on; it does not matter. From the point of power saving it > might be better to turn it off though. > > However, in your case the system seems to have found two intel > devices. I'm not sure how the drm/i915 is supposed to handle this. > > By way of debugging, if you get to the db> prompt, then give 'call > dumpsys' and then 'reboot'. The system will save the core dump at next > boot which you can investigate. Can you do this with the latest > snapshot (it's stable and you can install with the snapshot .img) to > be sure the issue is still there? It's possibly still there, but > better to have the latest snapshot in terms of debugging. > > Cheers > > Peeter > > -- > > > > > > > On Fri, Mar 16, 2018 at 11:58 AM, Pedro Andres Aranda Gutierrez > <[email protected]> wrote: >> Hi >> >> mileage may vary but I was quite successful shutting off the Nvidia card >> with my FreeBSD. >> >> /PA >> >> On 15 March 2018 at 10:44, karu.pruun <[email protected]> wrote: >>> >>> Hello >>> >>> Can you try booting up and then manually loading the i915 driver as >>> root or with sudo >>> >>> % sudo kldload i915 >>> >>> does this load fine? You should see informational output in >>> /var/log/messages. What does >>> >>> % pciconf -lv >>> >>> say about the vga devices, see the blocks starting with 'vga'. For >>> instance, I have >>> >>> --- >>> vgapci1@pci0:0:2:0: class=0x030000 card=0x00000000 chip=0x00468086 >>> rev=0x18 hdr=0x00 >>> vendor = 'Intel Corporation' >>> device = 'Core Processor Integrated Graphics Controller' >>> class = display >>> subclass = VGA >>> vgapci0@pci0:1:0:0: class=0x030000 card=0x00c7106b chip=0x0a2910de >>> rev=0xa2 hdr=0x00 >>> vendor = 'NVIDIA Corporation' >>> device = 'GT216M [GeForce GT 330M]' >>> class = display >>> subclass = VGA >>> --- >>> >>> Can you try manually create a simple xorg.conf and set the intel >>> driver as the only one with the pci address you get from pciconf (eg >>> PCI:0:2:0)? In my xorg log I'm not seeing any other drivers loaded >>> except intel and it works fine. >>> >>> Cheers >>> >>> Peeter >>> >>> -- >>> >>> >>> >>> >>> >>> >>> On Wed, Mar 14, 2018 at 6:32 PM, <[email protected]> wrote: >>> > MoinMoin, >>> > having problems to get X running on a dell D630 / GM965 graphics laptop. >>> > It just stays black and it's not killable but by switching it off. >>> > I've tried intel and vesa drivers by specifying them explicitly >>> > in /usr/local/etc/X11/xorg.conf.d >>> > Vesa works, but is slooow. >>> > Intel just hangs with BusID "PCI:0:2:0" as well as with "PCI:0:2:1". >>> > In Linux and OpenBSD modesetting drivers just work without any >>> > modifications to the default xorg configuration. >>> > Does anybody has a hint what to do ? >>> > >>> > Thanks, Tschuess, >>> > Sascha >>> > >>> > --> Xorg.0.log >>> > [ 13790.928] >>> > X.Org X Server 1.18.4 >>> > Release Date: 2016-07-19 >>> > [ 13790.928] X Protocol Version 11, Revision 0 >>> > [ 13790.928] Build Operating System: DragonFly 5.0-SYNTH x86_64 >>> > [ 13790.928] Current Operating System: DragonFly 5.0-RELEASE DragonFly >>> > v5.0.2-RELEASE #4: Su x86_64 >>> > [ 13790.931] Build Date: 31 December 2017 01:53:00AM >>> > [ 13790.931] >>> > [ 13790.931] Current version of pixman: 0.34.0 >>> > [ 13790.931] Before reporting problems, check http://wiki.x.org >>> > to make sure that you have the latest version. >>> > [ 13790.931] Markers: (--) probed, (**) from config file, (==) default >>> > setting, >>> > (++) from command line, (!!) notice, (II) informational, >>> > (WW) warning, (EE) error, (NI) not implemented, (??) unknown. >>> > [ 13790.932] (==) Log file: "/var/log/Xorg.0.log", Time: Tue Mar 13 >>> > 17:42:35 2018 >>> > [ 13790.932] (II) Loader magic: 0x615460 >>> > [ 13790.932] (II) Module ABI versions: >>> > [ 13790.932] X.Org ANSI C Emulation: 0.4 >>> > [ 13790.932] X.Org Video Driver: 20.0 >>> > [ 13790.932] X.Org XInput driver : 22.1 >>> > [ 13790.932] X.Org Server Extension : 9.0 >>> > [ 13790.932] (--) PCI:*(0:0:2:0) 8086:2a02:1028:01f9 rev 12, Mem @ >>> > 0xf6e00000/1048576, 0xe0000000/268435456, I/O @ 0x0000eff0/8, BIOS @ >>> > 0x????????/65536 >>> > [ 13790.932] (--) PCI: (0:0:2:1) 8086:2a03:1028:01f9 rev 12, Mem @ >>> > 0xf6f00000/1048576 >>> > [ 13790.932] (==) Using default built-in configuration (30 lines) >>> > [ 13790.932] (==) --- Start of built-in configuration --- >>> > [ 13790.932] Section "Device" >>> > [ 13790.932] Identifier "Builtin Default intel Device 0" >>> > [ 13790.932] Driver "intel" >>> > [ 13790.932] EndSection >>> > [ 13790.932] Section "Screen" >>> > [ 13790.932] Identifier "Builtin Default intel Screen 0" >>> > [ 13790.932] Device "Builtin Default intel Device 0" >>> > [ 13790.932] EndSection >>> > [ 13790.932] Section "Device" >>> > [ 13790.932] Identifier "Builtin Default modesetting >>> > Device 0" >>> > [ 13790.932] Driver "modesetting" >>> > [ 13790.932] EndSection >>> > [ 13790.932] Section "Screen" >>> > [ 13790.932] Identifier "Builtin Default modesetting >>> > Screen 0" >>> > [ 13790.932] Device "Builtin Default modesetting Device 0" >>> > [ 13790.932] EndSection >>> > [ 13790.932] Section "Device" >>> > [ 13790.932] Identifier "Builtin Default vesa Device 0" >>> > [ 13790.932] Driver "vesa" >>> > [ 13790.932] EndSection >>> > [ 13790.932] Section "Screen" >>> > [ 13790.932] Identifier "Builtin Default vesa Screen 0" >>> > [ 13790.932] Device "Builtin Default vesa Device 0" >>> > [ 13790.932] EndSection >>> > [ 13790.932] Section "ServerLayout" >>> > [ 13790.932] Identifier "Builtin Default Layout" >>> > [ 13790.932] Screen "Builtin Default intel Screen 0" >>> > [ 13790.932] Screen "Builtin Default modesetting Screen 0" >>> > [ 13790.932] Screen "Builtin Default vesa Screen 0" >>> > [ 13790.932] EndSection >>> > [ 13790.932] (==) --- End of built-in configuration --- >>> > [ 13790.932] (==) ServerLayout "Builtin Default Layout" >>> > [ 13790.932] (**) |-->Screen "Builtin Default intel Screen 0" (0) >>> > [ 13790.932] (**) | |-->Monitor "<default monitor>" >>> > [ 13790.933] (**) | |-->Device "Builtin Default intel Device 0" >>> > [ 13790.933] (==) No monitor specified for screen "Builtin Default intel >>> > Screen 0". >>> > Using a default monitor configuration. >>> > [ 13790.933] (**) |-->Screen "Builtin Default modesetting Screen 0" (1) >>> > [ 13790.933] (**) | |-->Monitor "<default monitor>" >>> > [ 13790.933] (**) | |-->Device "Builtin Default modesetting Device 0" >>> > [ 13790.933] (==) No monitor specified for screen "Builtin Default >>> > modesetting Screen 0". >>> > Using a default monitor configuration. >>> > [ 13790.933] (**) |-->Screen "Builtin Default vesa Screen 0" (2) >>> > [ 13790.933] (**) | |-->Monitor "<default monitor>" >>> > [ 13790.933] (**) | |-->Device "Builtin Default vesa Device 0" >>> > [ 13790.933] (==) No monitor specified for screen "Builtin Default vesa >>> > Screen 0". >>> > Using a default monitor configuration. >>> > [ 13790.933] (==) Automatically adding devices >>> > [ 13790.933] (==) Automatically enabling devices >>> > [ 13790.933] (==) Not automatically adding GPU devices >>> > [ 13790.933] (==) Max clients allowed: 256, resource mask: 0x1fffff >>> > [ 13790.933] (==) FontPath set to: >>> > /usr/local/share/fonts/misc/, >>> > /usr/local/share/fonts/TTF/, >>> > /usr/local/share/fonts/OTF/, >>> > /usr/local/share/fonts/Type1/, >>> > /usr/local/share/fonts/100dpi/, >>> > /usr/local/share/fonts/75dpi/ >>> > [ 13790.933] (==) ModulePath set to "/usr/local/lib/xorg/modules" >>> > [ 13790.933] (II) The server relies on devd to provide the list of input >>> > devices. >>> > If no devices become available, reconfigure devd or disable >>> > AutoAddDevices. >>> > [ 13790.933] (II) LoadModule: "glx" >>> > [ 13790.934] (II) Loading >>> > /usr/local/lib/xorg/modules/extensions/libglx.so >>> > [ 13790.946] (II) Module glx: vendor="X.Org Foundation" >>> > [ 13790.946] compiled for 1.18.4, module version = 1.0.0 >>> > [ 13790.946] ABI class: X.Org Server Extension, version 9.0 >>> > [ 13790.946] (==) AIGLX enabled >>> > [ 13790.946] (II) LoadModule: "intel" >>> > [ 13790.946] (II) Loading >>> > /usr/local/lib/xorg/modules/drivers/intel_drv.so >>> > [ 13790.948] (II) Module intel: vendor="X.Org Foundation" >>> > [ 13790.948] compiled for 1.18.4, module version = 2.99.917 >>> > [ 13790.948] Module class: X.Org Video Driver >>> > [ 13790.948] ABI class: X.Org Video Driver, version 20.0 >>> > [ 13790.948] (II) LoadModule: "modesetting" >>> > [ 13790.948] (II) Loading >>> > /usr/local/lib/xorg/modules/drivers/modesetting_drv.so >>> > [ 13790.948] (II) Module modesetting: vendor="X.Org Foundation" >>> > [ 13790.948] compiled for 1.18.4, module version = 1.18.4 >>> > [ 13790.948] Module class: X.Org Video Driver >>> > [ 13790.948] ABI class: X.Org Video Driver, version 20.0 >>> > [ 13790.948] (II) LoadModule: "vesa" >>> > [ 13790.948] (II) Loading >>> > /usr/local/lib/xorg/modules/drivers/vesa_drv.so >>> > [ 13790.949] (II) Module vesa: vendor="X.Org Foundation" >>> > [ 13790.949] compiled for 1.18.4, module version = 2.3.4 >>> > [ 13790.949] Module class: X.Org Video Driver >>> > [ 13790.949] ABI class: X.Org Video Driver, version 20.0 >>> > [ 13790.949] (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 >>> > [ 13790.949] (II) intel: Driver for Intel(R) HD Graphics >>> > [ 13790.949] (II) intel: Driver for Intel(R) Iris(TM) Graphics >>> > [ 13790.949] (II) intel: Driver for Intel(R) Iris(TM) Pro Graphics >>> > [ 13790.949] (II) modesetting: Driver for Modesetting Kernel Drivers: >>> > kms >>> > [ 13790.949] (II) VESA: driver for VESA chipsets: vesa >>> > [ 13790.949] (--) Using syscons driver with X support (version 2.0) >>> > [ 13790.949] (--) using VT number 9 >>> > >> >> >> >> >> -- >> Fragen sind nicht da um beantwortet zu werden, >> Fragen sind da um gestellet zu werden >> Georg Kreisler
