Using Google Translate

Hello , I followed the guide to Switching Between free and non-free Nvidia, but I'm having problems. with drivers nouveau works fine but when I switch to the nvidia drivers keeps the initial boot screen in black

[carlos@Acer-E17 nvidia]$inxi -Fx

System: Host: Acer-E17 Kernel: 4.3.3-2 x86_64 (64 bit gcc: 4.9.3) Console: tty 2 Distro: KaOS rolling

Machine: Mobo: Acer model: Zoro_SL v: V1.08 Bios: Insyde v: V1.08 date: 11/06/2015

CPU: Dual core Intel Core i7-6500U (-HT-MCP-) cache: 4096 KB

flags: (lm nx sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx) bmips: 10367

clock speeds: max: 3000 MHz 1: 748 MHz 2: 499 MHz 3: 499 MHz 4: 696 MHz

Graphics: Card-1: Intel Sky Lake Integrated Graphics bus-ID: 00:02.0

Card-2: NVIDIA GK208M [GeForce 920M] bus-ID: 01:00.0

Display Server: X.org 1.18.1 drivers: intel (unloaded: nvidia,vesa)

tty size: 170x48 Advanced Data: N/A out of X

Audio: Card Intel Sunrise Point-LP HD Audio driver: snd_hda_intel bus-ID: 00:1f.3 Sound: ALSA v: k4.3.3-2

Network: Card-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller

driver: r8169 v: 2.3LK-NAPI port: 3000 bus-ID: 02:00.0

IF: enp2s0 state: down mac: 54:ab:3a:2a:27:19

Card-2: Qualcomm Atheros Device 0042 driver: ath10k_pci v: backported bus-ID: 03:00.0

IF: wlp3s0 state: down mac: 30:52:cb:5a:22:73

WAN IP: None Detected! IF: wlp3s0 ip-v4: N/A ip-v6: N/A

IF: enp2s0 ip-v4: N/A ip-v6: N/A

Drives: HDD Total Size: 1320.3GB (1.3% used) ID-1: /dev/sda model: WDC_WD10JPVX size: 1000.2GB

ID-2: USB /dev/sdb model: HTS543232L9A300 size: 320.1GB

Partition: ID-1: / size: 51G used: 6.2G (13%) fs: xfs dev: /dev/sda2

ID-2: /home size: 871G used: 213M (1%) fs: xfs dev: /dev/sda3

ID-3: /boot size: 300M used: 26M (9%) fs: vfat dev: /dev/sda1

ID-4: swap-1 size: 10.47GB used: 0.00GB (0%) fs: swap dev: /dev/sda4

Sensors: System Temperatures: cpu: 41.0C mobo: N/A

Fan Speeds (in rpm): cpu: N/A

Info: Processes: 128 Uptime: 1 min Memory: 182.8/7855.2MB Init: systemd runlevel: 5 Gcc sys: 4.9.3

Client: Shell (bash 4.3.421) inxi: 2.2.35

X11 error log.

http://pastebin.com/R1zfnVmH

I have also tried to create a xorg.conf

sudo nvidia-xconfig

create the following configuration file

http://pastebin.com/cVY1DUzN

But with the same result , log:

http://pastebin.com/KV9Yd0AN

I see in the logs that are still loaded the Intel drivers when it should not , the call is not from where xorg.conf

thanks

----------------------------------------------------------------

Hola, he seguido la guía para Switching between free and non-free Nvidia, con los drivers nouveau funciona bien pero cuando cambio a los drivers nvidia se queda con la pantalla en inicial de arranque en negro

[carlos@Acer-E17 nvidia]$inxi -Fx

System: Host: Acer-E17 Kernel: 4.3.3-2 x86_64 (64 bit gcc: 4.9.3) Console: tty 2 Distro: KaOS rolling

Machine: Mobo: Acer model: Zoro_SL v: V1.08 Bios: Insyde v: V1.08 date: 11/06/2015

CPU: Dual core Intel Core i7-6500U (-HT-MCP-) cache: 4096 KB

flags: (lm nx sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx) bmips: 10367

clock speeds: max: 3000 MHz 1: 748 MHz 2: 499 MHz 3: 499 MHz 4: 696 MHz

Graphics: Card-1: Intel Sky Lake Integrated Graphics bus-ID: 00:02.0

Card-2: NVIDIA GK208M [GeForce 920M] bus-ID: 01:00.0

