You are not logged in.

#26 2025-06-13 21:10:19

seth
Member
Registered: 2012-09-03
Posts: 65,197

Re: GPU crash when playing video on firefox

1. try to disable c-states in the UEFI
2. test a completely different software stack (eg. *slightly* older ubuntu live system) and see whether you get the GPU to reset there. The other thread is pretty similar, so this might actually be a software problem (likely kernel or mesa)

Offline

#27 2025-06-14 19:35:54

prankish
Member
Registered: 2025-06-03
Posts: 17

Re: GPU crash when playing video on firefox

seth wrote:

1. try to disable c-states in the UEFI
2. test a completely different software stack (eg. *slightly* older ubuntu live system) and see whether you get the GPU to reset there. The other thread is pretty similar, so this might actually be a software problem (likely kernel or mesa)

I am not sure if I have C-State in my BIOS. These are the pages with power related settings, is any of this what you mean?
These are two images of the BIOS settings:
- https://0x0.st/86-2.jpg
- https://0x0.st/86-p.jpg

is popOS! 22.04 good? or shall I take ubuntu 22.04? or more recent?

Offline

#28 2025-06-14 20:15:41

seth
Member
Registered: 2012-09-03
Posts: 65,197

Re: GPU crash when playing video on firefox

is popOS! 22.04 good? or shall I take ubuntu 22.04? or more recent?

It really doesn't matter, just make sure that HW acceleration is actually invoked.

Nothing there looks like c-states, ppc-adjustment might be interesting…

Offline

#29 2025-06-15 15:19:14

prankish
Member
Registered: 2025-06-03
Posts: 17

Re: GPU crash when playing video on firefox

seth wrote:

is popOS! 22.04 good? or shall I take ubuntu 22.04? or more recent?

It really doesn't matter, just make sure that HW acceleration is actually invoked.

Nothing there looks like c-states, ppc-adjustment might be interesting…

I ran popOS! 22.04 LTS, and I got interesting results.
- if I ran a youtube video on firefox, it works without a problem. (with hardware acceleration enabled)
- when I ran a video using mpv --hwdec=auto, it crashes.

Last edited by prankish (2025-06-15 19:01:30)

Offline

#30 2025-06-19 13:41:06

seth
Member
Registered: 2012-09-03
Posts: 65,197

Re: GPU crash when playing video on firefox

Means FF on popOS! was likely simply not accelerated?
It also means there is *very* much likely a problem with the hardware. I suspect the moment the APU draws some power and starves the CPU.

Can you cause likewise freezes w/o the video HWA, eg. by running some more demanding GL/vulkan demo? (or game)?
Have you looked into the PPC adjustment setting?

Offline

#31 2025-06-22 18:18:03

prankish
Member
Registered: 2025-06-03
Posts: 17

Re: GPU crash when playing video on firefox

seth wrote:

Means FF on popOS! was likely simply not accelerated?
It also means there is *very* much likely a problem with the hardware. I suspect the moment the APU draws some power and starves the CPU.

Can you cause likewise freezes w/o the video HWA, eg. by running some more demanding GL/vulkan demo? (or game)?
Have you looked into the PPC adjustment setting?

I ran https://benchmark.unigine.com/superposition and https://aur.archlinux.org/packages/gputest, they both ran fine without any crashes.

I look into the PPC adjustment settings and see if I see any differences.

Offline

#32 2025-06-26 15:38:49

seth
Member
Registered: 2012-09-03
Posts: 65,197

Re: GPU crash when playing video on firefox

There's https://bbs.archlinux.org/viewtopic.php?id=306510 - I don't quite yet know how to make sense out of it, but apparently the crash only happens when an external output is in use.
Can you confirm that?

Offline

#33 2025-06-27 17:17:48

prankish
Member
Registered: 2025-06-03
Posts: 17

Re: GPU crash when playing video on firefox

seth wrote:

There's https://bbs.archlinux.org/viewtopic.php?id=306510 - I don't quite yet know how to make sense out of it, but apparently the crash only happens when an external output is in use.
Can you confirm that?

I have tried the different P_States but that didn't change anything.

I have a minipc and only an integrated gpu, so there is only 1 way to connect it to a monitor.

Last edited by prankish (2025-06-27 17:18:37)

Offline

#34 2025-06-27 19:11:26

seth
Member
Registered: 2012-09-03
Posts: 65,197

Re: GPU crash when playing video on firefox

Please check whether the monitor is 10bpc (edid-decode, xrandr --props will list that, too) - do you have another monitor?

Offline

#35 2025-06-28 10:56:56

prankish
Member
Registered: 2025-06-03
Posts: 17

Re: GPU crash when playing video on firefox

seth wrote:

Please check whether the monitor is 10bpc (edid-decode, xrandr --props will list that, too) - do you have another monitor?

I am using a single monitor

