Skype laptop camera upside down

LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so PULSE_LATENCY_MSEC=60 skype

That used to work every time until I had to update to the latest Skype version, the laptop camera is upside down now no matter what I tried:

LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so PULSE_LATENCY_MSEC=60 skypeforlinux
LD_PRELOAD=/usr/lib/libv4l/v4l2compat.so PULSE_LATENCY_MSEC=60 skypeforlinux
LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so skypeforlinux
LD_PRELOAD=/usr/lib/libv4l/v4l2convert.so skypeforlinux
etc…

Anyone know how to fix that?

Thank you.

I’m not a Skype user but from what I’ve read online since it was rewritten there have been regressions for some Linux users it would seem…

Since, the Skype version 8 and above is basically a web app, the old trick with libv4l library will no longer work. I’ve lost many hours to just find out it’s not possible anymore.

Although various suggestions are discussed in the thread, some will be ‘legacy’ workarounds that no longer work for this Microsoft owned application.

It turns out it’s not just Skype, it’s every app and every web camera test page. Before Leap 15 the camera worked fine, i.e. it was showing correctly, not upside down. Except for skype. So I used that command to flip it. I’d understand about Skype no longer working with that workaround, but the camera is flipped everywhere now in Leap 15.

Any way to flip it back for all apps except for Skype?

Does guvcview or luvcview works?

No, I got this:

> luvcview
luvcview version 0.2.1
Invalid MIT-MAGIC-COOKIE-1 keyInvalid MIT-MAGIC-COOKIE-1 keyInvalid MIT-MAGIC-COOKIE-1 keyVideo driver: x11
A window manager is available
video /dev/video0
[xcb] Unknown request in queue while dequeuing
[xcb] Most likely this is a multi-threaded client and XInitThreads has not been called
[xcb] Aborting, sorry about that.
luvcview: xcb_io.c:165: dequeue_pending_request: Assertion `!xcb_xlib_unknown_req_in_deq’ failed.
Aborted (core dumped)

I restarted the laptop and tried again, now the luvcview window opened but there is no image/video, all inside is green

Please show:

/usr/sbin/hwinfo --usb

To see, what modell is in there.

A couple months back, I tried a face-to-face chat with Gertjan. It was not with Skype, I do not have it installed, and I do not remember exactly what we were using at the time.

I had the same problem on an Asus Laptop, camera upside down & backwards. So, it seems not an isolated incident.

Since I don’t use this much at all, it was not worth looking into, especially since I saw no other reports and thought it was peculiar to something on my PC.

It is not something I wish to waste time on fixing for myself, but I thought I should verify that it is not isolated.

Try using one of these…

LD_PRELOAD=/usr/lib64/libv4l/v4l2convert.so luvcview
LD_PRELOAD=/usr/lib64/libv4l/v4l1compat.so luvcview

Here’s the webcam info:

04: USB 00.0: 0000 Unclassified device
[Created at usb.122]
Unique ID: CiZ2.WG6iNRcAT0C
Parent ID: uIhY.cO89g+iefn1
SysFS ID: /devices/pci0000:00/0000:00:1a.7/usb3/3-3/3-3:1.0
SysFS BusID: 3-3:1.0
Hardware Class: unknown
Model: “Suyin Asus Integrated Webcam [CN031B]”
Hotplug: USB
Vendor: usb 0x064e “Suyin Corp.”
Device: usb 0xa136 “Asus Integrated Webcam [CN031B]”
Revision: “1.11”
Serial ID: “CN031B-S233-MI01-VS-R01.01.01”
Driver: “uvcvideo”
Driver Modules: “uvcvideo”
Device File: /dev/input/event13
Device Files: /dev/input/event13, /dev/input/by-id/usb-SuYin_USB_2.0_UVC_0.3M_Webcam_CN031B-S233-MI01-VS-R01.01.01-event-if00, /dev/input/by-path/pci-0000:00:1a.7-usb-0:3:1.0-event
Device Number: char 13:77
Speed: 480 Mbps
Module Alias: “usb:v064EpA136d0111dcEFdsc02dp01ic0Eisc01ip00in00”
Driver Info #0:
Driver Status: uvcvideo is active
Driver Activation Cmd: “modprobe uvcvideo”
Config Status: cfg=new, avail=yes, need=no, active=unknown
Attached to: #6 (Hub)

I’ve installed a guvcview-qt5 but when it opens, it destroys all windows in KDE, i.e. all borders and controls disappear, all open windows can’t be closed or killed, the only way is to log out and log in. Although I can control the camera in it, I can rotate it any way. But no settings are saved.

Neither LD_PRELOAD=/usr/lib64/libv4l/v4l1compat.so luvcview nor LD_PRELOAD=/usr/lib64/libv4l/v4l2convert.so luvcview worked - same green screen with awful controls resolution

The upside down camera is not an isolated issue, a lot of Asus laptops had this problem many years ago and the workaroud worked perfectly all those years until Leap 15 and latest version of Skype.

What does adding


export LIBV4LCONTROL_FLAGS=2 && LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so skype



do? Found this in an old dutch post.

From what I’ve read it does not work with the recent build of Skype (refer post #2).