Display Server: X.org 1.18.1 drivers: intel (unloaded: nvidia,vesa)

tty size: 170x48 Advanced Data: N/A out of X

Audio: Card Intel Sunrise Point-LP HD Audio driver: snd_hda_intel bus-ID: 00:1f.3 Sound: ALSA v: k4.3.3-2

Network: Card-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller

driver: r8169 v: 2.3LK-NAPI port: 3000 bus-ID: 02:00.0

IF: enp2s0 state: down mac: 54:ab:3a:2a:27:19

Card-2: Qualcomm Atheros Device 0042 driver: ath10k_pci v: backported bus-ID: 03:00.0

IF: wlp3s0 state: down mac: 30:52:cb:5a:22:73

WAN IP: None Detected! IF: wlp3s0 ip-v4: N/A ip-v6: N/A

IF: enp2s0 ip-v4: N/A ip-v6: N/A

Drives: HDD Total Size: 1320.3GB (1.3% used) ID-1: /dev/sda model: WDC_WD10JPVX size: 1000.2GB

ID-2: USB /dev/sdb model: HTS543232L9A300 size: 320.1GB

Partition: ID-1: / size: 51G used: 6.2G (13%) fs: xfs dev: /dev/sda2

ID-2: /home size: 871G used: 213M (1%) fs: xfs dev: /dev/sda3

ID-3: /boot size: 300M used: 26M (9%) fs: vfat dev: /dev/sda1

ID-4: swap-1 size: 10.47GB used: 0.00GB (0%) fs: swap dev: /dev/sda4

Sensors: System Temperatures: cpu: 41.0C mobo: N/A

Fan Speeds (in rpm): cpu: N/A

Info: Processes: 128 Uptime: 1 min Memory: 182.8/7855.2MB Init: systemd runlevel: 5 Gcc sys: 4.9.3

Client: Shell (bash 4.3.421) inxi: 2.2.35

Este es el log de X11

http://pastebin.com/R1zfnVmH

También he probado a crear un fichero xorg.conf con

sudo nvidia-xconfig

Me crea el siguiente fichero de configuración

http://pastebin.com/cVY1DUzN

Pero con el mismo resultado, log:

http://pastebin.com/KV9Yd0AN

Veo en los logs que se siguen cargando los drivers Intel, cuando no debería, no se desde donde los llama xorg.conf

gracias

In addition to the Switching Guide, you need to follow the Hybrids graphics Guide and use the bumblebee packages for Nvidia.

Thank you for responding , i can not install only nvidia ? I'm doing performance testing in my new computer , I tested with Prime, Bumblebee and Intel. I would like to test the performance with nvidia proprietary drivers .

I tested the performance of the card with nvidia proprietary drivers in ubuntu, and there is quite a difference , but my distro is kaosx not kaosx not ;-)

Cheers

PD: Here I leave the evidence been doing if it is of interest to someone

UBUNTU NVIDIA

carlos@Aspire-E5-574G:~$ glxgears

Running synchronized to the vertical refresh. The framerate should be

approximately the same as the monitor refresh rate.

28617 frames in 5.0 seconds = 5723.304 FPS

28068 frames in 5.0 seconds = 5613.512 FPS

XIO: fatal IO error 11 (Resource temporarily unavailable) on X server ":0"

UBUNTU INTEL

carlos@Aspire-E5-574G:~$ glxgears

Running synchronized to the vertical refresh. The framerate should be

approximately the same as the monitor refresh rate.

332 frames in 5.0 seconds = 66.287 FPS

301 frames in 5.0 seconds = 60.003 FPS

301 frames in 5.0 seconds = 60.005 FPS

XIO: fatal IO error 11 (Resource temporarily unavailable) on X server ":0"

after 3662 requests (3662 known processed) with 0 events remaining.

carlos@Aspire-E5-574G:~$

KAOSX INTEL

[carlos@Acer-E17 ~]$ glxspheres64

Polygons in scene: 62464 (61 spheres * 1024 polys/spheres)

Visual ID of window: 0x93

Context is Direct

OpenGL Renderer: Mesa DRI Intel(R) HD Graphics 520 (Skylake GT2)

60.460309 frames/sec - 52.554519 Mpixels/sec

59.691368 frames/sec - 51.886125 Mpixels/sec

[carlos@Acer-E17 ~]$ glxgears

