RetroPie forum home
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    • Register
    • Login
    Please do not post a support request without first reading and following the advice in https://retropie.org.uk/forum/topic/3/read-this-first

    DRM_IOCTL_MODE_CREATE_DUMB failed: Cannot allocate memory

    Scheduled Pinned Locked Moved Help and Support
    memoryraspbianbusterlaunch gamepi4 b
    44 Posts 9 Posters 10.9k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • mituM
      mitu Global Moderator
      last edited by mitu

      Yep, it's the OOM killer alright, indicative of a memory leak or an over-commit situation.
      What's your allocated VRAM in EmulationStation ?

      roslofR 1 Reply Last reply Reply Quote 0
      • roslofR
        roslof @mitu
        last edited by

        @mitu I've played with 200-250MB. Happy to ramp it further if it prolongs the crash.

        shavecatS 1 Reply Last reply Reply Quote 0
        • R
          Retropia.rd
          last edited by

          Hi all, I found out that the problem occurs when the RPi4 is configured to display 4K. If you change the /boot/config.txt and force 1080p, the problem goes away.

          1 Reply Last reply Reply Quote 0
          • shavecatS
            shavecat
            last edited by

            Hey im having the same here any ideas ?

            BuZzB 1 Reply Last reply Reply Quote -1
            • BuZzB
              BuZz administrators @shavecat
              last edited by

              @shavecat you should know how the forum works by now. Replying saying same issue with no information is useless. There's even a solution above.

              Start a new topic and provide something to work with.

              To help us help you - please make sure you read the sticky topics before posting - https://retropie.org.uk/forum/topic/3/read-this-first

              shavecatS 1 Reply Last reply Reply Quote 1
              • shavecatS
                shavecat @BuZz
                last edited by shavecat

                @BuZz
                Hey so i change the
                #hdmi_group=1
                #hdmi_mode=16
                too
                hdmi_group=1
                hdmi_mode=16

                But i still getting this error

                1 Reply Last reply Reply Quote 0
                • shavecatS
                  shavecat
                  last edited by

                  Hey all back ,
                  So im still having this isuue with no overclock at all ! .
                  Plz any help ?

                  1 Reply Last reply Reply Quote 0
                  • shavecatS
                    shavecat @roslof
                    last edited by

                    @roslof
                    Did u get it fix at the end ?
                    having this issue for a month now... with no luck :\

                    roslofR 1 Reply Last reply Reply Quote 0
                    • roslofR
                      roslof @shavecat
                      last edited by

                      @shavecat said in DRM_IOCTL_MODE_CREATE_DUMB failed: Cannot allocate memory:

                      @roslof
                      Did u get it fix at the end ?
                      having this issue for a month now... with no luck :\

                      I'm stable. Can't say I know for certain what change fixed the DRM message (assuming that's your issue) but no issues here at this time. All my relevant, personal changes are documented in this thread, except now I'm using a lighter theme and exclusively using the latest version of VLC, which renders screensaver video and ES videos when hardware acceleration is off.

                      Backup your data first, then I suggest reading through the thread and carefully experiment, reverting changes that you find don't help. Maybe try the Carbon theme (tried and true) for a bit and see how that goes. Be sure your software is up to date (mine is) as of last weekend.

                      shavecatS 1 Reply Last reply Reply Quote 1
                      • shavecatS
                        shavecat @roslof
                        last edited by shavecat

                        @roslof
                        thanks a lot !
                        yes its the same issue driving my nuts i really tried everything...
                        will give it a try for all that u write here again :)
                        hope for good and will say if worked .
                        thank again

                        1 Reply Last reply Reply Quote 0
                        • shavecatS
                          shavecat
                          last edited by shavecat

                          OKAY
                          so nothing really helps :\
                          Tried different themes switch off or on the omx player and all that :\

                          DRM_IOCTL_MODE_CREATE_DUMB failed: Cannot allocate memory
                          Failed to create scanout resource
                          DRM_IOCTL_MODE_CREATE_DUMB failed: Cannot allocate memory
                          Failed to create scanout resource
                          
                          

                          Its just showing that after launch a game non stop on the left top screen crashing all.... :(((

                          1 Reply Last reply Reply Quote 0
                          • shavecatS
                            shavecat
                            last edited by shavecat

                            So the issue was gone for like 2 weeks (but i didnt really play a lot with the pi )
                            and it come back...
                            i try everything
                            uninstall and install back all emuatlinstaion .
                            but nothing really helps
                            its just pop on my left side on my screen after playing a few games and quit them .
                            non stop untill it crush it self :(

                            DRM_IOCTL_MODE_CREATE_DUMB failed: Cannot allocate memory
                            Failed to create scanout resource
                            

                            im guessing no asnwer for that ... :((

                            1 Reply Last reply Reply Quote 0
                            • shavecatS
                              shavecat
                              last edited by shavecat

                              So after delete the es_settings.cfg
                              its stable for now...
                              dont know what caused it really , and hope it will last for now :|)

                              Guess not still crushing after quit some games :((

                              1 Reply Last reply Reply Quote 0
                              • GreenHawk84G
                                GreenHawk84 @roslof
                                last edited by GreenHawk84

                                Hello,

                                I ended up getting this error after a long night of configuring bezels and such. Took about 3 hours to appear. I guess delete es_settings? Any adverse effects I should consider? I am on a Pi4 with stock settings.

                                error.jpg

                                shavecatS 1 Reply Last reply Reply Quote 0
                                • shavecatS
                                  shavecat @GreenHawk84
                                  last edited by

                                  @greenhawk84
                                  Hey i think i never solved it .
                                  Tried different themes install the emualtionstaion again....
                                  nothing really works.
                                  TRY THAT
                                  maybe it will help (think it helps , but not sure...)
                                  Adding this on your boot config.txt at the end -
                                  gpu_mem=512
                                  Or just change it the gpu_me to 512 from raspi-config .
                                  Hope it will help Let me know ;)

                                  GreenHawk84G 1 Reply Last reply Reply Quote 0
                                  • GreenHawk84G
                                    GreenHawk84 @shavecat
                                    last edited by

                                    @shavecat do you still have this problem?

                                    shavecatS 1 Reply Last reply Reply Quote 0
                                    • shavecatS
                                      shavecat @GreenHawk84
                                      last edited by

                                      @greenhawk84
                                      didnt had it for a while now...
                                      so cant promise im just afraid to jinx it ;) haha

                                      GreenHawk84G 1 Reply Last reply Reply Quote 0
                                      • GreenHawk84G
                                        GreenHawk84 @shavecat
                                        last edited by GreenHawk84

                                        @shavecat looks like it could be screensaver related. I opted to use the other video player for my screen saver because it displays the game titles. I will try to use OMX again to see if I have crashes and will report back.

                                        This comes up for me after a very long session with the system on, which could be an issue when I finally set this thing up in my main room for guests to play. I don't want any crashing when I leave the system on ready to go.

                                        shavecatS 1 Reply Last reply Reply Quote 0
                                        • shavecatS
                                          shavecat @GreenHawk84
                                          last edited by shavecat

                                          @greenhawk84
                                          Did u try what i wrote ?
                                          (Have to say I just played with it a bit,quit and play some games of psp .after it was on kodi for weeks... Runs Great so far ;) )
                                          i did try to play with the omx .. read the comments ...
                                          Good luck
                                          With love to hear if u got it FIX :)

                                          1 Reply Last reply Reply Quote 0
                                          • S
                                            skylabin @roslof
                                            last edited by

                                            @roslof
                                            Today is June 6, 2022.Not too late to link to this post.
                                            I am on Ubuntu 22.04 on Raspberry Pi 4 with 8GB RAM. My Chromium-browser was working fine (then I did some change to /boot/firmware/config.txt to enable audio. (Later I found it just needed a simple change in the pulseaudio setup). But I did not revert the change I made to config.txt. That remained there. Now when I rebooted the system, I got the DRM_IOCTL_MODE_CREATE_DUMB failed error: Cannot allocate memory. Prominently displayed on terminal, since I started chromium-browser with terminal command.
                                            When I read the posts here, I felt a connection. That it has something to do with configuration. Then I reverted the change I made earlier.
                                            hdmi_drive=2
                                            So I commented the line out. Now my ChromiumBrowser works like a charm.
                                            So for all Raspberry Pi experts who face a crash please check this line. Since this occurs even now in 2022, it can be easily simulated. I still don't know the relationship between enabling hdmi_mode=2 and the memory allocation. That some expert could tell us.
                                            Note: I was on a 4K HDMI TV connected to Raspberry Pi 4 8GB RAM system.
                                            JPMathew, Kolkata

                                            S ? 2 Replies Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.

                                            Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.