os 13.1 on an optimus laptop

Hello all.

I have decided to go ahead and try good ol’ opensuse 13.1 (64bit) once again after hating ubuntu and so on.

my issue at this time is my laptop has a nvidia optimus dual graphics (intel and nvidia).

I have successfuly installed bumblebee and it seems to be working and i have verified this with “optirun <program>” with no problems.

however, the default intel card used the i915 kernel module and its pathetically laggy and slow during regular usage.

lspci shows the following:
00:02.0 VGA compatible controller [0300]: Intel Corporation 4th Gen Core Processor Integrated Graphics Controller [8086:0416] (rev 06) (prog-if 00 [VGA controller])
Subsystem: Acer Incorporated [ALI] Device [1025:0781]
Flags: fast devsel, IRQ 16
Memory at d3000000 (64-bit, non-prefetchable) [size=4]
Memory at c0000000 (64-bit, prefetchable) [size=256]
I/O ports at 5000 [size=64]
Expansion ROM at <unassigned> [disabled]
Capabilities: [90] MSI: Enable- Count=1/1 Maskable- 64bit-
Capabilities: [d0] Power Management version 2
Capabilities: [a4] PCI Advanced Features
Kernel modules: i915

01:00.0 3D controller [0302]: NVIDIA Corporation GK106M [GeForce GTX 760M] [10de:11e3] (rev a1)
Subsystem: Acer Incorporated [ALI] Device [1025:0781]
Flags: bus master, fast devsel, latency 0, IRQ 51
Memory at d2000000 (32-bit, non-prefetchable) [size=16]
Memory at a0000000 (64-bit, prefetchable) [size=256]
Memory at b0000000 (64-bit, prefetchable) [size=32]
I/O ports at 4000 [size=128]
[virtual] Expansion ROM at b2000000 [disabled] [size=512]
Capabilities: [60] Power Management version 3
Capabilities: [68] MSI: Enable+ Count=1/1 Maskable- 64bit+
Capabilities: [78] Express Endpoint, MSI 00
Capabilities: [b4] Vendor Specific Information: Len=14 <?>
Capabilities: [100] Virtual Channel
Capabilities: [128] Power Budgeting <?>
Capabilities: [600] Vendor Specific Information: ID=0001 Rev=1 Len=024 <?>
Capabilities: [900] #19
Kernel driver in use: nvidia
Kernel modules: nvidiafb, nouveau, nvidia