Running synchronized to the vertical refresh. The framerate should be

approximately the same as the monitor refresh rate.

304 frames in 5.0 seconds = 60.604 FPS

301 frames in 5.0 seconds = 60.027 FPS

KAOSX Bumblebee

[carlos@Acer-E17 ~]$ optirun glxspheres64

Polygons in scene: 62464 (61 spheres * 1024 polys/spheres)

Visual ID of window: 0x20

Context is Direct

OpenGL Renderer: GeForce 920M/PCIe/SSE2

96.552791 frames/sec - 83.927548 Mpixels/sec

97.691899 frames/sec - 84.917706 Mpixels/sec

[carlos@Acer-E17 ~]$ optirun glxgears

4335 frames in 5.0 seconds = 866.914 FPS

4365 frames in 5.0 seconds = 872.960 FPS

[VGL] ERROR: in readback--

[VGL] 254: Window has been deleted by window manager

KAOSX NOUVEAU (PRIME)

[carlos@Acer-E17 ~]$ xrandr --setprovideroffloadsink nouveau Intel

[carlos@Acer-E17 ~]$ DRI_PRIME=1 glxspheres64

Polygons in scene: 62464 (61 spheres * 1024 polys/spheres)

Visual ID of window: 0xd3

Context is Direct

OpenGL Renderer: Gallium 0.4 on NV106

144.437859 frames/sec - 125.551165 Mpixels/sec

144.245319 frames/sec - 125.383801 Mpixels/sec

[carlos@Acer-E17 ~]$ DRI_PRIME=1 glxgears

Running synchronized to the vertical refresh. The framerate should be

approximately the same as the monitor refresh rate.

6756 frames in 5.0 seconds = 1351.106 FPS

6771 frames in 5.0 seconds = 1354.108 FPS

XIO: fatal IO error 11 (Resource temporarily unavailable) on X server ":0"

after 56242 requests (56242 known processed) with 0 events remaining.

[carlos@Acer-E17 ~]$

----------------------------------------------------------

Gracias por responder, ¿no se puede instalar solo nvidia? Estoy haciendo pruebas de rendimiento de mi nuevo ordenador, he probado con PRIME, Bumblebee e Intel. Me gustaría probar el rendimiento con el los drivers propietarios de nvidia.

He probado el rendimiento de la tarjeta con los drivers propietarios de nvidia en ubuntu, y hay bastante diferencia, pero mi distro desde hace un par de años es kaosx no ubuntu ;-)

Saludos

PD os dejo las pruebas que ido haciendo por si le es de interes a alguien

UBUNTU NVIDIA

carlos@Aspire-E5-574G:~$ glxgears

Running synchronized to the vertical refresh. The framerate should be

approximately the same as the monitor refresh rate.

28617 frames in 5.0 seconds = 5723.304 FPS

28068 frames in 5.0 seconds = 5613.512 FPS

XIO: fatal IO error 11 (Resource temporarily unavailable) on X server ":0"

UBUNTU INTEL

carlos@Aspire-E5-574G:~$ glxgears

Running synchronized to the vertical refresh. The framerate should be

approximately the same as the monitor refresh rate.

332 frames in 5.0 seconds = 66.287 FPS

301 frames in 5.0 seconds = 60.003 FPS

301 frames in 5.0 seconds = 60.005 FPS

XIO: fatal IO error 11 (Resource temporarily unavailable) on X server ":0"

after 3662 requests (3662 known processed) with 0 events remaining.

carlos@Aspire-E5-574G:~$

KAOSX INTEL

[carlos@Acer-E17 ~]$ glxspheres64

Polygons in scene: 62464 (61 spheres * 1024 polys/spheres)

Visual ID of window: 0x93

Context is Direct

OpenGL Renderer: Mesa DRI Intel(R) HD Graphics 520 (Skylake GT2)

60.460309 frames/sec - 52.554519 Mpixels/sec

59.691368 frames/sec - 51.886125 Mpixels/sec

[carlos@Acer-E17 ~]$ glxgears

Running synchronized to the vertical refresh. The framerate should be

approximately the same as the monitor refresh rate.

304 frames in 5.0 seconds = 60.604 FPS

301 frames in 5.0 seconds = 60.027 FPS

KAOSX Bumblebee

[carlos@Acer-E17 ~]$ optirun glxspheres64

