Web lists-archives.com

Re: Which nvidia driver am I using

Le 04/05/2019 à 21:33, Felix Miata a écrit :
> Erwan David composed on 2019-05-04 20:52 (UTC+0200):
>>>> I have some display problems
> ...
>> Graphics:  Device-1: NVIDIA GF108M [NVS 5400M] vendor: Lenovo driver:
>> nouveau v: kernel bus ID: 01:00.0 chip ID: 10de:0def
>>            Display: x11 server: X.Org 1.20.3 driver: modesetting
>> unloaded: fbdev,vesa compositor: kwin_x11 tty: N/A
>>            OpenGL: renderer: NVC1 v: 4.3 Mesa 18.3.4 direct render: Yes
>> What are my options now ? I do not know where to begin looking for
>> documentation on reparaing my install.
> What are your "display problems"? 

Sometimes it locks, regularly only the upper half of the (visual) screen
is displayed in the lower half of the physical screen, etc.

> How do you know the problem isn't Mesa or Kwin
> or Plasma rather than a kernel or DDX driver?

I do not, I only know it worked whe I used nivdia drivers.

>  Have you tried disabling compositing
> in systemsettings5?

No, but has it an effect on the globall display ?

>  Does the trouble go away if you use a different WM? 

I have only KDE

> What was
> the last thing you remember doing before "display problems" began?

aptitude upgrade, message that nvidia-driver was not compatible anymore
with my card, do you want to continue ? -> No

Then all packages which where to be upgraded in half-installed state,
purging nvidia-driver* packages finishing the install of the other
packages, installing nvidia-legacy-390xx-* packages

>  Does
> /etc/X11/xorg.conf exist? 
> If it does, try removing it. The nouveau DDX and
> modesetting DDX almost never need it. Is there anything in /etc/X11/xorg.conf.d/?

There is the configuration of my thinkpad trackpad

Section "InputClass"
        Identifier      "Trackpoint Wheel Emulation"
        MatchProduct    "TPPS/2 IBM TrackPoint|DualPoint Stick|Synaptics
Inc. Composite TouchPad / TrackPoint|ThinkPad USB Keyboard with
TrackPoint|USB Trackpoint pointing device|Composite TouchPad / TrackPoint"
        MatchDevicePath "/dev/input/event*"
        Option          "EmulateWheel"          "true"
        Option          "EmulateWheelButton"    "2"
        Option          "Emulate3Buttons"       "false"
        Option          "XAxisMapping"          "6 7"
        Option          "YAxisMapping"          "4 5"

> If yes, what is in it? Upload your /var/log/Xorg.0.log where we can see it (man
> pastebinit) and maybe someone can spot a problem. 
It is at https://paste.debian.net/1081484/ I did not find anything
suspect in it.
> Inxi doesn't show the nouveau
> DDX to be available. Maybe installing xserver-xorg-video-nouveau would improve
> things. If it's already installed, an NVidia driver remnant might be blocking its use.

it is installed, but obviously not used

Here are all the nvidia packages installed :

dpkg -l 'nvidia*'|grep -v '^un'
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name                                        Version      Architecture Description
ii  nvidia-alternative                          410.104-3    amd64        allows the selection of NVIDIA as GLX provider
ii  nvidia-detect                               410.104-3    amd64        NVIDIA GPU detection utility
ii  nvidia-egl-common                           410.104-3    amd64        NVIDIA binary EGL driver - common files
ii  nvidia-installer-cleanup                    20151021+9   amd64        cleanup after driver installation with the nvidia-installer
ii  nvidia-kernel-common                        20151021+9   amd64        NVIDIA binary kernel module support files
ii  nvidia-legacy-390xx-alternative             390.116-1    amd64        allows the selection of NVIDIA as GLX provider (390xx legacy version)
ii  nvidia-legacy-390xx-driver                  390.116-1    amd64        NVIDIA metapackage (390xx legacy version)
ii  nvidia-legacy-390xx-driver-bin              390.116-1    amd64        NVIDIA driver support binaries (390xx legacy version)
ii  nvidia-legacy-390xx-driver-libs:amd64       390.116-1    amd64        NVIDIA metapackage (OpenGL/GLX/EGL/GLES libraries) (390xx legacy version)
ii  nvidia-legacy-390xx-egl-icd:amd64           390.116-1    amd64        NVIDIA EGL installable client driver (ICD)
ii  nvidia-legacy-390xx-kernel-dkms             390.116-1    amd64        NVIDIA binary kernel module DKMS source (390xx legacy version)
ii  nvidia-legacy-390xx-kernel-support          390.116-1    amd64        NVIDIA binary kernel module support files (390xx legacy version)
ii  nvidia-legacy-390xx-vdpau-driver:amd64      390.116-1    amd64        Video Decode and Presentation API for Unix - NVIDIA driver (390xx legacy)
ii  nvidia-legacy-check                         410.104-3    amd64        check for NVIDIA GPUs requiring a legacy driver
ii  nvidia-modprobe                             410.93-1     amd64        utility to load NVIDIA kernel modules and create device nodes
ii  nvidia-persistenced                         410.104-1    amd64        daemon to maintain persistent software state in the NVIDIA driver
ii  nvidia-settings                             410.104-2    amd64        tool for configuring the NVIDIA graphics driver
ii  nvidia-settings-legacy-390xx                390.116-1    amd64        tool for configuring the NVIDIA graphics driver (390xx legacy version)
ii  nvidia-support                              20151021+9   amd64        NVIDIA binary graphics driver support files

And from my past experiences, to get a smooth use (eg whe I put laptop
on dock it automatically uses the second screen) I would have prefered
to continue use the nvidia driver.

However I I must completely reinstall the nvidia driver for this, I'll
firts purge all those packages, hoping it will be sufficient to get a
working nouveau installation.

Thanks for looking at my problem