Re: surf 2.0+git20190208-2 — No sound output with Ubuntu LTS 20.04

Serge Stroobandt serge at stroobandt.com
Wed Dec 2 21:44:38 UTC 2020


On 02/12/2020 19:41, Quentin Rameau wrote:
>> Hi,
> 
> Hi Serge,
> 
>> This is to inform you that, unlike Ubuntu LTS 18.04, the web browser
>> surf version 2.0+git20190208-2, installed from the standard Ubuntu
>> package repository, no longer produces any sound on all web pages that
>> were tried.
> 
> What was the last version which was working?
> 
>> Here is an example that previously worked with 18.04:
>>
>>     surf -m -a @ http://hackgreensdr.org:8901/m.html
> 
> I tested this url on surf, firefox, chromium, and I don't get any sound
> at all, could you explain what I have to do in order to start playing
> some sound over-there?
> 
> On the other hand, I can play music with:
> 
> $ surf https://files.freemusicarchive.org/storage-freemusicarchive-org/music/Creative_Commons/TaaPet/CC_Affiliates_Mixtape_1/TaaPet_-_11_-_Not_Enough.mp3
> 
> (URL taken randomly on the internet looking for free-licensed sound)
> 
> But know that surf doesn't deal with sound support itself, it's
> entirely handled by the gtk webkit port.
> 
> Usually a good first test in order to differenciate surf issues from
> webkit issues is to make the same test with another webkitgtk-based
> browser, like epiphany (and with others too is even better).

Dear Quentin,

Thank you for your quick response.

The last version in which this worked was:
https://packages.ubuntu.com/bionic/surf

Currently, I am using:
https://packages.ubuntu.com/focal/surf

The link http://hackgreensdr.org:8901/m.html is a web software defined
radio that can be manually tuned in the HF shortwave spectrum. You
should at least hear some static noise or perhaps other signals in LSB
mode. It works fine in Firefox, Vivaldi (Chrome-based) and the previous
Ubuntu (bionic) version of surf.

---

With the Ubuntu focal version of surf, the page runs, but I have no
sound and I get the following errors:

$ surf -m -a @ http://hackgreensdr.org:8901/m.html

(surf:3687): dbind-WARNING **: 22:26:17.107: Couldn't connect to
accessibility bus: Failed to connect to socket /tmp/dbus-WprZG0gFGZ:
Permission denied

** (surf:3687): WARNING **: 22:26:17.109: Could not open
/sys/class/dmi/id/chassis_type: Failed to open file
“/sys/class/dmi/id/chassis_type”: Permission denied

** (surf:3687): WARNING **: 22:26:17.109: Could not open
/sys/firmware/acpi/pm_profile: Failed to open file
“/sys/firmware/acpi/pm_profile”: Permission denied

(WebKitWebProcess:3699): dbind-WARNING **: 22:26:17.211: Couldn't
connect to accessibility bus: Failed to connect to socket
/tmp/dbus-WprZG0gFGZ: Permission denied

** (WebKitWebProcess:3699): WARNING **: 22:26:17.333: Could not open
/sys/class/dmi/id/chassis_type: Failed to open file
“/sys/class/dmi/id/chassis_type”: Permission denied

** (WebKitWebProcess:3699): WARNING **: 22:26:17.334: Could not open
/sys/firmware/acpi/pm_profile: Failed to open file
“/sys/firmware/acpi/pm_profile”: Permission denied

---

As for the MP3 URL you provided, this even crashes surf:

$ surf
https://files.freemusicarchive.org/storage-freemusicarchive-org/music/Creative_Commons/TaaPet/CC_Affiliates_Mixtape_1/TaaPet_-_11_-_Not_Enough.mp3

(surf:4332): dbind-WARNING **: 22:32:29.093: Couldn't connect to
accessibility bus: Failed to connect to socket /tmp/dbus-WprZG0gFGZ:
Permission denied

** (surf:4332): WARNING **: 22:32:29.095: Could not open
/sys/class/dmi/id/chassis_type: Failed to open file
“/sys/class/dmi/id/chassis_type”: Permission denied

** (surf:4332): WARNING **: 22:32:29.095: Could not open
/sys/firmware/acpi/pm_profile: Failed to open file
“/sys/firmware/acpi/pm_profile”: Permission denied

(WebKitWebProcess:4346): dbind-WARNING **: 22:32:29.190: Couldn't
connect to accessibility bus: Failed to connect to socket
/tmp/dbus-WprZG0gFGZ: Permission denied

** (WebKitWebProcess:4346): WARNING **: 22:32:29.312: Could not open
/sys/class/dmi/id/chassis_type: Failed to open file
“/sys/class/dmi/id/chassis_type”: Permission denied

** (WebKitWebProcess:4346): WARNING **: 22:32:29.312: Could not open
/sys/firmware/acpi/pm_profile: Failed to open file
“/sys/firmware/acpi/pm_profile”: Permission denied
Could not read style file: /home/serge/.surf/styles/default.css

(WebKitWebProcess:4346): Gdk-ERROR **: 22:32:29.592: The program
'WebKitWebProcess' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadValue (integer parameter out of range for operation)'.
  (Details: serial 177 error_code 2 request_code 151 (GLX) minor_code 34)
  (Note to programmers: normally, X errors are reported asynchronously;
   that is, you will receive the error a while after causing it.
   To debug your program, run it with the GDK_SYNCHRONIZE environment
   variable to change this behavior. You can then get a meaningful
   backtrace from your debugger if you break on the gdk_x_error() function.)
web process terminated: crashed

---



More information about the Ubuntu-devel-discuss mailing list