Polygons in scene: 62464 (61 spheres * 1024 polys/spheres)

Visual ID of window: 0x20

Context is Direct

OpenGL Renderer: GeForce 920M/PCIe/SSE2

96.552791 frames/sec - 83.927548 Mpixels/sec

97.691899 frames/sec - 84.917706 Mpixels/sec

[carlos@Acer-E17 ~]$ optirun glxgears

4335 frames in 5.0 seconds = 866.914 FPS

4365 frames in 5.0 seconds = 872.960 FPS

[VGL] ERROR: in readback--

[VGL] 254: Window has been deleted by window manager

KAOSX NOUVEAU (PRIME)

[carlos@Acer-E17 ~]$ xrandr --setprovideroffloadsink nouveau Intel

[carlos@Acer-E17 ~]$ DRI_PRIME=1 glxspheres64

Polygons in scene: 62464 (61 spheres * 1024 polys/spheres)

Visual ID of window: 0xd3

Context is Direct

OpenGL Renderer: Gallium 0.4 on NV106

144.437859 frames/sec - 125.551165 Mpixels/sec

144.245319 frames/sec - 125.383801 Mpixels/sec

[carlos@Acer-E17 ~]$ DRI_PRIME=1 glxgears

Running synchronized to the vertical refresh. The framerate should be

approximately the same as the monitor refresh rate.

6756 frames in 5.0 seconds = 1351.106 FPS

6771 frames in 5.0 seconds = 1354.108 FPS

XIO: fatal IO error 11 (Resource temporarily unavailable) on X server ":0"

after 56242 requests (56242 known processed) with 0 events remaining.

[carlos@Acer-E17 ~]$

You need to install all bumblebee packages, not regular nvidia:

You need to install all bumblebee packages, not regular nvidia:

He had doubts whether it could have only activates the nvidia card and intel always off

It is curious to get better performance with PRIME and not Bunblebee

Thank you very much again.

--------------------------------------------------------------------------------------------------------------

Tenia dudas de si podía tener solo activa la tarjeta nvidia y la intel siempre apagada

Es curioso que obtenga mejor rendimiento con PRIME que con bumblebee

Muchas gracias nuevamente.

It should be possible with bbswitch to set to always use nvidia

It should be possible with bbswitch to set to always use nvidia

Thanks , I'll look for information about it

----------------------------

Gracias, voy a buscar información sobre ello

I continued researching and in the end I managed to run the nvidia card as master card using nvidia drivers.

The result is amazing , much better than I did tests with ubuntu, with glxgears :

En ubuntu driver nvidia 5723.304 FPS

En kaosx driver nvidia 7314.391 FPS

En kaosx driver PRIME 1351.106 FPS

En kaosx driver bumblebeep 866.914 FPS

I followed the instructions in this link

pacman -R xf86-video-nouveau

pacman -Rdd libgl

pacman -S nvidia

I modified the my .xinitrc

xrandr --setprovideroutputsource modesetting NVIDIA-0

xrandr --auto

and sddm as puts on the link

/usr/share/sddm/scripts/Xsetup

xrandr --setprovideroutputsource modesetting NVIDIA-0

xrandr --auto

and this is my xorg.conf

Section "ServerLayout"

Identifier "layout"

Screen 1 "nvidia"

Inactive "intel"

EndSection

Section "Device"

Identifier "nvidia"

Driver "nvidia"

BusID "PCI:1:0:0"

EndSection

Section "Screen"

Identifier "nvidia"

Device "nvidia"

Option "AllowEmptyInitialConfiguration" "Yes"

EndSection

Section "Device"

Identifier "intel"

Driver "modesetting"

BusID "PCI:0:2:0"

Option "AccelMethod" "none"

EndSection

Section "Screen"

Identifier "intel"

Device "intel"

EndSection

We lose the ability to switch between cards but we gain in power . I hope it helps you.

Please post whether you used regular nvidia, or nvidia-bumblebee packages.

Please post whether you used regular nvidia, or nvidia-bumblebee packages.

regular nvidia, now edit my post

Your post is added as an extra link here

But being able to switch to Intel is a nice touch to save battery, won't you miss it?

yes, but it is to have another option in case you need more graphics power

    a year later

    hefistion can you provide your full xorg.conf ? Because i paste your xorg.conf but when i restart the system i only have 600x400 monitor .

    Best Regards,