Hybrid graphic : vgaswitcheroo folder missing

Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
Olivier

Hybrid graphic : vgaswitcheroo folder missing

Post by Olivier »

Hi,

I'm using linux mint 17 kde edition on my acer laptop which have an radeon HD 8750M and a intel i5 Haswell generation processor (with an igp). I would like to deactivate the discret gpu to save battery. To do so I would like to use vgaswitcheroo but, the "/sys/kernel/debug/vgaswitcheroo" folder is missing.

I can't find why.

I'm using the 3.13.0 kernel.
The config file have CONFIG_VGA_SWITCHEROO=y
I've added modeset=1 in the grub menu
dmesg repport that modesetting is active :

Code: Select all

[    1.140954] [drm] radeon kernel modesetting enabled.
[    2.912322] [drm] initializing kernel modesetting (OLAND 0x1002:0x6600 0x1025:0x0776).
and lsmod reports that intel and radeon modules are loaded :

Code: Select all

user@userlaptop:~$ lsmod | grep -i intel
intel_rapl             18773  0 
intel_powerclamp       14705  0 
kvm_intel             143060  0 
kvm                   451511  1 kvm_intel
ghash_clmulni_intel    13259  0 
aesni_intel            55624  0 
aes_x86_64             17131  1 aesni_intel
lrw                    13286  1 aesni_intel
glue_helper            13990  1 aesni_intel
ablk_helper            13597  1 aesni_intel
snd_hda_intel          52355  5 
cryptd                 20359  3 ghash_clmulni_intel,aesni_intel,ablk_helper
snd_hda_codec         192906  3 snd_hda_codec_realtek,snd_hda_codec_hdmi,snd_hda_intel
snd_pcm               102099  3 snd_hda_codec_hdmi,snd_hda_codec,snd_hda_intel
snd_page_alloc         18710  2 snd_pcm,snd_hda_intel
snd                    69238  21 snd_hda_codec_realtek,snd_hwdep,snd_timer,snd_hda_codec_hdmi,snd_pcm,snd_seq,snd_rawmidi,snd_hda_codec,snd_hda_intel,snd_seq_device,snd_seq_midi
user@userlaptop:~$ lsmod | grep -i radeon
radeon               1514165  1 
ttm                    85115  1 radeon
i2c_algo_bit           13413  2 i915,radeon
drm_kms_helper         52758  2 i915,radeon
drm                   302817  7 ttm,i915,drm_kms_helper,radeon
I'm not using the proprietary driver.
And of course /sys/kernel/debug is mounted :

Code: Select all

user@userlaptop:~$ mount | grep -i debug
none on /sys/kernel/debug type debugfs (rw)
So I have no idea why the folder is missing ... Could anyone help ?

Olivier.
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Olivier

Re: Hybrid graphic : vgaswitcheroo folder missing

Post by Olivier »

Hi I have a real basic understanding of how X is working but while I was browsing to solve some other issues I ran the following command :

Code: Select all

user@userlaptop:~$inxi -G
Graphics:  Card: Intel Haswell-ULT Integrated Graphics Controller 
           X.Org: 1.15.1 drivers: ati,radeon (unloaded: fbdev,vesa) FAILED: intel Resolution: 1366x768@60.1hz 
           GLX Renderer: Mesa DRI Intel Haswell Mobile GLX Version: 3.0 Mesa 10.1.3
And now I'm wondering if X is not trying to use the radeon driver with the IGP ?
Where is my second card ?
Well it seems to be a big mess for my laptop and for mee also :?:

I'm not sure it is related to this problem but maybe so that's why I'm giving the information.

Ok I've created a xorg.conf file (automatic) and now here is the result :

Code: Select all

user@userlaptop:~$inxi -G
Graphics:  Card: Intel Haswell-ULT Integrated Graphics Controller X.Org: 1.15.1 driver: radeon Resolution: 1366x768@60.1hz 
           GLX Renderer: Gallium 0.4 on llvmpipe (LLVM 3.4, 256 bits) GLX Version: 2.1 Mesa 10.1.3
But it haven't solved my first problem and I'm still surprised that it seems to be using radeon driver with the IGP.
Locked

Return to “Graphics Cards & Monitors”