Galerius ( Gaius Galerius Valerius Maximianus , ~ 260 â `` 5 May 311 ) , was Roman Emperor from 305 to 311 . Gaius Galerius Valerius Maximianus ( c. 260 - April or May 311 ) , commonly known as Galerius , was Roman Emperor from 305 to 311 .