Date: Tue, 13 Mar 2018 22:09:36 -0500 From: Bob Willcox <bob@immure.com> To: Johannes Lundberg <johalun0@gmail.com> Cc: freebsd-x11@freebsd.org Subject: Re: No devices detected when running startx Message-ID: <20180314030936.GH71303@rancor.immure.com> In-Reply-To: <86d107tygk.fsf@gmail.com> References: <20180313215858.GA36851@rancor.immure.com> <86d107tygk.fsf@gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Thanks Johannes, I will try this out tomorrow when I get into the office. Bob On Tue, Mar 13, 2018 at 10:14:35PM +0000, Johannes Lundberg wrote: > > Bob Willcox writes: > > > I have updated my 12.0 current system to 330866 today and am trying to get X > > to run again. I had been running the drm-next version for sometime now and > > since the drm-next-kmod port had been merged into the ports tree and it had > > been almost a year since I last updated this system I thought it would be wise > > to update. > > > > Unfortunately it's not been going well so far. I rebuilt and installed the > > latest kernel, updated all the ports, and installed the graphics/drm-next-kmod > > port but still no joy. > > > > Hi > > Sorry to hear that. We do need to improve the documentation and > instructions. > > What does 'kldstat -v' say? The kernel modules from ports are installed to > /boot/modules and it is common that the old version that comes with the > kernel in /boot/kernel is loaded instead. > > There are several ways to make sure that the correct modules are > loaded. I put this in my /boot/loader.conf: > > module_path="/boot/modules;/boot/dtb;/boot/overlays" > > This will make sure that modules are loaded from /boot/modules first, > and then /boot/kernel if they are not found in the first locations. > > To load modules automatically, put in /etc/rc.conf > > kld_list="/boot/modules/drm.ko /boot/modules/i915kms.ko" > > or simply > > kld_list="i915kms" > > if you specified module_path. > > > > > > My system is an Intel NUC with this hardware configuration: > > > > CPU: Intel(R) Core(TM) i7-5557U CPU @ 3.10GHz (3092.91-MHz K8-class CPU) > > Origin="GenuineIntel" Id=0x306d4 Family=0x6 Model=0x3d Stepping=4 > > Features=0xbfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE> > > Features2=0x7ffafbbf<SSE3,PCLMULQDQ,DTES64,MON,DS_CPL,VMX,EST,TM2,SSSE3,SDBG,FMA,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,TSCDLT,AESNI,XSAVE,OSXSAVE,AVX,F16C,RDRAND> > > AMD Features=0x2c000800<SYSCALL,Page1GB,RDTSCP,LM> > > AMD Features2=0x121<LAHF,ABM,Prefetch> > > Structured Extended Features=0x21c27ab<FSGSBASE,TSCADJ,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,NFPUSG,RDSEED,ADX,SMAP,PROCTRACE> > > XSAVE Features=0x1<XSAVEOPT> > > VT-x: (disabled in BIOS) PAT,HLT,MTF,PAUSE,EPT,UG,VPID > > TSC: P-state invariant, performance statistics > > real memory = 17179869184 (16384 MB) > > avail memory = 16482922496 (15719 MB) > > > > > > Here's what I get in the Xorg.0.log file when I run startx: > > > > [ 49.100] (EE) No devices detected. > > [ 49.101] (EE) > > Fatal server error: > > [ 49.101] (EE) no screens found(EE) > > [ 49.101] (EE) > > Please consult the The X.Org Foundation support > > at http://wiki.x.org > > for help. > > [ 49.101] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information. > > [ 49.101] (EE) > > [ 49.101] (EE) Server terminated with error (1). Closing log file. > > > > > > My devices section in /etc/X11/xorg.conf is this: > > > > Section "Device" > > Identifier "Card0" > > Driver "intel" > > BusID "PCI:0:2:0" > > EndSection > > > > and the 'pciconf -lv' ouput for the graphics adapter is: > > > > vgapci0@pci0:0:2:0: class=0x030000 card=0x20578086 chip=0x162b8086 rev=0x09 hdr=0x00 > > vendor = 'Intel Corporation' > > device = 'Iris Graphics 6100' > > class = display > > subclass = VGA > > > > My 'uname -a' output: > > > > FreeBSD tavion.austin.ibm.com 12.0-CURRENT FreeBSD 12.0-CURRENT #1 r330866: Tue Mar 13 15:26:12 CDT 2018 bob@tavion.austin.ibm.com:/usr/obj/usr/src/amd64.amd64/sys/TAVION amd64 > > > > Any help would be greatly appreciated as this is my workstation in the office > > and I really need X Windows to work. > > > > Thanks, > > Bob -- Bob Willcox | The amount of flak received on any subject is inversely bob@immure.com | proportional to the subject's true value. Austin, TX |
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20180314030936.GH71303>