Skip to content

Memory leak after active switching between graphic and text TTY #1413

@GermanAizek

Description

@GermanAizek

version

25.0.0.X

Describe

Im tested on latest release Xorg and Xlibre.

I have not yet found out the exact reason, but I assume that it is DRI2 with the DRI2ScreenInit function, perhaps it has a memory leak during initialization i965 driver.

Video:

https://jumpshare.com/s/YJgVNc4nKNzRxrLd4wTA

simplescreenrecorder_compress.mp4

Steps to reproduce

for i in $(seq 1 2000); do
    # switch to graphic VT7
    sudo chvt 7
    # switch to text VT1
    sudo chvt 1
done
# after execute 2000 iteration xorg eat ~200mb

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingneeds-triageThis needs to be reviewed and categorized.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions