[Mint 17.2] How to re-enable hardware acceleration?

Please post suggestions for improvement of Cinnamon on:
https://github.com/linuxmint/Cinnamon
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
hawkzy

[Mint 17.2] How to re-enable hardware acceleration?

Post by hawkzy »

Edit: I reverted the screen resolution option and the issue persists. Perhaps there is something else in xorg.conf that is causing it?

Second edit: Based on the above possibility that something in xorg.conf was causing the issue, I searched and found this http://www.x.org/archive/X11R7.7/doc/ma ... #heading14. I added Option "Accel" to the Screen section and each subsection, but the issue still persists.

Third edit: Removed xorg.conf from /etc/X11 and the problem has been resolved, which I guess means there's something I need to put into xorg.conf to get hardware acceleration enabled when it is present? I'll keep searching but does anyone have any ideas?

Used this tutorial http://community.linuxmint.com/tutorial/view/877 to add a screen resolution option. I rebooted after the last step and got an error message saying that software rendering was being used. Idle CPU usage is sporadic, often >30-40%, Youtube videos don't load and the whole GUI is slow (everything worked fine before), so I know it's not a false error.
I haven't tried reverting my changes because I really need to be able to run things in the lower resolution option I added. Hopefully I can fix this without having to do that?

inxi -Fxz output:

Code: Select all

System:    Host: hawkzy-mint Kernel: 3.16.0-38-generic x86_64 (64 bit, gcc: 4.8.2) 
           Desktop: Gnome Distro: Linux Mint 17.2 Rafaela
Machine:   System: Dell product: Inspiron 660s
           Mobo: Dell model: 0XFWHV version: A00 Bios: Dell version: A10 date: 05/10/2013
CPU:       Dual core Intel Pentium CPU G2030 (-MCP-) cache: 3072 KB flags: (lm nx sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx) bmips: 11976.2 
           Clock Speeds: 1: 1640.625 MHz 2: 1789.570 MHz
Graphics:  Card: Intel Xeon E3-1200 v2/3rd Gen Core processor Graphics Controller bus-ID: 00:02.0 
           X.Org: 1.15.1 driver: N/A Resolution: 1920x1080@60.0hz 
           GLX Renderer: Gallium 0.4 on llvmpipe (LLVM 3.4, 128 bits) GLX Version: 2.1 Mesa 10.1.3 Direct Rendering: Yes
Audio:     Card: Intel 7 Series/C210 Series Family High Definition Audio Controller driver: snd_hda_intel bus-ID: 00:1b.0 
           Sound: Advanced Linux Sound Architecture ver: k3.16.0-38-generic
Network:   Card-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller 
           driver: r8169 ver: 2.3LK-NAPI port: e000 bus-ID: 04:00.0
           IF: eth0 state: up speed: 100 Mbps duplex: full mac: <filter>
           Card-2: Qualcomm Atheros AR9485 Wireless Network Adapter driver: ath9k bus-ID: 03:00.0
           IF: wlan0 state: down mac: <filter>
Drives:    HDD Total Size: 500.1GB (13.0% used) 1: id: /dev/sda model: ST500DM002 size: 500.1GB 
Partition: ID: / size: 455G used: 61G (14%) fs: ext4 ID: swap-1 size: 4.16GB used: 0.00GB (0%) fs: swap 
RAID:      No RAID devices detected - /proc/mdstat and md_mod kernel raid module present
Sensors:   System Temperatures: cpu: 29.8C mobo: 27.8C 
           Fan Speeds (in rpm): cpu: N/A 
Info:      Processes: 152 Uptime: 20 min Memory: 771.5/3827.6MB Runlevel: 2 Gcc sys: 4.8.4 
           Client: Shell (bash 4.3.11) inxi: 1.9.17 
and the contents of my xorg.conf:

Code: Select all