my lsmod[/size][/size][/size][/size][/size][/size][/size] shows this:
ahmad@linux-gk2c:/etc/modprobe.d> lsmod
Module Size Used by
nls_utf8 12557 0
ufs 83041 0
qnx4 13317 0
hfsplus 106859 0
hfs 58773 0
minix 36095 0
msdos 17332 0
jfs 193489 0
xfs 983087 0
reiserfs 258859 0
af_packet 39774 6
fuse 95850 5
bnep 19704 2
iTCO_wdt 13480 0
iTCO_vendor_support 13718 1 iTCO_wdt
rtsx_pci_ms 18151 0
memstick 16760 1 rtsx_pci_ms
rtsx_pci_sdmmc 23482 0
mmc_core 124734 1 rtsx_pci_sdmmc
nls_iso8859_1 12713 2
nls_cp437 16991 2
vfat 17411 2
fat 65905 2 msdos,vfat
snd_hda_codec_realtek 51700 1
acer_wmi 32522 0
sparse_keymap 13948 1 acer_wmi
snd_hda_codec_hdmi 45213 1
snd_hda_intel 48171 7
snd_hda_codec 205080 3 snd_hda_codec_realtek,snd_hda_codec_hdmi,snd_hda_intel
snd_hwdep 13602 1 snd_hda_codec
snd_pcm 110211 4 snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec
broadcom 13170 0
x86_pkg_temp_thermal 14162 0
snd_seq 69752 0
coretemp 13435 0
kvm_intel 142707 0
arc4 12608 2
kvm 469295 1 kvm_intel
crc32_pclmul 13113 0
ghash_clmulni_intel 13259 0
aesni_intel 55665 0
ablk_helper 13597 1 aesni_intel
cryptd 16262 3 ghash_clmulni_intel,aesni_intel,ablk_helper
lrw 13286 1 aesni_intel
gf128mul 14951 1 lrw
glue_helper 13990 1 aesni_intel
aes_x86_64 17131 1 aesni_intel
pcspkr 12718 0
serio_raw 13413 0
sr_mod 22411 0
ath9k 109640 0
i2c_i801 22444 0
cdrom 46652 1 sr_mod
mac80211 635562 1 ath9k
ath9k_common 13859 1 ath9k
ath9k_hw 440385 2 ath9k,ath9k_common
lpc_ich 21080 0
ath 27923 3 ath9k,ath9k_common,ath9k_hw
snd_timer 29423 2 snd_pcm,snd_seq
tg3 174606 0
snd_seq_device 14497 1 snd_seq
libphy 35382 2 broadcom,tg3
ptp 18580 1 tg3
pps_core 19057 1 ptp
cfg80211 522716 3 ath9k,mac80211,ath
joydev 17332 0
rtsx_pci 40225 2 rtsx_pci_ms,rtsx_pci_sdmmc
mfd_core 13435 2 lpc_ich,rtsx_pci
snd 87417 22 snd_hda_codec_realtek,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm,snd_seq,snd_timer,snd_seq_device
usb_storage 62062 1
uvcvideo 84981 0
videobuf2_core 44595 1 uvcvideo
videodev 141701 2 uvcvideo,videobuf2_core
ath3k 13317 0
videobuf2_vmalloc 13216 1 uvcvideo
btusb 32266 0
videobuf2_memops 13362 1 videobuf2_vmalloc
bluetooth 396742 24 bnep,ath3k,btusb
rfkill 26487 7 acer_wmi,cfg80211,bluetooth
soundcore 15047 1 snd
snd_page_alloc 18710 2 snd_hda_intel,snd_pcm
shpchp 32936 0
battery 18723 0
acpi_cpufreq 19790 1
mperf 12667 1 acpi_cpufreq
ac 13266 0
wmi 19070 1 acer_wmi
sg 40629 0
dm_mod 92428 0
autofs4 42770 2
btrfs 913865 1
raid6_pq 106004 1 btrfs
zlib_deflate 26914 1 btrfs
xor 21411 1 btrfs
libcrc32c 12644 2 xfs,btrfs
crc32c_intel 22079 1
i915 710199 2
xhci_hcd 108655 0
drm_kms_helper 52710 1 i915
i2c_algo_bit 13413 1 i915
thermal 18754 0
video 19507 2 acer_wmi,i915
button 13952 1 i915
processor 44625 1 acpi_cpufreq
thermal_sys 36646 4 x86_pkg_temp_thermal,thermal,video,processor
scsi_dh_rdac 17447 0
scsi_dh_hp_sw 12895 0
scsi_dh_emc 17258 0
scsi_dh_alua 17295 0
scsi_dh 14882 4 scsi_dh_rdac,scsi_dh_hp_sw,scsi_dh_emc,scsi_dh_alua
nvidia 10627419 30
drm 313440 5 i915,drm_kms_helper,nvidia
ahmad@linux-gk2c:/etc/modprobe.d>

i just want my system to be usable. at this state I am running out of options and i hope running back to windows wont be the solution.[/size]

Did you do an update? there were some fixes relating to Intel driver. Have no idea if that is the problem just something that you should do if you have not.

did a full update.

absolutely no change.

oh well. i guess its back to either crapUntu or Winblows

I had high hopes for OpenSuse.

What is shown by


rpm -q xf86-video-intel


