it happened again. I just disabled the APM to test.
in fact the problem is reproducible when powermizer ( nvidia feature ) switch states of frequencies !
I simply put this line, and now it works :
Option "RegistryDwords" "PowerMizerEnable=0x1; PerfLevelSrc=0x2222; PowerMizerDefaultAC=0x1"
What I did to resolve my issue. It happened after a bios upgrade, I remind !
disabling the usb auto_suspend
putting this line for the driver i2c-i801 in
options i2c-i801 disable_features=0x10
adding the option iommu=soft in my kernel parameters. Because I have this chipset on my gigabyte ( Realtek 8111/8168/8411 )
activate the APM in the bios ( power management ), and installing this driver r8169aspm-dkms.
finally I checked errors related to NVRM ( nvidia gpu card ). I search on the nvidia forums and I removed the lines to set powermizer to max performance. My gpu is a gtx 750 ti.
my system boot now normally without delay.
In many stressful situations : no more bad behaviours with my usb DAC.
is again my best friend ! wouhouuuuuuuuuuuuuu
I will anyway write to the manufacturer of the motherboard.
From with sympathy
It seems that I’m affected with this problem :
Gigabyte Motherboard with Realtek 8111/8168/8411
With motherboards such as the Gigabyte GA-990FXA-UD3, booting with IOMMU off (which can be the default) will cause the network interface to be unreliable, often failing to connect or connecting but allowing no throughput. This will apply not only to the onboard NIC, but any other pci-NIC you put in the box because the IOMMU setting affects the entire network interface on the board. Enabling IOMMU and booting with the install media will throw AMD I-10/xhci page faults for a second, but then boot normally, resulting in a fully functional onboard NIC (even with the r8169 module).
When configuring the boot process for your installation, add iommu=soft as a kernel parameter to eliminate the error messages on boot and restore USB3.0 functionality.
not you apparently.
Now I’ll continue to test.
can you send me this ?
dmesg | grep -i "error\|warn\|fail"
I want to see if there’s something about this https://www.kernel.org/doc/Documentation/i2c/busses/i2c-i801
in fact I can reproduce the drop outs when I launch a browser for example.
I use mpd + cantata… Sometimes clementine.
mhh I found that : https://bbs.archlinux.org/viewtopic.php?pid=1460933#p1460933
because I saw an entrie with DMESG related to that.
edit : it change nothing. For me it’s the motherboard the cause. Hardware stability problem.
finally it seems to be the “momentary frequency” who is responsible ?!
I checked the stream on my card. I have this. This is the default when using Alsa.
Audio-gd Audio-gd at usb-0000:00:14.0-6, high speed : USB Audio Playback: Status: Running Interface = 1 Altset = 1 Packet Size = 144 Momentary freq = 48000 Hz (0x6.0000) Feedback Format = 16.16 Interface 1
I don’t know why but one time the “Momentary freq” was odd, like @48014hz or whatever that’s wrong.
yes I checked by pressing F5 to reload the file and sometimes the frequency is at 48031hz.
yes @triode13 I’ve already did the pulseaudio disabling method. By masking the unit on systemd.
I made a config using only alsa and jack. Even with jack it happens.
In fact I think I did the same things.
journalctldoesn’t output something relevant. But Dmesg output nothing now when the glitch happen ?!
I suspect the firmware of my dac, I reverted to the original firmware. I also suspect the motherboard. I will mail the motherboard firm.
It’s weird, because I played music for hours and nothing happened ! I just played with power consumption option in bios ( voltage optimisation for example ).
I experience some random glitches/drop-outs with my usb dac. I cannot see something relevant in dmesg when it happen.
In fact, there’s nothing about deconnexions.
if I let a :
dmesg | grep usbI’ve got this :
[ 0.692800] usbcore: registered new interface driver usbfs [ 0.692806] usbcore: registered new interface driver hub [ 0.692822] usbcore: registered new device driver usb [ 1.013513] usb 1-3: new full-speed USB device number 2 using xhci_hcd [ 1.148988] usbcore: registered new interface driver usbhid [ 1.148989] usbhid: USB HID core driver [ 1.149287] input: Razer Razer Imperator as /devices/pci0000:00/0000:00:14.0/usb1/1-3/1-3:1.0/0003:1532:002F.0001/input/input0 [ 1.149312] hid-generic 0003:1532:002F.0001: input,hidraw0: USB HID v1.11 Mouse [Razer Razer Imperator] on usb-0000:00:14.0-3/input0 [ 1.149420] input: Razer Razer Imperator as /devices/pci0000:00/0000:00:14.0/usb1/1-3/1-3:1.1/0003:1532:002F.0002/input/input1 [ 1.203451] hid-generic 0003:1532:002F.0002: input,hidraw1: USB HID v1.11 Keyboard [Razer Razer Imperator] on usb-0000:00:14.0-3/input1 [ 1.316857] usb 1-4: new low-speed USB device number 3 using xhci_hcd [ 1.533367] input: USB Keyboard as /devices/pci0000:00/0000:00:14.0/usb1/1-4/1-4:1.0/0003:04D9:1818.0003/input/input2 [ 1.590434] hid-generic 0003:04D9:1818.0003: input,hidraw2: USB HID v1.10 Keyboard [USB Keyboard] on usb-0000:00:14.0-4/input0 [ 1.613739] input: USB Keyboard as /devices/pci0000:00/0000:00:14.0/usb1/1-4/1-4:1.1/0003:04D9:1818.0004/input/input3 [ 1.670411] hid-generic 0003:04D9:1818.0004: input,hidraw3: USB HID v1.10 Device [USB Keyboard] on usb-0000:00:14.0-4/input1 [ 1.783344] usb 1-5: new high-speed USB device number 4 using xhci_hcd [ 2.032343] input: Audio-gd Audio-gd as /devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.2/0003:040D:3410.0005/input/input4 [ 2.086966] hid-generic 0003:040D:3410.0005: input,hidraw4: USB HID v1.00 Device [Audio-gd Audio-gd] on usb-0000:00:14.0-5/input2 [ 2.597518] usbcore: registered new interface driver snd-usb-audio [ 42.188891] usb 1-5: USB disconnect, device number 4 [ 937.770211] usb 1-5: new high-speed USB device number 5 using xhci_hcd [ 938.137075] input: Audio-gd Audio-gd as /devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.2/0003:040D:3410.0006/input/input18 [ 938.193780] hid-generic 0003:040D:3410.0006: input,hidraw4: USB HID v1.00 Device [Audio-gd Audio-gd] on usb-0000:00:14.0-5/input2
no errors finally. But this happen anyway.
Does it concern usb power ? usb alimentation ?
I see that “usb-devices | grep ‘Product=|MxPwr’” show me that the max power is very low ?!
S: Product=Audio-gd C: #Ifs= 3 Cfg#= 1 Atr=c0 MxPwr=50mA
only 50ma. Is it correct ? I don’t think so.
I also change the firmware of my DAC, no results…
if anyone got an answer ?