CentOS 6.9, GeForce 6600 & qtcreator/glx issues

Issues related to hardware problems
Post Reply
BlokeDownThePub
Posts: 12
Joined: 2009/11/12 15:00:04

CentOS 6.9, GeForce 6600 & qtcreator/glx issues

Post by BlokeDownThePub » 2017/10/30 18:13:01

On Centos 6.9.

Code: Select all

2.6.32-696.10.1.el6.x86_64 #1 SMP Tue Aug 22 18:51:35 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
I just replaced my GV-R587UD-1GD (Radeon HD 5870) which was very nice but hot, noisy, and overpowered for what I need with a smaller, cooler, quieter Nvidia GeForce 6600 silencer/256M.

Code: Select all

# lspci
...
02:00.0 VGA compatible controller: NVIDIA Corporation NV43 [GeForce 6600] (rev a2)
...
The machine booted in runlevel 3 fine but I couldn't get it to start in runlevel 5 and startx didn't work. Installed kmod-nvidia, didn't help so in a bit of a panic I installed Nvidia's driver from their site, filename was NVIDIA-Linux-x86_64-304.134.run

Now QT creator (3.0.1-3.el6 )doesn't work:

If I run it from the menu I briefly see a square frame pop up. From terminal I also see:

Code: Select all

# qtcreator
QXcbIntegration: Cannot create platform OpenGL context, neither GLX nor EGL are enabled
Failed to create OpenGL context for format QSurfaceFormat(version 2.0, options QFlags(), depthBufferSize 24, redBufferSize -1, greenBufferSize -1, blueBufferSize -1, alphaBufferSize -1, stencilBufferSize 8, samples -1, swapBehavior 2, swapInterval 1, profile  0) 
Aborted (core dumped)
Oddly (or perhaps not) designer & linguist seem to work OK. Installed via yum, from epel.

Any ideas (apart from using code::blocks or eclipse :cry: ) ? If I missed some relevant info let me know.

User avatar
jlehtone
Posts: 4523
Joined: 2007/12/11 08:17:33
Location: Finland

Re: CentOS 6.9, GeForce 6600 & qtcreator/glx issues

Post by jlehtone » 2017/11/04 11:20:24

BlokeDownThePub wrote:Installed kmod-nvidia, didn't help ...
The current kmod-nvidia?

Did you install first the 'nvidia-detect' and check with it whether it is kmod-nvidia or one of the legacy support versions that you need with that card?

BlokeDownThePub
Posts: 12
Joined: 2009/11/12 15:00:04

Re: CentOS 6.9, GeForce 6600 & qtcreator/glx issues

Post by BlokeDownThePub » 2018/03/03 14:15:56

I don't remember to be honest, I think I googled based on the model number. It might not even have been the driver itself, it didn't seem to like one of the modes. I had an old and almost square monitor.

However other problems have been coming up - /var/log filling up really quickly:

Code: Select all

# tail /var/log/messages
Mar  3 14:55:32 napoleon kernel: [TTM] Failed to find memory space for buffer 0xffff8801464fc800 eviction
Mar  3 14:55:32 napoleon kernel: [TTM] No space for ffff8801464fc800 (3 pages, 12K, 0M)
Mar  3 14:55:32 napoleon kernel: [TTM]   placement[0]=0x00070002 (1)
Mar  3 14:55:32 napoleon kernel: [TTM]     has_type: 1
Mar  3 14:55:32 napoleon kernel: [TTM]     use_type: 1
Mar  3 14:55:32 napoleon kernel: [TTM]     flags: 0x0000000A
Mar  3 14:55:32 napoleon kernel: [TTM]     gpu_offset: 0x00000000
Mar  3 14:55:32 napoleon kernel: [TTM]     size: 131072
Mar  3 14:55:32 napoleon kernel: [TTM]     available_caching: 0x00070000
Mar  3 14:55:32 napoleon kernel: [TTM]     default_caching: 0x00010000

# tail -20 /var/log/Xorg.0.log.old 
[  2088.680] AUDIT: Thu Feb 15 13:56:46 2018: 4118: client 28 disconnected
[  2088.680] AUDIT: Thu Feb 15 13:56:46 2018: 4118: client 29 disconnected
[  2088.682] AUDIT: Thu Feb 15 13:56:46 2018: 4118: client 30 disconnected
[  2088.683] AUDIT: Thu Feb 15 13:56:46 2018: 4118: client 31 disconnected
[  2088.730] AUDIT: Thu Feb 15 13:56:46 2018: 4118: client 32 disconnected
[  2088.731] AUDIT: Thu Feb 15 13:56:46 2018: 4118: client 33 disconnected
[  2088.731] AUDIT: Thu Feb 15 13:56:46 2018: 4118: client 34 disconnected
[  2088.732] AUDIT: Thu Feb 15 13:56:46 2018: 4118: client 35 disconnected
[  2088.790] (II) evdev: Microsoft Microsoft Wheel Mouse Optical®: Close
[  2088.790] (II) UnloadModule: "evdev"
[  2088.790] (II) evdev: Macintosh mouse button emulation: Close
[  2088.790] (II) UnloadModule: "evdev"
[  2088.790] (II) evdev: Power Button: Close
[  2088.790] (II) UnloadModule: "evdev"
[  2088.790] (II) evdev: Power Button: Close
[  2088.790] (II) UnloadModule: "evdev"
[  2088.790] (II) evdev: AT Translated Set 2 keyboard: Close
[  2088.790] (II) UnloadModule: "evdev"
[  2088.791] (II) NOUVEAU(0): NVLeaveVT is called.
[  2088.875] (II) Server terminated successfully (0). Closing log file.

And it loses the icons & fonts sometimes when returning from suspend or hibernate.

I've been living with it for a while - apart from the above it works OK - clearing the excess logs down with cron jobs, but now yum has just started playing up (though I think that's unrelated - I did an update a week ago and it was fine). So I can't install nvidia-detect, even via the rpm.

So, I think the question is to work out how to find out what it did as a side-effect & undo it. But I'll put that as its own question, or maybe two.

Thanks for the suggestion anyway.

Post Reply