Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

Messed up graphics driver installation

Graphical Environments, Managers, Multimedia & Desktop questions.
Post Reply
Message
Author
Fingolfin
Posts: 3
Joined: 2018-06-02 04:16

Messed up graphics driver installation

#1 Post by Fingolfin »

Hi,
I had trouble running some games on my Debian laptop (e.g. Rimworld) so I tried updating my graphics driver. My laptop is an Asus x53sc and my graphics card is a Nvidia Geforce GT 520MX. I think before I did anything the driver was nouveau.
I ran the following command :

Code: Select all

sudo apt-get install nvidia-driver
which told me I had to manually configure the Xorg. Following advice from https://wiki.debian.org/fr/NvidiaGraphi ... #configure I created a xorg.conf file using both methods. Upon rebooting, The X-server would not start and I would be stuck in console mode. Pressing Ctrl+Alt+F7 would only show a black screen with a blinking underscore in the upper-left corner. Using the command line, I deleted the conf file and rebooted, which gave me my display back, but errors persist : upon launching Steam using the command line as I usually do

Code: Select all

steam &
I get the following message :

Code: Select all

OpenGL GLX extension not supported by display
. Upon launching Rimworld using the command line, I get

Code: Select all

Xlib:  extension "GLX" missing on display ":0".
Here is the output of lspci if it helps:

Code: Select all

$ lspci -nn
00:00.0 Host bridge [0600]: Intel Corporation 2nd Generation Core Processor Family DRAM Controller [8086:0104] (rev 09)                                                                         
00:01.0 PCI bridge [0604]: Intel Corporation Xeon E3-1200/2nd Generation Core Processor Family PCI Express Root Port [8086:0101] (rev 09)                                                       
00:02.0 VGA compatible controller [0300]: Intel Corporation 2nd Generation Core Processor Family Integrated Graphics Controller [8086:0116] (rev 09)                                            
00:16.0 Communication controller [0780]: Intel Corporation 6 Series/C200 Series Chipset Family MEI Controller #1 [8086:1c3a] (rev 04)                                                           
00:1a.0 USB controller [0c03]: Intel Corporation 6 Series/C200 Series Chipset Family USB Enhanced Host Controller #2 [8086:1c2d] (rev 05)                                                       
00:1b.0 Audio device [0403]: Intel Corporation 6 Series/C200 Series Chipset Family High Definition Audio Controller [8086:1c20] (rev 05)                                                        
00:1c.0 PCI bridge [0604]: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 1 [8086:1c10] (rev b5)                                                                   
00:1c.1 PCI bridge [0604]: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 2 [8086:1c12] (rev b5)                                                                   
00:1c.3 PCI bridge [0604]: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 4 [8086:1c16] (rev b5)                                                                   
00:1c.5 PCI bridge [0604]: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 6 [8086:1c1a] (rev b5)                                                                   
00:1d.0 USB controller [0c03]: Intel Corporation 6 Series/C200 Series Chipset Family USB Enhanced Host Controller #1 [8086:1c26] (rev 05)                                                       
00:1f.0 ISA bridge [0601]: Intel Corporation HM65 Express Chipset Family LPC Controller [8086:1c49] (rev 05)                                                                                    
00:1f.2 SATA controller [0106]: Intel Corporation 6 Series/C200 Series Chipset Family 6 port SATA AHCI Controller [8086:1c03] (rev 05)                                                          
00:1f.3 SMBus [0c05]: Intel Corporation 6 Series/C200 Series Chipset Family SMBus Controller [8086:1c22] (rev 05)                                                                               
01:00.0 VGA compatible controller [0300]: NVIDIA Corporation GF119M [GeForce GT 520MX] [10de:1051] (rev a1)                                                                            
03:00.0 Network controller [0280]: Qualcomm Atheros AR9285 Wireless Network Adapter (PCI-Express) [168c:002b] (rev 01)                                                                          
04:00.0 USB controller [0c03]: ASMedia Technology Inc. ASM1042 SuperSpeed USB Host Controller [1b21:1042]                                                                                       
05:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [10ec:8168] (rev 06)
I know how to use the command line but am by no means an experienced Linux user. Does anyone have any clue what I should do?

Wheelerof4te
Posts: 1454
Joined: 2015-08-30 20:14

Re: Messed up graphics driver installation

#2 Post by Wheelerof4te »

You have an Optimus laptop, which requires setting up Bumblebee:
https://wiki.debian.org/Bumblebee
I think you will have to remove nvidia-driver first.

NVIDIA Optimus doesn't play nice with Linux. I believe sunrat has an Optimus laptop, so he might tell you more.

Fingolfin
Posts: 3
Joined: 2018-06-02 04:16

Re: Messed up graphics driver installation

#3 Post by Fingolfin »

Thank you, I'll try that right now.

User avatar
stevepusser
Posts: 12930
Joined: 2009-10-06 05:53
Has thanked: 41 times
Been thanked: 71 times

Re: Messed up graphics driver installation

#4 Post by stevepusser »

Wheelerof4te wrote:You have an Optimus laptop, which requires setting up Bumblebee:
https://wiki.debian.org/Bumblebee
I think you will have to remove nvidia-driver first.

NVIDIA Optimus doesn't play nice with Linux. I believe sunrat has an Optimus laptop, so he might tell you more.
I've had two laptops with Optimus that I've gotten to work fine...an Acer E5 575G and this bleeding edge CoffeeLake MSI GP63 that required rolling up my sleeves and doing a lot of backports first to get working. In MX Linux, we've also had lots of success with dolphin_oracle's Nvidia driver tool which can detect Optimus if present and sets up the drivers automatically depending on the hardware...so I wouldn't say it's bound for failure. Just go ahead and follow the wiki for Bumblebee setup. You'll need nvidia-driver anyway for that.



Hmm... I'm pretty sure that the MX tool will "just work" in plain Debian, too, being mostly just a script. Dells seem to be tricky with how they implement Optimus, though.
MX Linux packager and developer

Fingolfin
Posts: 3
Joined: 2018-06-02 04:16

Re: Messed up graphics driver installation

#5 Post by Fingolfin »

It seems to work just fine ! I can run Rimworld with no problem. Thank you both for your replies !

User avatar
sunrat
Administrator
Administrator
Posts: 6412
Joined: 2006-08-29 09:12
Location: Melbourne, Australia
Has thanked: 116 times
Been thanked: 462 times

Re: Messed up graphics driver installation

#6 Post by sunrat »

Wheelerof4te wrote:I believe sunrat has an Optimus laptop, so he might tell you more.
I don't even have a laptop, just a couple of desktops. I think stevepusser is the droid you're looking for. :mrgreen: Thankfully he answered already.
“ computer users can be divided into 2 categories:
Those who have lost data
...and those who have not lost data YET ”
Remember to BACKUP!

Post Reply