Section "ServerLayout"
	Identifier     "X.org Configured"
	Screen      0  "Screen0" 0 0
	InputDevice    "Mouse0" "CorePointer"
	InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
	ModulePath   "/usr/lib/xorg/modules"
	FontPath     "/usr/share/fonts/X11/misc"
	FontPath     "/usr/share/fonts/X11/cyrillic"
	FontPath     "/usr/share/fonts/X11/100dpi/:unscaled"
	FontPath     "/usr/share/fonts/X11/75dpi/:unscaled"
	FontPath     "/usr/share/fonts/X11/Type1"
	FontPath     "/usr/share/fonts/X11/100dpi"
	FontPath     "/usr/share/fonts/X11/75dpi"
	FontPath     "built-ins"
EndSection

Section "Module"
	Load  "glx"
EndSection

Section "InputDevice"
	Identifier  "Keyboard0"
	Driver      "kbd"
EndSection

Section "InputDevice"
	Identifier  "Mouse0"
	Driver      "mouse"
	Option	    "Protocol" "auto"
	Option	    "Device" "/dev/input/mice"
	Option	    "ZAxisMapping" "4 5 6 7"
EndSection

Section "Monitor"
	Identifier   "Monitor0"
	Modeline	"1366x768_60.00"   85.25  1368 1440 1576 1784  768 771 781 798 -hsync +vsync	
	VendorName   "Monitor Vendor"
	ModelName    "Monitor Model"
EndSection

Section "Device"
        ### Available Driver options are:-
        ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
        ### <string>: "String", <freq>: "<f> Hz/kHz/MHz",
        ### <percent>: "<f>%"
        ### [arg]: arg optional
        #Option     "SWcursor"           	# [<bool>]
        #Option     "kmsdev"             	# <str>
        #Option     "ShadowFB"           	# [<bool>]
	Identifier  "Card0"
	Driver      "modesetting"
	BusID       "PCI:0:2:0"
EndSection

Section "Screen"
	Identifier "Screen0"
	Device     "Card0"
	Monitor    "Monitor0"
	Option		"Accel"
	SubSection "Display"
		Viewport   0 0
		Depth     1
		Modes "1366x768"
		Option "Accel"
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     4
		Modes "1366x768"
		Option "Accel"
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     8
		Modes "1366x768"
		Option "Accel"
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     15
		Modes "1366x768"
		Option "Accel"
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     16
		Modes "1366x768"
		Option "Accel"
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     24
		Modes "1366x768"
		Option "Accel"
	EndSubSection
EndSection
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 4 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
User avatar
Pjotr
Level 24
Level 24
Posts: 20091
Joined: Mon Mar 07, 2011 10:18 am
Location: The Netherlands (Holland) 🇳🇱
Contact:

Re: [Mint 17.2] How to re-enable hardware acceleration?

Post by Pjotr »

Why do you need a lower resolution?
Tip: 10 things to do after installing Linux Mint 21.3 Virginia
Keep your Linux Mint healthy: Avoid these 10 fatal mistakes
Twitter: twitter.com/easylinuxtips
All in all, horse sense simply makes sense.
hawkzy

Re: [Mint 17.2] How to re-enable hardware acceleration?

Post by hawkzy »

Pjotr wrote:Why do you need a lower resolution?
My system is very, very low end and games (TF2) don't run well natively, and for some reason native steam games (TF2) can run in other (lower) resolutions but games (TF2) run in wine can't unless it's available as a system option. Wine runs them better but my frames are trash in native resolution (1080p), so I added the lower resolution as a system option but I obviously can't run games well in anything if the hardware graphics drivers don't work properly.

If I could afford to upgrade my system, I would.
beertobias

Re: [Mint 17.2] How to re-enable hardware acceleration?

Post by beertobias »

I have the same problem, except that it's not about "needing a lower resolution".

Trying to make my native resolution 1920x1080 vailable to a Linux Mint 17.2 vmware guest.

I managed to create the xorg.conf and add the required Modeline / Modes following
http://community.linuxmint.com/tutorial/view/877

Code: Select all

	Modeline     "1920x1080"  173.00  1920 2048 2248 2576  1080 1083 1088 1120 -hsync +vsync
Same as for the op, hardware acceleration is gone now.
Will I need to configure xorg.conf to get it back? How?

I hope the generic linux kernal / interface will at some point
finally provide all the screen resolutions that are common these days.
Or better still, put an end to all the cryptic conf script madness.

Tobias.
Locked

Return to “Cinnamon”