PC: oS 13.1 x86_64 | i7-2600@3.40GHz | 16GB | KDE 4.11 | GTX 650 Ti
ThinkPad E320: oS 13.1 x86_64 | i3@2.30GHz | 8GB | KDE 4.11 | HD 3000
HTPC: oS 13.1 x86_64 | Celeron@1.8GHz | 2GB | Gnome 3.10 | HD 2500

ahmad@linux-gk2c:~> rpm -q xf86-video-intel
xf86-video-intel-2.99.906-12.1.x86_64

Am 25.12.2013 22:26, schrieb cylent:
> ahmad@linux-gk2c:~> rpm -q xf86-video-intel
> xf86-video-intel-2.99.906-12.1.x86_64

so you have the updated version, there are two things which come to my
mind, but I am not sure if one of them solves your problem.
One is that probably sna acceleration causing problems and that you may
try if uxa serves you better.
https://en.opensuse.org/SDB:Switch_xf86-video-intel_to_UXA

The other is that if I were you and changing to uxa does not help then I
would try a newer kernel to see if this HD 4600 is better supported (no
idea at this point if bumblebee is compatible with kernel 3.12, so be
careful!).


PC: oS 13.1 x86_64 | i7-2600@3.40GHz | 16GB | KDE 4.11 | GTX 650 Ti
ThinkPad E320: oS 13.1 x86_64 | i3@2.30GHz | 8GB | KDE 4.11 | HD 3000
HTPC: oS 13.1 x86_64 | Celeron@1.8GHz | 2GB | Gnome 3.10 | HD 2500

hello, martin.

i tried your suggestion and all that did was cause the X server to crash at startup so i got rid of the modification.

pls remember i do have bumblebee installed on this laptop

Am 26.12.2013 07:36, schrieb cylent:
> hello, martin.
>
> i tried your suggestion and all that did was cause the X server to crash
> at startup so i got rid of the modification.
>
> pls remember i do have bumblebee installed on this laptop
>
>
Your X server starts on the intel card, so that has nothing to do with
bumblebee at all, it just means that the 4600 card is somehow
incompatible with the uxa setting which surprises me since that was
until now the default if nothing was set in xorg.conf.d, with 13.1 this
switched to sna as default.
I have myself a bumblebee system but that runs on a different intel
card, so I cannot exactly compare, my card does not lag at all.

If you have bumblebee set up with dkms I would add the kernel:stable
repo and try kernel 3.12, the larger part of the graphics driver is part
of the kernel the x11 video drivers these days are just microscopic
layers on top of that.
Do not forget to add the corresponding devel packages for the kernel
3.12 as the dkms has to recompile the nvidia driver.
I have not tried it with 3.12 so take it with a grain of salt that I
cannot tell you if that works flawless, at least it is easy to revert to
3.11.6 if you do keep the older kernels (which is the default).


PC: oS 13.1 x86_64 | i7-2600@3.40GHz | 16GB | KDE 4.11 | GTX 650 Ti
ThinkPad E320: oS 13.1 x86_64 | i3@2.30GHz | 8GB | KDE 4.11 | HD 3000
HTPC: oS 13.1 x86_64 | Celeron@1.8GHz | 2GB | Gnome 3.10 | HD 2500

Before I forget, if you run KDE I would first look into the settings for
desktop effects what combination you have set (opengl xyz + nativ,
opengl xyz + raster, xrender + raster …) and try different
combinations, I have opengl 3.1 + raster which works well with my intel
cards.


PC: oS 13.1 x86_64 | i7-2600@3.40GHz | 16GB | KDE 4.11 | GTX 650 Ti
ThinkPad E320: oS 13.1 x86_64 | i3@2.30GHz | 8GB | KDE 4.11 | HD 3000
HTPC: oS 13.1 x86_64 | Celeron@1.8GHz | 2GB | Gnome 3.10 | HD 2500

Did you ever wonder whether this is going to get you any further? Does calling names generate support? Come on.

And, please post output between CODE tags, the # in the editor.

Did the Intel perform normally before installing the bumblebee stuff?