Perdón por el doble post, pero no queria liaros con lo dicho arriba...
He instalado los repositorios MESA para tener los controladores Intel con estos comandos:
Code: Select all
sudo add-apt-repository ppa:ubuntu-x-swat/updates
sudo apt update
sudo apt full-upgrade
he reiniciado y por lo visto algo a hecho, porque ahora si tengo el controlador grafico de intel pero sikiero volver a utilizar el de nvidia ¿Cómo lo hago?... por que ahora parece que no lo está utilizando...
Code: Select all
nvidia-smi
Sun Oct 7 12:01:14 2018
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 396.54 Driver Version: 396.54 |
|-------------------------------+----------------------+----------------------+
| GPU Name Persistence-M| Bus-Id Disp.A | Volatile Uncorr. ECC |
| Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. |
|===============================+======================+======================|
| 0 GeForce GTX 950M Off | 00000000:01:00.0 Off | N/A |
| N/A 50C P0 N/A / N/A | 0MiB / 2004MiB | 0% Default |
+-------------------------------+----------------------+----------------------+
+-----------------------------------------------------------------------------+
| Processes: GPU Memory |
| GPU PID Type Process name Usage |
|=============================================================================|
| No running processes found |
+-----------------------------------------------------------------------------+
Os muestro un glxinfo para mostraros datos:
Code: Select all
glxinfo | grep "OpenGL"
OpenGL vendor string: Intel Open Source Technology Center
OpenGL renderer string: Mesa DRI Intel(R) HD Graphics 530 (Skylake GT2)
OpenGL core profile version string: 4.5 (Core Profile) Mesa 18.1.5
OpenGL core profile shading language version string: 4.50
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile
OpenGL core profile extensions:
OpenGL version string: 3.0 Mesa 18.1.5
OpenGL shading language version string: 1.30
OpenGL context flags: (none)
OpenGL extensions:
OpenGL ES profile version string: OpenGL ES 3.2 Mesa 18.1.5
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20
OpenGL ES profile extensions:
También os muestro el log del "X Xorg.0.log" con los datos relativos a la gráfica "nvidia":
Code: Select all
grep -i nvidia /var/log/Xorg.0.log
[ 8073.583] (**) OutputClass "nvidia" ModulePath extended to "/usr/lib/x86_64-linux-gnu/nvidia/xorg,/usr/lib/xorg/modules"
[ 8073.583] (**) OutputClass "Nvidia Prime" ModulePath extended to "/x86_64-linux-gnu/nvidia/xorg,/usr/lib/x86_64-linux-gnu/nvidia/xorg,/usr/lib/xorg/modules"
[ 8073.583] (**) OutputClass "Nvidia Prime" setting /dev/dri/card1 as PrimaryGPU
[ 8073.585] (II) Loading /usr/lib/x86_64-linux-gnu/nvidia/xorg/libglx.so
[ 8073.591] (II) Module glx: vendor="NVIDIA Corporation"
[ 8073.591] (II) NVIDIA GLX Module 396.54 Tue Aug 14 22:37:05 PDT 2018
[ 8073.591] (II) Applying OutputClass "nvidia" to /dev/dri/card1
[ 8073.591] loading driver: nvidia
[ 8073.591] (II) Applying OutputClass "Nvidia Prime" to /dev/dri/card1
[ 8073.591] loading driver: nvidia
[ 8073.591] (==) Matched nvidia as autoconfigured driver 0
[ 8073.591] (==) Matched nvidia as autoconfigured driver 1
[ 8073.591] (II) LoadModule: "nvidia"
[ 8073.591] (II) Loading /usr/lib/x86_64-linux-gnu/nvidia/xorg/nvidia_drv.so
[ 8073.592] (II) Module nvidia: vendor="NVIDIA Corporation"
[ 8073.593] (II) NVIDIA dlloader X Driver 396.54 Tue Aug 14 22:15:03 PDT 2018
[ 8073.593] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
[ 8073.593] (II) NOUVEAU driver for NVIDIA chipset families :
[ 8073.598] (II) NVIDIA(0): Creating default Display subsection in Screen section
[ 8073.598] (==) NVIDIA(0): Depth 24, (==) framebuffer bpp 32
[ 8073.598] (==) NVIDIA(0): RGB weight 888
[ 8073.598] (==) NVIDIA(0): Default visual is TrueColor
[ 8073.598] (==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0)
[ 8073.598] (II) Applying OutputClass "nvidia" options to /dev/dri/card1
[ 8073.598] (II) Applying OutputClass "Nvidia Prime" options to /dev/dri/card1
[ 8073.598] (**) NVIDIA(0): Option "AllowEmptyInitialConfiguration"
[ 8073.598] (**) NVIDIA(0): Option "IgnoreDisplayDevices" "CRT"
[ 8073.598] (**) NVIDIA(0): Enabling 2D acceleration
[ 8073.810] (II) NVIDIA(0): NVIDIA GPU GeForce GTX 950M (GM107-A) at PCI:1:0:0 (GPU-0)
[ 8073.810] (--) NVIDIA(0): Memory: 2097152 kBytes
[ 8073.810] (--) NVIDIA(0): VideoBIOS: 82.07.9b.00.f1
[ 8073.810] (II) NVIDIA(0): Detected PCI Express Link width: 16X
[ 8073.810] (II) NVIDIA(0): Validated MetaModes:
[ 8073.810] (II) NVIDIA(0): "NULL"
[ 8073.810] (II) NVIDIA(0): Virtual screen size determined to be 640 x 480
[ 8073.810] (WW) NVIDIA(0): Unable to get display device for DPI computation.
[ 8073.810] (==) NVIDIA(0): DPI set to (75, 75); computed from built-in default
[ 8073.970] (II) NVIDIA: Using 6144.00 MB of virtual memory for indirect memory
[ 8073.970] (II) NVIDIA: access.
[ 8074.007] (II) NVIDIA(0): Setting mode "NULL"
[ 8074.010] (==) NVIDIA(0): Disabling shared memory pixmaps
[ 8074.010] (==) NVIDIA(0): Backing store enabled
[ 8074.010] (==) NVIDIA(0): Silken mouse enabled
[ 8074.011] (==) NVIDIA(0): DPMS enabled
[ 8074.011] (WW) NVIDIA(0): Option "PrimaryGPU" is not used
[ 8074.011] (II) NVIDIA(0): [DRI2] Setup complete
[ 8074.011] (II) NVIDIA(0): [DRI2] VDPAU driver: nvidia
[ 31772.285] (II) NVIDIA(GPU-0): Deleting GPU-0
Y el log con los datos relativos a "intel" (aunque parece que no revelan nada):
Code: Select all
grep -i intel /var/log/Xorg.0.log
[ 8074.380] (II) config/udev: Adding input device HDA Intel PCH Headphone (/dev/input/event12)
[ 8074.380] (II) config/udev: Adding input device HDA Intel PCH HDMI/DP,pcm=3 (/dev/input/event13)
[ 8074.381] (II) config/udev: Adding input device HDA Intel PCH HDMI/DP,pcm=7 (/dev/input/event14)
[ 8074.381] (II) config/udev: Adding input device HDA Intel PCH HDMI/DP,pcm=8 (/dev/input/event15)
[ 8074.381] (II) config/udev: Adding input device HDA Intel PCH HDMI/DP,pcm=9 (/dev/input/event16)
[ 8074.382] (II) config/udev: Adding input device HDA Intel PCH HDMI/DP,pcm=10 (/dev/input/event17)
Ahora datos relativos al kernel con dmesg para la grafica "nvidia":
Code: Select all
dmesg -T | grep -i nvidia
[dom oct 7 11:17:48 2018] nvidia: loading out-of-tree module taints kernel.
[dom oct 7 11:17:48 2018] nvidia: module license 'NVIDIA' taints kernel.
[dom oct 7 11:17:48 2018] nvidia: module verification failed: signature and/or required key missing - tainting kernel
[dom oct 7 11:17:48 2018] nvidia-nvlink: Nvlink Core is being initialized, major device number 242
[dom oct 7 11:17:48 2018] NVRM: loading NVIDIA UNIX x86_64 Kernel Module 396.54 Tue Aug 14 19:02:34 PDT 2018 (using threaded interrupts)
[dom oct 7 11:17:48 2018] nvidia-modeset: Loading NVIDIA Kernel Mode Setting Driver for UNIX platforms 396.54 Tue Aug 14 23:08:44 PDT 2018
[dom oct 7 11:17:48 2018] [drm] [nvidia-drm] [GPU ID 0x00000100] Loading driver
[dom oct 7 11:17:48 2018] [drm] Initialized nvidia-drm 0.0.0 20160202 for 0000:01:00.0 on minor 1
[dom oct 7 11:18:08 2018] nvidia-uvm: Loaded the UVM driver in 8 mode, major device number 239
Y este es el dmesg de la "intel":
Code: Select all
dmesg -T | grep -i intel
[dom oct 7 11:17:47 2018] Intel GenuineIntel
[dom oct 7 11:17:47 2018] ACPI: LPIT 0x000000007662F538 000094 (v01 INTEL SKL 00000000 MSFT 0000005F)
[dom oct 7 11:17:47 2018] ACPI: SSDT 0x000000007662F5D0 000248 (v02 INTEL sensrhub 00000000 INTL 20120913)
[dom oct 7 11:17:47 2018] ACPI: DBGP 0x000000007662F818 000034 (v01 INTEL 00000000 MSFT 0000005F)
[dom oct 7 11:17:47 2018] ACPI: DBG2 0x000000007662F850 000054 (v00 INTEL 00000000 MSFT 0000005F)
[dom oct 7 11:17:47 2018] ACPI: DMAR 0x000000007663AC88 0000A8 (v01 INTEL SKL 00000001 INTL 00000001)
[dom oct 7 11:17:47 2018] Reserving Intel graphics memory at 0x0000000079000000-0x000000007affffff
[dom oct 7 11:17:47 2018] smpboot: CPU0: Intel(R) Core(TM) i7-6700HQ CPU @ 2.60GHz (family: 0x6, model: 0x5e, stepping: 0x3)
[dom oct 7 11:17:47 2018] Performance Events: PEBS fmt3+, Skylake events, 32-deep LBR, full-width counters, Intel PMU driver.
[dom oct 7 11:17:48 2018] intel_idle: MWAIT substates: 0x11142120
[dom oct 7 11:17:48 2018] intel_idle: v0.4.1 model 0x5E
[dom oct 7 11:17:48 2018] intel_idle: lapic_timer_reliable_states 0xffffffff
[dom oct 7 11:17:48 2018] intel_pstate: Intel P-state driver initializing
[dom oct 7 11:17:48 2018] intel_pstate: HWP enabled
[dom oct 7 11:17:48 2018] intel_pmc_core: initialized
[dom oct 7 11:17:48 2018] fb: switching to inteldrmfb from EFI VGA
[dom oct 7 11:17:48 2018] fbcon: inteldrmfb (fb0) is primary device
[dom oct 7 11:17:48 2018] i915 0000:00:02.0: fb0: inteldrmfb frame buffer device
[dom oct 7 11:18:09 2018] intel_rapl: Found RAPL domain package
[dom oct 7 11:18:09 2018] intel_rapl: Found RAPL domain core
[dom oct 7 11:18:09 2018] intel_rapl: Found RAPL domain uncore
[dom oct 7 11:18:09 2018] intel_rapl: Found RAPL domain dram
[dom oct 7 11:18:10 2018] snd_hda_intel 0000:00:1f.3: bound 0000:00:02.0 (ops i915_audio_component_bind_ops [i915])
[dom oct 7 11:18:10 2018] input: HDA Intel PCH Headphone as /devices/pci0000:00/0000:00:1f.3/sound/card0/input19
[dom oct 7 11:18:10 2018] input: HDA Intel PCH HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:1f.3/sound/card0/input20
[dom oct 7 11:18:10 2018] input: HDA Intel PCH HDMI/DP,pcm=7 as /devices/pci0000:00/0000:00:1f.3/sound/card0/input21
[dom oct 7 11:18:10 2018] input: HDA Intel PCH HDMI/DP,pcm=8 as /devices/pci0000:00/0000:00:1f.3/sound/card0/input22
[dom oct 7 11:18:10 2018] input: HDA Intel PCH HDMI/DP,pcm=9 as /devices/pci0000:00/0000:00:1f.3/sound/card0/input23
[dom oct 7 11:18:10 2018] input: HDA Intel PCH HDMI/DP,pcm=10 as /devices/pci0000:00/0000:00:1f.3/sound/card0/input24
Ahora el modinfo para consultar el módulo de "nvidia" cargado en el kernel:
Code: Select all
modinfo nvidia
filename: /lib/modules/4.15.0-36-generic/updates/dkms/nvidia.ko
alias: char-major-195-*
version: 396.54
supported: external
license: NVIDIA
srcversion: CDDF5F6229BAD6360A195B1
alias: pci:v000010DEd00000E00sv*sd*bc04sc80i00*
alias: pci:v000010DEd*sv*sd*bc03sc02i00*
alias: pci:v000010DEd*sv*sd*bc03sc00i00*
depends: ipmi_msghandler
retpoline: Y
name: nvidia
vermagic: 4.15.0-36-generic SMP mod_unload
signat: PKCS#7
signer:
sig_key:
sig_hashalgo: md4
parm: NVreg_Mobile:int
parm: NVreg_ResmanDebugLevel:int
parm: NVreg_RmLogonRC:int
parm: NVreg_ModifyDeviceFiles:int
parm: NVreg_DeviceFileUID:int
parm: NVreg_DeviceFileGID:int
parm: NVreg_DeviceFileMode:int
parm: NVreg_UpdateMemoryTypes:int
parm: NVreg_InitializeSystemMemoryAllocations:int
parm: NVreg_UsePageAttributeTable:int
parm: NVreg_MapRegistersEarly:int
parm: NVreg_RegisterForACPIEvents:int
parm: NVreg_CheckPCIConfigSpace:int
parm: NVreg_EnablePCIeGen3:int
parm: NVreg_EnableMSI:int
parm: NVreg_TCEBypassMode:int
parm: NVreg_UseThreadedInterrupts:int
parm: NVreg_EnableStreamMemOPs:int
parm: NVreg_EnableBacklightHandler:int
parm: NVreg_EnableUserNUMAManagement:int
parm: NVreg_MemoryPoolSize:int
parm: NVreg_IgnoreMMIOCheck:int
parm: NVreg_RegistryDwords:charp
parm: NVreg_RegistryDwordsPerDevice:charp
parm: NVreg_RmMsg:charp
parm: NVreg_AssignGpus:charp
Y este es el de "intel": (aunque este no muestra nada)
Code: Select all
modinfo intel
modinfo: ERROR: Module intel not found.
Ahora un lspci para mostraros todo lo que hay en mi portátil:
Code: Select all
lspci
00:00.0 Host bridge: Intel Corporation Skylake Host Bridge/DRAM Registers (rev 07)
00:01.0 PCI bridge: Intel Corporation Skylake PCIe Controller (x16) (rev 07)
00:02.0 VGA compatible controller: Intel Corporation HD Graphics 530 (rev 06)
00:04.0 Signal processing controller: Intel Corporation Skylake Processor Thermal Subsystem (rev 07)
00:14.0 USB controller: Intel Corporation Sunrise Point-H USB 3.0 xHCI Controller (rev 31)
00:14.2 Signal processing controller: Intel Corporation Sunrise Point-H Thermal subsystem (rev 31)
00:16.0 Communication controller: Intel Corporation Sunrise Point-H CSME HECI #1 (rev 31)
00:17.0 SATA controller: Intel Corporation Sunrise Point-H SATA Controller [AHCI mode] (rev 31)
00:1c.0 PCI bridge: Intel Corporation Sunrise Point-H PCI Express Root Port #3 (rev f1)
00:1c.3 PCI bridge: Intel Corporation Sunrise Point-H PCI Express Root Port #4 (rev f1)
00:1f.0 ISA bridge: Intel Corporation Sunrise Point-H LPC Controller (rev 31)
00:1f.2 Memory controller: Intel Corporation Sunrise Point-H PMC (rev 31)
00:1f.3 Audio device: Intel Corporation Sunrise Point-H HD Audio (rev 31)
00:1f.4 SMBus: Intel Corporation Sunrise Point-H SMBus (rev 31)
01:00.0 3D controller: NVIDIA Corporation GM107M [GeForce GTX 950M] (rev a2)
02:00.0 Network controller: Realtek Semiconductor Co., Ltd. RTL8821AE 802.11ac PCIe Wireless Network Adapter
03:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. RTL8411B PCI Express Card Reader (rev 01)
03:00.1 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 12)
Aquí un poco mas abreviado:
Code: Select all
lspci | grep -i VGA|3D
00:02.0 VGA compatible controller: Intel Corporation HD Graphics 530 (rev 06)
01:00.0 3D controller: NVIDIA Corporation GM107M [GeForce GTX 950M] (rev a2)
Ahora os enseño el hardware de las gráficas, en mi caso tengo dos, una integrada y otra dedicada, con el comando "lshw":
Code: Select all
lshw -class display
*-display
descripción: 3D controller
producto: GM107M [GeForce GTX 950M]
fabricante: NVIDIA Corporation
id físico: 0
información del bus: pci@0000:01:00.0
versión: a2
anchura: 64 bits
reloj: 33MHz
capacidades: pm msi pciexpress bus_master cap_list rom
configuración: driver=nvidia latency=0
recursos: irq:16 memoria:de000000-deffffff memoria:c0000000-cfffffff memoria:d0000000-d1ffffff ioport:e000(size=128) memoria:df000000-df07ffff
*-display
descripción: VGA compatible controller
producto: HD Graphics 530
fabricante: Intel Corporation
id físico: 2
información del bus: pci@0000:00:02.0
versión: 06
anchura: 64 bits
reloj: 33MHz
capacidades: pciexpress msi pm vga_controller bus_master cap_list rom
configuración: driver=i915 latency=0
recursos: irq:126 memoria:dd000000-ddffffff memoria:b0000000-bfffffff ioport:f000(size=64) memoria:c0000-dffff
Cuando intento entrar en la aplicación de nvidia-settings no se abre (la pensaba utilizar para cambiar de grafica en el apartado "nvidia PRIME", donde antes si me dejaba escoger que grafica usar, pero ahora no me funciona... en la ultima imagen esta lo que me refiero)
Code: Select all
nvidia-settings -q all
ERROR: Unable to find display on any available system
ERROR: Unable to find display on any available system
Creo que ahora la he liado al no poder cambiar a la nvidia que yo diria que es mejor que la intel, ustedes que opinan, que deberia hacer para solucionar esto, o algo estoy haciendo mal...
Gracias
EDITO1: al final nose que he echo que me a tocado reinstalar el sistema de nuevo desde cero (Creo que a sido por instala bublebee) ya que se quedaba en pantalla en negro... y ni con nomodeset iniciaba... vuelvo a estar como al principio (He instalado el ultimo driver de nvidia 396.54 + cuda 9.2)... la verdad no sé que más probar...
EDITO2: He encontrado esto navegando por googlle
https://github.com/timrichardson/Prime-Ubuntu-18.04 pero no se ingles y el traductor no lo traduce muy bien que digamos, si alguien me puede ayudar con las traducciones y en definitiva que pasos debo seguir? no tengo claro si debo instalar esto: lightdm y esto bbswitch (aunque en los repos me aparece como: bbswitch-dkms)