Ok, firstly you don’t need to install xboxdrv on RetroPie image 2.3, RetroPie should detect your pad automatically. Secondly do you have another SD card to test and rule out the card being the issue? To test your pad start with a new RetroPie image:
sudo apt-get install joystick
jstest /dev/input/js1
(or js0)
Does it function correctly?