ASUS UX303 ln set up for 13.2

Hi

this is my first time on any kind of forum, so I hope I’m not messing things up here. Anyway here we go.

I seem to have some troubles with SUSe 13.2 on ASUS Zenbook UX303ln with Nvidia 840m and QHD display. Nice hardware it seems. Many things (camera, sound, keyboard etc work nicely out of box. Some need tiny bit of tweaking (backlit keyboard, Fn keys, font size, Fifefox font etc.). The remaining troubles ordered by the level of irritation they cause are:
**

  1. WiFi unreliable.**
    Frequently (may be 1 in 3 boot ups) the laptop loses WiFi connection within ~ 10 minutes. It then keeps nagging about password for the KDE wallet or password for the WiFi network, but never seems to get a stable connection again. I was not able to track it to specific condition (after sleep, after reboot, on battery or AC plugged … on average 1 in 3 cases the WiFi goes unstable).
    Doing rcnetwork stop followed by rcnetwork start a few seconds later sometimes fixes the problem, sometimes the same unstable WiFi connection problem appears again within a few minutes.

lspci -knn | grep Net -A2
02:00.0 Network controller [0280]: Intel Corporation Wireless 7260 [8086:08b1] (rev bb)
Subsystem: Intel Corporation Dual Band Wireless-N 7260 [8086:c160]
Kernel driver in use: iwlwifi

ls /lib/firmware | grep 7260
iwlwifi-7260-7.ucode
iwlwifi-7260-8.ucode
iwlwifi-7260-9.ucode

The WiFi signal is about
-78 dB according to
watch -n 0.1 cat /proc/net/wireless
I have two other laptops that have no problem with the same signal strength. Is it HW or SW or WiFi signal or power management or … ?


2) HDMI: system detects external monitor and modes but sends no signal. This is just with the i915 driver so may be the problem is the non working nvidia ? (If so why do I get the modes just from xrandr with only intel i915 working ?)

When I plug in external monitor (should be actually projector, but I do not have one at home for testing) I can see the available modes (see below) but I do not seem to be able to get any signal go to the HDMI connected display.

xrandr **
Screen 0: minimum 8 x 8, current 3200 x 1800, maximum 32767 x 32767
eDP1 connected primary 3200x1800+0+0 (normal left inverted right x axis y axis) 293mm x 165mm
3200x1800 60.00
+ 48.01
2048x1536 60.00
1920x1440 60.00
(… many more modes).
*
DP1 disconnected** (normal left inverted right x axis y axis)
HDMI1 disconnected (normal left inverted right x axis y axis)
HDMI2 connected 1920x1080+0+0 (normal left inverted right x axis y axis) 477mm x 268mm
1920x1080 60.00*+ 60.00 50.00 59.94
1920x1080i 60.00 50.00 59.94
1680x1050 59.88
1280x1024 75.02 60.02
1440x900 74.98 59.90
(… many more modes)
VIRTUAL1 disconnected (normal left inverted right x axis y axis)

Is there any way to get the HDMI or display port working (preferably from the KDE /Configure desktop / Display and monitor panel) ? I found some nice article here:
http://www.webupd8.org/2012/08/get-hdmi-working-with-nvidia-optimus-on.html

but that is a bit over my head taking into account I do not seem to be able to get the NVidia working as described below.


                        **3) NVidia crashes X windows.  Need advice on how to restore back to i915 only**

Installing the latest NVidia driver and running nvidia-setup kills the X environment which does not come back again. The laptop runs fine with nice screen using the i915 (but I’m not able to bring it back after trying nvidia).

When all works fine lspci gives among many other things:
video 24419 3 i915,nouveau,asus_wmi

and
lspci | grep VGA
00:02.0 VGA compatible controller: Intel Corporation Haswell-ULT Integrated Graphics Controller (rev 0b)

and
find /dev -group video
/dev/video0
/dev/fb0
/dev/dri/card0
/dev/dri/controlD64

and

glxinfo | grep -i vendor
server glx vendor string: SGI
client glx vendor string: Mesa Project and SGI
OpenGL vendor string: Intel Open Source Technology Center

While I would love to spend time playing with NVidia set up, I need some guidance on how to bring back the Intel video correctly after my attempts with NVidia fail. When I delete content of /etc/X11 and replace it with original files that worked fine after install, the X environment still looks crappy (no window transparency etc). Any advice how to fully restore original state ? What are reasonably easy things to try to get the NVidia working ?

To try the NVidia drivers I used the 1-click install from here
https://en.opensuse.org/SDB:NVIDIA_drivers

choosing the GeForce 8 and later option.

Running the nvidia-xconfig gives:

WARNING: Unable to locate/open X configuration file.

Package xorg-server was not found in the pkg-config search path.
Perhaps you should add the directory containing `xorg-server.pc’
to the PKG_CONFIG_PATH environment variable
No package ‘xorg-server’ found
New X configuration file written to ‘/etc/X11/xorg.conf’

restart X enviro leads to console only. The error message says that no screen was found. As mentioned above I could get X working again by cleaning /etc/X11 and unpacking backup of what was in the directory, but the X enviro looks crappy after such “repair”.

ls of the /etc/X11 gives:
xdm xim xim.d xinit Xmodmap Xmodmap.remote xorg.conf.d xorg.conf.install Xresources


**4) System backup seems to be missing from Yast. **Is there a similar, user friendly utility ?


System info that may be relevant:

uname -a
Linux linux-vkcn.site 3.16.7-7-desktop #1 SMP PREEMPT Wed Dec 17 18:00:44 UTC 2014 (762f27a) x86_64 x86_64 x86_64 GNU/Linux

lspci
02:00.0 Network controller: Intel Corporation Wireless 7260 (rev bb)
03:00.0 3D controller: NVIDIA Corporation GM108M [GeForce 840M] (rev ff)
00:02.0 VGA compatible controller: Intel Corporation Haswell-ULT Integrated Graphics Controller (rev 0b)

I’m using KDE desktop 4.14.5 (standard SUSE 13.2 factory)

Thanks a lot !

OK, so the WiFI problem (1) is aparently a known issue with 7260 firmware. Info can be found here:
http://ubuntuforums.org/showthread.php?t=2194000
and the firmware that seems to work OK seems to be here:
https://wireless.wiki.kernel.org/en/users/Drivers/iwlwifi?action=AttachFile&do=get&tar

just pick the right one for your kernel, unpack the tar and copy the firmware to /lib/firmware
reboot and all seems fine.