SliTaz SliTaz Forum

You are not logged in.

#1 2013-01-05 10:22:46

MADMAN
Member
Registered: 2012-09-12
Posts: 41

How to disable secondary video card

I have an Asus laptop that using the sandy brige included an intel graphic card and a nvidia graphic, The question is how can disable my Nvidia card to get more battery life time.

thank you.

Offline

#2 2013-01-05 17:06:25

ernia
Member
Registered: 2011-05-20
Posts: 299

Re: How to disable secondary video card

look this

https://wiki.archlinux.org/index.php/Hybrid_graphics

so you should investigate kernel for vgaswitcheroo

remember that slitaz splits kernel in different linux* packages

Offline

#3 2013-01-05 17:14:08

kultex
Administrator
Registered: 2011-03-28
Posts: 1,175

Re: How to disable secondary video card

have a look in the bios, if you can disable the nvidia card

Offline

#4 2013-01-17 16:43:52

MADMAN
Member
Registered: 2012-09-12
Posts: 41

Re: How to disable secondary video card

is there any easier way to disable that there was alot of description and i'm confused.

i'm newbie and i dont know alots about linux.

@kultex

i looked into the bios and i didn't find anything usefull about video card the model is asus n53sv.

Offline

#5 2013-01-19 16:45:04

ernia
Member
Registered: 2011-05-20
Posts: 299

Re: How to disable secondary video card

i'm changing hd for a larger one so i found out a note about vga_switcheroo

at least in rolling you need to recompile kernel:

[c]root@slitaz:/home/tux# zcat /proc/config.gz | grep CONFIG_VGA_SWITCHEROO
CONFIG_VGA_SWITCHEROO=y
root@slitaz:/home/tux# zcat /proc/config.gz | grep CONFIG_DEBUG_FS
# CONFIG_DEBUG_FS is not set[/c]
changing CONFIG_DEBUG_FS to yes and rebulding - booting the new kernel you will be able to mount debugfs

manually: mount -t debugfs none /sys/kernel/debug

or editing /etc/fstab adding the row

debugfs /sys/kernel/debug debugfs 0 0

in the end you will have a switch in /sys/kernel/debug/vgaswitcheroo/switch

Offline

#6 2013-01-20 14:07:28

MADMAN
Member
Registered: 2012-09-12
Posts: 41

Re: How to disable secondary video card

sorry ernia i didn't get what i should do this is all i got and did with errors:

madman@MADMAN:~$ su

Password:

root@MADMAN:/home/madman# zcat /proc/config.gz | grep CONFIG_VGA_SWITCHEROO

# CONFIG_VGA_SWITCHEROO is not set

root@MADMAN:/home/madman# zcat /proc/config.gz | grep CONFIG_DEBUG_FS

# CONFIG_DEBUG_FS is not set

root@MADMAN:/home/madman# mount -t debugfs none /sys/kernel/debug

mount: mounting none on /sys/kernel/debug failed: No such file or directory

root@MADMAN:/home/madman#

thank you

Offline

#7 2013-01-20 14:27:04

ernia
Member
Registered: 2011-05-20
Posts: 299

Re: How to disable secondary video card

which slitaz are you using, 4.0?

are you able to rebuild your kernel?

http://doc.slitaz.org/en:guides:kernel

you can mount debugfs only after you have built your own kernel and booted it.

it seems that you must enable both configs.

Offline

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.015 seconds, 7 queries executed - Memory usage: 1.54 MiB (Peak: 1.77 MiB) ]