NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: X on 10.0 RC1 is unusable on my laptop



On Thu 16 Nov 2023 at 16:44:30 +1030, Brett Lymn wrote:
> On Wed, Nov 15, 2023 at 10:46:13PM +0100, Rhialto wrote:
> > 
> > That resulted in both undefined and double defined symbols...
> > so I tried the more oldfashioned way of editing a copy of GENERIC and
> > removing stuff (like the above). Still the same kind of linking errors..
> > 
> 
> Did you completely remove the compile directory for you kernel before
> doing the config?

No, I didn't. I relied on "make depend". Removing the directory does
seem to have made a difference, since there is only one duplicate
definition left now.

I noticed that there are several files with the same name in old and new
drm. That really seems to confuse config, the Makefile and/or make
depend (after all, the object files end up in the same directory).
Somehow I must have managed, after cleaning up the kernel build
directory, to remove the last wrong piece from the config file. But I
kept getting wrong files in my link so I didn't notice when I finally
had it right. Only after removing all drm* files and rebuilding from
there, I noticed that I seemed to have gotten it right.

Example of a duplicate:

./external/bsd/drm/conf/files.drm:file external/bsd/drm/dist/bsd-core/drm_memory.c             drmbase
./external/bsd/drm2/drm/files.drmkms:file external/bsd/drm2/drm/drm_memory.c      drmkms


So, booting the new kernel gives this driver:

[     1.004445] agp0 at pchb0: G4X-family chipset
[     1.004445] agp0: detected 65020k stolen memory
[     1.004445] agp0: aperture at 0xc0000000, size 0x10000000
[     1.004445] vga0 at pci0 dev 2 function 0: Intel 82GM45 Integrated Graphics Device (rev. 0x07)
[     1.004445] wsdisplay0 at vga0 kbdmux 1: console (80x25, vt100 emulation), using wskbd0
[     1.004445] wsmux1: connecting to wsdisplay0
[     1.004445] i915drm0 at vga0: Mobile Intel<2147483586><2147483566> GM45 Express Chipset
[     1.004445] i915drm0: AGP at 0xc0000000 256MB
[     1.004445] i915drm0: Initialized i915 1.6.0 20080730
[     1.004445] Intel 82GM45 Integrated Graphics Device (miscellaneous display, revision 0x07) at pci0 dev 2 function 1 not configured

but the X server with Driver "intel" doesn't see it:

[    41.048] (II) LoadModule: "intel"
[    41.048] (II) Loading /usr/X11R7/lib/modules/drivers/intel_drv.so
[    41.160] (II) Module intel: vendor="X.Org Foundation"
[    41.160]    compiled for 1.21.1.9, module version = 2.99.917
[    41.160]    Module class: X.Org Video Driver
[    41.160]    ABI class: X.Org Video Driver, version 25.2
[    41.190] (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
[    41.217] (II) intel: Driver for Intel(R) HD Graphics
[    41.217] (II) intel: Driver for Intel(R) Iris(TM) Graphics
[    41.217] (II) intel: Driver for Intel(R) Iris(TM) Pro Graphics
[    41.218] (--) Using wscons driver on /dev/ttyE4 in pcvt compatibility mode (version 3.32)
[    41.218] (--) using VT number 5
[    41.245] (EE) No devices detected.
[    41.245] (EE) 
Fatal server error:
[    41.245] (EE) no screens found(EE) 

-Olaf.
-- 
___ Olaf 'Rhialto' Seibert                            <rhialto/at/falu.nl>
\X/ There is no AI. There is just someone else's work.           --I. Rose

Attachment: signature.asc
Description: PGP signature



Home | Main Index | Thread Index | Old Index