❯ find /sys/class/drm/*/edid -exec edid-decode {} \; 2>/dev/null
EDID of '/sys/class/drm/card1-DP-1/edid' was empty.
EDID of '/sys/class/drm/card1-DP-2/edid' was empty.
EDID of '/sys/class/drm/card1-DP-3/edid' was empty.
EDID of '/sys/class/drm/card1-DP-4/edid' was empty.
EDID of '/sys/class/drm/card1-DP-5/edid' was empty.
EDID of '/sys/class/drm/card1-DP-6/edid' was empty.
EDID of '/sys/class/drm/card1-DP-7/edid' was empty.
edid-decode (hex):

00 ff ff ff ff ff ff 00 10 ac 96 a1 4c 43 49 30
0c 1f 01 03 80 3c 22 78 ea 50 95 a8 54 4e a5 26
0f 50 54 a5 4b 00 71 4f 81 80 a9 c0 a9 40 d1 c0
e1 00 01 01 01 01 08 e8 00 30 f2 70 5a 80 b0 58
8a 00 55 50 21 00 00 1e 00 00 00 ff 00 43 36 50
31 4d 34 33 0a 20 20 20 20 20 00 00 00 fc 00 44
45 4c 4c 20 53 32 37 32 31 51 53 0a 00 00 00 fd
00 28 3c 82 89 3c 00 0a 20 20 20 20 20 20 01 d0

02 03 45 f1 54 61 01 02 03 04 05 06 07 10 11 12
14 15 16 1f 20 21 5d 5e 5f 23 09 07 07 83 01 00
00 6d 03 0c 00 10 00 38 44 20 00 60 03 02 01 67
d8 5d c4 01 78 80 01 e4 0f 01 00 00 68 1a 00 00
01 01 28 3c e6 56 5e 00 a0 a0 a0 29 50 30 20 35
00 55 50 21 00 00 1a 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 2e

----------------

Block 0, Base EDID:
  EDID Structure Version & Revision: 1.3
  Vendor & Product Identification:
    Manufacturer: DEL
    Model: 41366
    Serial Number: 810107724 (0x3049434c)
    Made in: week 12 of 2021
  Basic Display Parameters & Features:
    Digital display
    Maximum image size: 60 cm x 34 cm
    Gamma: 2.20
    DPMS levels: Standby Suspend Off
    RGB color display
    First detailed timing is the preferred timing
  Color Characteristics:
    Red  : 0.6572, 0.3291
    Green: 0.3046, 0.6445
    Blue : 0.1503, 0.0595
    White: 0.3134, 0.3291
  Established Timings I & II:
    IBM     :   720x400    70.081663 Hz   9:5     31.467 kHz     28.320000 MHz
    DMT 0x04:   640x480    59.940476 Hz   4:3     31.469 kHz     25.175000 MHz
    DMT 0x06:   640x480    75.000000 Hz   4:3     37.500 kHz     31.500000 MHz
    DMT 0x09:   800x600    60.316541 Hz   4:3     37.879 kHz     40.000000 MHz
    DMT 0x0b:   800x600    75.000000 Hz   4:3     46.875 kHz     49.500000 MHz
    DMT 0x10:  1024x768    60.003840 Hz   4:3     48.363 kHz     65.000000 MHz
    DMT 0x12:  1024x768    75.028582 Hz   4:3     60.023 kHz     78.750000 MHz
    DMT 0x24:  1280x1024   75.024675 Hz   5:4     79.976 kHz    135.000000 MHz
  Standard Timings:
    DMT 0x15:  1152x864    75.000000 Hz   4:3     67.500 kHz    108.000000 MHz
    DMT 0x23:  1280x1024   60.019740 Hz   5:4     63.981 kHz    108.000000 MHz
    DMT 0x53:  1600x900    60.000000 Hz  16:9     60.000 kHz    108.000000 MHz (RB)
    DMT 0x33:  1600x1200   60.000000 Hz   4:3     75.000 kHz    162.000000 MHz
    DMT 0x52:  1920x1080   60.000000 Hz  16:9     67.500 kHz    148.500000 MHz
    GTF     :  2048x1280   60.000000 Hz  16:10    79.500 kHz    221.328000 MHz
  Detailed Timing Descriptors:
    DTD 1:  3840x2160   60.000000 Hz  16:9    135.000 kHz    594.000000 MHz (597 mm x 336 mm)
                 Hfront  176 Hsync  88 Hback  296 Hpol P
                 Vfront    8 Vsync  10 Vback   72 Vpol P
    Display Product Serial Number: 'C6P1M43'
    Display Product Name: 'DELL S2721QS'
    Display Range Limits:
      Monitor ranges (GTF): 40-60 Hz V, 130-137 kHz H, max dotclock 600 MHz
  Extension blocks: 1
Checksum: 0xd0

----------------

Block 1, CTA-861 Extension Block:
  Revision: 3
  Underscans IT Video Formats by default
  Basic audio support
  Supports YCbCr 4:4:4
  Supports YCbCr 4:2:2
  Native detailed modes: 1
  Video Data Block:
    VIC  97:  3840x2160   60.000000 Hz  16:9    135.000 kHz    594.000000 MHz
    VIC   1:   640x480    59.940476 Hz   4:3     31.469 kHz     25.175000 MHz
    VIC   2:   720x480    59.940060 Hz   4:3     31.469 kHz     27.000000 MHz
    VIC   3:   720x480    59.940060 Hz  16:9     31.469 kHz     27.000000 MHz
    VIC   4:  1280x720    60.000000 Hz  16:9     45.000 kHz     74.250000 MHz
    VIC   5:  1920x1080i  60.000000 Hz  16:9     33.750 kHz     74.250000 MHz
    VIC   6:  1440x480i   59.940060 Hz   4:3     15.734 kHz     27.000000 MHz
    VIC   7:  1440x480i   59.940060 Hz  16:9     15.734 kHz     27.000000 MHz
    VIC  16:  1920x1080   60.000000 Hz  16:9     67.500 kHz    148.500000 MHz
    VIC  17:   720x576    50.000000 Hz   4:3     31.250 kHz     27.000000 MHz
    VIC  18:   720x576    50.000000 Hz  16:9     31.250 kHz     27.000000 MHz
    VIC  20:  1920x1080i  50.000000 Hz  16:9     28.125 kHz     74.250000 MHz
    VIC  21:  1440x576i   50.000000 Hz   4:3     15.625 kHz     27.000000 MHz
    VIC  22:  1440x576i   50.000000 Hz  16:9     15.625 kHz     27.000000 MHz
    VIC  31:  1920x1080   50.000000 Hz  16:9     56.250 kHz    148.500000 MHz
    VIC  32:  1920x1080   24.000000 Hz  16:9     27.000 kHz     74.250000 MHz
    VIC  33:  1920x1080   25.000000 Hz  16:9     28.125 kHz     74.250000 MHz
    VIC  93:  3840x2160   24.000000 Hz  16:9     54.000 kHz    297.000000 MHz
    VIC  94:  3840x2160   25.000000 Hz  16:9     56.250 kHz    297.000000 MHz
    VIC  95:  3840x2160   30.000000 Hz  16:9     67.500 kHz    297.000000 MHz
  Audio Data Block:
    Linear PCM:
      Max channels: 2
      Supported sample rates (kHz): 48 44.1 32
      Supported sample sizes (bits): 24 20 16
  Speaker Allocation Data Block:
    FL/FR - Front Left/Right
  Vendor-Specific Data Block (HDMI), OUI 00-0C-03:
    Source physical address: 1.0.0.0
    DC_36bit
    DC_30bit
    DC_Y444
    Maximum TMDS clock: 340 MHz
    Extended HDMI video details:
      HDMI VICs:
        HDMI VIC 3:  3840x2160   24.000000 Hz  16:9     54.000 kHz    297.000000 MHz
        HDMI VIC 2:  3840x2160   25.000000 Hz  16:9     56.250 kHz    297.000000 MHz
        HDMI VIC 1:  3840x2160   30.000000 Hz  16:9     67.500 kHz    297.000000 MHz
  Vendor-Specific Data Block (HDMI Forum), OUI C4-5D-D8:
    Version: 1
    Maximum TMDS Character Rate: 600 MHz
    SCDC Present
    Supports 10-bits/component Deep Color 4:2:0 Pixel Encoding
  YCbCr 4:2:0 Capability Map Data Block:
    VIC  97:  3840x2160   60.000000 Hz  16:9    135.000 kHz    594.000000 MHz
  Vendor-Specific Data Block (AMD), OUI 00-00-1A:
    Version: 1
    Feature Caps: 0x01
    Minimum Refresh Rate: 40 Hz
    Maximum Refresh Rate: 60 Hz
    Flags 1.x: 0xe6 (MCCS)
  Detailed Timing Descriptors:
    DTD 2:  2560x1440   59.950550 Hz  16:9     88.787 kHz    241.500000 MHz (597 mm x 336 mm)
                 Hfront   48 Hsync  32 Hback   80 Hpol P
                 Vfront    3 Vsync   5 Vback   33 Vpol N
Checksum: 0x2e  Unused space in Extension Block: 40 bytes
EDID of '/sys/class/drm/card1-HDMI-A-2/edid' was empty.
EDID of '/sys/class/drm/card1-Writeback-1/edid' was empty.

Offline

#36 2025-06-28 16:04:15

seth
Member
Registered: 2012-09-03
Posts: 65,197

Re: GPU crash when playing video on firefox

    Supports 10-bits/component Deep Color 4:2:0 Pixel Encoding

No, the idea was whether you've another monitor - instead of a fancy 4k wide-gamut display, maybe some sad 1280x1042 office panel from 2008 or so… the other thread links this very much to that specific monitor and yours is 10bpc capable as well …

Offline

#37 2025-06-28 19:45:51

prankish
Member
Registered: 2025-06-03
Posts: 17

Re: GPU crash when playing video on firefox

seth wrote:
    Supports 10-bits/component Deep Color 4:2:0 Pixel Encoding

No, the idea was whether you've another monitor - instead of a fancy 4k wide-gamut display, maybe some sad 1280x1042 office panel from 2008 or so… the other thread links this very much to that specific monitor and yours is 10bpc capable as well …

I think I might have an old one lying somewhere, I will give it a try and see what I get.

Offline

Board footer

Powered by FluxBB