Re: no graphics for Debian buster on Dell Inspiron

eric <[email protected]> Sat, 16 Nov 2019 15:08:26 -0700
Newsgroups gmane.linux.debian.user.laptop
Message-ID <[email protected]>
On 11/16/19 9:22 AM, Matteo Semplice wrote:
> Hi,
> 
> after nearly 20 years of happiness with Debian distros I am struggling 
> to get Debian buster working on a Dell Inspiron 14 2-in-1.
> 
> The installer completes, but I have no working wifi and no working graphics.
> 
> Let's concentrate on the graphics for now, since it is more urgent. The 
> laptop has an i7-10510U which should come with an embedded UHD 620 
> graphics and also a discrete nVidia MX230 GPU. I have tried following 
> different ideas found on the web but with no luck. My guess is that the 
> embedded graphics is not recognized by the driver and that MX230 does 
> not work with nouveau, but here are some details. The following tests 
> have been done on a fresh install (kde task selected in the installer 
> with only firmware-nonfree, firmware-iwlwifi added afterwards).
> 
> First hist: I have only /dev/dri/card0 and /dev/dri/renderD128 and they 
> both seem related to the nVidia card; I do not seem to have any /dev/dri 
> entry for the Intel graphics.
> 
> Starting X server does not work and /var/log/Xorg.0.log contains
> 
>     [???????? 9.948] (II) xfree86: Adding drm device (/dev/dri/card0)
>     [???????? 9.950] (--) PCI:*(0@0:2:0) 8086:9b41:1028:095d rev 2, Mem
>     @ 0x6000000000/16777216, 0x4000000000/268435456, I/O @
>     0x00004000/64, BIOS @ 0x????????/131072
>     [???????? 9.950] (--) PCI: (1@0:0:0) 10de:1d11:1028:095d rev 161,
>     Mem @ 0x82000000/16777216, 0x70000000/268435456,
>     0x80000000/33554432, I/O @ 0x00003000/128
> 
> and then loads the modesetting, fbdev, vesa, fbdevhw modules and finally 
> fais with
> 
>     (EE) Cannot run in framebuffer mode. Please specify
>     busIDs?????????????? for all framebuffer devices
> 
> If I start X with a configuration file containing only
> 
> Section "Device"
> ?? Identifier "Card0"
> ?? Driver "intel"
> ???? BusID "PCI:0:2:0"
> EndSection
> 
> then it fails with
> 
>     [???? 281.845] (II) Module intel: vendor="X.Org Foundation"
>     [???? 281.845] ?????? compiled for 1.20.1, module version = 2.99.917
>     [???? 281.845] ?????? Module class: X.Org Video Driver
>     [???? 281.845] ?????? ABI class: X.Org Video Driver, version 24.0
>     [???? 281.845] (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
>     [???? 281.845] (II) intel: Driver for Intel(R) HD Graphics
>     [???? 281.845] (II) intel: Driver for Intel(R) Iris(TM) Graphics
>     [???? 281.845] (II) intel: Driver for Intel(R) Iris(TM) Pro Graphics
>     [???? 283.907] intel: waited 2020 ms for i915.ko driver to load
>     [???? 285.942] intel: waited 2020 ms for i915.ko driver to load
>     [???? 285.948] (EE) No devices detected.
> 
> (Note that the i915 is loaded, but upon loading it does not create a 
> /dev/dri entry, so I guess that somethings wrong with it...)
> 
> Trying to force the use of the discrete graphics with a conffile with only
> 
>     Section "Device"
>     ?? Identifier "Card1"
>     ?? Driver "nouveau"
>     ?? BusID "PCI:1:0:0"
>     EndSection
> 
> instead results in a segfault:
> 
>     [???? 716.577] (II) LoadModule: "nouveau"
>     [???? 716.577] (II) Loading /usr/lib/xorg/modules/drivers/nouveau_drv.so
>     [???? 716.596] (II) Module nouveau: vendor="X.Org Foundation"
>     [???? 716.596] ?????? compiled for 1.20.3, module version = 1.0.16
>     [???? 716.596] ?????? Module class: X.Org Video Driver
>     [???? 716.596] ?????? ABI class: X.Org Video Driver, version 24.0
>     [???? 716.596] (II) NOUVEAU driver Date:???? Mon Jan 28 23:25:58
>     2019 -0500
>     [???? 716.596] (II) NOUVEAU driver for NVIDIA chipset families :
>     [???? 716.596] ?????? RIVA TNT?????????????????????? (NV04)
>     [???? 716.596] ?????? RIVA TNT2???????????????????? (NV05)
>     [???? 716.596] ?????? GeForce 256???????????????? (NV10)
>     [???? 716.596] ?????? GeForce 2???????????????????? (NV11, NV15)
>     [???? 716.596] ?????? GeForce 4MX???????????????? (NV17, NV18)
>     [???? 716.596] ?????? GeForce 3???????????????????? (NV20)
>     [???? 716.596] ?????? GeForce 4Ti???????????????? (NV25, NV28)
>     [???? 716.596] ?????? GeForce FX?????????????????? (NV3x)
>     [???? 716.596] ?????? GeForce 6???????????????????? (NV4x)
>     [???? 716.596] ?????? GeForce 7???????????????????? (G7x)
>     [???? 716.596] ?????? GeForce 8???????????????????? (G8x)
>     [???? 716.596] ?????? GeForce 9???????????????????? (G9x)
>     [???? 716.596] ?????? GeForce GTX 2xx/3xx (GT2xx)
>     [???? 716.596] ?????? GeForce GTX 4xx/5xx (GFxxx)
>     [???? 716.597] ?????? GeForce GTX 6xx/7xx (GKxxx)
>     [???? 716.597] ?????? GeForce GTX 9xx???????? (GMxxx)
>     [???? 716.597] ?????? GeForce GTX 10xx?????? (GPxxx)
>     [???? 716.602] (II) [drm] nouveau interface version: 1.3.1
>     [???? 716.603] (II) Loading sub module "dri2"
>     [???? 716.603] (II) LoadModule: "dri2"
>     [???? 716.603] (II) Module "dri2" already built-in
>     [???? 716.603] (--) NOUVEAU(0): Chipset: "NVIDIA NV138"
>     [???? 716.603] (II) NOUVEAU(0): Creating default Display subsection
>     in Screen section
>     ?????? "Default Screen Section" for depth/fbbpp 24/32
>     [???? 716.603] (==) NOUVEAU(0): Depth 24, (--) framebuffer bpp 32
>     [???? 716.603] (==) NOUVEAU(0): RGB weight 888
>     [???? 716.603] (==) NOUVEAU(0): Default visual is TrueColor
>     [???? 716.603] (==) NOUVEAU(0): Using HW cursor
>     [???? 716.603] (==) NOUVEAU(0): Allowed maximum DRI level 2.
>     [???? 716.603] (==) NOUVEAU(0): GLX sync to VBlank enabled.
>     [???? 716.603] (==) NOUVEAU(0): Page flipping enabled
>     [???? 716.603] (==) NOUVEAU(0): Swap limit set to 1 [Max allowed 2]
>     [???? 716.603] (==) NOUVEAU(0): Page flipping synced to vblank by
>     kernel.
>     [???? 716.603] (WW) NOUVEAU(0): No outputs definitely connected,
>     trying again...
>     [???? 716.603] (WW) NOUVEAU(0): Unable to find connected outputs -
>     setting 1024x768 initial framebuffer
>     [???? 716.603] (==) NOUVEAU(0): Using gamma correction (1.0, 1.0, 1.0)
>     [???? 716.603] (II) NOUVEAU(0): Virtual size is 1024x768 (pitch 0)
>     [???? 716.603] (**) NOUVEAU(0):?? Mode "1024x768": 63.5 MHz (scaled
>     from 0.0 MHz), 47.8 kHz, 59.9 Hz
>     [???? 716.603] (II) NOUVEAU(0): Modeline "1024x768"x59.9???? 63.50??
>     1024 1072 1176 1328?? 768 771 775 798 -hsync +vsync (47.8 kHz)
>     [???? 716.603] (==) NOUVEAU(0): DPI set to (96, 96)
>     [???? 716.603] (II) Loading sub module "fb"
>     [???? 716.603] (II) LoadModule: "fb"
>     [???? 716.603] (II) Loading /usr/lib/xorg/modules/libfb.so
>     [???? 716.604] (II) Module fb: vendor="X.Org Foundation"
>     [???? 716.604] ?????? compiled for 1.20.4, module version = 1.0.0
>     [???? 716.604] ?????? ABI class: X.Org ANSI C Emulation, version 0.4
>     [???? 716.604] (II) Loading sub module "shadowfb"
>     [???? 716.604] (II) LoadModule: "shadowfb"
>     [???? 716.604] (II) Loading /usr/lib/xorg/modules/libshadowfb.so
>     [???? 716.604] (II) Module shadowfb: vendor="X.Org Foundation"
>     [???? 716.604] ?????? compiled for 1.20.4, module version = 1.0.0
>     [???? 716.604] ?????? ABI class: X.Org ANSI C Emulation, version 0.4
>     [???? 718.615] (EE) NOUVEAU(0): Failed to initialise context object:
>     2D_NVC0 (0)
>     [???? 718.615] (EE) NOUVEAU(0): Error initialising acceleration.??
>     Falling back to NoAccel
>     [???? 718.615] (**) NOUVEAU(0): [COPY] acceleration disabled
>     [???? 720.636] (II) NOUVEAU(0): Hardware support for Present enabled
>     [???? 720.636] (==) NOUVEAU(0): Backing store enabled
>     [???? 720.636] (==) NOUVEAU(0): Silken mouse enabled
>     [???? 720.636] (==) NOUVEAU(0): DPMS enabled
>     [???? 720.636] (II) Initializing extension Generic Event Extension
>     [???? 720.636] (II) Initializing extension SHAPE
>     [???? 720.636] (II) Initializing extension MIT-SHM
>     [???? 720.637] (II) Initializing extension XInputExtension
>     [???? 720.637] (II) Initializing extension XTEST
>     [???? 720.637] (II) Initializing extension BIG-REQUESTS
>     [???? 720.637] (II) Initializing extension SYNC
>     [???? 720.637] (II) Initializing extension XKEYBOARD
>     [???? 720.637] (II) Initializing extension XC-MISC
>     [???? 720.637] (II) Initializing extension SECURITY
>     [???? 720.637] (II) Initializing extension XFIXES
>     [???? 720.637] (II) Initializing extension RENDER
>     [???? 720.637] (II) Initializing extension RANDR
>     [???? 720.637] (II) Initializing extension COMPOSITE
>     [???? 720.637] (II) Initializing extension DAMAGE
>     [???? 720.637] (II) Initializing extension MIT-SCREEN-SAVER
>     [???? 720.638] (II) Initializing extension DOUBLE-BUFFER
>     [???? 720.638] (II) Initializing extension RECORD
>     [???? 720.638] (II) Initializing extension DPMS
>     [???? 720.638] (II) Initializing extension Present
>     [???? 720.638] (II) Initializing extension DRI3
>     [???? 720.638] (II) Initializing extension X-Resource
>     [???? 720.638] (II) Initializing extension XVideo
>     [???? 720.638] (II) Initializing extension XVideo-MotionCompensation
>     [???? 720.638] (II) Initializing extension SELinux
>     [???? 720.638] (II) SELinux: Disabled on system
>     [???? 720.638] (II) Initializing extension GLX
>     [???? 720.638] (II) AIGLX: Screen 0 is not DRI2 capable
>     [???? 720.708] (II) IGLX: Loaded and initialized swrast
>     [???? 720.708] (II) GLX: Initialized DRISWRAST GL provider for screen 0
>     [???? 720.708] (II) Initializing extension XFree86-VidModeExtension
>     [???? 720.708] (II) Initializing extension XFree86-DGA
>     [???? 720.708] (II) Initializing extension XFree86-DRI
>     [???? 720.708] (II) Initializing extension DRI2
>     [???? 722.715] (II) NOUVEAU(0): NVEnterVT is called.
>     [???? 722.715] (EE)
>     [???? 722.715] (EE) Backtrace:
>     [???? 722.718] (EE) 0: /usr/lib/xorg/Xorg (OsLookupColor+0x139)
>     [0x5567593672c9]
>     [???? 722.718] (EE) 1: /lib/x86_64-linux-gnu/libpthread.so.0
>     (funlockfile+0x50) [0x7febcd7fb77f]
>     [???? 722.718] (EE) 2: /usr/lib/xorg/Xorg
>     (xf86RandR12CreateScreenResources+0x57c) [0x55675928424c]
>     [???? 722.718] (EE) 3: /usr/lib/xorg/Xorg (InitExtensions+0x650)
>     [0x556759277010]
>     [???? 722.718] (EE) 4: /usr/lib/xorg/Xorg (InitFonts+0x279)
>     [0x55675920c819]
>     [???? 722.718] (EE) 5: /lib/x86_64-linux-gnu/libc.so.6
>     (__libc_start_main+0xeb) [0x7febcd64a09b]
>     [???? 722.718] (EE) 6: /usr/lib/xorg/Xorg (_start+0x2a) [0x5567591f667a]
>     [???? 722.718] (EE)
>     [???? 722.718] (EE) Segmentation fault at address 0x0
>     [???? 722.718] (EE)
>     Fatal server error:
>     [???? 722.718] (EE) Caught signal 11 (Segmentation fault). Server
>     aborting
> 
> On a side note, I have tried to upgrade the kernel to the 5.2 in 
> buster-backports but both bop.2 and bop.3 packages result in unbootable 
> kernels: the boot process just hangs somewhere. I have uninstalled them, 
> but if you think that a newer kernel may help I can try to reinstall and 
> boot it without the quiet option to see what goes wrong.
> 
> Thanks in advance for any suggestion.
> 
> Best
> 
> ?????? Matteo
> 

I have little experience in this regard but do have a cybertron laptop 
with the hybrid intel/nvidia graphics.

There is a lot of confusing information on the web.  I would start with 
blacklisting the nouveau driver and removing all the nvidia drivers to 
see if you can get just the intel graphics to work.

Regards,

Eric