So, I install VLC and it tries to open the file and says it needs codecs. So then I install vlc-codecs, and it opens and just doesn’t play. Then when I close the window, the VLC cone icon stays in the system tray. Then I uninstall everything, and the icon remains in the system tray and reboot. Then I try it again, same thing happens. No idea what’s going on. I’m on 13.2.
To help get things started as root in terminal type this:
zypper lr -d
Hello!
# | Alias | Name | Enabled | Refresh | Priority | Type | URI | Service
---+---------------------------+------------------------------------+---------+---------+----------+--------+----------------------------------------------------------------------+--------
1 | ftp.gwdg.de-suse | Packman Repository | Yes | Yes | 99 | rpm-md | http://ftp.gwdg.de/pub/linux/packman/suse/openSUSE_13.2/ |
2 | libdvdcss repository | libdvdcss repository | Yes | Yes | 99 | rpm-md | http://opensuse-guide.org/repo/13.2/ |
3 | openSUSE-13.2-0 | openSUSE-13.2-0 | Yes | No | 99 | yast2 | cd:///?devices=/dev/disk/by-id/ata-HL-DT-ST_DVDRAM_GUA0N_M3AE4493313 |
4 | repo-debug | openSUSE-13.2-Debug | No | Yes | 99 | NONE | http://download.opensuse.org/debug/distribution/13.2/repo/oss/ |
5 | repo-debug-update | openSUSE-13.2-Update-Debug | No | Yes | 99 | NONE | http://download.opensuse.org/debug/update/13.2/ |
6 | repo-debug-update-non-oss | openSUSE-13.2-Update-Debug-Non-Oss | No | Yes | 99 | NONE | http://download.opensuse.org/debug/update/13.2-non-oss/ |
7 | repo-non-oss | openSUSE-13.2-Non-Oss | Yes | Yes | 99 | yast2 | http://download.opensuse.org/distribution/13.2/repo/non-oss/ |
8 | repo-oss | openSUSE-13.2-Oss | Yes | Yes | 99 | yast2 | http://download.opensuse.org/distribution/13.2/repo/oss/ |
9 | repo-source | openSUSE-13.2-Source | No | Yes | 99 | NONE | http://download.opensuse.org/source/distribution/13.2/repo/oss/ |
10 | repo-update | openSUSE-13.2-Update | Yes | Yes | 99 | rpm-md | http://download.opensuse.org/update/13.2/ |
11 | repo-update-non-oss | openSUSE-13.2-Update-Non-Oss | Yes | Yes | 99 | rpm-md | http://download.opensuse.org/update/13.2-non-oss/ |
Thanks! I have not installed the VLC repo! Actually that’s a lie, I did do that, but then I removed it!
Also, I don’t know if this means anything, but when VLC does that thing where I can’t close it out of the tray, Pulseaudio goes wacky. It won’t let me change between built-in and HDMI audio. Also, VLC recognizes the length of the file, so it is apparently loading it, but it won’t play.
All the VLC stuff Must come from the same repo and that repo should be packman to handle all the propritary stuff.
Go to Yast- Software management search for vlc and check the installed packages in the version tab at bottom right. Be sure all come from packman fix any that don’t
To make sure all associated packages come from Packman, it’s easier to do a “full repository vendor change update” as explained here:
https://en.opensuse.org/SDB:Vendor_change_update#Full_repository_Vendor_change
And depending on your graphics card, vdpau-video and/or libvdpau_va_gl1 might make problems. Be sure to not have both installed, and try to install/remove each of them (the former only if you have an nvidia card and are using the proprietary driver).
Yeah, I’m completely free of any packages not from packman (relating to VLC). I deleted the repo and resourced every one of them. What is the next step in figuring this out?
I did the repo change update, yes. I don’t know about the drivers. They are nvidia drivers, but I installed them from the normal openSUSE repos, so I am assuming they are not proprietary. Computer has geforce 840m - graphics all seem fine, didn’t see a reason to install any further drivers, especially since the ones from nvidia’s site can apparently be problematic. So, should I remove “libvdpau_va_gl1” and see what happens?
Okay, it worked lol. Good call. Fixed the silliness with the output switching in pulseaudio as well. Very nifty. Anyway, do you recommend the proprietary drivers for any reason? Everything looks good, but on a core i7 with 8gb ram I still get a bit of lag, which doesn’t really make much sense as I am only running KDE4 and nothing resource heavy. It isn’t a big issue, I just thought it might be related to the graphics drivers and maybe worth trying to mess with if it could help. Thanks again!
Well, if you want to use the full potential of your card, there’s no way around them.
And depending on your particular card, nouveau can have severe problems.
The easiest way to install them is via the nvidia repo.
Just add the NVidia repo in YaST->Software Repositories->Add->Community Repositories, and install the package x11-video-nvidiaG04 with YaST->Software Management.
They should not be “problematic” at all.
But be aware that this does not apply to Optimus laptops, i.e. ones with hybrid intel/nvidia graphics. Those are not supported at all by the nvidia driver, installing it will give you problems in that case.
I don’t know about the drivers. They are nvidia drivers, but I installed them from the normal openSUSE repos, so I am assuming they are not proprietary.
What do you mean with “normal openSUSE repos”? The openSUSE nvidia repo, or the standard distribution without adding any additional repo?
What does KInfocenter, YaST->Hardware->Hardware Information, or “hwinfo --gfx” say?
And/or post the output of:
rpm -qa | egrep "nvidia"
But this will only show whether you have the proprietary nvidia driver installed, not which driver is in use.
“Normal repos” lol. Yes, I get that this sounds dumb. I meant that I didn’t download them from Nvidia’s site, I didn’t actually realize there was an official nvidia openSUSE repo. I have been on Ubuntu a long time, back years ago I don’t think that was on openSUSE.
hwinfo --gfx
08: PCI 02.0: 0300 VGA compatible controller (VGA)
[Created at pci.328]
Unique ID: _Znp.kIE82J1vmu0
SysFS ID: /devices/pci0000:00/0000:00:02.0
SysFS BusID: 0000:00:02.0
Hardware Class: graphics card
Model: "Intel Haswell-ULT Integrated Graphics Controller"
Vendor: pci 0x8086 "Intel Corporation"
Device: pci 0x0a16 "Haswell-ULT Integrated Graphics Controller"
SubVendor: pci 0x1043 "ASUSTeK Computer Inc."
SubDevice: pci 0x16cd
Revision: 0x0b
Driver: "i915"
Driver Modules: "drm"
Memory Range: 0xf7400000-0xf77fffff (rw,non-prefetchable)
Memory Range: 0xd0000000-0xdfffffff (ro,non-prefetchable)
I/O Ports: 0xf000-0xf03f (rw)
IRQ: 62 (175512 events)
Module Alias: "pci:v00008086d00000A16sv00001043sd000016CDbc03sc00i00"
Driver Info #0:
Driver Status: i915 is active
Driver Activation Cmd: "modprobe i915"
Config Status: cfg=no, avail=yes, need=no, active=unknown
25: PCI 400.0: 0302 3D controller
[Created at pci.328]
Unique ID: YmUS.BpPuOCwkSz9
Parent ID: QSNP.Iil9uxQnin3
SysFS ID: /devices/pci0000:00/0000:00:1c.4/0000:04:00.0
SysFS BusID: 0000:04:00.0
Hardware Class: graphics card
Model: "nVidia 3D controller"
Vendor: pci 0x10de "nVidia Corporation"
Device: pci 0x1341
SubVendor: pci 0x1043 "ASUSTeK Computer Inc."
SubDevice: pci 0x16cd
Revision: 0xa2
Memory Range: 0xf6000000-0xf6ffffff (rw,non-prefetchable)
Memory Range: 0xe0000000-0xefffffff (ro,non-prefetchable)
Memory Range: 0xf0000000-0xf1ffffff (ro,non-prefetchable)
I/O Ports: 0xd000-0xdfff (rw)
Memory Range: 0xf7000000-0xf707ffff (ro,non-prefetchable,disabled)
IRQ: 11 (no events)
Module Alias: "pci:v000010DEd00001341sv00001043sd000016CDbc03sc02i00"
Driver Info #0:
Driver Status: nouveau is not active
Driver Activation Cmd: "modprobe nouveau"
Config Status: cfg=no, avail=yes, need=no, active=unknown
Attached to: #17 (PCI bridge)
rpm -qa | egrep “nvidia”
nvidia-uvm-gfxG04-kmp-default-346.59_k3.16.6_2-5.1.x86_64
nvidia-uvm-gfxG03-kmp-default-340.76_k3.16.6_2-39.1.x86_64
x11-video-nvidiaG04-346.59-5.1.x86_64
nvidia-glG04-346.59-5.1.x86_64
nvidia-glG03-340.76-39.1.x86_64
nvidia-gfxG03-kmp-default-340.76_k3.16.6_2-39.1.x86_64
x11-video-nvidiaG03-340.76-39.1.x86_64
nvidia-computeG04-346.59-5.1.x86_64
nvidia-computeG03-340.76-39.1.x86_64
nvidia-gfxG04-kmp-default-346.59_k3.16.6_2-5.1.x86_64
From what you’re saying, it sounds like I need to figure out a better setup.
It appears that you may have a Optimus system if this is a notebook. If so DO NOT us the regular NVIDIA driver it will not work. You must use bumblebee and the special nvidia-bumblebee driver
If you have installed the normal NVIDIA driver in any way at all remove it completely before following the instructions here exactly
https://en.opensuse.org/SDB:NVIDIA_Bumblebee
If this is not a notebook but a desktop (thus not Optimus) then DO NOT use bumblebee but disable the Intel GPU in the BIOS and use the regular NVIDIA driver
Correct.
And having both the G03 and the G04 driver installed is no good idea anyway. Even if it seems to work initially (depending in which order the packages were installed), it will definitely break at some point.
An Optimus system normally runs on the intel chip. You need to use Bumblebee and special commands to “switch” to nvidia.
If you don’t need the full power of nvidia and are satisfied with intel’s performance, you can just skip the Bumblebee installation.
(intel should be fine for “normal” desktop use and even many games)
But you have to remove all the packages listed by the command I gave you, i.e. all with “nvidia” in their name. And better remove the nvidia repo too (in YaST->Software Repositories), or it might get installed again automatically.
If this is not a notebook but a desktop (thus not Optimus) then DO NOT use bumblebee but disable the Intel GPU in the BIOS and use the regular NVIDIA driver
Well, as it is a GeForce 840M (M=Mobile), it’s rather not a desktop… But some Laptops do allow to disable the intel in the BIOS too. In this case the standard nvidia driver should work.
Yeah, I started having problems, so I just went ahead and deleted all Nvidia drivers, just using the default. Nouveu or whatever.
Seems okay, I think.
Okay, actually VLC isn’t really working, and I am getting some lag.
Is there any other advice about how to configure the drivers? I don’t need power for gaming, obviously. Just want everything to run correctly.
What does “isn’t really working” mean? The same as before?
Try to uninstall libvdpau_va_gl1 and vdpau-info as already mentioned. They might have been reinstalled for some reason.
Where do you get “some lag”?
Is there any other advice about how to configure the drivers? I don’t need power for gaming, obviously. Just want everything to run correctly.
Well, post your /var/log/Xorg.0.log (upload it to http://susepaste.org or similar and post a link) to see what driver you are actually using now.
If you are using KDE, try to play with the “Desktop Effects” settings, especially the “Advanced” tab.
Normally, “Compositing Type” should be set to OpenGL, and “Qt Graphicssystem” to “Raster” for best results.
Setting the former to “XRender” might improve responsiveness, but will also disable some effects.