Skip to content
This repository has been archived by the owner on Apr 26, 2022. It is now read-only.

Audio/video speed up #9

Open
Rohirrimus opened this issue May 22, 2017 · 17 comments
Open

Audio/video speed up #9

Rohirrimus opened this issue May 22, 2017 · 17 comments

Comments

@Rohirrimus
Copy link

Hello,
So I follow your script and install everything as said but when I do so after I reboot when I play something (youtube video, song) there is no audio and now it goes 10 times faster. 30sec of youtube video played in just a few sec.
Tried Kubuntu 17.4 and new Deepin OS. Same problem.
Is there any fix for this,because as of right now script only makes things worse.

(Note: Also tried new bleeding edge kernel 4.13 from Ubuntu kernel ppa,did not fix the problem.)

@Grippy98
Copy link
Owner

Hey, as of right now this is only confirmed to work properly on Ubuntu 16.10 or 17.04. Kubuntu SHOULD work but it depends on the individual packages for the distro. Please try normal Ubuntu, if it works fine, just install kubuntu-desktop as a package separately. Otherwise please post back.

Sorry to not have a better solution.

@Rohirrimus
Copy link
Author

Alright,so I tried Ubuntu, just installed 17.4 and still no luck. Audio doesn't work after script, uname show kernel is updated and pulsefire version is 10.0.
Video plays fine now but no audio. Would maybe going up to 4.13 kernel fix it?

@Grippy98
Copy link
Owner

Grippy98 commented May 22, 2017 via email

@Rohirrimus
Copy link
Author

Thank you for help,
Here you can see screen-shoots. ( I am on ubuntu now,but while I was on Kubuntu I saw it as Intel-something).

screenshot from 2017-05-22 21-37-26
screenshot from 2017-05-22 21-34-18

@Grippy98
Copy link
Owner

Looks like it's not loading the kernel correctly. Select it at boot-time or uninstall the different versions you have installed. The one my script compiles ends in -custom not -generic.

That's why the audio device isn't recognized.

@Rohirrimus
Copy link
Author

It worked. And then not again.
It started working, however when I installed Kubuntu-desktop, It stopped again. I made sure I am loading into the right kernel with Kubuntu desktop but no luck.
Is there any other system that is tested to work besides Stock Ubuntu ( I hate Unity) ? Thanks

@Grippy98
Copy link
Owner

I've had reports of Ubuntu Mate working fine and I've personally used GNOME with it fine. It might just be KDE being weird with what services it installs.

@ghost
Copy link

ghost commented May 23, 2017

looks like your linux is booting the wrong kernel. Cause this is the default kernel version.
If you see the Grub Bootloader select kernel 4.10-custom.

Realy you mean that it could reside on the DE?

@Grippy98
Copy link
Owner

Yes if you look back I did say he's booting the wrong kernel version. And no it does not reside on the desktop environment, in fact I don't think any should cause issues but a lot of different apps and services are installed along with your DE so idk, always a possibility.

@Rohirrimus
Copy link
Author

Got it to work on KDE for a single boot.
When I booted it worked fine, and after reboot, I am getting it working half way.
on Kubuntu desktop from taskbar audio devices, there is none shown and audio is shown as the red line (muted). Audio is also not playing.
However, when I go into audio manager I do see the audio device and pressing test left/right works.

I tried adding to /etc/pulse/default.pa
set-default-sink alsa_output.platform-cht-cx2072x.HiFi__hw_chtcx2072x_0__sink
but no luck.
Could I provide you with any info to help fix this?
Thank you

@Grippy98 Grippy98 reopened this Aug 27, 2017
@Lucassifoni
Copy link

Lucassifoni commented Aug 31, 2017

Hey, I'm running a X206H and I was having the same problem with this script under Lubuntu 17.04 (and no sound, no sd card, etc).
I added set-default-sink alsa_output.platform-cht-cx2072x.HiFi__hw_chtcx2072x_0__sink to pulseaudio, with no luck.

I upgraded to Lubuntu 17.10 alpha (feeling adventurous), then re-ran your script.

Under Lubuntu 17.10alpha :

  • Bluetooth works
  • SD card reader works (no Sandisk still, but whatever, very good results with a Transcend SD card)
  • Sound works reliably 👍, switches from speakers to headphones automatically
  • Wifi works (but I never had problems with it)
  • Brightness works
  • Battery life didn't change
  • My USB3 peripherals work fine

@aaguilarjimenez
Copy link

aaguilarjimenez commented Sep 6, 2017

Hey Lucassifoni,
I am running Ubuntu MATE 17.04 on the Asus E200HA, and considering upgrading to the 17.10beta. So:

  • Did the mic also work for you? Mine doesn't, at all.
  • Which kernel did you install, the 4.12rc1 or the 4.13rc6? The latter didn't work that great for me, and reverted back to the 4.12rc1...
  • What about suspension? It really suspends the system when you close the lid? Mine it does look like it, but the battery goes down way too fast for being really suspended...

@Lucassifoni
Copy link

Hi,
I'm under 4.12.0-rc1-custom3 right now. The mic doesn't work yet. Neither does suspension, since this script disables it and just shuts the screen down.
I'm sure it's a matter of weeks/months until everything works its way into mainline :) .

@Grippy98
Copy link
Owner

Grippy98 commented Sep 8, 2017

Yeah stick to 4.12rc1 for now guys, 4.13rc6 is super broken, working on fixing it. I'm putting a note to users to not download that yet (it's why it's in the dev branch of the script).

I haven't played with suspension on the latest kernels since it used to work sometimes and cause the system to hang at random when waking up but I guess I should give that a try.

I'll try to get a working 4.13rc6 build this weekend. Supposedly 4.13 has a lot of sound merges from Takashi, altho I'm not sure the particular Connexant codex we need is in there as I've seen no mention of it.

And indeed microphone doesn't work yet. :)

@aaguilarjimenez
Copy link

aaguilarjimenez commented Sep 9, 2017

Andrei, I doubt that you'll make suspension work with kernel 4.13. Takashi just committed yesterday (for 4.14) a patch reverting some changes made in 4.13 that were preventing the S0i3 suspension state:

https://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound.git/commit/drivers/clk/x86/clk-pmc-atom.c?h=topic/asus-e100h-4.13

This is the follow-up bugzilla entry created to deal with this regression:
https://bugzilla.kernel.org/show_bug.cgi?id=196861

I think we won't get suspension working until a RC based on 4.14.
Still, I can live with that for now. I'm more concerned about getting the mic to work properly. Will gladly try your next patched 4.13 kernel :)

@Grippy98
Copy link
Owner

Grippy98 commented Sep 9, 2017

Yeah looks that way... it's a shame really. At this point I hope 4.14 will fix the mic issues as well. For 4.13 I just want to get a min configuration of the kernel that actually works with sound enabled. Something about doing a module list based on just what the laptop actually loads makes working kernels that fail to enable audio so that's going to be fun to troubleshoot.

I haven't had time to keep up with any of this for one reason or another (school right now) so thanks a lot for keeping me up to date!

@kmbt
Copy link

kmbt commented Feb 3, 2018

Hi, do you have any idea on how to merge the topic/asus-e100h-4.13 branch from Takashi with a current (4.15.1) kernel? As I understand, this branch is the best place to get support for cx2072x, however it lags a bit behind the current kernel version.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants